diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 426cf83e2..f60d77493 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,5 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:b0b1c1c89570e229b1026372a2b8989ba31495007055b8d30178b7648503eefa + digest: sha256:fc52b202aa298a50a12c64efd04fea3884d867947effe2fa85382a246c09e813 +# created: 2022-04-06T16:30:03.627422514Z diff --git a/.github/auto-label.yaml b/.github/auto-label.yaml new file mode 100644 index 000000000..4caef688b --- /dev/null +++ b/.github/auto-label.yaml @@ -0,0 +1,15 @@ +# Copyright 2021 Google LLC +# +# Licensed under the Apache License, Version 2.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. +requestsize: + enabled: true diff --git a/CHANGELOG.md b/CHANGELOG.md index d62a31d8c..2dc071119 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.9.0](https://github.com/googleapis/java-compute/compare/v1.8.1...v1.9.0) (2022-04-11) + + +### Features + +* update compute API to revision 20220322 ([#710](https://github.com/googleapis/java-compute/issues/710)) ([#669](https://github.com/googleapis/java-compute/issues/669)) ([b6daf94](https://github.com/googleapis/java-compute/commit/b6daf94c257912d2460407998f2a9ed43fc44491)) + ### [1.8.1](https://github.com/googleapis/java-compute/compare/v1.8.0...v1.8.1) (2022-03-29) diff --git a/README.md b/README.md index 7c9944d89..fd114c740 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-compute - 1.8.0 + 1.8.1 ``` @@ -27,13 +27,13 @@ If you are using Maven, add this to your pom.xml file: If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-compute:1.8.0' +implementation 'com.google.cloud:google-cloud-compute:1.8.1' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.8.0" +libraryDependencies += "com.google.cloud" % "google-cloud-compute" % "1.8.1" ``` ## Authentication diff --git a/google-cloud-compute-bom/pom.xml b/google-cloud-compute-bom/pom.xml index 29beee9d3..2a4f21a19 100644 --- a/google-cloud-compute-bom/pom.xml +++ b/google-cloud-compute-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-compute-bom - 1.8.1 + 1.9.0 pom com.google.cloud @@ -52,12 +52,12 @@ com.google.cloud google-cloud-compute - 1.8.1 + 1.9.0 com.google.api.grpc proto-google-cloud-compute-v1 - 1.8.1 + 1.9.0 diff --git a/google-cloud-compute/pom.xml b/google-cloud-compute/pom.xml index 48d3f6811..a5693958a 100644 --- a/google-cloud-compute/pom.xml +++ b/google-cloud-compute/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-compute - 1.8.1 + 1.9.0 jar Google Compute Engine https://github.com/googleapis/java-compute @@ -13,7 +13,7 @@ com.google.cloud google-cloud-compute-parent - 1.8.1 + 1.9.0 google-cloud-compute diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesClient.java index 93b5a3347..d6ae92bd7 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesClient.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstancesClient.java @@ -2270,7 +2270,7 @@ public final OperationFuture removeResourcePoliciesAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. + * Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. * For more information, see Resetting an instance. * *

Sample code: @@ -2302,7 +2302,7 @@ public final OperationFuture resetAsync( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. + * Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. * For more information, see Resetting an instance. * *

Sample code: @@ -2331,7 +2331,7 @@ public final OperationFuture resetAsync(ResetInstanceReque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. + * Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. * For more information, see Resetting an instance. * *

Sample code: @@ -2359,7 +2359,7 @@ public final OperationFuture resetAsync(ResetInstanceReque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. + * Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. * For more information, see Resetting an instance. * *

Sample code: diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClient.java new file mode 100644 index 000000000..0f67aa24f --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClient.java @@ -0,0 +1,903 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.core.BetaApi; +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.NetworkEdgeSecurityServicesStub; +import com.google.cloud.compute.v1.stub.NetworkEdgeSecurityServicesStubSettings; +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 NetworkEdgeSecurityServices 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
+ * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+ *     NetworkEdgeSecurityServicesClient.create()) {
+ *   String project = "project-309310695";
+ *   String region = "region-934795532";
+ *   String networkEdgeSecurityService = "networkEdgeSecurityService-1390253366";
+ *   NetworkEdgeSecurityService response =
+ *       networkEdgeSecurityServicesClient.get(project, region, networkEdgeSecurityService);
+ * }
+ * }
+ * + *

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

The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

    + *
  1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
  2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
+ * + *

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 + * NetworkEdgeSecurityServicesSettings to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * NetworkEdgeSecurityServicesSettings networkEdgeSecurityServicesSettings =
+ *     NetworkEdgeSecurityServicesSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+ *     NetworkEdgeSecurityServicesClient.create(networkEdgeSecurityServicesSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * NetworkEdgeSecurityServicesSettings networkEdgeSecurityServicesSettings =
+ *     NetworkEdgeSecurityServicesSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+ *     NetworkEdgeSecurityServicesClient.create(networkEdgeSecurityServicesSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class NetworkEdgeSecurityServicesClient implements BackgroundResource { + private final NetworkEdgeSecurityServicesSettings settings; + private final NetworkEdgeSecurityServicesStub stub; + + /** Constructs an instance of NetworkEdgeSecurityServicesClient with default settings. */ + public static final NetworkEdgeSecurityServicesClient create() throws IOException { + return create(NetworkEdgeSecurityServicesSettings.newBuilder().build()); + } + + /** + * Constructs an instance of NetworkEdgeSecurityServicesClient, 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 NetworkEdgeSecurityServicesClient create( + NetworkEdgeSecurityServicesSettings settings) throws IOException { + return new NetworkEdgeSecurityServicesClient(settings); + } + + /** + * Constructs an instance of NetworkEdgeSecurityServicesClient, using the given stub for making + * calls. This is for advanced usage - prefer using create(NetworkEdgeSecurityServicesSettings). + */ + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public static final NetworkEdgeSecurityServicesClient create( + NetworkEdgeSecurityServicesStub stub) { + return new NetworkEdgeSecurityServicesClient(stub); + } + + /** + * Constructs an instance of NetworkEdgeSecurityServicesClient, 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 NetworkEdgeSecurityServicesClient(NetworkEdgeSecurityServicesSettings settings) + throws IOException { + this.settings = settings; + this.stub = ((NetworkEdgeSecurityServicesStubSettings) settings.getStubSettings()).createStub(); + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + protected NetworkEdgeSecurityServicesClient(NetworkEdgeSecurityServicesStub stub) { + this.settings = null; + this.stub = stub; + } + + public final NetworkEdgeSecurityServicesSettings getSettings() { + return settings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public NetworkEdgeSecurityServicesStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the list of all NetworkEdgeSecurityService resources available to the specified + * project. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   String project = "project-309310695";
+   *   for (Map.Entry element :
+   *       networkEdgeSecurityServicesClient.aggregatedList(project).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Name of the project scoping this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AggregatedListPagedResponse aggregatedList(String project) { + AggregatedListNetworkEdgeSecurityServicesRequest request = + AggregatedListNetworkEdgeSecurityServicesRequest.newBuilder().setProject(project).build(); + return aggregatedList(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the list of all NetworkEdgeSecurityService resources available to the specified + * project. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   AggregatedListNetworkEdgeSecurityServicesRequest request =
+   *       AggregatedListNetworkEdgeSecurityServicesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   for (Map.Entry element :
+   *       networkEdgeSecurityServicesClient.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( + AggregatedListNetworkEdgeSecurityServicesRequest request) { + return aggregatedListPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the list of all NetworkEdgeSecurityService resources available to the specified + * project. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   AggregatedListNetworkEdgeSecurityServicesRequest request =
+   *       AggregatedListNetworkEdgeSecurityServicesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   ApiFuture> future =
+   *       networkEdgeSecurityServicesClient.aggregatedListPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Map.Entry element :
+   *       future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable< + AggregatedListNetworkEdgeSecurityServicesRequest, AggregatedListPagedResponse> + aggregatedListPagedCallable() { + return stub.aggregatedListPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the list of all NetworkEdgeSecurityService resources available to the specified + * project. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   AggregatedListNetworkEdgeSecurityServicesRequest request =
+   *       AggregatedListNetworkEdgeSecurityServicesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   while (true) {
+   *     NetworkEdgeSecurityServiceAggregatedList response =
+   *         networkEdgeSecurityServicesClient.aggregatedListCallable().call(request);
+   *     for (Map.Entry element :
+   *         response.getResponsesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList> + aggregatedListCallable() { + return stub.aggregatedListCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified service. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String networkEdgeSecurityService = "networkEdgeSecurityService-1390253366";
+   *   Operation response =
+   *       networkEdgeSecurityServicesClient
+   *           .deleteAsync(project, region, networkEdgeSecurityService)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param networkEdgeSecurityService Name of the network edge security service to delete. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteAsync( + String project, String region, String networkEdgeSecurityService) { + DeleteNetworkEdgeSecurityServiceRequest request = + DeleteNetworkEdgeSecurityServiceRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setNetworkEdgeSecurityService(networkEdgeSecurityService) + .build(); + return deleteAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified service. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   DeleteNetworkEdgeSecurityServiceRequest request =
+   *       DeleteNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityService("networkEdgeSecurityService-1390253366")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = networkEdgeSecurityServicesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture deleteAsync( + DeleteNetworkEdgeSecurityServiceRequest request) { + return deleteOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified service. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   DeleteNetworkEdgeSecurityServiceRequest request =
+   *       DeleteNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityService("networkEdgeSecurityService-1390253366")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       networkEdgeSecurityServicesClient.deleteOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + deleteOperationCallable() { + return stub.deleteOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified service. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   DeleteNetworkEdgeSecurityServiceRequest request =
+   *       DeleteNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityService("networkEdgeSecurityService-1390253366")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       networkEdgeSecurityServicesClient.deleteCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteCallable() { + return stub.deleteCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a specified NetworkEdgeSecurityService. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String networkEdgeSecurityService = "networkEdgeSecurityService-1390253366";
+   *   NetworkEdgeSecurityService response =
+   *       networkEdgeSecurityServicesClient.get(project, region, networkEdgeSecurityService);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param networkEdgeSecurityService Name of the network edge security service to get. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final NetworkEdgeSecurityService get( + String project, String region, String networkEdgeSecurityService) { + GetNetworkEdgeSecurityServiceRequest request = + GetNetworkEdgeSecurityServiceRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setNetworkEdgeSecurityService(networkEdgeSecurityService) + .build(); + return get(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a specified NetworkEdgeSecurityService. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   GetNetworkEdgeSecurityServiceRequest request =
+   *       GetNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityService("networkEdgeSecurityService-1390253366")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   NetworkEdgeSecurityService response = networkEdgeSecurityServicesClient.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 NetworkEdgeSecurityService get(GetNetworkEdgeSecurityServiceRequest request) { + return getCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a specified NetworkEdgeSecurityService. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   GetNetworkEdgeSecurityServiceRequest request =
+   *       GetNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityService("networkEdgeSecurityService-1390253366")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   ApiFuture future =
+   *       networkEdgeSecurityServicesClient.getCallable().futureCall(request);
+   *   // Do something.
+   *   NetworkEdgeSecurityService response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getCallable() { + return stub.getCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new service in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   NetworkEdgeSecurityService networkEdgeSecurityServiceResource =
+   *       NetworkEdgeSecurityService.newBuilder().build();
+   *   Operation response =
+   *       networkEdgeSecurityServicesClient
+   *           .insertAsync(project, region, networkEdgeSecurityServiceResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param networkEdgeSecurityServiceResource 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 region, + NetworkEdgeSecurityService networkEdgeSecurityServiceResource) { + InsertNetworkEdgeSecurityServiceRequest request = + InsertNetworkEdgeSecurityServiceRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setNetworkEdgeSecurityServiceResource(networkEdgeSecurityServiceResource) + .build(); + return insertAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new service in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   InsertNetworkEdgeSecurityServiceRequest request =
+   *       InsertNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityServiceResource(
+   *               NetworkEdgeSecurityService.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setValidateOnly(true)
+   *           .build();
+   *   Operation response = networkEdgeSecurityServicesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture insertAsync( + InsertNetworkEdgeSecurityServiceRequest request) { + return insertOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new service in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   InsertNetworkEdgeSecurityServiceRequest request =
+   *       InsertNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityServiceResource(
+   *               NetworkEdgeSecurityService.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setValidateOnly(true)
+   *           .build();
+   *   OperationFuture future =
+   *       networkEdgeSecurityServicesClient.insertOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + insertOperationCallable() { + return stub.insertOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new service in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   InsertNetworkEdgeSecurityServiceRequest request =
+   *       InsertNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityServiceResource(
+   *               NetworkEdgeSecurityService.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setValidateOnly(true)
+   *           .build();
+   *   ApiFuture future =
+   *       networkEdgeSecurityServicesClient.insertCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable insertCallable() { + return stub.insertCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String networkEdgeSecurityService = "networkEdgeSecurityService-1390253366";
+   *   NetworkEdgeSecurityService networkEdgeSecurityServiceResource =
+   *       NetworkEdgeSecurityService.newBuilder().build();
+   *   Operation response =
+   *       networkEdgeSecurityServicesClient
+   *           .patchAsync(
+   *               project, region, networkEdgeSecurityService, networkEdgeSecurityServiceResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param networkEdgeSecurityService Name of the network edge security service to update. + * @param networkEdgeSecurityServiceResource 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 region, + String networkEdgeSecurityService, + NetworkEdgeSecurityService networkEdgeSecurityServiceResource) { + PatchNetworkEdgeSecurityServiceRequest request = + PatchNetworkEdgeSecurityServiceRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setNetworkEdgeSecurityService(networkEdgeSecurityService) + .setNetworkEdgeSecurityServiceResource(networkEdgeSecurityServiceResource) + .build(); + return patchAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   PatchNetworkEdgeSecurityServiceRequest request =
+   *       PatchNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityService("networkEdgeSecurityService-1390253366")
+   *           .setNetworkEdgeSecurityServiceResource(
+   *               NetworkEdgeSecurityService.newBuilder().build())
+   *           .setPaths("paths106438894")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setUpdateMask("updateMask-296147115")
+   *           .build();
+   *   Operation response = networkEdgeSecurityServicesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture patchAsync( + PatchNetworkEdgeSecurityServiceRequest request) { + return patchOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   PatchNetworkEdgeSecurityServiceRequest request =
+   *       PatchNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityService("networkEdgeSecurityService-1390253366")
+   *           .setNetworkEdgeSecurityServiceResource(
+   *               NetworkEdgeSecurityService.newBuilder().build())
+   *           .setPaths("paths106438894")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setUpdateMask("updateMask-296147115")
+   *           .build();
+   *   OperationFuture future =
+   *       networkEdgeSecurityServicesClient.patchOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + patchOperationCallable() { + return stub.patchOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+   *     NetworkEdgeSecurityServicesClient.create()) {
+   *   PatchNetworkEdgeSecurityServiceRequest request =
+   *       PatchNetworkEdgeSecurityServiceRequest.newBuilder()
+   *           .setNetworkEdgeSecurityService("networkEdgeSecurityService-1390253366")
+   *           .setNetworkEdgeSecurityServiceResource(
+   *               NetworkEdgeSecurityService.newBuilder().build())
+   *           .setPaths("paths106438894")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setUpdateMask("updateMask-296147115")
+   *           .build();
+   *   ApiFuture future =
+   *       networkEdgeSecurityServicesClient.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); + } + + public static class AggregatedListPagedResponse + extends AbstractPagedListResponse< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + Map.Entry, + AggregatedListPage, + AggregatedListFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + 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< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + Map.Entry, + AggregatedListPage> { + + private AggregatedListPage( + PageContext< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + Map.Entry> + context, + NetworkEdgeSecurityServiceAggregatedList response) { + super(context, response); + } + + private static AggregatedListPage createEmptyPage() { + return new AggregatedListPage(null, null); + } + + @Override + protected AggregatedListPage createPage( + PageContext< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + Map.Entry> + context, + NetworkEdgeSecurityServiceAggregatedList response) { + return new AggregatedListPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + Map.Entry> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class AggregatedListFixedSizeCollection + extends AbstractFixedSizeCollection< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + 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); + } + } +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesSettings.java new file mode 100644 index 000000000..c00a4edf2 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesSettings.java @@ -0,0 +1,282 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkEdgeSecurityServicesClient.AggregatedListPagedResponse; + +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.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.NetworkEdgeSecurityServicesStubSettings; +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 NetworkEdgeSecurityServicesClient}. + * + *

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
+ * NetworkEdgeSecurityServicesSettings.Builder networkEdgeSecurityServicesSettingsBuilder =
+ *     NetworkEdgeSecurityServicesSettings.newBuilder();
+ * networkEdgeSecurityServicesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         networkEdgeSecurityServicesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * NetworkEdgeSecurityServicesSettings networkEdgeSecurityServicesSettings =
+ *     networkEdgeSecurityServicesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class NetworkEdgeSecurityServicesSettings + extends ClientSettings { + + /** Returns the object with the settings used for calls to aggregatedList. */ + public PagedCallSettings< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return ((NetworkEdgeSecurityServicesStubSettings) getStubSettings()).aggregatedListSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public UnaryCallSettings deleteSettings() { + return ((NetworkEdgeSecurityServicesStubSettings) getStubSettings()).deleteSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public OperationCallSettings + deleteOperationSettings() { + return ((NetworkEdgeSecurityServicesStubSettings) getStubSettings()).deleteOperationSettings(); + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings + getSettings() { + return ((NetworkEdgeSecurityServicesStubSettings) getStubSettings()).getSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public UnaryCallSettings insertSettings() { + return ((NetworkEdgeSecurityServicesStubSettings) getStubSettings()).insertSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public OperationCallSettings + insertOperationSettings() { + return ((NetworkEdgeSecurityServicesStubSettings) getStubSettings()).insertOperationSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public UnaryCallSettings patchSettings() { + return ((NetworkEdgeSecurityServicesStubSettings) getStubSettings()).patchSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public OperationCallSettings + patchOperationSettings() { + return ((NetworkEdgeSecurityServicesStubSettings) getStubSettings()).patchOperationSettings(); + } + + public static final NetworkEdgeSecurityServicesSettings create( + NetworkEdgeSecurityServicesStubSettings stub) throws IOException { + return new NetworkEdgeSecurityServicesSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return NetworkEdgeSecurityServicesStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return NetworkEdgeSecurityServicesStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return NetworkEdgeSecurityServicesStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return NetworkEdgeSecurityServicesStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return NetworkEdgeSecurityServicesStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return NetworkEdgeSecurityServicesStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return NetworkEdgeSecurityServicesStubSettings.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 NetworkEdgeSecurityServicesSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for NetworkEdgeSecurityServicesSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(NetworkEdgeSecurityServicesStubSettings.newBuilder(clientContext)); + } + + protected Builder(NetworkEdgeSecurityServicesSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(NetworkEdgeSecurityServicesStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(NetworkEdgeSecurityServicesStubSettings.newBuilder()); + } + + public NetworkEdgeSecurityServicesStubSettings.Builder getStubSettingsBuilder() { + return ((NetworkEdgeSecurityServicesStubSettings.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< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + 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< + DeleteNetworkEdgeSecurityServiceRequest, Operation, Operation> + deleteOperationSettings() { + return getStubSettingsBuilder().deleteOperationSettings(); + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder< + GetNetworkEdgeSecurityServiceRequest, NetworkEdgeSecurityService> + 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< + InsertNetworkEdgeSecurityServiceRequest, Operation, Operation> + insertOperationSettings() { + return getStubSettingsBuilder().insertOperationSettings(); + } + + /** 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< + PatchNetworkEdgeSecurityServiceRequest, Operation, Operation> + patchOperationSettings() { + return getStubSettingsBuilder().patchOperationSettings(); + } + + @Override + public NetworkEdgeSecurityServicesSettings build() throws IOException { + return new NetworkEdgeSecurityServicesSettings(this); + } + } +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClient.java new file mode 100644 index 000000000..0b65ffc14 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClient.java @@ -0,0 +1,1957 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.core.BetaApi; +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.NetworkFirewallPoliciesStub; +import com.google.cloud.compute.v1.stub.NetworkFirewallPoliciesStubSettings; +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 NetworkFirewallPolicies 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
+ * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+ *     NetworkFirewallPoliciesClient.create()) {
+ *   String project = "project-309310695";
+ *   String firewallPolicy = "firewallPolicy1819692626";
+ *   FirewallPolicy response = networkFirewallPoliciesClient.get(project, firewallPolicy);
+ * }
+ * }
+ * + *

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

The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

    + *
  1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
  2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
+ * + *

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 + * NetworkFirewallPoliciesSettings to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * NetworkFirewallPoliciesSettings networkFirewallPoliciesSettings =
+ *     NetworkFirewallPoliciesSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+ *     NetworkFirewallPoliciesClient.create(networkFirewallPoliciesSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * NetworkFirewallPoliciesSettings networkFirewallPoliciesSettings =
+ *     NetworkFirewallPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+ *     NetworkFirewallPoliciesClient.create(networkFirewallPoliciesSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class NetworkFirewallPoliciesClient implements BackgroundResource { + private final NetworkFirewallPoliciesSettings settings; + private final NetworkFirewallPoliciesStub stub; + + /** Constructs an instance of NetworkFirewallPoliciesClient with default settings. */ + public static final NetworkFirewallPoliciesClient create() throws IOException { + return create(NetworkFirewallPoliciesSettings.newBuilder().build()); + } + + /** + * Constructs an instance of NetworkFirewallPoliciesClient, 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 NetworkFirewallPoliciesClient create(NetworkFirewallPoliciesSettings settings) + throws IOException { + return new NetworkFirewallPoliciesClient(settings); + } + + /** + * Constructs an instance of NetworkFirewallPoliciesClient, using the given stub for making calls. + * This is for advanced usage - prefer using create(NetworkFirewallPoliciesSettings). + */ + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public static final NetworkFirewallPoliciesClient create(NetworkFirewallPoliciesStub stub) { + return new NetworkFirewallPoliciesClient(stub); + } + + /** + * Constructs an instance of NetworkFirewallPoliciesClient, 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 NetworkFirewallPoliciesClient(NetworkFirewallPoliciesSettings settings) + throws IOException { + this.settings = settings; + this.stub = ((NetworkFirewallPoliciesStubSettings) settings.getStubSettings()).createStub(); + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + protected NetworkFirewallPoliciesClient(NetworkFirewallPoliciesStub stub) { + this.settings = null; + this.stub = stub; + } + + public final NetworkFirewallPoliciesSettings getSettings() { + return settings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public NetworkFirewallPoliciesStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts an association for the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyAssociation firewallPolicyAssociationResource =
+   *       FirewallPolicyAssociation.newBuilder().build();
+   *   Operation response =
+   *       networkFirewallPoliciesClient
+   *           .addAssociationAsync(project, firewallPolicy, firewallPolicyAssociationResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to update. + * @param firewallPolicyAssociationResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture addAssociationAsync( + String project, + String firewallPolicy, + FirewallPolicyAssociation firewallPolicyAssociationResource) { + AddAssociationNetworkFirewallPolicyRequest request = + AddAssociationNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .setFirewallPolicyAssociationResource(firewallPolicyAssociationResource) + .build(); + return addAssociationAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts an association for the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   AddAssociationNetworkFirewallPolicyRequest request =
+   *       AddAssociationNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyAssociationResource(FirewallPolicyAssociation.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setReplaceExistingAssociation(true)
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = networkFirewallPoliciesClient.addAssociationAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture addAssociationAsync( + AddAssociationNetworkFirewallPolicyRequest request) { + return addAssociationOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts an association for the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   AddAssociationNetworkFirewallPolicyRequest request =
+   *       AddAssociationNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyAssociationResource(FirewallPolicyAssociation.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setReplaceExistingAssociation(true)
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       networkFirewallPoliciesClient.addAssociationOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + addAssociationOperationCallable() { + return stub.addAssociationOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts an association for the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   AddAssociationNetworkFirewallPolicyRequest request =
+   *       AddAssociationNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyAssociationResource(FirewallPolicyAssociation.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setReplaceExistingAssociation(true)
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.addAssociationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + addAssociationCallable() { + return stub.addAssociationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts a rule into a firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build();
+   *   Operation response =
+   *       networkFirewallPoliciesClient
+   *           .addRuleAsync(project, firewallPolicy, firewallPolicyRuleResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to update. + * @param firewallPolicyRuleResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture addRuleAsync( + String project, String firewallPolicy, FirewallPolicyRule firewallPolicyRuleResource) { + AddRuleNetworkFirewallPolicyRequest request = + AddRuleNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .setFirewallPolicyRuleResource(firewallPolicyRuleResource) + .build(); + return addRuleAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts a rule into a firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   AddRuleNetworkFirewallPolicyRequest request =
+   *       AddRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setMaxPriority(-207235553)
+   *           .setMinPriority(267190513)
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = networkFirewallPoliciesClient.addRuleAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture addRuleAsync( + AddRuleNetworkFirewallPolicyRequest request) { + return addRuleOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts a rule into a firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   AddRuleNetworkFirewallPolicyRequest request =
+   *       AddRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setMaxPriority(-207235553)
+   *           .setMinPriority(267190513)
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       networkFirewallPoliciesClient.addRuleOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + addRuleOperationCallable() { + return stub.addRuleOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts a rule into a firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   AddRuleNetworkFirewallPolicyRequest request =
+   *       AddRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setMaxPriority(-207235553)
+   *           .setMinPriority(267190513)
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.addRuleCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable addRuleCallable() { + return stub.addRuleCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies rules to the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   Operation response =
+   *       networkFirewallPoliciesClient.cloneRulesAsync(project, firewallPolicy).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to update. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture cloneRulesAsync( + String project, String firewallPolicy) { + CloneRulesNetworkFirewallPolicyRequest request = + CloneRulesNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .build(); + return cloneRulesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies rules to the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   CloneRulesNetworkFirewallPolicyRequest request =
+   *       CloneRulesNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setSourceFirewallPolicy("sourceFirewallPolicy-593774771")
+   *           .build();
+   *   Operation response = networkFirewallPoliciesClient.cloneRulesAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture cloneRulesAsync( + CloneRulesNetworkFirewallPolicyRequest request) { + return cloneRulesOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies rules to the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   CloneRulesNetworkFirewallPolicyRequest request =
+   *       CloneRulesNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setSourceFirewallPolicy("sourceFirewallPolicy-593774771")
+   *           .build();
+   *   OperationFuture future =
+   *       networkFirewallPoliciesClient.cloneRulesOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + cloneRulesOperationCallable() { + return stub.cloneRulesOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies rules to the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   CloneRulesNetworkFirewallPolicyRequest request =
+   *       CloneRulesNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .setSourceFirewallPolicy("sourceFirewallPolicy-593774771")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.cloneRulesCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + cloneRulesCallable() { + return stub.cloneRulesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   Operation response = networkFirewallPoliciesClient.deleteAsync(project, firewallPolicy).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to delete. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteAsync( + String project, String firewallPolicy) { + DeleteNetworkFirewallPolicyRequest request = + DeleteNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .build(); + return deleteAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   DeleteNetworkFirewallPolicyRequest request =
+   *       DeleteNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = networkFirewallPoliciesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture deleteAsync( + DeleteNetworkFirewallPolicyRequest request) { + return deleteOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   DeleteNetworkFirewallPolicyRequest request =
+   *       DeleteNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       networkFirewallPoliciesClient.deleteOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + deleteOperationCallable() { + return stub.deleteOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   DeleteNetworkFirewallPolicyRequest request =
+   *       DeleteNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.deleteCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteCallable() { + return stub.deleteCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicy response = networkFirewallPoliciesClient.get(project, firewallPolicy);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to get. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FirewallPolicy get(String project, String firewallPolicy) { + GetNetworkFirewallPolicyRequest request = + GetNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .build(); + return get(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   GetNetworkFirewallPolicyRequest request =
+   *       GetNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .build();
+   *   FirewallPolicy response = networkFirewallPoliciesClient.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 FirewallPolicy get(GetNetworkFirewallPolicyRequest request) { + return getCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   GetNetworkFirewallPolicyRequest request =
+   *       GetNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.getCallable().futureCall(request);
+   *   // Do something.
+   *   FirewallPolicy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getCallable() { + return stub.getCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an association with the specified name. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyAssociation response =
+   *       networkFirewallPoliciesClient.getAssociation(project, firewallPolicy);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to which the queried association belongs. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FirewallPolicyAssociation getAssociation(String project, String firewallPolicy) { + GetAssociationNetworkFirewallPolicyRequest request = + GetAssociationNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .build(); + return getAssociation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an association with the specified name. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   GetAssociationNetworkFirewallPolicyRequest request =
+   *       GetAssociationNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .build();
+   *   FirewallPolicyAssociation response = networkFirewallPoliciesClient.getAssociation(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 FirewallPolicyAssociation getAssociation( + GetAssociationNetworkFirewallPolicyRequest request) { + return getAssociationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an association with the specified name. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   GetAssociationNetworkFirewallPolicyRequest request =
+   *       GetAssociationNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.getAssociationCallable().futureCall(request);
+   *   // Do something.
+   *   FirewallPolicyAssociation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getAssociationCallable() { + return stub.getAssociationCallable(); + } + + // 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
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String resource = "resource-341064690";
+   *   Policy response = networkFirewallPoliciesClient.getIamPolicy(project, resource);
+   * }
+   * }
+ * + * @param project Project ID 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 resource) { + GetIamPolicyNetworkFirewallPolicyRequest request = + GetIamPolicyNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .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
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   GetIamPolicyNetworkFirewallPolicyRequest request =
+   *       GetIamPolicyNetworkFirewallPolicyRequest.newBuilder()
+   *           .setOptionsRequestedPolicyVersion(-574521795)
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .build();
+   *   Policy response = networkFirewallPoliciesClient.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(GetIamPolicyNetworkFirewallPolicyRequest 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
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   GetIamPolicyNetworkFirewallPolicyRequest request =
+   *       GetIamPolicyNetworkFirewallPolicyRequest.newBuilder()
+   *           .setOptionsRequestedPolicyVersion(-574521795)
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getIamPolicyCallable() { + return stub.getIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyRule response = networkFirewallPoliciesClient.getRule(project, firewallPolicy);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to which the queried rule belongs. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FirewallPolicyRule getRule(String project, String firewallPolicy) { + GetRuleNetworkFirewallPolicyRequest request = + GetRuleNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .build(); + return getRule(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   GetRuleNetworkFirewallPolicyRequest request =
+   *       GetRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .build();
+   *   FirewallPolicyRule response = networkFirewallPoliciesClient.getRule(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 FirewallPolicyRule getRule(GetRuleNetworkFirewallPolicyRequest request) { + return getRuleCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   GetRuleNetworkFirewallPolicyRequest request =
+   *       GetRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.getRuleCallable().futureCall(request);
+   *   // Do something.
+   *   FirewallPolicyRule response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getRuleCallable() { + return stub.getRuleCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new policy in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build();
+   *   Operation response =
+   *       networkFirewallPoliciesClient.insertAsync(project, firewallPolicyResource).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicyResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture insertAsync( + String project, FirewallPolicy firewallPolicyResource) { + InsertNetworkFirewallPolicyRequest request = + InsertNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicyResource(firewallPolicyResource) + .build(); + return insertAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new policy in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   InsertNetworkFirewallPolicyRequest request =
+   *       InsertNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = networkFirewallPoliciesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture insertAsync( + InsertNetworkFirewallPolicyRequest request) { + return insertOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new policy in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   InsertNetworkFirewallPolicyRequest request =
+   *       InsertNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       networkFirewallPoliciesClient.insertOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + insertOperationCallable() { + return stub.insertOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new policy in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   InsertNetworkFirewallPolicyRequest request =
+   *       InsertNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.insertCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable insertCallable() { + return stub.insertCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the policies that have been configured for the specified project. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   for (FirewallPolicy element : networkFirewallPoliciesClient.list(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 ListPagedResponse list(String project) { + ListNetworkFirewallPoliciesRequest request = + ListNetworkFirewallPoliciesRequest.newBuilder().setProject(project).build(); + return list(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the policies that have been configured for the specified project. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   ListNetworkFirewallPoliciesRequest request =
+   *       ListNetworkFirewallPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   for (FirewallPolicy element : networkFirewallPoliciesClient.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(ListNetworkFirewallPoliciesRequest request) { + return listPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the policies that have been configured for the specified project. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   ListNetworkFirewallPoliciesRequest request =
+   *       ListNetworkFirewallPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.listPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (FirewallPolicy element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listPagedCallable() { + return stub.listPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the policies that have been configured for the specified project. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   ListNetworkFirewallPoliciesRequest request =
+   *       ListNetworkFirewallPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   while (true) {
+   *     FirewallPolicyList response = networkFirewallPoliciesClient.listCallable().call(request);
+   *     for (FirewallPolicy element : response.getResponsesList()) {
+   *       // 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. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build();
+   *   Operation response =
+   *       networkFirewallPoliciesClient
+   *           .patchAsync(project, firewallPolicy, firewallPolicyResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to update. + * @param firewallPolicyResource 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 firewallPolicy, FirewallPolicy firewallPolicyResource) { + PatchNetworkFirewallPolicyRequest request = + PatchNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .setFirewallPolicyResource(firewallPolicyResource) + .build(); + return patchAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   PatchNetworkFirewallPolicyRequest request =
+   *       PatchNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = networkFirewallPoliciesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture patchAsync( + PatchNetworkFirewallPolicyRequest request) { + return patchOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   PatchNetworkFirewallPolicyRequest request =
+   *       PatchNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       networkFirewallPoliciesClient.patchOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + patchOperationCallable() { + return stub.patchOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   PatchNetworkFirewallPolicyRequest request =
+   *       PatchNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.patchCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable patchCallable() { + return stub.patchCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build();
+   *   Operation response =
+   *       networkFirewallPoliciesClient
+   *           .patchRuleAsync(project, firewallPolicy, firewallPolicyRuleResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to update. + * @param firewallPolicyRuleResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture patchRuleAsync( + String project, String firewallPolicy, FirewallPolicyRule firewallPolicyRuleResource) { + PatchRuleNetworkFirewallPolicyRequest request = + PatchRuleNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .setFirewallPolicyRuleResource(firewallPolicyRuleResource) + .build(); + return patchRuleAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   PatchRuleNetworkFirewallPolicyRequest request =
+   *       PatchRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = networkFirewallPoliciesClient.patchRuleAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture patchRuleAsync( + PatchRuleNetworkFirewallPolicyRequest request) { + return patchRuleOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   PatchRuleNetworkFirewallPolicyRequest request =
+   *       PatchRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       networkFirewallPoliciesClient.patchRuleOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + patchRuleOperationCallable() { + return stub.patchRuleOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   PatchRuleNetworkFirewallPolicyRequest request =
+   *       PatchRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.patchRuleCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable patchRuleCallable() { + return stub.patchRuleCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Removes an association for the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   Operation response =
+   *       networkFirewallPoliciesClient.removeAssociationAsync(project, firewallPolicy).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to update. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture removeAssociationAsync( + String project, String firewallPolicy) { + RemoveAssociationNetworkFirewallPolicyRequest request = + RemoveAssociationNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .build(); + return removeAssociationAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Removes an association for the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   RemoveAssociationNetworkFirewallPolicyRequest request =
+   *       RemoveAssociationNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = networkFirewallPoliciesClient.removeAssociationAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture removeAssociationAsync( + RemoveAssociationNetworkFirewallPolicyRequest request) { + return removeAssociationOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Removes an association for the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   RemoveAssociationNetworkFirewallPolicyRequest request =
+   *       RemoveAssociationNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       networkFirewallPoliciesClient.removeAssociationOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + RemoveAssociationNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationCallable() { + return stub.removeAssociationOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Removes an association for the specified firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   RemoveAssociationNetworkFirewallPolicyRequest request =
+   *       RemoveAssociationNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.removeAssociationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + removeAssociationCallable() { + return stub.removeAssociationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   Operation response =
+   *       networkFirewallPoliciesClient.removeRuleAsync(project, firewallPolicy).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param firewallPolicy Name of the firewall policy to update. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture removeRuleAsync( + String project, String firewallPolicy) { + RemoveRuleNetworkFirewallPolicyRequest request = + RemoveRuleNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setFirewallPolicy(firewallPolicy) + .build(); + return removeRuleAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   RemoveRuleNetworkFirewallPolicyRequest request =
+   *       RemoveRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = networkFirewallPoliciesClient.removeRuleAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture removeRuleAsync( + RemoveRuleNetworkFirewallPolicyRequest request) { + return removeRuleOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   RemoveRuleNetworkFirewallPolicyRequest request =
+   *       RemoveRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       networkFirewallPoliciesClient.removeRuleOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + removeRuleOperationCallable() { + return stub.removeRuleOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   RemoveRuleNetworkFirewallPolicyRequest request =
+   *       RemoveRuleNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.removeRuleCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + removeRuleCallable() { + return stub.removeRuleCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on the specified resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String resource = "resource-341064690";
+   *   GlobalSetPolicyRequest globalSetPolicyRequestResource =
+   *       GlobalSetPolicyRequest.newBuilder().build();
+   *   Policy response =
+   *       networkFirewallPoliciesClient.setIamPolicy(
+   *           project, resource, globalSetPolicyRequestResource);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param resource Name or id of the resource for this request. + * @param globalSetPolicyRequestResource 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 resource, GlobalSetPolicyRequest globalSetPolicyRequestResource) { + SetIamPolicyNetworkFirewallPolicyRequest request = + SetIamPolicyNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setResource(resource) + .setGlobalSetPolicyRequestResource(globalSetPolicyRequestResource) + .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
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   SetIamPolicyNetworkFirewallPolicyRequest request =
+   *       SetIamPolicyNetworkFirewallPolicyRequest.newBuilder()
+   *           .setGlobalSetPolicyRequestResource(GlobalSetPolicyRequest.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .build();
+   *   Policy response = networkFirewallPoliciesClient.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(SetIamPolicyNetworkFirewallPolicyRequest 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
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   SetIamPolicyNetworkFirewallPolicyRequest request =
+   *       SetIamPolicyNetworkFirewallPolicyRequest.newBuilder()
+   *           .setGlobalSetPolicyRequestResource(GlobalSetPolicyRequest.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.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
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String resource = "resource-341064690";
+   *   TestPermissionsRequest testPermissionsRequestResource =
+   *       TestPermissionsRequest.newBuilder().build();
+   *   TestPermissionsResponse response =
+   *       networkFirewallPoliciesClient.testIamPermissions(
+   *           project, resource, testPermissionsRequestResource);
+   * }
+   * }
+ * + * @param project Project ID 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 resource, TestPermissionsRequest testPermissionsRequestResource) { + TestIamPermissionsNetworkFirewallPolicyRequest request = + TestIamPermissionsNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .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
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   TestIamPermissionsNetworkFirewallPolicyRequest request =
+   *       TestIamPermissionsNetworkFirewallPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .setTestPermissionsRequestResource(TestPermissionsRequest.newBuilder().build())
+   *           .build();
+   *   TestPermissionsResponse response = networkFirewallPoliciesClient.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( + TestIamPermissionsNetworkFirewallPolicyRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that a caller has on the specified resource. + * + *

Sample code: + * + *

{@code
+   * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+   *     NetworkFirewallPoliciesClient.create()) {
+   *   TestIamPermissionsNetworkFirewallPolicyRequest request =
+   *       TestIamPermissionsNetworkFirewallPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setResource("resource-341064690")
+   *           .setTestPermissionsRequestResource(TestPermissionsRequest.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       networkFirewallPoliciesClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + TestIamPermissionsNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + @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< + ListNetworkFirewallPoliciesRequest, + FirewallPolicyList, + FirewallPolicy, + 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< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, FirewallPolicy, ListPage> { + + private ListPage( + PageContext context, + FirewallPolicyList response) { + super(context, response); + } + + private static ListPage createEmptyPage() { + return new ListPage(null, null); + } + + @Override + protected ListPage createPage( + PageContext context, + FirewallPolicyList 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< + ListNetworkFirewallPoliciesRequest, + FirewallPolicyList, + FirewallPolicy, + 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesSettings.java new file mode 100644 index 000000000..9b3a77094 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesSettings.java @@ -0,0 +1,481 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkFirewallPoliciesClient.ListPagedResponse; + +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.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.NetworkFirewallPoliciesStubSettings; +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 NetworkFirewallPoliciesClient}. + * + *

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
+ * NetworkFirewallPoliciesSettings.Builder networkFirewallPoliciesSettingsBuilder =
+ *     NetworkFirewallPoliciesSettings.newBuilder();
+ * networkFirewallPoliciesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         networkFirewallPoliciesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * NetworkFirewallPoliciesSettings networkFirewallPoliciesSettings =
+ *     networkFirewallPoliciesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class NetworkFirewallPoliciesSettings + extends ClientSettings { + + /** Returns the object with the settings used for calls to addAssociation. */ + public UnaryCallSettings + addAssociationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).addAssociationSettings(); + } + + /** Returns the object with the settings used for calls to addAssociation. */ + public OperationCallSettings + addAssociationOperationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()) + .addAssociationOperationSettings(); + } + + /** Returns the object with the settings used for calls to addRule. */ + public UnaryCallSettings addRuleSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).addRuleSettings(); + } + + /** Returns the object with the settings used for calls to addRule. */ + public OperationCallSettings + addRuleOperationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).addRuleOperationSettings(); + } + + /** Returns the object with the settings used for calls to cloneRules. */ + public UnaryCallSettings cloneRulesSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).cloneRulesSettings(); + } + + /** Returns the object with the settings used for calls to cloneRules. */ + public OperationCallSettings + cloneRulesOperationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).cloneRulesOperationSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public UnaryCallSettings deleteSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).deleteSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public OperationCallSettings + deleteOperationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).deleteOperationSettings(); + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings getSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).getSettings(); + } + + /** Returns the object with the settings used for calls to getAssociation. */ + public UnaryCallSettings + getAssociationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).getAssociationSettings(); + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings + getIamPolicySettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).getIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to getRule. */ + public UnaryCallSettings + getRuleSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).getRuleSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public UnaryCallSettings insertSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).insertSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public OperationCallSettings + insertOperationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).insertOperationSettings(); + } + + /** Returns the object with the settings used for calls to list. */ + public PagedCallSettings< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).listSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public UnaryCallSettings patchSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).patchSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public OperationCallSettings + patchOperationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).patchOperationSettings(); + } + + /** Returns the object with the settings used for calls to patchRule. */ + public UnaryCallSettings patchRuleSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).patchRuleSettings(); + } + + /** Returns the object with the settings used for calls to patchRule. */ + public OperationCallSettings + patchRuleOperationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).patchRuleOperationSettings(); + } + + /** Returns the object with the settings used for calls to removeAssociation. */ + public UnaryCallSettings + removeAssociationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).removeAssociationSettings(); + } + + /** Returns the object with the settings used for calls to removeAssociation. */ + public OperationCallSettings + removeAssociationOperationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()) + .removeAssociationOperationSettings(); + } + + /** Returns the object with the settings used for calls to removeRule. */ + public UnaryCallSettings removeRuleSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).removeRuleSettings(); + } + + /** Returns the object with the settings used for calls to removeRule. */ + public OperationCallSettings + removeRuleOperationSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).removeRuleOperationSettings(); + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings + setIamPolicySettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).setIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings + testIamPermissionsSettings() { + return ((NetworkFirewallPoliciesStubSettings) getStubSettings()).testIamPermissionsSettings(); + } + + public static final NetworkFirewallPoliciesSettings create( + NetworkFirewallPoliciesStubSettings stub) throws IOException { + return new NetworkFirewallPoliciesSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return NetworkFirewallPoliciesStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return NetworkFirewallPoliciesStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return NetworkFirewallPoliciesStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return NetworkFirewallPoliciesStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return NetworkFirewallPoliciesStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return NetworkFirewallPoliciesStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return NetworkFirewallPoliciesStubSettings.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 NetworkFirewallPoliciesSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for NetworkFirewallPoliciesSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(NetworkFirewallPoliciesStubSettings.newBuilder(clientContext)); + } + + protected Builder(NetworkFirewallPoliciesSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(NetworkFirewallPoliciesStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(NetworkFirewallPoliciesStubSettings.newBuilder()); + } + + public NetworkFirewallPoliciesStubSettings.Builder getStubSettingsBuilder() { + return ((NetworkFirewallPoliciesStubSettings.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 addAssociation. */ + public UnaryCallSettings.Builder + addAssociationSettings() { + return getStubSettingsBuilder().addAssociationSettings(); + } + + /** Returns the builder for the settings used for calls to addAssociation. */ + public OperationCallSettings.Builder< + AddAssociationNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings() { + return getStubSettingsBuilder().addAssociationOperationSettings(); + } + + /** Returns the builder for the settings used for calls to addRule. */ + public UnaryCallSettings.Builder + addRuleSettings() { + return getStubSettingsBuilder().addRuleSettings(); + } + + /** Returns the builder for the settings used for calls to addRule. */ + public OperationCallSettings.Builder + addRuleOperationSettings() { + return getStubSettingsBuilder().addRuleOperationSettings(); + } + + /** Returns the builder for the settings used for calls to cloneRules. */ + public UnaryCallSettings.Builder + cloneRulesSettings() { + return getStubSettingsBuilder().cloneRulesSettings(); + } + + /** Returns the builder for the settings used for calls to cloneRules. */ + public OperationCallSettings.Builder< + CloneRulesNetworkFirewallPolicyRequest, Operation, Operation> + cloneRulesOperationSettings() { + return getStubSettingsBuilder().cloneRulesOperationSettings(); + } + + /** 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 getAssociation. */ + public UnaryCallSettings.Builder< + GetAssociationNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings() { + return getStubSettingsBuilder().getAssociationSettings(); + } + + /** 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 getRule. */ + public UnaryCallSettings.Builder + getRuleSettings() { + return getStubSettingsBuilder().getRuleSettings(); + } + + /** 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< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings() { + return getStubSettingsBuilder().listSettings(); + } + + /** 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(); + } + + /** Returns the builder for the settings used for calls to patchRule. */ + public UnaryCallSettings.Builder + patchRuleSettings() { + return getStubSettingsBuilder().patchRuleSettings(); + } + + /** Returns the builder for the settings used for calls to patchRule. */ + public OperationCallSettings.Builder< + PatchRuleNetworkFirewallPolicyRequest, Operation, Operation> + patchRuleOperationSettings() { + return getStubSettingsBuilder().patchRuleOperationSettings(); + } + + /** Returns the builder for the settings used for calls to removeAssociation. */ + public UnaryCallSettings.Builder + removeAssociationSettings() { + return getStubSettingsBuilder().removeAssociationSettings(); + } + + /** Returns the builder for the settings used for calls to removeAssociation. */ + public OperationCallSettings.Builder< + RemoveAssociationNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings() { + return getStubSettingsBuilder().removeAssociationOperationSettings(); + } + + /** Returns the builder for the settings used for calls to removeRule. */ + public UnaryCallSettings.Builder + removeRuleSettings() { + return getStubSettingsBuilder().removeRuleSettings(); + } + + /** Returns the builder for the settings used for calls to removeRule. */ + public OperationCallSettings.Builder< + RemoveRuleNetworkFirewallPolicyRequest, Operation, Operation> + removeRuleOperationSettings() { + return getStubSettingsBuilder().removeRuleOperationSettings(); + } + + /** 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< + TestIamPermissionsNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + @Override + public NetworkFirewallPoliciesSettings build() throws IOException { + return new NetworkFirewallPoliciesSettings(this); + } + } +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClient.java new file mode 100644 index 000000000..8806ec993 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClient.java @@ -0,0 +1,2190 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.core.BetaApi; +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.RegionNetworkFirewallPoliciesStub; +import com.google.cloud.compute.v1.stub.RegionNetworkFirewallPoliciesStubSettings; +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 RegionNetworkFirewallPolicies 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
+ * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+ *     RegionNetworkFirewallPoliciesClient.create()) {
+ *   String project = "project-309310695";
+ *   String region = "region-934795532";
+ *   String firewallPolicy = "firewallPolicy1819692626";
+ *   FirewallPolicy response =
+ *       regionNetworkFirewallPoliciesClient.get(project, region, firewallPolicy);
+ * }
+ * }
+ * + *

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

The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

    + *
  1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
  2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
+ * + *

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 + * RegionNetworkFirewallPoliciesSettings to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * RegionNetworkFirewallPoliciesSettings regionNetworkFirewallPoliciesSettings =
+ *     RegionNetworkFirewallPoliciesSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+ *     RegionNetworkFirewallPoliciesClient.create(regionNetworkFirewallPoliciesSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * RegionNetworkFirewallPoliciesSettings regionNetworkFirewallPoliciesSettings =
+ *     RegionNetworkFirewallPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+ *     RegionNetworkFirewallPoliciesClient.create(regionNetworkFirewallPoliciesSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class RegionNetworkFirewallPoliciesClient implements BackgroundResource { + private final RegionNetworkFirewallPoliciesSettings settings; + private final RegionNetworkFirewallPoliciesStub stub; + + /** Constructs an instance of RegionNetworkFirewallPoliciesClient with default settings. */ + public static final RegionNetworkFirewallPoliciesClient create() throws IOException { + return create(RegionNetworkFirewallPoliciesSettings.newBuilder().build()); + } + + /** + * Constructs an instance of RegionNetworkFirewallPoliciesClient, 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 RegionNetworkFirewallPoliciesClient create( + RegionNetworkFirewallPoliciesSettings settings) throws IOException { + return new RegionNetworkFirewallPoliciesClient(settings); + } + + /** + * Constructs an instance of RegionNetworkFirewallPoliciesClient, using the given stub for making + * calls. This is for advanced usage - prefer using create(RegionNetworkFirewallPoliciesSettings). + */ + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public static final RegionNetworkFirewallPoliciesClient create( + RegionNetworkFirewallPoliciesStub stub) { + return new RegionNetworkFirewallPoliciesClient(stub); + } + + /** + * Constructs an instance of RegionNetworkFirewallPoliciesClient, 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 RegionNetworkFirewallPoliciesClient(RegionNetworkFirewallPoliciesSettings settings) + throws IOException { + this.settings = settings; + this.stub = + ((RegionNetworkFirewallPoliciesStubSettings) settings.getStubSettings()).createStub(); + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + protected RegionNetworkFirewallPoliciesClient(RegionNetworkFirewallPoliciesStub stub) { + this.settings = null; + this.stub = stub; + } + + public final RegionNetworkFirewallPoliciesSettings getSettings() { + return settings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public RegionNetworkFirewallPoliciesStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts an association for the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyAssociation firewallPolicyAssociationResource =
+   *       FirewallPolicyAssociation.newBuilder().build();
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient
+   *           .addAssociationAsync(
+   *               project, region, firewallPolicy, firewallPolicyAssociationResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to update. + * @param firewallPolicyAssociationResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture addAssociationAsync( + String project, + String region, + String firewallPolicy, + FirewallPolicyAssociation firewallPolicyAssociationResource) { + AddAssociationRegionNetworkFirewallPolicyRequest request = + AddAssociationRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .setFirewallPolicyAssociationResource(firewallPolicyAssociationResource) + .build(); + return addAssociationAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts an association for the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   AddAssociationRegionNetworkFirewallPolicyRequest request =
+   *       AddAssociationRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyAssociationResource(FirewallPolicyAssociation.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setReplaceExistingAssociation(true)
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = regionNetworkFirewallPoliciesClient.addAssociationAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture addAssociationAsync( + AddAssociationRegionNetworkFirewallPolicyRequest request) { + return addAssociationOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts an association for the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   AddAssociationRegionNetworkFirewallPolicyRequest request =
+   *       AddAssociationRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyAssociationResource(FirewallPolicyAssociation.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setReplaceExistingAssociation(true)
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       regionNetworkFirewallPoliciesClient.addAssociationOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationCallable() { + return stub.addAssociationOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts an association for the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   AddAssociationRegionNetworkFirewallPolicyRequest request =
+   *       AddAssociationRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyAssociationResource(FirewallPolicyAssociation.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setReplaceExistingAssociation(true)
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.addAssociationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + addAssociationCallable() { + return stub.addAssociationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts a rule into a network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build();
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient
+   *           .addRuleAsync(project, region, firewallPolicy, firewallPolicyRuleResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to update. + * @param firewallPolicyRuleResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture addRuleAsync( + String project, + String region, + String firewallPolicy, + FirewallPolicyRule firewallPolicyRuleResource) { + AddRuleRegionNetworkFirewallPolicyRequest request = + AddRuleRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .setFirewallPolicyRuleResource(firewallPolicyRuleResource) + .build(); + return addRuleAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts a rule into a network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   AddRuleRegionNetworkFirewallPolicyRequest request =
+   *       AddRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setMaxPriority(-207235553)
+   *           .setMinPriority(267190513)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = regionNetworkFirewallPoliciesClient.addRuleAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture addRuleAsync( + AddRuleRegionNetworkFirewallPolicyRequest request) { + return addRuleOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts a rule into a network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   AddRuleRegionNetworkFirewallPolicyRequest request =
+   *       AddRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setMaxPriority(-207235553)
+   *           .setMinPriority(267190513)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       regionNetworkFirewallPoliciesClient.addRuleOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + addRuleOperationCallable() { + return stub.addRuleOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Inserts a rule into a network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   AddRuleRegionNetworkFirewallPolicyRequest request =
+   *       AddRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setMaxPriority(-207235553)
+   *           .setMinPriority(267190513)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.addRuleCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + addRuleCallable() { + return stub.addRuleCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies rules to the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient
+   *           .cloneRulesAsync(project, region, firewallPolicy)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to update. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture cloneRulesAsync( + String project, String region, String firewallPolicy) { + CloneRulesRegionNetworkFirewallPolicyRequest request = + CloneRulesRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .build(); + return cloneRulesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies rules to the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   CloneRulesRegionNetworkFirewallPolicyRequest request =
+   *       CloneRulesRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSourceFirewallPolicy("sourceFirewallPolicy-593774771")
+   *           .build();
+   *   Operation response = regionNetworkFirewallPoliciesClient.cloneRulesAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture cloneRulesAsync( + CloneRulesRegionNetworkFirewallPolicyRequest request) { + return cloneRulesOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies rules to the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   CloneRulesRegionNetworkFirewallPolicyRequest request =
+   *       CloneRulesRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSourceFirewallPolicy("sourceFirewallPolicy-593774771")
+   *           .build();
+   *   OperationFuture future =
+   *       regionNetworkFirewallPoliciesClient.cloneRulesOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + cloneRulesOperationCallable() { + return stub.cloneRulesOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Copies rules to the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   CloneRulesRegionNetworkFirewallPolicyRequest request =
+   *       CloneRulesRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSourceFirewallPolicy("sourceFirewallPolicy-593774771")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.cloneRulesCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + cloneRulesCallable() { + return stub.cloneRulesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient.deleteAsync(project, region, firewallPolicy).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to delete. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteAsync( + String project, String region, String firewallPolicy) { + DeleteRegionNetworkFirewallPolicyRequest request = + DeleteRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .build(); + return deleteAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   DeleteRegionNetworkFirewallPolicyRequest request =
+   *       DeleteRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = regionNetworkFirewallPoliciesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture deleteAsync( + DeleteRegionNetworkFirewallPolicyRequest request) { + return deleteOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   DeleteRegionNetworkFirewallPolicyRequest request =
+   *       DeleteRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       regionNetworkFirewallPoliciesClient.deleteOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + deleteOperationCallable() { + return stub.deleteOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   DeleteRegionNetworkFirewallPolicyRequest request =
+   *       DeleteRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.deleteCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteCallable() { + return stub.deleteCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicy response =
+   *       regionNetworkFirewallPoliciesClient.get(project, region, firewallPolicy);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to get. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FirewallPolicy get(String project, String region, String firewallPolicy) { + GetRegionNetworkFirewallPolicyRequest request = + GetRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .build(); + return get(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetRegionNetworkFirewallPolicyRequest request =
+   *       GetRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   FirewallPolicy response = regionNetworkFirewallPoliciesClient.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 FirewallPolicy get(GetRegionNetworkFirewallPolicyRequest request) { + return getCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetRegionNetworkFirewallPolicyRequest request =
+   *       GetRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.getCallable().futureCall(request);
+   *   // Do something.
+   *   FirewallPolicy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getCallable() { + return stub.getCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an association with the specified name. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyAssociation response =
+   *       regionNetworkFirewallPoliciesClient.getAssociation(project, region, firewallPolicy);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to which the queried association belongs. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FirewallPolicyAssociation getAssociation( + String project, String region, String firewallPolicy) { + GetAssociationRegionNetworkFirewallPolicyRequest request = + GetAssociationRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .build(); + return getAssociation(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an association with the specified name. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetAssociationRegionNetworkFirewallPolicyRequest request =
+   *       GetAssociationRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   FirewallPolicyAssociation response =
+   *       regionNetworkFirewallPoliciesClient.getAssociation(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 FirewallPolicyAssociation getAssociation( + GetAssociationRegionNetworkFirewallPolicyRequest request) { + return getAssociationCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an association with the specified name. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetAssociationRegionNetworkFirewallPolicyRequest request =
+   *       GetAssociationRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.getAssociationCallable().futureCall(request);
+   *   // Do something.
+   *   FirewallPolicyAssociation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationCallable() { + return stub.getAssociationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the effective firewalls on a given network. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String network = "network1843485230";
+   *   RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse response =
+   *       regionNetworkFirewallPoliciesClient.getEffectiveFirewalls(project, region, network);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param network Network reference + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse getEffectiveFirewalls( + String project, String region, String network) { + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request = + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setNetwork(network) + .build(); + return getEffectiveFirewalls(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the effective firewalls on a given network. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request =
+   *       GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setNetwork("network1843485230")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse response =
+   *       regionNetworkFirewallPoliciesClient.getEffectiveFirewalls(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 RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse getEffectiveFirewalls( + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request) { + return getEffectiveFirewallsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns the effective firewalls on a given network. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest request =
+   *       GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setNetwork("network1843485230")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.getEffectiveFirewallsCallable().futureCall(request);
+   *   // Do something.
+   *   RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsCallable() { + return stub.getEffectiveFirewallsCallable(); + } + + // 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
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String resource = "resource-341064690";
+   *   Policy response = regionNetworkFirewallPoliciesClient.getIamPolicy(project, region, resource);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region The name of the region 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 region, String resource) { + GetIamPolicyRegionNetworkFirewallPolicyRequest request = + GetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .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
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetIamPolicyRegionNetworkFirewallPolicyRequest request =
+   *       GetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setOptionsRequestedPolicyVersion(-574521795)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setResource("resource-341064690")
+   *           .build();
+   *   Policy response = regionNetworkFirewallPoliciesClient.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(GetIamPolicyRegionNetworkFirewallPolicyRequest 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
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetIamPolicyRegionNetworkFirewallPolicyRequest request =
+   *       GetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setOptionsRequestedPolicyVersion(-574521795)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setResource("resource-341064690")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.getIamPolicyCallable().futureCall(request);
+   *   // Do something.
+   *   Policy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getIamPolicyCallable() { + return stub.getIamPolicyCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyRule response =
+   *       regionNetworkFirewallPoliciesClient.getRule(project, region, firewallPolicy);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to which the queried rule belongs. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final FirewallPolicyRule getRule(String project, String region, String firewallPolicy) { + GetRuleRegionNetworkFirewallPolicyRequest request = + GetRuleRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .build(); + return getRule(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetRuleRegionNetworkFirewallPolicyRequest request =
+   *       GetRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   FirewallPolicyRule response = regionNetworkFirewallPoliciesClient.getRule(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 FirewallPolicyRule getRule(GetRuleRegionNetworkFirewallPolicyRequest request) { + return getRuleCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   GetRuleRegionNetworkFirewallPolicyRequest request =
+   *       GetRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.getRuleCallable().futureCall(request);
+   *   // Do something.
+   *   FirewallPolicyRule response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + getRuleCallable() { + return stub.getRuleCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new network firewall policy in the specified project and region. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build();
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient
+   *           .insertAsync(project, region, firewallPolicyResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicyResource 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 region, FirewallPolicy firewallPolicyResource) { + InsertRegionNetworkFirewallPolicyRequest request = + InsertRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicyResource(firewallPolicyResource) + .build(); + return insertAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new network firewall policy in the specified project and region. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   InsertRegionNetworkFirewallPolicyRequest request =
+   *       InsertRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = regionNetworkFirewallPoliciesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture insertAsync( + InsertRegionNetworkFirewallPolicyRequest request) { + return insertOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new network firewall policy in the specified project and region. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   InsertRegionNetworkFirewallPolicyRequest request =
+   *       InsertRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       regionNetworkFirewallPoliciesClient.insertOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + insertOperationCallable() { + return stub.insertOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new network firewall policy in the specified project and region. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   InsertRegionNetworkFirewallPolicyRequest request =
+   *       InsertRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.insertCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable insertCallable() { + return stub.insertCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the network firewall policies that have been configured for the specified project in + * the given region. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   for (FirewallPolicy element :
+   *       regionNetworkFirewallPoliciesClient.list(project, region).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPagedResponse list(String project, String region) { + ListRegionNetworkFirewallPoliciesRequest request = + ListRegionNetworkFirewallPoliciesRequest.newBuilder() + .setProject(project) + .setRegion(region) + .build(); + return list(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the network firewall policies that have been configured for the specified project in + * the given region. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   ListRegionNetworkFirewallPoliciesRequest request =
+   *       ListRegionNetworkFirewallPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   for (FirewallPolicy element :
+   *       regionNetworkFirewallPoliciesClient.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(ListRegionNetworkFirewallPoliciesRequest request) { + return listPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the network firewall policies that have been configured for the specified project in + * the given region. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   ListRegionNetworkFirewallPoliciesRequest request =
+   *       ListRegionNetworkFirewallPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.listPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (FirewallPolicy element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listPagedCallable() { + return stub.listPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all the network firewall policies that have been configured for the specified project in + * the given region. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   ListRegionNetworkFirewallPoliciesRequest request =
+   *       ListRegionNetworkFirewallPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   while (true) {
+   *     FirewallPolicyList response =
+   *         regionNetworkFirewallPoliciesClient.listCallable().call(request);
+   *     for (FirewallPolicy element : response.getResponsesList()) {
+   *       // 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. + /** + * Patches the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build();
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient
+   *           .patchAsync(project, region, firewallPolicy, firewallPolicyResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to update. + * @param firewallPolicyResource 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 region, String firewallPolicy, FirewallPolicy firewallPolicyResource) { + PatchRegionNetworkFirewallPolicyRequest request = + PatchRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .setFirewallPolicyResource(firewallPolicyResource) + .build(); + return patchAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   PatchRegionNetworkFirewallPolicyRequest request =
+   *       PatchRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = regionNetworkFirewallPoliciesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture patchAsync( + PatchRegionNetworkFirewallPolicyRequest request) { + return patchOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   PatchRegionNetworkFirewallPolicyRequest request =
+   *       PatchRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       regionNetworkFirewallPoliciesClient.patchOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + patchOperationCallable() { + return stub.patchOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   PatchRegionNetworkFirewallPolicyRequest request =
+   *       PatchRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyResource(FirewallPolicy.newBuilder().build())
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.patchCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable patchCallable() { + return stub.patchCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build();
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient
+   *           .patchRuleAsync(project, region, firewallPolicy, firewallPolicyRuleResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to update. + * @param firewallPolicyRuleResource The body resource for this request + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture patchRuleAsync( + String project, + String region, + String firewallPolicy, + FirewallPolicyRule firewallPolicyRuleResource) { + PatchRuleRegionNetworkFirewallPolicyRequest request = + PatchRuleRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .setFirewallPolicyRuleResource(firewallPolicyRuleResource) + .build(); + return patchRuleAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   PatchRuleRegionNetworkFirewallPolicyRequest request =
+   *       PatchRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = regionNetworkFirewallPoliciesClient.patchRuleAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture patchRuleAsync( + PatchRuleRegionNetworkFirewallPolicyRequest request) { + return patchRuleOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   PatchRuleRegionNetworkFirewallPolicyRequest request =
+   *       PatchRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       regionNetworkFirewallPoliciesClient.patchRuleOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + patchRuleOperationCallable() { + return stub.patchRuleOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   PatchRuleRegionNetworkFirewallPolicyRequest request =
+   *       PatchRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setFirewallPolicyRuleResource(FirewallPolicyRule.newBuilder().build())
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.patchRuleCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + patchRuleCallable() { + return stub.patchRuleCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Removes an association for the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient
+   *           .removeAssociationAsync(project, region, firewallPolicy)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to update. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture removeAssociationAsync( + String project, String region, String firewallPolicy) { + RemoveAssociationRegionNetworkFirewallPolicyRequest request = + RemoveAssociationRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .build(); + return removeAssociationAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Removes an association for the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   RemoveAssociationRegionNetworkFirewallPolicyRequest request =
+   *       RemoveAssociationRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient.removeAssociationAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture removeAssociationAsync( + RemoveAssociationRegionNetworkFirewallPolicyRequest request) { + return removeAssociationOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Removes an association for the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   RemoveAssociationRegionNetworkFirewallPolicyRequest request =
+   *       RemoveAssociationRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       regionNetworkFirewallPoliciesClient
+   *           .removeAssociationOperationCallable()
+   *           .futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationCallable() { + return stub.removeAssociationOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Removes an association for the specified network firewall policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   RemoveAssociationRegionNetworkFirewallPolicyRequest request =
+   *       RemoveAssociationRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setName("name3373707")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.removeAssociationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + removeAssociationCallable() { + return stub.removeAssociationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String firewallPolicy = "firewallPolicy1819692626";
+   *   Operation response =
+   *       regionNetworkFirewallPoliciesClient
+   *           .removeRuleAsync(project, region, firewallPolicy)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param firewallPolicy Name of the firewall policy to update. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture removeRuleAsync( + String project, String region, String firewallPolicy) { + RemoveRuleRegionNetworkFirewallPolicyRequest request = + RemoveRuleRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setFirewallPolicy(firewallPolicy) + .build(); + return removeRuleAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   RemoveRuleRegionNetworkFirewallPolicyRequest request =
+   *       RemoveRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   Operation response = regionNetworkFirewallPoliciesClient.removeRuleAsync(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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture removeRuleAsync( + RemoveRuleRegionNetworkFirewallPolicyRequest request) { + return removeRuleOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   RemoveRuleRegionNetworkFirewallPolicyRequest request =
+   *       RemoveRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   OperationFuture future =
+   *       regionNetworkFirewallPoliciesClient.removeRuleOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + removeRuleOperationCallable() { + return stub.removeRuleOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes a rule of the specified priority. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   RemoveRuleRegionNetworkFirewallPolicyRequest request =
+   *       RemoveRuleRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setFirewallPolicy("firewallPolicy1819692626")
+   *           .setPriority(-1165461084)
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.removeRuleCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable + removeRuleCallable() { + return stub.removeRuleCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Sets the access control policy on the specified resource. Replaces any existing policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String resource = "resource-341064690";
+   *   RegionSetPolicyRequest regionSetPolicyRequestResource =
+   *       RegionSetPolicyRequest.newBuilder().build();
+   *   Policy response =
+   *       regionNetworkFirewallPoliciesClient.setIamPolicy(
+   *           project, region, resource, regionSetPolicyRequestResource);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region The name of the region for this request. + * @param resource Name or id of the resource for this request. + * @param regionSetPolicyRequestResource 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 region, + String resource, + RegionSetPolicyRequest regionSetPolicyRequestResource) { + SetIamPolicyRegionNetworkFirewallPolicyRequest request = + SetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setResource(resource) + .setRegionSetPolicyRequestResource(regionSetPolicyRequestResource) + .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
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   SetIamPolicyRegionNetworkFirewallPolicyRequest request =
+   *       SetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRegionSetPolicyRequestResource(RegionSetPolicyRequest.newBuilder().build())
+   *           .setResource("resource-341064690")
+   *           .build();
+   *   Policy response = regionNetworkFirewallPoliciesClient.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(SetIamPolicyRegionNetworkFirewallPolicyRequest 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
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   SetIamPolicyRegionNetworkFirewallPolicyRequest request =
+   *       SetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRegionSetPolicyRequestResource(RegionSetPolicyRequest.newBuilder().build())
+   *           .setResource("resource-341064690")
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.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
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String resource = "resource-341064690";
+   *   TestPermissionsRequest testPermissionsRequestResource =
+   *       TestPermissionsRequest.newBuilder().build();
+   *   TestPermissionsResponse response =
+   *       regionNetworkFirewallPoliciesClient.testIamPermissions(
+   *           project, region, resource, testPermissionsRequestResource);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region The name of the region 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 region, + String resource, + TestPermissionsRequest testPermissionsRequestResource) { + TestIamPermissionsRegionNetworkFirewallPolicyRequest request = + TestIamPermissionsRegionNetworkFirewallPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .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
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   TestIamPermissionsRegionNetworkFirewallPolicyRequest request =
+   *       TestIamPermissionsRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setResource("resource-341064690")
+   *           .setTestPermissionsRequestResource(TestPermissionsRequest.newBuilder().build())
+   *           .build();
+   *   TestPermissionsResponse response =
+   *       regionNetworkFirewallPoliciesClient.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( + TestIamPermissionsRegionNetworkFirewallPolicyRequest request) { + return testIamPermissionsCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Returns permissions that a caller has on the specified resource. + * + *

Sample code: + * + *

{@code
+   * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+   *     RegionNetworkFirewallPoliciesClient.create()) {
+   *   TestIamPermissionsRegionNetworkFirewallPolicyRequest request =
+   *       TestIamPermissionsRegionNetworkFirewallPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setResource("resource-341064690")
+   *           .setTestPermissionsRequestResource(TestPermissionsRequest.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       regionNetworkFirewallPoliciesClient.testIamPermissionsCallable().futureCall(request);
+   *   // Do something.
+   *   TestPermissionsResponse response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsCallable() { + return stub.testIamPermissionsCallable(); + } + + @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< + ListRegionNetworkFirewallPoliciesRequest, + FirewallPolicyList, + FirewallPolicy, + 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< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, FirewallPolicy, ListPage> { + + private ListPage( + PageContext + context, + FirewallPolicyList response) { + super(context, response); + } + + private static ListPage createEmptyPage() { + return new ListPage(null, null); + } + + @Override + protected ListPage createPage( + PageContext + context, + FirewallPolicyList 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< + ListRegionNetworkFirewallPoliciesRequest, + FirewallPolicyList, + FirewallPolicy, + 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesSettings.java new file mode 100644 index 000000000..9d79ced52 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesSettings.java @@ -0,0 +1,518 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionNetworkFirewallPoliciesClient.ListPagedResponse; + +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.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.RegionNetworkFirewallPoliciesStubSettings; +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 RegionNetworkFirewallPoliciesClient}. + * + *

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
+ * RegionNetworkFirewallPoliciesSettings.Builder regionNetworkFirewallPoliciesSettingsBuilder =
+ *     RegionNetworkFirewallPoliciesSettings.newBuilder();
+ * regionNetworkFirewallPoliciesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         regionNetworkFirewallPoliciesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * RegionNetworkFirewallPoliciesSettings regionNetworkFirewallPoliciesSettings =
+ *     regionNetworkFirewallPoliciesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class RegionNetworkFirewallPoliciesSettings + extends ClientSettings { + + /** Returns the object with the settings used for calls to addAssociation. */ + public UnaryCallSettings + addAssociationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).addAssociationSettings(); + } + + /** Returns the object with the settings used for calls to addAssociation. */ + public OperationCallSettings< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .addAssociationOperationSettings(); + } + + /** Returns the object with the settings used for calls to addRule. */ + public UnaryCallSettings addRuleSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).addRuleSettings(); + } + + /** Returns the object with the settings used for calls to addRule. */ + public OperationCallSettings + addRuleOperationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .addRuleOperationSettings(); + } + + /** Returns the object with the settings used for calls to cloneRules. */ + public UnaryCallSettings + cloneRulesSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).cloneRulesSettings(); + } + + /** Returns the object with the settings used for calls to cloneRules. */ + public OperationCallSettings + cloneRulesOperationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .cloneRulesOperationSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public UnaryCallSettings deleteSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).deleteSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public OperationCallSettings + deleteOperationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .deleteOperationSettings(); + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings getSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).getSettings(); + } + + /** Returns the object with the settings used for calls to getAssociation. */ + public UnaryCallSettings< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).getAssociationSettings(); + } + + /** Returns the object with the settings used for calls to getEffectiveFirewalls. */ + public UnaryCallSettings< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .getEffectiveFirewallsSettings(); + } + + /** Returns the object with the settings used for calls to getIamPolicy. */ + public UnaryCallSettings + getIamPolicySettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).getIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to getRule. */ + public UnaryCallSettings + getRuleSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).getRuleSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public UnaryCallSettings insertSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).insertSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public OperationCallSettings + insertOperationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .insertOperationSettings(); + } + + /** Returns the object with the settings used for calls to list. */ + public PagedCallSettings< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).listSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public UnaryCallSettings patchSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).patchSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public OperationCallSettings + patchOperationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).patchOperationSettings(); + } + + /** Returns the object with the settings used for calls to patchRule. */ + public UnaryCallSettings + patchRuleSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).patchRuleSettings(); + } + + /** Returns the object with the settings used for calls to patchRule. */ + public OperationCallSettings + patchRuleOperationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .patchRuleOperationSettings(); + } + + /** Returns the object with the settings used for calls to removeAssociation. */ + public UnaryCallSettings + removeAssociationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .removeAssociationSettings(); + } + + /** Returns the object with the settings used for calls to removeAssociation. */ + public OperationCallSettings< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .removeAssociationOperationSettings(); + } + + /** Returns the object with the settings used for calls to removeRule. */ + public UnaryCallSettings + removeRuleSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).removeRuleSettings(); + } + + /** Returns the object with the settings used for calls to removeRule. */ + public OperationCallSettings + removeRuleOperationSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .removeRuleOperationSettings(); + } + + /** Returns the object with the settings used for calls to setIamPolicy. */ + public UnaryCallSettings + setIamPolicySettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()).setIamPolicySettings(); + } + + /** Returns the object with the settings used for calls to testIamPermissions. */ + public UnaryCallSettings< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings() { + return ((RegionNetworkFirewallPoliciesStubSettings) getStubSettings()) + .testIamPermissionsSettings(); + } + + public static final RegionNetworkFirewallPoliciesSettings create( + RegionNetworkFirewallPoliciesStubSettings stub) throws IOException { + return new RegionNetworkFirewallPoliciesSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return RegionNetworkFirewallPoliciesStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return RegionNetworkFirewallPoliciesStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return RegionNetworkFirewallPoliciesStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return RegionNetworkFirewallPoliciesStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return RegionNetworkFirewallPoliciesStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return RegionNetworkFirewallPoliciesStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return RegionNetworkFirewallPoliciesStubSettings.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 RegionNetworkFirewallPoliciesSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for RegionNetworkFirewallPoliciesSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(RegionNetworkFirewallPoliciesStubSettings.newBuilder(clientContext)); + } + + protected Builder(RegionNetworkFirewallPoliciesSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(RegionNetworkFirewallPoliciesStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(RegionNetworkFirewallPoliciesStubSettings.newBuilder()); + } + + public RegionNetworkFirewallPoliciesStubSettings.Builder getStubSettingsBuilder() { + return ((RegionNetworkFirewallPoliciesStubSettings.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 addAssociation. */ + public UnaryCallSettings.Builder + addAssociationSettings() { + return getStubSettingsBuilder().addAssociationSettings(); + } + + /** Returns the builder for the settings used for calls to addAssociation. */ + public OperationCallSettings.Builder< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings() { + return getStubSettingsBuilder().addAssociationOperationSettings(); + } + + /** Returns the builder for the settings used for calls to addRule. */ + public UnaryCallSettings.Builder + addRuleSettings() { + return getStubSettingsBuilder().addRuleSettings(); + } + + /** Returns the builder for the settings used for calls to addRule. */ + public OperationCallSettings.Builder< + AddRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + addRuleOperationSettings() { + return getStubSettingsBuilder().addRuleOperationSettings(); + } + + /** Returns the builder for the settings used for calls to cloneRules. */ + public UnaryCallSettings.Builder + cloneRulesSettings() { + return getStubSettingsBuilder().cloneRulesSettings(); + } + + /** Returns the builder for the settings used for calls to cloneRules. */ + public OperationCallSettings.Builder< + CloneRulesRegionNetworkFirewallPolicyRequest, Operation, Operation> + cloneRulesOperationSettings() { + return getStubSettingsBuilder().cloneRulesOperationSettings(); + } + + /** 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< + DeleteRegionNetworkFirewallPolicyRequest, Operation, Operation> + 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 getAssociation. */ + public UnaryCallSettings.Builder< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings() { + return getStubSettingsBuilder().getAssociationSettings(); + } + + /** Returns the builder for the settings used for calls to getEffectiveFirewalls. */ + public UnaryCallSettings.Builder< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsSettings() { + return getStubSettingsBuilder().getEffectiveFirewallsSettings(); + } + + /** 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 getRule. */ + public UnaryCallSettings.Builder + getRuleSettings() { + return getStubSettingsBuilder().getRuleSettings(); + } + + /** 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< + InsertRegionNetworkFirewallPolicyRequest, Operation, Operation> + insertOperationSettings() { + return getStubSettingsBuilder().insertOperationSettings(); + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings() { + return getStubSettingsBuilder().listSettings(); + } + + /** 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< + PatchRegionNetworkFirewallPolicyRequest, Operation, Operation> + patchOperationSettings() { + return getStubSettingsBuilder().patchOperationSettings(); + } + + /** Returns the builder for the settings used for calls to patchRule. */ + public UnaryCallSettings.Builder + patchRuleSettings() { + return getStubSettingsBuilder().patchRuleSettings(); + } + + /** Returns the builder for the settings used for calls to patchRule. */ + public OperationCallSettings.Builder< + PatchRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + patchRuleOperationSettings() { + return getStubSettingsBuilder().patchRuleOperationSettings(); + } + + /** Returns the builder for the settings used for calls to removeAssociation. */ + public UnaryCallSettings.Builder + removeAssociationSettings() { + return getStubSettingsBuilder().removeAssociationSettings(); + } + + /** Returns the builder for the settings used for calls to removeAssociation. */ + public OperationCallSettings.Builder< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings() { + return getStubSettingsBuilder().removeAssociationOperationSettings(); + } + + /** Returns the builder for the settings used for calls to removeRule. */ + public UnaryCallSettings.Builder + removeRuleSettings() { + return getStubSettingsBuilder().removeRuleSettings(); + } + + /** Returns the builder for the settings used for calls to removeRule. */ + public OperationCallSettings.Builder< + RemoveRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeRuleOperationSettings() { + return getStubSettingsBuilder().removeRuleOperationSettings(); + } + + /** 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< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings() { + return getStubSettingsBuilder().testIamPermissionsSettings(); + } + + @Override + public RegionNetworkFirewallPoliciesSettings build() throws IOException { + return new RegionNetworkFirewallPoliciesSettings(this); + } + } +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClient.java new file mode 100644 index 000000000..51dba5b4e --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClient.java @@ -0,0 +1,842 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.core.BetaApi; +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.RegionSecurityPoliciesStub; +import com.google.cloud.compute.v1.stub.RegionSecurityPoliciesStubSettings; +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 RegionSecurityPolicies 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
+ * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+ *     RegionSecurityPoliciesClient.create()) {
+ *   String project = "project-309310695";
+ *   String region = "region-934795532";
+ *   String securityPolicy = "securityPolicy-788621166";
+ *   SecurityPolicy response = regionSecurityPoliciesClient.get(project, region, securityPolicy);
+ * }
+ * }
+ * + *

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

The surface of this class includes several types of Java methods for each of the API's + * methods: + * + *

    + *
  1. A "flattened" method. With this type of method, the fields of the request type have been + * converted into function parameters. It may be the case that not all fields are available as + * parameters, and not every API method will have a flattened method entry point. + *
  2. A "request object" method. This type of method only takes one parameter, a request object, + * which must be constructed before the call. Not every API method will have a request object + * method. + *
  3. A "callable" method. This type of method takes no parameters and returns an immutable API + * callable object, which can be used to initiate calls to the service. + *
+ * + *

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 RegionSecurityPoliciesSettings + * to create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * RegionSecurityPoliciesSettings regionSecurityPoliciesSettings =
+ *     RegionSecurityPoliciesSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+ *     RegionSecurityPoliciesClient.create(regionSecurityPoliciesSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * RegionSecurityPoliciesSettings regionSecurityPoliciesSettings =
+ *     RegionSecurityPoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+ *     RegionSecurityPoliciesClient.create(regionSecurityPoliciesSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class RegionSecurityPoliciesClient implements BackgroundResource { + private final RegionSecurityPoliciesSettings settings; + private final RegionSecurityPoliciesStub stub; + + /** Constructs an instance of RegionSecurityPoliciesClient with default settings. */ + public static final RegionSecurityPoliciesClient create() throws IOException { + return create(RegionSecurityPoliciesSettings.newBuilder().build()); + } + + /** + * Constructs an instance of RegionSecurityPoliciesClient, 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 RegionSecurityPoliciesClient create(RegionSecurityPoliciesSettings settings) + throws IOException { + return new RegionSecurityPoliciesClient(settings); + } + + /** + * Constructs an instance of RegionSecurityPoliciesClient, using the given stub for making calls. + * This is for advanced usage - prefer using create(RegionSecurityPoliciesSettings). + */ + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public static final RegionSecurityPoliciesClient create(RegionSecurityPoliciesStub stub) { + return new RegionSecurityPoliciesClient(stub); + } + + /** + * Constructs an instance of RegionSecurityPoliciesClient, 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 RegionSecurityPoliciesClient(RegionSecurityPoliciesSettings settings) + throws IOException { + this.settings = settings; + this.stub = ((RegionSecurityPoliciesStubSettings) settings.getStubSettings()).createStub(); + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + protected RegionSecurityPoliciesClient(RegionSecurityPoliciesStub stub) { + this.settings = null; + this.stub = stub; + } + + public final RegionSecurityPoliciesSettings getSettings() { + return settings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public RegionSecurityPoliciesStub getStub() { + return stub; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String securityPolicy = "securityPolicy-788621166";
+   *   Operation response =
+   *       regionSecurityPoliciesClient.deleteAsync(project, region, securityPolicy).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param securityPolicy Name of the security policy to delete. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteAsync( + String project, String region, String securityPolicy) { + DeleteRegionSecurityPolicyRequest request = + DeleteRegionSecurityPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setSecurityPolicy(securityPolicy) + .build(); + return deleteAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   DeleteRegionSecurityPolicyRequest request =
+   *       DeleteRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSecurityPolicy("securityPolicy-788621166")
+   *           .build();
+   *   Operation response = regionSecurityPoliciesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture deleteAsync( + DeleteRegionSecurityPolicyRequest request) { + return deleteOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   DeleteRegionSecurityPolicyRequest request =
+   *       DeleteRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSecurityPolicy("securityPolicy-788621166")
+   *           .build();
+   *   OperationFuture future =
+   *       regionSecurityPoliciesClient.deleteOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + deleteOperationCallable() { + return stub.deleteOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes the specified policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   DeleteRegionSecurityPolicyRequest request =
+   *       DeleteRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSecurityPolicy("securityPolicy-788621166")
+   *           .build();
+   *   ApiFuture future =
+   *       regionSecurityPoliciesClient.deleteCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteCallable() { + return stub.deleteCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all of the ordered rules present in a single specified policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String securityPolicy = "securityPolicy-788621166";
+   *   SecurityPolicy response = regionSecurityPoliciesClient.get(project, region, securityPolicy);
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param securityPolicy Name of the security policy to get. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final SecurityPolicy get(String project, String region, String securityPolicy) { + GetRegionSecurityPolicyRequest request = + GetRegionSecurityPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setSecurityPolicy(securityPolicy) + .build(); + return get(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all of the ordered rules present in a single specified policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   GetRegionSecurityPolicyRequest request =
+   *       GetRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setSecurityPolicy("securityPolicy-788621166")
+   *           .build();
+   *   SecurityPolicy response = regionSecurityPoliciesClient.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 SecurityPolicy get(GetRegionSecurityPolicyRequest request) { + return getCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all of the ordered rules present in a single specified policy. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   GetRegionSecurityPolicyRequest request =
+   *       GetRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setSecurityPolicy("securityPolicy-788621166")
+   *           .build();
+   *   ApiFuture future =
+   *       regionSecurityPoliciesClient.getCallable().futureCall(request);
+   *   // Do something.
+   *   SecurityPolicy response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getCallable() { + return stub.getCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new policy in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   SecurityPolicy securityPolicyResource = SecurityPolicy.newBuilder().build();
+   *   Operation response =
+   *       regionSecurityPoliciesClient.insertAsync(project, region, securityPolicyResource).get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param securityPolicyResource 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 region, SecurityPolicy securityPolicyResource) { + InsertRegionSecurityPolicyRequest request = + InsertRegionSecurityPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setSecurityPolicyResource(securityPolicyResource) + .build(); + return insertAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new policy in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   InsertRegionSecurityPolicyRequest request =
+   *       InsertRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSecurityPolicyResource(SecurityPolicy.newBuilder().build())
+   *           .setValidateOnly(true)
+   *           .build();
+   *   Operation response = regionSecurityPoliciesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture insertAsync( + InsertRegionSecurityPolicyRequest request) { + return insertOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new policy in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   InsertRegionSecurityPolicyRequest request =
+   *       InsertRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSecurityPolicyResource(SecurityPolicy.newBuilder().build())
+   *           .setValidateOnly(true)
+   *           .build();
+   *   OperationFuture future =
+   *       regionSecurityPoliciesClient.insertOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + insertOperationCallable() { + return stub.insertOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a new policy in the specified project using the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   InsertRegionSecurityPolicyRequest request =
+   *       InsertRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSecurityPolicyResource(SecurityPolicy.newBuilder().build())
+   *           .setValidateOnly(true)
+   *           .build();
+   *   ApiFuture future =
+   *       regionSecurityPoliciesClient.insertCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable insertCallable() { + return stub.insertCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all the policies that have been configured for the specified project and region. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   for (SecurityPolicy element :
+   *       regionSecurityPoliciesClient.list(project, region).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListPagedResponse list(String project, String region) { + ListRegionSecurityPoliciesRequest request = + ListRegionSecurityPoliciesRequest.newBuilder() + .setProject(project) + .setRegion(region) + .build(); + return list(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all the policies that have been configured for the specified project and region. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   ListRegionSecurityPoliciesRequest request =
+   *       ListRegionSecurityPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   for (SecurityPolicy element : regionSecurityPoliciesClient.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(ListRegionSecurityPoliciesRequest request) { + return listPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all the policies that have been configured for the specified project and region. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   ListRegionSecurityPoliciesRequest request =
+   *       ListRegionSecurityPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   ApiFuture future =
+   *       regionSecurityPoliciesClient.listPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (SecurityPolicy element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listPagedCallable() { + return stub.listPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * List all the policies that have been configured for the specified project and region. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   ListRegionSecurityPoliciesRequest request =
+   *       ListRegionSecurityPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   while (true) {
+   *     SecurityPolicyList response = regionSecurityPoliciesClient.listCallable().call(request);
+   *     for (SecurityPolicy element : response.getResponsesList()) {
+   *       // 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. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String securityPolicy = "securityPolicy-788621166";
+   *   SecurityPolicy securityPolicyResource = SecurityPolicy.newBuilder().build();
+   *   Operation response =
+   *       regionSecurityPoliciesClient
+   *           .patchAsync(project, region, securityPolicy, securityPolicyResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region scoping this request. + * @param securityPolicy Name of the security policy to update. + * @param securityPolicyResource 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 region, String securityPolicy, SecurityPolicy securityPolicyResource) { + PatchRegionSecurityPolicyRequest request = + PatchRegionSecurityPolicyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setSecurityPolicy(securityPolicy) + .setSecurityPolicyResource(securityPolicyResource) + .build(); + return patchAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   PatchRegionSecurityPolicyRequest request =
+   *       PatchRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSecurityPolicy("securityPolicy-788621166")
+   *           .setSecurityPolicyResource(SecurityPolicy.newBuilder().build())
+   *           .build();
+   *   Operation response = regionSecurityPoliciesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture patchAsync( + PatchRegionSecurityPolicyRequest request) { + return patchOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   PatchRegionSecurityPolicyRequest request =
+   *       PatchRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSecurityPolicy("securityPolicy-788621166")
+   *           .setSecurityPolicyResource(SecurityPolicy.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       regionSecurityPoliciesClient.patchOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + patchOperationCallable() { + return stub.patchOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified policy with the data included in the request. + * + *

Sample code: + * + *

{@code
+   * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+   *     RegionSecurityPoliciesClient.create()) {
+   *   PatchRegionSecurityPolicyRequest request =
+   *       PatchRegionSecurityPolicyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setSecurityPolicy("securityPolicy-788621166")
+   *           .setSecurityPolicyResource(SecurityPolicy.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       regionSecurityPoliciesClient.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); + } + + public static class ListPagedResponse + extends AbstractPagedListResponse< + ListRegionSecurityPoliciesRequest, + SecurityPolicyList, + SecurityPolicy, + 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< + ListRegionSecurityPoliciesRequest, SecurityPolicyList, SecurityPolicy, ListPage> { + + private ListPage( + PageContext context, + SecurityPolicyList response) { + super(context, response); + } + + private static ListPage createEmptyPage() { + return new ListPage(null, null); + } + + @Override + protected ListPage createPage( + PageContext context, + SecurityPolicyList 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< + ListRegionSecurityPoliciesRequest, + SecurityPolicyList, + SecurityPolicy, + 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSecurityPoliciesSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSecurityPoliciesSettings.java new file mode 100644 index 000000000..e7cc7b265 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionSecurityPoliciesSettings.java @@ -0,0 +1,269 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionSecurityPoliciesClient.ListPagedResponse; + +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.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.RegionSecurityPoliciesStubSettings; +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 RegionSecurityPoliciesClient}. + * + *

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
+ * RegionSecurityPoliciesSettings.Builder regionSecurityPoliciesSettingsBuilder =
+ *     RegionSecurityPoliciesSettings.newBuilder();
+ * regionSecurityPoliciesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         regionSecurityPoliciesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * RegionSecurityPoliciesSettings regionSecurityPoliciesSettings =
+ *     regionSecurityPoliciesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class RegionSecurityPoliciesSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to delete. */ + public UnaryCallSettings deleteSettings() { + return ((RegionSecurityPoliciesStubSettings) getStubSettings()).deleteSettings(); + } + + /** Returns the object with the settings used for calls to delete. */ + public OperationCallSettings + deleteOperationSettings() { + return ((RegionSecurityPoliciesStubSettings) getStubSettings()).deleteOperationSettings(); + } + + /** Returns the object with the settings used for calls to get. */ + public UnaryCallSettings getSettings() { + return ((RegionSecurityPoliciesStubSettings) getStubSettings()).getSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public UnaryCallSettings insertSettings() { + return ((RegionSecurityPoliciesStubSettings) getStubSettings()).insertSettings(); + } + + /** Returns the object with the settings used for calls to insert. */ + public OperationCallSettings + insertOperationSettings() { + return ((RegionSecurityPoliciesStubSettings) getStubSettings()).insertOperationSettings(); + } + + /** Returns the object with the settings used for calls to list. */ + public PagedCallSettings + listSettings() { + return ((RegionSecurityPoliciesStubSettings) getStubSettings()).listSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public UnaryCallSettings patchSettings() { + return ((RegionSecurityPoliciesStubSettings) getStubSettings()).patchSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public OperationCallSettings + patchOperationSettings() { + return ((RegionSecurityPoliciesStubSettings) getStubSettings()).patchOperationSettings(); + } + + public static final RegionSecurityPoliciesSettings create(RegionSecurityPoliciesStubSettings stub) + throws IOException { + return new RegionSecurityPoliciesSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return RegionSecurityPoliciesStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return RegionSecurityPoliciesStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return RegionSecurityPoliciesStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return RegionSecurityPoliciesStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default ChannelProvider for this service. */ + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return RegionSecurityPoliciesStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return RegionSecurityPoliciesStubSettings.defaultTransportChannelProvider(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return RegionSecurityPoliciesStubSettings.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 RegionSecurityPoliciesSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for RegionSecurityPoliciesSettings. */ + public static class Builder + extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(RegionSecurityPoliciesStubSettings.newBuilder(clientContext)); + } + + protected Builder(RegionSecurityPoliciesSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(RegionSecurityPoliciesStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(RegionSecurityPoliciesStubSettings.newBuilder()); + } + + public RegionSecurityPoliciesStubSettings.Builder getStubSettingsBuilder() { + return ((RegionSecurityPoliciesStubSettings.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 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 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< + ListRegionSecurityPoliciesRequest, SecurityPolicyList, ListPagedResponse> + listSettings() { + return getStubSettingsBuilder().listSettings(); + } + + /** 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 RegionSecurityPoliciesSettings build() throws IOException { + return new RegionSecurityPoliciesSettings(this); + } + } +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClient.java index c22bd40d8..bd7deec73 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClient.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClient.java @@ -625,6 +625,139 @@ public final ListPagedResponse list(ListRegionTargetHttpsProxiesRequest request) return stub.listCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified regional TargetHttpsProxy resource with the data included in the request. + * This method supports PATCH semantics and uses JSON merge patch format and processing rules. + * + *

Sample code: + * + *

{@code
+   * try (RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient =
+   *     RegionTargetHttpsProxiesClient.create()) {
+   *   String project = "project-309310695";
+   *   String region = "region-934795532";
+   *   String targetHttpsProxy = "targetHttpsProxy833943732";
+   *   TargetHttpsProxy targetHttpsProxyResource = TargetHttpsProxy.newBuilder().build();
+   *   Operation response =
+   *       regionTargetHttpsProxiesClient
+   *           .patchAsync(project, region, targetHttpsProxy, targetHttpsProxyResource)
+   *           .get();
+   * }
+   * }
+ * + * @param project Project ID for this request. + * @param region Name of the region for this request. + * @param targetHttpsProxy Name of the TargetHttpsProxy resource to patch. + * @param targetHttpsProxyResource 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 region, + String targetHttpsProxy, + TargetHttpsProxy targetHttpsProxyResource) { + PatchRegionTargetHttpsProxyRequest request = + PatchRegionTargetHttpsProxyRequest.newBuilder() + .setProject(project) + .setRegion(region) + .setTargetHttpsProxy(targetHttpsProxy) + .setTargetHttpsProxyResource(targetHttpsProxyResource) + .build(); + return patchAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified regional TargetHttpsProxy resource with the data included in the request. + * This method supports PATCH semantics and uses JSON merge patch format and processing rules. + * + *

Sample code: + * + *

{@code
+   * try (RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient =
+   *     RegionTargetHttpsProxiesClient.create()) {
+   *   PatchRegionTargetHttpsProxyRequest request =
+   *       PatchRegionTargetHttpsProxyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setTargetHttpsProxy("targetHttpsProxy833943732")
+   *           .setTargetHttpsProxyResource(TargetHttpsProxy.newBuilder().build())
+   *           .build();
+   *   Operation response = regionTargetHttpsProxiesClient.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 + */ + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + public final OperationFuture patchAsync( + PatchRegionTargetHttpsProxyRequest request) { + return patchOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified regional TargetHttpsProxy resource with the data included in the request. + * This method supports PATCH semantics and uses JSON merge patch format and processing rules. + * + *

Sample code: + * + *

{@code
+   * try (RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient =
+   *     RegionTargetHttpsProxiesClient.create()) {
+   *   PatchRegionTargetHttpsProxyRequest request =
+   *       PatchRegionTargetHttpsProxyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setTargetHttpsProxy("targetHttpsProxy833943732")
+   *           .setTargetHttpsProxyResource(TargetHttpsProxy.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       regionTargetHttpsProxiesClient.patchOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + patchOperationCallable() { + return stub.patchOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Patches the specified regional TargetHttpsProxy resource with the data included in the request. + * This method supports PATCH semantics and uses JSON merge patch format and processing rules. + * + *

Sample code: + * + *

{@code
+   * try (RegionTargetHttpsProxiesClient regionTargetHttpsProxiesClient =
+   *     RegionTargetHttpsProxiesClient.create()) {
+   *   PatchRegionTargetHttpsProxyRequest request =
+   *       PatchRegionTargetHttpsProxyRequest.newBuilder()
+   *           .setProject("project-309310695")
+   *           .setRegion("region-934795532")
+   *           .setRequestId("requestId693933066")
+   *           .setTargetHttpsProxy("targetHttpsProxy833943732")
+   *           .setTargetHttpsProxyResource(TargetHttpsProxy.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       regionTargetHttpsProxiesClient.patchCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable patchCallable() { + return stub.patchCallable(); + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Replaces SslCertificates for TargetHttpsProxy. diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesSettings.java index 13e62e05d..5f213c3b3 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesSettings.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesSettings.java @@ -106,6 +106,17 @@ public UnaryCallSettings insertS return ((RegionTargetHttpsProxiesStubSettings) getStubSettings()).listSettings(); } + /** Returns the object with the settings used for calls to patch. */ + public UnaryCallSettings patchSettings() { + return ((RegionTargetHttpsProxiesStubSettings) getStubSettings()).patchSettings(); + } + + /** Returns the object with the settings used for calls to patch. */ + public OperationCallSettings + patchOperationSettings() { + return ((RegionTargetHttpsProxiesStubSettings) getStubSettings()).patchOperationSettings(); + } + /** Returns the object with the settings used for calls to setSslCertificates. */ public UnaryCallSettings setSslCertificatesSettings() { @@ -267,6 +278,18 @@ public Builder applyToAllUnaryMethods( return getStubSettingsBuilder().listSettings(); } + /** 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(); + } + /** Returns the builder for the settings used for calls to setSslCertificates. */ public UnaryCallSettings.Builder setSslCertificatesSettings() { diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesClient.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesClient.java index a507ea3a2..d14d94b80 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesClient.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesClient.java @@ -32,6 +32,7 @@ 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; @@ -264,6 +265,139 @@ public final UnaryCallable addRuleCalla return stub.addRuleCallable(); } + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the list of all SecurityPolicy resources, regional and global, available to the + * specified project. + * + *

Sample code: + * + *

{@code
+   * try (SecurityPoliciesClient securityPoliciesClient = SecurityPoliciesClient.create()) {
+   *   String project = "project-309310695";
+   *   for (Map.Entry element :
+   *       securityPoliciesClient.aggregatedList(project).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param project Name of the project scoping this request. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final AggregatedListPagedResponse aggregatedList(String project) { + AggregatedListSecurityPoliciesRequest request = + AggregatedListSecurityPoliciesRequest.newBuilder().setProject(project).build(); + return aggregatedList(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the list of all SecurityPolicy resources, regional and global, available to the + * specified project. + * + *

Sample code: + * + *

{@code
+   * try (SecurityPoliciesClient securityPoliciesClient = SecurityPoliciesClient.create()) {
+   *   AggregatedListSecurityPoliciesRequest request =
+   *       AggregatedListSecurityPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   for (Map.Entry element :
+   *       securityPoliciesClient.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( + AggregatedListSecurityPoliciesRequest request) { + return aggregatedListPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Retrieves the list of all SecurityPolicy resources, regional and global, available to the + * specified project. + * + *

Sample code: + * + *

{@code
+   * try (SecurityPoliciesClient securityPoliciesClient = SecurityPoliciesClient.create()) {
+   *   AggregatedListSecurityPoliciesRequest request =
+   *       AggregatedListSecurityPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   ApiFuture> future =
+   *       securityPoliciesClient.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 the list of all SecurityPolicy resources, regional and global, available to the + * specified project. + * + *

Sample code: + * + *

{@code
+   * try (SecurityPoliciesClient securityPoliciesClient = SecurityPoliciesClient.create()) {
+   *   AggregatedListSecurityPoliciesRequest request =
+   *       AggregatedListSecurityPoliciesRequest.newBuilder()
+   *           .setFilter("filter-1274492040")
+   *           .setIncludeAllScopes(true)
+   *           .setMaxResults(1128457243)
+   *           .setOrderBy("orderBy-1207110587")
+   *           .setPageToken("pageToken873572522")
+   *           .setProject("project-309310695")
+   *           .setReturnPartialSuccess(true)
+   *           .build();
+   *   while (true) {
+   *     SecurityPoliciesAggregatedList response =
+   *         securityPoliciesClient.aggregatedListCallable().call(request);
+   *     for (Map.Entry element : response.getResponsesList()) {
+   *       // 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 policy. @@ -1208,6 +1342,101 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted return stub.awaitTermination(duration, unit); } + public static class AggregatedListPagedResponse + extends AbstractPagedListResponse< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + Map.Entry, + AggregatedListPage, + AggregatedListFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + 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< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + Map.Entry, + AggregatedListPage> { + + private AggregatedListPage( + PageContext< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + Map.Entry> + context, + SecurityPoliciesAggregatedList response) { + super(context, response); + } + + private static AggregatedListPage createEmptyPage() { + return new AggregatedListPage(null, null); + } + + @Override + protected AggregatedListPage createPage( + PageContext< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + Map.Entry> + context, + SecurityPoliciesAggregatedList response) { + return new AggregatedListPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + Map.Entry> + context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class AggregatedListFixedSizeCollection + extends AbstractFixedSizeCollection< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + 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< ListSecurityPoliciesRequest, diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesSettings.java index 712979737..6dff8844e 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesSettings.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesSettings.java @@ -16,6 +16,7 @@ package com.google.cloud.compute.v1; +import static com.google.cloud.compute.v1.SecurityPoliciesClient.AggregatedListPagedResponse; import static com.google.cloud.compute.v1.SecurityPoliciesClient.ListPagedResponse; import com.google.api.core.ApiFunction; @@ -81,6 +82,15 @@ public UnaryCallSettings addRuleSetting return ((SecurityPoliciesStubSettings) getStubSettings()).addRuleOperationSettings(); } + /** Returns the object with the settings used for calls to aggregatedList. */ + public PagedCallSettings< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return ((SecurityPoliciesStubSettings) getStubSettings()).aggregatedListSettings(); + } + /** Returns the object with the settings used for calls to delete. */ public UnaryCallSettings deleteSettings() { return ((SecurityPoliciesStubSettings) getStubSettings()).deleteSettings(); @@ -270,6 +280,15 @@ public UnaryCallSettings.Builder addRul return getStubSettingsBuilder().addRuleOperationSettings(); } + /** Returns the builder for the settings used for calls to aggregatedList. */ + public PagedCallSettings.Builder< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return getStubSettingsBuilder().aggregatedListSettings(); + } + /** Returns the builder for the settings used for calls to delete. */ public UnaryCallSettings.Builder deleteSettings() { return getStubSettingsBuilder().deleteSettings(); diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json index 10df6e6d9..185c0a232 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/gapic_metadata.json @@ -1046,6 +1046,30 @@ } } }, + "NetworkEdgeSecurityServices": { + "clients": { + "grpc": { + "libraryClient": "NetworkEdgeSecurityServicesClient", + "rpcs": { + "AggregatedList": { + "methods": ["aggregatedList", "aggregatedList", "aggregatedListPagedCallable", "aggregatedListCallable"] + }, + "Delete": { + "methods": ["deleteAsync", "deleteAsync", "deleteOperationCallable", "deleteCallable"] + }, + "Get": { + "methods": ["get", "get", "getCallable"] + }, + "Insert": { + "methods": ["insertAsync", "insertAsync", "insertOperationCallable", "insertCallable"] + }, + "Patch": { + "methods": ["patchAsync", "patchAsync", "patchOperationCallable", "patchCallable"] + } + } + } + } + }, "NetworkEndpointGroups": { "clients": { "grpc": { @@ -1082,6 +1106,63 @@ } } }, + "NetworkFirewallPolicies": { + "clients": { + "grpc": { + "libraryClient": "NetworkFirewallPoliciesClient", + "rpcs": { + "AddAssociation": { + "methods": ["addAssociationAsync", "addAssociationAsync", "addAssociationOperationCallable", "addAssociationCallable"] + }, + "AddRule": { + "methods": ["addRuleAsync", "addRuleAsync", "addRuleOperationCallable", "addRuleCallable"] + }, + "CloneRules": { + "methods": ["cloneRulesAsync", "cloneRulesAsync", "cloneRulesOperationCallable", "cloneRulesCallable"] + }, + "Delete": { + "methods": ["deleteAsync", "deleteAsync", "deleteOperationCallable", "deleteCallable"] + }, + "Get": { + "methods": ["get", "get", "getCallable"] + }, + "GetAssociation": { + "methods": ["getAssociation", "getAssociation", "getAssociationCallable"] + }, + "GetIamPolicy": { + "methods": ["getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] + }, + "GetRule": { + "methods": ["getRule", "getRule", "getRuleCallable"] + }, + "Insert": { + "methods": ["insertAsync", "insertAsync", "insertOperationCallable", "insertCallable"] + }, + "List": { + "methods": ["list", "list", "listPagedCallable", "listCallable"] + }, + "Patch": { + "methods": ["patchAsync", "patchAsync", "patchOperationCallable", "patchCallable"] + }, + "PatchRule": { + "methods": ["patchRuleAsync", "patchRuleAsync", "patchRuleOperationCallable", "patchRuleCallable"] + }, + "RemoveAssociation": { + "methods": ["removeAssociationAsync", "removeAssociationAsync", "removeAssociationOperationCallable", "removeAssociationCallable"] + }, + "RemoveRule": { + "methods": ["removeRuleAsync", "removeRuleAsync", "removeRuleOperationCallable", "removeRuleCallable"] + }, + "SetIamPolicy": { + "methods": ["setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] + }, + "TestIamPermissions": { + "methods": ["testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"] + } + } + } + } + }, "Networks": { "clients": { "grpc": { @@ -1664,6 +1745,66 @@ } } }, + "RegionNetworkFirewallPolicies": { + "clients": { + "grpc": { + "libraryClient": "RegionNetworkFirewallPoliciesClient", + "rpcs": { + "AddAssociation": { + "methods": ["addAssociationAsync", "addAssociationAsync", "addAssociationOperationCallable", "addAssociationCallable"] + }, + "AddRule": { + "methods": ["addRuleAsync", "addRuleAsync", "addRuleOperationCallable", "addRuleCallable"] + }, + "CloneRules": { + "methods": ["cloneRulesAsync", "cloneRulesAsync", "cloneRulesOperationCallable", "cloneRulesCallable"] + }, + "Delete": { + "methods": ["deleteAsync", "deleteAsync", "deleteOperationCallable", "deleteCallable"] + }, + "Get": { + "methods": ["get", "get", "getCallable"] + }, + "GetAssociation": { + "methods": ["getAssociation", "getAssociation", "getAssociationCallable"] + }, + "GetEffectiveFirewalls": { + "methods": ["getEffectiveFirewalls", "getEffectiveFirewalls", "getEffectiveFirewallsCallable"] + }, + "GetIamPolicy": { + "methods": ["getIamPolicy", "getIamPolicy", "getIamPolicyCallable"] + }, + "GetRule": { + "methods": ["getRule", "getRule", "getRuleCallable"] + }, + "Insert": { + "methods": ["insertAsync", "insertAsync", "insertOperationCallable", "insertCallable"] + }, + "List": { + "methods": ["list", "list", "listPagedCallable", "listCallable"] + }, + "Patch": { + "methods": ["patchAsync", "patchAsync", "patchOperationCallable", "patchCallable"] + }, + "PatchRule": { + "methods": ["patchRuleAsync", "patchRuleAsync", "patchRuleOperationCallable", "patchRuleCallable"] + }, + "RemoveAssociation": { + "methods": ["removeAssociationAsync", "removeAssociationAsync", "removeAssociationOperationCallable", "removeAssociationCallable"] + }, + "RemoveRule": { + "methods": ["removeRuleAsync", "removeRuleAsync", "removeRuleOperationCallable", "removeRuleCallable"] + }, + "SetIamPolicy": { + "methods": ["setIamPolicy", "setIamPolicy", "setIamPolicyCallable"] + }, + "TestIamPermissions": { + "methods": ["testIamPermissions", "testIamPermissions", "testIamPermissionsCallable"] + } + } + } + } + }, "RegionNotificationEndpoints": { "clients": { "grpc": { @@ -1706,6 +1847,30 @@ } } }, + "RegionSecurityPolicies": { + "clients": { + "grpc": { + "libraryClient": "RegionSecurityPoliciesClient", + "rpcs": { + "Delete": { + "methods": ["deleteAsync", "deleteAsync", "deleteOperationCallable", "deleteCallable"] + }, + "Get": { + "methods": ["get", "get", "getCallable"] + }, + "Insert": { + "methods": ["insertAsync", "insertAsync", "insertOperationCallable", "insertCallable"] + }, + "List": { + "methods": ["list", "list", "listPagedCallable", "listCallable"] + }, + "Patch": { + "methods": ["patchAsync", "patchAsync", "patchOperationCallable", "patchCallable"] + } + } + } + } + }, "RegionSslCertificates": { "clients": { "grpc": { @@ -1768,6 +1933,9 @@ "List": { "methods": ["list", "list", "listPagedCallable", "listCallable"] }, + "Patch": { + "methods": ["patchAsync", "patchAsync", "patchOperationCallable", "patchCallable"] + }, "SetSslCertificates": { "methods": ["setSslCertificatesAsync", "setSslCertificatesAsync", "setSslCertificatesOperationCallable", "setSslCertificatesCallable"] }, @@ -1963,6 +2131,9 @@ "AddRule": { "methods": ["addRuleAsync", "addRuleAsync", "addRuleOperationCallable", "addRuleCallable"] }, + "AggregatedList": { + "methods": ["aggregatedList", "aggregatedList", "aggregatedListPagedCallable", "aggregatedListCallable"] + }, "Delete": { "methods": ["deleteAsync", "deleteAsync", "deleteOperationCallable", "deleteCallable"] }, diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java index cd9452e9f..852daed6a 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/package-info.java @@ -476,6 +476,23 @@ * } * } * + *

======================= NetworkEdgeSecurityServicesClient ======================= + * + *

Service Description: The NetworkEdgeSecurityServices API. + * + *

Sample for NetworkEdgeSecurityServicesClient: + * + *

{@code
+ * try (NetworkEdgeSecurityServicesClient networkEdgeSecurityServicesClient =
+ *     NetworkEdgeSecurityServicesClient.create()) {
+ *   String project = "project-309310695";
+ *   String region = "region-934795532";
+ *   String networkEdgeSecurityService = "networkEdgeSecurityService-1390253366";
+ *   NetworkEdgeSecurityService response =
+ *       networkEdgeSecurityServicesClient.get(project, region, networkEdgeSecurityService);
+ * }
+ * }
+ * *

======================= NetworkEndpointGroupsClient ======================= * *

Service Description: The NetworkEndpointGroups API. @@ -493,6 +510,21 @@ * } * } * + *

======================= NetworkFirewallPoliciesClient ======================= + * + *

Service Description: The NetworkFirewallPolicies API. + * + *

Sample for NetworkFirewallPoliciesClient: + * + *

{@code
+ * try (NetworkFirewallPoliciesClient networkFirewallPoliciesClient =
+ *     NetworkFirewallPoliciesClient.create()) {
+ *   String project = "project-309310695";
+ *   String firewallPolicy = "firewallPolicy1819692626";
+ *   FirewallPolicy response = networkFirewallPoliciesClient.get(project, firewallPolicy);
+ * }
+ * }
+ * *

======================= NetworksClient ======================= * *

Service Description: The Networks API. @@ -790,6 +822,23 @@ * } * } * + *

======================= RegionNetworkFirewallPoliciesClient ======================= + * + *

Service Description: The RegionNetworkFirewallPolicies API. + * + *

Sample for RegionNetworkFirewallPoliciesClient: + * + *

{@code
+ * try (RegionNetworkFirewallPoliciesClient regionNetworkFirewallPoliciesClient =
+ *     RegionNetworkFirewallPoliciesClient.create()) {
+ *   String project = "project-309310695";
+ *   String region = "region-934795532";
+ *   String firewallPolicy = "firewallPolicy1819692626";
+ *   FirewallPolicy response =
+ *       regionNetworkFirewallPoliciesClient.get(project, region, firewallPolicy);
+ * }
+ * }
+ * *

======================= RegionNotificationEndpointsClient ======================= * *

Service Description: The RegionNotificationEndpoints API. @@ -823,6 +872,22 @@ * } * } * + *

======================= RegionSecurityPoliciesClient ======================= + * + *

Service Description: The RegionSecurityPolicies API. + * + *

Sample for RegionSecurityPoliciesClient: + * + *

{@code
+ * try (RegionSecurityPoliciesClient regionSecurityPoliciesClient =
+ *     RegionSecurityPoliciesClient.create()) {
+ *   String project = "project-309310695";
+ *   String region = "region-934795532";
+ *   String securityPolicy = "securityPolicy-788621166";
+ *   SecurityPolicy response = regionSecurityPoliciesClient.get(project, region, securityPolicy);
+ * }
+ * }
+ * *

======================= RegionSslCertificatesClient ======================= * *

Service Description: The RegionSslCertificates API. diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkEdgeSecurityServicesCallableFactory.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkEdgeSecurityServicesCallableFactory.java new file mode 100644 index 000000000..e644c77b7 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkEdgeSecurityServicesCallableFactory.java @@ -0,0 +1,104 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.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.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 NetworkEdgeSecurityServices service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonNetworkEdgeSecurityServicesCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + RegionOperationsStub 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkEdgeSecurityServicesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkEdgeSecurityServicesStub.java new file mode 100644 index 000000000..e81bf5be3 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkEdgeSecurityServicesStub.java @@ -0,0 +1,593 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkEdgeSecurityServicesClient.AggregatedListPagedResponse; + +import com.google.api.client.http.HttpMethods; +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.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.UnaryCallable; +import com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest; +import com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest; +import com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest; +import com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest; +import com.google.cloud.compute.v1.NetworkEdgeSecurityService; +import com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest; +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 NetworkEdgeSecurityServices service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public class HttpJsonNetworkEdgeSecurityServicesStub extends NetworkEdgeSecurityServicesStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder().add(Operation.getDescriptor()).build(); + + private static final ApiMethodDescriptor< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList> + aggregatedListMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.NetworkEdgeSecurityServices/AggregatedList") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/aggregated/networkEdgeSecurityServices", + 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()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance( + NetworkEdgeSecurityServiceAggregatedList.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkEdgeSecurityServices/Delete") + .setHttpMethod(HttpMethods.DELETE) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, + "networkEdgeSecurityService", + request.getNetworkEdgeSecurityService()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + 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( + (DeleteNetworkEdgeSecurityServiceRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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< + GetNetworkEdgeSecurityServiceRequest, NetworkEdgeSecurityService> + getMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkEdgeSecurityServices/Get") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, + "networkEdgeSecurityService", + request.getNetworkEdgeSecurityService()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(NetworkEdgeSecurityService.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + insertMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkEdgeSecurityServices/Insert") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + if (request.hasValidateOnly()) { + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "networkEdgeSecurityServiceResource", + request.getNetworkEdgeSecurityServiceResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (InsertNetworkEdgeSecurityServiceRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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 + patchMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkEdgeSecurityServices/Patch") + .setHttpMethod(HttpMethods.PATCH) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices/{networkEdgeSecurityService}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, + "networkEdgeSecurityService", + request.getNetworkEdgeSecurityService()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasPaths()) { + serializer.putQueryParam(fields, "paths", request.getPaths()); + } + 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( + "networkEdgeSecurityServiceResource", + request.getNetworkEdgeSecurityServiceResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (PatchNetworkEdgeSecurityServiceRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList> + aggregatedListCallable; + private final UnaryCallable< + AggregatedListNetworkEdgeSecurityServicesRequest, AggregatedListPagedResponse> + aggregatedListPagedCallable; + private final UnaryCallable deleteCallable; + private final OperationCallable + deleteOperationCallable; + private final UnaryCallable + getCallable; + private final UnaryCallable insertCallable; + private final OperationCallable + insertOperationCallable; + private final UnaryCallable patchCallable; + private final OperationCallable + patchOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonRegionOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonNetworkEdgeSecurityServicesStub create( + NetworkEdgeSecurityServicesStubSettings settings) throws IOException { + return new HttpJsonNetworkEdgeSecurityServicesStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonNetworkEdgeSecurityServicesStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonNetworkEdgeSecurityServicesStub( + NetworkEdgeSecurityServicesStubSettings.newBuilder().build(), clientContext); + } + + public static final HttpJsonNetworkEdgeSecurityServicesStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonNetworkEdgeSecurityServicesStub( + NetworkEdgeSecurityServicesStubSettings.newBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonNetworkEdgeSecurityServicesStub, 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 HttpJsonNetworkEdgeSecurityServicesStub( + NetworkEdgeSecurityServicesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonNetworkEdgeSecurityServicesCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonNetworkEdgeSecurityServicesStub, 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 HttpJsonNetworkEdgeSecurityServicesStub( + NetworkEdgeSecurityServicesStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonRegionOperationsStub.create(clientContext, callableFactory); + + HttpJsonCallSettings< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList> + aggregatedListTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(aggregatedListMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + deleteTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(getMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + insertTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(insertMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings patchTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(patchMethodDescriptor) + .setTypeRegistry(typeRegistry) + .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.insertCallable = + callableFactory.createUnaryCallable( + insertTransportSettings, settings.insertSettings(), clientContext); + this.insertOperationCallable = + callableFactory.createOperationCallable( + insertTransportSettings, + settings.insertOperationSettings(), + clientContext, + httpJsonOperationsStub); + 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(aggregatedListMethodDescriptor); + methodDescriptors.add(deleteMethodDescriptor); + methodDescriptors.add(getMethodDescriptor); + methodDescriptors.add(insertMethodDescriptor); + methodDescriptors.add(patchMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList> + aggregatedListCallable() { + return aggregatedListCallable; + } + + @Override + public UnaryCallable< + AggregatedListNetworkEdgeSecurityServicesRequest, AggregatedListPagedResponse> + aggregatedListPagedCallable() { + return aggregatedListPagedCallable; + } + + @Override + public UnaryCallable deleteCallable() { + return deleteCallable; + } + + @Override + public OperationCallable + deleteOperationCallable() { + return deleteOperationCallable; + } + + @Override + public UnaryCallable + getCallable() { + return getCallable; + } + + @Override + public UnaryCallable insertCallable() { + return insertCallable; + } + + @Override + public OperationCallable + insertOperationCallable() { + return insertOperationCallable; + } + + @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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkFirewallPoliciesCallableFactory.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkFirewallPoliciesCallableFactory.java new file mode 100644 index 000000000..9d34d8dd8 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkFirewallPoliciesCallableFactory.java @@ -0,0 +1,104 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.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.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 NetworkFirewallPolicies service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonNetworkFirewallPoliciesCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + GlobalOperationsStub 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkFirewallPoliciesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkFirewallPoliciesStub.java new file mode 100644 index 000000000..54c4e4141 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkFirewallPoliciesStub.java @@ -0,0 +1,1380 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkFirewallPoliciesClient.ListPagedResponse; + +import com.google.api.client.http.HttpMethods; +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.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.UnaryCallable; +import com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.FirewallPolicy; +import com.google.cloud.compute.v1.FirewallPolicyAssociation; +import com.google.cloud.compute.v1.FirewallPolicyList; +import com.google.cloud.compute.v1.FirewallPolicyRule; +import com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; +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 NetworkFirewallPolicies service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public class HttpJsonNetworkFirewallPoliciesStub extends NetworkFirewallPoliciesStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder().add(Operation.getDescriptor()).build(); + + private static final ApiMethodDescriptor + addAssociationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/AddAssociation") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}/addAssociation", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasReplaceExistingAssociation()) { + serializer.putQueryParam( + fields, + "replaceExistingAssociation", + request.getReplaceExistingAssociation()); + } + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "firewallPolicyAssociationResource", + request.getFirewallPolicyAssociationResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (AddAssociationNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + 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 + addRuleMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/AddRule") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}/addRule", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasMaxPriority()) { + serializer.putQueryParam( + fields, "maxPriority", request.getMaxPriority()); + } + if (request.hasMinPriority()) { + serializer.putQueryParam( + fields, "minPriority", request.getMinPriority()); + } + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "firewallPolicyRuleResource", + request.getFirewallPolicyRuleResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (AddRuleNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + 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 + cloneRulesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/CloneRules") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}/cloneRules", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + if (request.hasSourceFirewallPolicy()) { + serializer.putQueryParam( + fields, + "sourceFirewallPolicy", + request.getSourceFirewallPolicy()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CloneRulesNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + 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 + deleteMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/Delete") + .setHttpMethod(HttpMethods.DELETE) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + 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( + (DeleteNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + 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.NetworkFirewallPolicies/Get") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FirewallPolicy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + GetAssociationNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/GetAssociation") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}/getAssociation", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasName()) { + serializer.putQueryParam(fields, "name", request.getName()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FirewallPolicyAssociation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/GetIamPolicy") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{resource}/getIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "resource", request.getResource()); + 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 + getRuleMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/GetRule") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}/getRule", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasPriority()) { + serializer.putQueryParam(fields, "priority", request.getPriority()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FirewallPolicyRule.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + insertMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/Insert") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies", + 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.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "firewallPolicyResource", + request.getFirewallPolicyResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (InsertNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + 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.NetworkFirewallPolicies/List") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies", + 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.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(FirewallPolicyList.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + patchMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/Patch") + .setHttpMethod(HttpMethods.PATCH) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + 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( + "firewallPolicyResource", + request.getFirewallPolicyResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (PatchNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + 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 + patchRuleMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/PatchRule") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}/patchRule", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasPriority()) { + serializer.putQueryParam(fields, "priority", request.getPriority()); + } + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "firewallPolicyRuleResource", + request.getFirewallPolicyRuleResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (PatchRuleNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + 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 + removeAssociationMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.NetworkFirewallPolicies/RemoveAssociation") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasName()) { + serializer.putQueryParam(fields, "name", request.getName()); + } + 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( + (RemoveAssociationNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + 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 + removeRuleMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/RemoveRule") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{firewallPolicy}/removeRule", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasPriority()) { + serializer.putQueryParam(fields, "priority", request.getPriority()); + } + 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( + (RemoveRuleNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + 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() + .setFullMethodName("google.cloud.compute.v1.NetworkFirewallPolicies/SetIamPolicy") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{resource}/setIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "globalSetPolicyRequestResource", + request.getGlobalSetPolicyRequestResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + TestIamPermissionsNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.NetworkFirewallPolicies/TestIamPermissions") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/global/firewallPolicies/{resource}/testIamPermissions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "testPermissionsRequestResource", + request.getTestPermissionsRequestResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TestPermissionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + addAssociationCallable; + private final OperationCallable + addAssociationOperationCallable; + private final UnaryCallable addRuleCallable; + private final OperationCallable + addRuleOperationCallable; + private final UnaryCallable cloneRulesCallable; + private final OperationCallable + cloneRulesOperationCallable; + private final UnaryCallable deleteCallable; + private final OperationCallable + deleteOperationCallable; + private final UnaryCallable getCallable; + private final UnaryCallable + getAssociationCallable; + private final UnaryCallable + getIamPolicyCallable; + private final UnaryCallable + getRuleCallable; + private final UnaryCallable insertCallable; + private final OperationCallable + insertOperationCallable; + private final UnaryCallable listCallable; + private final UnaryCallable + listPagedCallable; + private final UnaryCallable patchCallable; + private final OperationCallable + patchOperationCallable; + private final UnaryCallable patchRuleCallable; + private final OperationCallable + patchRuleOperationCallable; + private final UnaryCallable + removeAssociationCallable; + private final OperationCallable< + RemoveAssociationNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationCallable; + private final UnaryCallable removeRuleCallable; + private final OperationCallable + removeRuleOperationCallable; + private final UnaryCallable + setIamPolicyCallable; + private final UnaryCallable< + TestIamPermissionsNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonGlobalOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonNetworkFirewallPoliciesStub create( + NetworkFirewallPoliciesStubSettings settings) throws IOException { + return new HttpJsonNetworkFirewallPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonNetworkFirewallPoliciesStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonNetworkFirewallPoliciesStub( + NetworkFirewallPoliciesStubSettings.newBuilder().build(), clientContext); + } + + public static final HttpJsonNetworkFirewallPoliciesStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonNetworkFirewallPoliciesStub( + NetworkFirewallPoliciesStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonNetworkFirewallPoliciesStub, 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 HttpJsonNetworkFirewallPoliciesStub( + NetworkFirewallPoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonNetworkFirewallPoliciesCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonNetworkFirewallPoliciesStub, 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 HttpJsonNetworkFirewallPoliciesStub( + NetworkFirewallPoliciesStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonGlobalOperationsStub.create(clientContext, callableFactory); + + HttpJsonCallSettings + addAssociationTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(addAssociationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings addRuleTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(addRuleMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + cloneRulesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(cloneRulesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getAssociationTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(getAssociationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getRuleTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(getRuleMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings insertTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(insertMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(listMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings patchTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(patchMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + patchRuleTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(patchRuleMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + removeAssociationTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(removeAssociationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + removeRuleTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(removeRuleMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + setIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + testIamPermissionsTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.addAssociationCallable = + callableFactory.createUnaryCallable( + addAssociationTransportSettings, settings.addAssociationSettings(), clientContext); + this.addAssociationOperationCallable = + callableFactory.createOperationCallable( + addAssociationTransportSettings, + settings.addAssociationOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.addRuleCallable = + callableFactory.createUnaryCallable( + addRuleTransportSettings, settings.addRuleSettings(), clientContext); + this.addRuleOperationCallable = + callableFactory.createOperationCallable( + addRuleTransportSettings, + settings.addRuleOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.cloneRulesCallable = + callableFactory.createUnaryCallable( + cloneRulesTransportSettings, settings.cloneRulesSettings(), clientContext); + this.cloneRulesOperationCallable = + callableFactory.createOperationCallable( + cloneRulesTransportSettings, + settings.cloneRulesOperationSettings(), + 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.getAssociationCallable = + callableFactory.createUnaryCallable( + getAssociationTransportSettings, settings.getAssociationSettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.getRuleCallable = + callableFactory.createUnaryCallable( + getRuleTransportSettings, settings.getRuleSettings(), 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.patchCallable = + callableFactory.createUnaryCallable( + patchTransportSettings, settings.patchSettings(), clientContext); + this.patchOperationCallable = + callableFactory.createOperationCallable( + patchTransportSettings, + settings.patchOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.patchRuleCallable = + callableFactory.createUnaryCallable( + patchRuleTransportSettings, settings.patchRuleSettings(), clientContext); + this.patchRuleOperationCallable = + callableFactory.createOperationCallable( + patchRuleTransportSettings, + settings.patchRuleOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.removeAssociationCallable = + callableFactory.createUnaryCallable( + removeAssociationTransportSettings, + settings.removeAssociationSettings(), + clientContext); + this.removeAssociationOperationCallable = + callableFactory.createOperationCallable( + removeAssociationTransportSettings, + settings.removeAssociationOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.removeRuleCallable = + callableFactory.createUnaryCallable( + removeRuleTransportSettings, settings.removeRuleSettings(), clientContext); + this.removeRuleOperationCallable = + callableFactory.createOperationCallable( + removeRuleTransportSettings, + settings.removeRuleOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(addAssociationMethodDescriptor); + methodDescriptors.add(addRuleMethodDescriptor); + methodDescriptors.add(cloneRulesMethodDescriptor); + methodDescriptors.add(deleteMethodDescriptor); + methodDescriptors.add(getMethodDescriptor); + methodDescriptors.add(getAssociationMethodDescriptor); + methodDescriptors.add(getIamPolicyMethodDescriptor); + methodDescriptors.add(getRuleMethodDescriptor); + methodDescriptors.add(insertMethodDescriptor); + methodDescriptors.add(listMethodDescriptor); + methodDescriptors.add(patchMethodDescriptor); + methodDescriptors.add(patchRuleMethodDescriptor); + methodDescriptors.add(removeAssociationMethodDescriptor); + methodDescriptors.add(removeRuleMethodDescriptor); + methodDescriptors.add(setIamPolicyMethodDescriptor); + methodDescriptors.add(testIamPermissionsMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable + addAssociationCallable() { + return addAssociationCallable; + } + + @Override + public OperationCallable + addAssociationOperationCallable() { + return addAssociationOperationCallable; + } + + @Override + public UnaryCallable addRuleCallable() { + return addRuleCallable; + } + + @Override + public OperationCallable + addRuleOperationCallable() { + return addRuleOperationCallable; + } + + @Override + public UnaryCallable cloneRulesCallable() { + return cloneRulesCallable; + } + + @Override + public OperationCallable + cloneRulesOperationCallable() { + return cloneRulesOperationCallable; + } + + @Override + public UnaryCallable deleteCallable() { + return deleteCallable; + } + + @Override + public OperationCallable + deleteOperationCallable() { + return deleteOperationCallable; + } + + @Override + public UnaryCallable getCallable() { + return getCallable; + } + + @Override + public UnaryCallable + getAssociationCallable() { + return getAssociationCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable getRuleCallable() { + return getRuleCallable; + } + + @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 patchCallable() { + return patchCallable; + } + + @Override + public OperationCallable + patchOperationCallable() { + return patchOperationCallable; + } + + @Override + public UnaryCallable patchRuleCallable() { + return patchRuleCallable; + } + + @Override + public OperationCallable + patchRuleOperationCallable() { + return patchRuleOperationCallable; + } + + @Override + public UnaryCallable + removeAssociationCallable() { + return removeAssociationCallable; + } + + @Override + public OperationCallable + removeAssociationOperationCallable() { + return removeAssociationOperationCallable; + } + + @Override + public UnaryCallable removeRuleCallable() { + return removeRuleCallable; + } + + @Override + public OperationCallable + removeRuleOperationCallable() { + return removeRuleOperationCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionNetworkFirewallPoliciesCallableFactory.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionNetworkFirewallPoliciesCallableFactory.java new file mode 100644 index 000000000..6704816c2 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionNetworkFirewallPoliciesCallableFactory.java @@ -0,0 +1,104 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.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.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 RegionNetworkFirewallPolicies service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonRegionNetworkFirewallPoliciesCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + RegionOperationsStub 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionNetworkFirewallPoliciesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionNetworkFirewallPoliciesStub.java new file mode 100644 index 000000000..bb54667d6 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionNetworkFirewallPoliciesStub.java @@ -0,0 +1,1542 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionNetworkFirewallPoliciesClient.ListPagedResponse; + +import com.google.api.client.http.HttpMethods; +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.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.UnaryCallable; +import com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.FirewallPolicy; +import com.google.cloud.compute.v1.FirewallPolicyAssociation; +import com.google.cloud.compute.v1.FirewallPolicyList; +import com.google.cloud.compute.v1.FirewallPolicyRule; +import com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse; +import com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; +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 RegionNetworkFirewallPolicies service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public class HttpJsonRegionNetworkFirewallPoliciesStub extends RegionNetworkFirewallPoliciesStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder().add(Operation.getDescriptor()).build(); + + private static final ApiMethodDescriptor< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation> + addAssociationMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.RegionNetworkFirewallPolicies/AddAssociation") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addAssociation", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasReplaceExistingAssociation()) { + serializer.putQueryParam( + fields, + "replaceExistingAssociation", + request.getReplaceExistingAssociation()); + } + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "firewallPolicyAssociationResource", + request.getFirewallPolicyAssociationResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (AddAssociationRegionNetworkFirewallPolicyRequest request, + Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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 + addRuleMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionNetworkFirewallPolicies/AddRule") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/addRule", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasMaxPriority()) { + serializer.putQueryParam( + fields, "maxPriority", request.getMaxPriority()); + } + if (request.hasMinPriority()) { + serializer.putQueryParam( + fields, "minPriority", request.getMinPriority()); + } + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "firewallPolicyRuleResource", + request.getFirewallPolicyRuleResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (AddRuleRegionNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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 + cloneRulesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionNetworkFirewallPolicies/CloneRules") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/cloneRules", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + if (request.hasSourceFirewallPolicy()) { + serializer.putQueryParam( + fields, + "sourceFirewallPolicy", + request.getSourceFirewallPolicy()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CloneRulesRegionNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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 + deleteMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionNetworkFirewallPolicies/Delete") + .setHttpMethod(HttpMethods.DELETE) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + 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( + (DeleteRegionNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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.RegionNetworkFirewallPolicies/Get") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FirewallPolicy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetAssociation") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getAssociation", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasName()) { + serializer.putQueryParam(fields, "name", request.getName()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FirewallPolicyAssociation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetEffectiveFirewalls") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest> + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest> + serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "network", request.getNetwork()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser + .newBuilder() + .setDefaultInstance( + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + .getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetIamPolicy") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + serializer.putPathParam(fields, "resource", request.getResource()); + 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< + GetRuleRegionNetworkFirewallPolicyRequest, FirewallPolicyRule> + getRuleMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionNetworkFirewallPolicies/GetRule") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/getRule", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasPriority()) { + serializer.putQueryParam(fields, "priority", request.getPriority()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(FirewallPolicyRule.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + insertMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionNetworkFirewallPolicies/Insert") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + 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( + "firewallPolicyResource", + request.getFirewallPolicyResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (InsertRegionNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList> + listMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionNetworkFirewallPolicies/List") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + 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(FirewallPolicyList.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + patchMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionNetworkFirewallPolicies/Patch") + .setHttpMethod(HttpMethods.PATCH) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + 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( + "firewallPolicyResource", + request.getFirewallPolicyResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (PatchRegionNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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 + patchRuleMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionNetworkFirewallPolicies/PatchRule") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchRule", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasPriority()) { + serializer.putQueryParam(fields, "priority", request.getPriority()); + } + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "firewallPolicyRuleResource", + request.getFirewallPolicyRuleResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (PatchRuleRegionNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation> + removeAssociationMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.RegionNetworkFirewallPolicies/RemoveAssociation") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeAssociation", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasName()) { + serializer.putQueryParam(fields, "name", request.getName()); + } + 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( + (RemoveAssociationRegionNetworkFirewallPolicyRequest request, + Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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 + removeRuleMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionNetworkFirewallPolicies/RemoveRule") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/removeRule", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "firewallPolicy", request.getFirewallPolicy()); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + if (request.hasPriority()) { + serializer.putQueryParam(fields, "priority", request.getPriority()); + } + 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( + (RemoveRuleRegionNetworkFirewallPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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() + .setFullMethodName( + "google.cloud.compute.v1.RegionNetworkFirewallPolicies/SetIamPolicy") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer + serializer = ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "regionSetPolicyRequestResource", + request.getRegionSetPolicyRequestResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsMethodDescriptor = + ApiMethodDescriptor + . + newBuilder() + .setFullMethodName( + "google.cloud.compute.v1.RegionNetworkFirewallPolicies/TestIamPermissions") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter + .newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer< + TestIamPermissionsRegionNetworkFirewallPolicyRequest> + serializer = ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer< + TestIamPermissionsRegionNetworkFirewallPolicyRequest> + serializer = ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "testPermissionsRequestResource", + request.getTestPermissionsRequestResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TestPermissionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + addAssociationCallable; + private final OperationCallable< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationCallable; + private final UnaryCallable addRuleCallable; + private final OperationCallable + addRuleOperationCallable; + private final UnaryCallable + cloneRulesCallable; + private final OperationCallable< + CloneRulesRegionNetworkFirewallPolicyRequest, Operation, Operation> + cloneRulesOperationCallable; + private final UnaryCallable deleteCallable; + private final OperationCallable + deleteOperationCallable; + private final UnaryCallable getCallable; + private final UnaryCallable< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationCallable; + private final UnaryCallable< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsCallable; + private final UnaryCallable + getIamPolicyCallable; + private final UnaryCallable + getRuleCallable; + private final UnaryCallable insertCallable; + private final OperationCallable + insertOperationCallable; + private final UnaryCallable + listCallable; + private final UnaryCallable + listPagedCallable; + private final UnaryCallable patchCallable; + private final OperationCallable + patchOperationCallable; + private final UnaryCallable + patchRuleCallable; + private final OperationCallable + patchRuleOperationCallable; + private final UnaryCallable + removeAssociationCallable; + private final OperationCallable< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationCallable; + private final UnaryCallable + removeRuleCallable; + private final OperationCallable< + RemoveRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeRuleOperationCallable; + private final UnaryCallable + setIamPolicyCallable; + private final UnaryCallable< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonRegionOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonRegionNetworkFirewallPoliciesStub create( + RegionNetworkFirewallPoliciesStubSettings settings) throws IOException { + return new HttpJsonRegionNetworkFirewallPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonRegionNetworkFirewallPoliciesStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonRegionNetworkFirewallPoliciesStub( + RegionNetworkFirewallPoliciesStubSettings.newBuilder().build(), clientContext); + } + + public static final HttpJsonRegionNetworkFirewallPoliciesStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonRegionNetworkFirewallPoliciesStub( + RegionNetworkFirewallPoliciesStubSettings.newBuilder().build(), + clientContext, + callableFactory); + } + + /** + * Constructs an instance of HttpJsonRegionNetworkFirewallPoliciesStub, 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 HttpJsonRegionNetworkFirewallPoliciesStub( + RegionNetworkFirewallPoliciesStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonRegionNetworkFirewallPoliciesCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonRegionNetworkFirewallPoliciesStub, 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 HttpJsonRegionNetworkFirewallPoliciesStub( + RegionNetworkFirewallPoliciesStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonRegionOperationsStub.create(clientContext, callableFactory); + + HttpJsonCallSettings + addAssociationTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(addAssociationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + addRuleTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(addRuleMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + cloneRulesTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(cloneRulesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + deleteTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(getAssociationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(getEffectiveFirewallsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getIamPolicyTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getRuleTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(getRuleMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + insertTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(insertMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(listMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + patchTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(patchMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + patchRuleTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(patchRuleMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + removeAssociationTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(removeAssociationMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + removeRuleTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(removeRuleMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + setIamPolicyTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsTransportSettings = + HttpJsonCallSettings + . + newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.addAssociationCallable = + callableFactory.createUnaryCallable( + addAssociationTransportSettings, settings.addAssociationSettings(), clientContext); + this.addAssociationOperationCallable = + callableFactory.createOperationCallable( + addAssociationTransportSettings, + settings.addAssociationOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.addRuleCallable = + callableFactory.createUnaryCallable( + addRuleTransportSettings, settings.addRuleSettings(), clientContext); + this.addRuleOperationCallable = + callableFactory.createOperationCallable( + addRuleTransportSettings, + settings.addRuleOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.cloneRulesCallable = + callableFactory.createUnaryCallable( + cloneRulesTransportSettings, settings.cloneRulesSettings(), clientContext); + this.cloneRulesOperationCallable = + callableFactory.createOperationCallable( + cloneRulesTransportSettings, + settings.cloneRulesOperationSettings(), + 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.getAssociationCallable = + callableFactory.createUnaryCallable( + getAssociationTransportSettings, settings.getAssociationSettings(), clientContext); + this.getEffectiveFirewallsCallable = + callableFactory.createUnaryCallable( + getEffectiveFirewallsTransportSettings, + settings.getEffectiveFirewallsSettings(), + clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.getRuleCallable = + callableFactory.createUnaryCallable( + getRuleTransportSettings, settings.getRuleSettings(), 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.patchCallable = + callableFactory.createUnaryCallable( + patchTransportSettings, settings.patchSettings(), clientContext); + this.patchOperationCallable = + callableFactory.createOperationCallable( + patchTransportSettings, + settings.patchOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.patchRuleCallable = + callableFactory.createUnaryCallable( + patchRuleTransportSettings, settings.patchRuleSettings(), clientContext); + this.patchRuleOperationCallable = + callableFactory.createOperationCallable( + patchRuleTransportSettings, + settings.patchRuleOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.removeAssociationCallable = + callableFactory.createUnaryCallable( + removeAssociationTransportSettings, + settings.removeAssociationSettings(), + clientContext); + this.removeAssociationOperationCallable = + callableFactory.createOperationCallable( + removeAssociationTransportSettings, + settings.removeAssociationOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.removeRuleCallable = + callableFactory.createUnaryCallable( + removeRuleTransportSettings, settings.removeRuleSettings(), clientContext); + this.removeRuleOperationCallable = + callableFactory.createOperationCallable( + removeRuleTransportSettings, + settings.removeRuleOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(addAssociationMethodDescriptor); + methodDescriptors.add(addRuleMethodDescriptor); + methodDescriptors.add(cloneRulesMethodDescriptor); + methodDescriptors.add(deleteMethodDescriptor); + methodDescriptors.add(getMethodDescriptor); + methodDescriptors.add(getAssociationMethodDescriptor); + methodDescriptors.add(getEffectiveFirewallsMethodDescriptor); + methodDescriptors.add(getIamPolicyMethodDescriptor); + methodDescriptors.add(getRuleMethodDescriptor); + methodDescriptors.add(insertMethodDescriptor); + methodDescriptors.add(listMethodDescriptor); + methodDescriptors.add(patchMethodDescriptor); + methodDescriptors.add(patchRuleMethodDescriptor); + methodDescriptors.add(removeAssociationMethodDescriptor); + methodDescriptors.add(removeRuleMethodDescriptor); + methodDescriptors.add(setIamPolicyMethodDescriptor); + methodDescriptors.add(testIamPermissionsMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable + addAssociationCallable() { + return addAssociationCallable; + } + + @Override + public OperationCallable + addAssociationOperationCallable() { + return addAssociationOperationCallable; + } + + @Override + public UnaryCallable addRuleCallable() { + return addRuleCallable; + } + + @Override + public OperationCallable + addRuleOperationCallable() { + return addRuleOperationCallable; + } + + @Override + public UnaryCallable + cloneRulesCallable() { + return cloneRulesCallable; + } + + @Override + public OperationCallable + cloneRulesOperationCallable() { + return cloneRulesOperationCallable; + } + + @Override + public UnaryCallable deleteCallable() { + return deleteCallable; + } + + @Override + public OperationCallable + deleteOperationCallable() { + return deleteOperationCallable; + } + + @Override + public UnaryCallable getCallable() { + return getCallable; + } + + @Override + public UnaryCallable + getAssociationCallable() { + return getAssociationCallable; + } + + @Override + public UnaryCallable< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsCallable() { + return getEffectiveFirewallsCallable; + } + + @Override + public UnaryCallable + getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable + getRuleCallable() { + return getRuleCallable; + } + + @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 patchCallable() { + return patchCallable; + } + + @Override + public OperationCallable + patchOperationCallable() { + return patchOperationCallable; + } + + @Override + public UnaryCallable patchRuleCallable() { + return patchRuleCallable; + } + + @Override + public OperationCallable + patchRuleOperationCallable() { + return patchRuleOperationCallable; + } + + @Override + public UnaryCallable + removeAssociationCallable() { + return removeAssociationCallable; + } + + @Override + public OperationCallable< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationCallable() { + return removeAssociationOperationCallable; + } + + @Override + public UnaryCallable + removeRuleCallable() { + return removeRuleCallable; + } + + @Override + public OperationCallable + removeRuleOperationCallable() { + return removeRuleOperationCallable; + } + + @Override + public UnaryCallable + setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionSecurityPoliciesCallableFactory.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionSecurityPoliciesCallableFactory.java new file mode 100644 index 000000000..62584effb --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionSecurityPoliciesCallableFactory.java @@ -0,0 +1,104 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.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.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 RegionSecurityPolicies service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonRegionSecurityPoliciesCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + RegionOperationsStub 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionSecurityPoliciesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionSecurityPoliciesStub.java new file mode 100644 index 000000000..e3745d5fd --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionSecurityPoliciesStub.java @@ -0,0 +1,544 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionSecurityPoliciesClient.ListPagedResponse; + +import com.google.api.client.http.HttpMethods; +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.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.UnaryCallable; +import com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.SecurityPolicy; +import com.google.cloud.compute.v1.SecurityPolicyList; +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 RegionSecurityPolicies service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi("A restructuring of stub classes is planned, so this may break in the future") +public class HttpJsonRegionSecurityPoliciesStub extends RegionSecurityPoliciesStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder().add(Operation.getDescriptor()).build(); + + private static final ApiMethodDescriptor + deleteMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionSecurityPolicies/Delete") + .setHttpMethod(HttpMethods.DELETE) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + serializer.putPathParam( + fields, "securityPolicy", request.getSecurityPolicy()); + 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( + (DeleteRegionSecurityPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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.RegionSecurityPolicies/Get") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + serializer.putPathParam( + fields, "securityPolicy", request.getSecurityPolicy()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(SecurityPolicy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + insertMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionSecurityPolicies/Insert") + .setHttpMethod(HttpMethods.POST) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/securityPolicies", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + if (request.hasRequestId()) { + serializer.putQueryParam(fields, "requestId", request.getRequestId()); + } + if (request.hasValidateOnly()) { + serializer.putQueryParam( + fields, "validateOnly", request.getValidateOnly()); + } + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody( + "securityPolicyResource", + request.getSecurityPolicyResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (InsertRegionSecurityPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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.RegionSecurityPolicies/List") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/securityPolicies", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + 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(SecurityPolicyList.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + patchMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionSecurityPolicies/Patch") + .setHttpMethod(HttpMethods.PATCH) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{securityPolicy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + serializer.putPathParam( + fields, "securityPolicy", request.getSecurityPolicy()); + 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( + "securityPolicyResource", + request.getSecurityPolicyResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (PatchRegionSecurityPolicyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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 deleteCallable; + private final OperationCallable + deleteOperationCallable; + private final UnaryCallable getCallable; + private final UnaryCallable insertCallable; + private final OperationCallable + insertOperationCallable; + private final UnaryCallable listCallable; + private final UnaryCallable + listPagedCallable; + private final UnaryCallable patchCallable; + private final OperationCallable + patchOperationCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonRegionOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonRegionSecurityPoliciesStub create( + RegionSecurityPoliciesStubSettings settings) throws IOException { + return new HttpJsonRegionSecurityPoliciesStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonRegionSecurityPoliciesStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonRegionSecurityPoliciesStub( + RegionSecurityPoliciesStubSettings.newBuilder().build(), clientContext); + } + + public static final HttpJsonRegionSecurityPoliciesStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonRegionSecurityPoliciesStub( + RegionSecurityPoliciesStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonRegionSecurityPoliciesStub, 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 HttpJsonRegionSecurityPoliciesStub( + RegionSecurityPoliciesStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonRegionSecurityPoliciesCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonRegionSecurityPoliciesStub, 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 HttpJsonRegionSecurityPoliciesStub( + RegionSecurityPoliciesStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonRegionOperationsStub.create(clientContext, callableFactory); + + HttpJsonCallSettings deleteTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings insertTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(insertMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings patchTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(patchMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + 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.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(deleteMethodDescriptor); + methodDescriptors.add(getMethodDescriptor); + methodDescriptors.add(insertMethodDescriptor); + methodDescriptors.add(listMethodDescriptor); + methodDescriptors.add(patchMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable deleteCallable() { + return deleteCallable; + } + + @Override + public OperationCallable + deleteOperationCallable() { + return deleteOperationCallable; + } + + @Override + public UnaryCallable getCallable() { + return getCallable; + } + + @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 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionTargetHttpsProxiesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionTargetHttpsProxiesStub.java index f76092acd..f263702cb 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionTargetHttpsProxiesStub.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionTargetHttpsProxiesStub.java @@ -39,6 +39,7 @@ import com.google.cloud.compute.v1.ListRegionTargetHttpsProxiesRequest; import com.google.cloud.compute.v1.Operation; import com.google.cloud.compute.v1.Operation.Status; +import com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.SetSslCertificatesRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.SetUrlMapRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.TargetHttpsProxy; @@ -262,6 +263,63 @@ public class HttpJsonRegionTargetHttpsProxiesStub extends RegionTargetHttpsProxi .build()) .build(); + private static final ApiMethodDescriptor + patchMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.compute.v1.RegionTargetHttpsProxies/Patch") + .setHttpMethod(HttpMethods.PATCH) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{targetHttpsProxy}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "project", request.getProject()); + serializer.putPathParam(fields, "region", request.getRegion()); + serializer.putPathParam( + fields, "targetHttpsProxy", request.getTargetHttpsProxy()); + 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( + "targetHttpsProxyResource", + request.getTargetHttpsProxyResource())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (PatchRegionTargetHttpsProxyRequest request, Operation response) -> { + StringBuilder opName = new StringBuilder(response.getName()); + opName.append(":").append(request.getProject()); + opName.append(":").append(request.getRegion()); + 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< SetSslCertificatesRegionTargetHttpsProxyRequest, Operation> setSslCertificatesMethodDescriptor = @@ -392,6 +450,9 @@ public class HttpJsonRegionTargetHttpsProxiesStub extends RegionTargetHttpsProxi listCallable; private final UnaryCallable listPagedCallable; + private final UnaryCallable patchCallable; + private final OperationCallable + patchOperationCallable; private final UnaryCallable setSslCertificatesCallable; private final OperationCallable< @@ -469,6 +530,11 @@ protected HttpJsonRegionTargetHttpsProxiesStub( .setMethodDescriptor(listMethodDescriptor) .setTypeRegistry(typeRegistry) .build(); + HttpJsonCallSettings patchTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(patchMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); HttpJsonCallSettings setSslCertificatesTransportSettings = HttpJsonCallSettings @@ -510,6 +576,15 @@ protected HttpJsonRegionTargetHttpsProxiesStub( this.listPagedCallable = callableFactory.createPagedCallable( listTransportSettings, settings.listSettings(), clientContext); + this.patchCallable = + callableFactory.createUnaryCallable( + patchTransportSettings, settings.patchSettings(), clientContext); + this.patchOperationCallable = + callableFactory.createOperationCallable( + patchTransportSettings, + settings.patchOperationSettings(), + clientContext, + httpJsonOperationsStub); this.setSslCertificatesCallable = callableFactory.createUnaryCallable( setSslCertificatesTransportSettings, @@ -542,6 +617,7 @@ public static List getMethodDescriptors() { methodDescriptors.add(getMethodDescriptor); methodDescriptors.add(insertMethodDescriptor); methodDescriptors.add(listMethodDescriptor); + methodDescriptors.add(patchMethodDescriptor); methodDescriptors.add(setSslCertificatesMethodDescriptor); methodDescriptors.add(setUrlMapMethodDescriptor); return methodDescriptors; @@ -584,6 +660,17 @@ public UnaryCallable lis return listPagedCallable; } + @Override + public UnaryCallable patchCallable() { + return patchCallable; + } + + @Override + public OperationCallable + patchOperationCallable() { + return patchOperationCallable; + } + @Override public UnaryCallable setSslCertificatesCallable() { diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPoliciesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPoliciesStub.java index 504a7ca17..07ac68b72 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPoliciesStub.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPoliciesStub.java @@ -16,6 +16,7 @@ package com.google.cloud.compute.v1.stub; +import static com.google.cloud.compute.v1.SecurityPoliciesClient.AggregatedListPagedResponse; import static com.google.cloud.compute.v1.SecurityPoliciesClient.ListPagedResponse; import com.google.api.client.http.HttpMethods; @@ -34,6 +35,7 @@ import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.compute.v1.AddRuleSecurityPolicyRequest; +import com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest; import com.google.cloud.compute.v1.DeleteSecurityPolicyRequest; import com.google.cloud.compute.v1.GetRuleSecurityPolicyRequest; import com.google.cloud.compute.v1.GetSecurityPolicyRequest; @@ -45,6 +47,7 @@ import com.google.cloud.compute.v1.PatchRuleSecurityPolicyRequest; import com.google.cloud.compute.v1.PatchSecurityPolicyRequest; import com.google.cloud.compute.v1.RemoveRuleSecurityPolicyRequest; +import com.google.cloud.compute.v1.SecurityPoliciesAggregatedList; import com.google.cloud.compute.v1.SecurityPoliciesListPreconfiguredExpressionSetsResponse; import com.google.cloud.compute.v1.SecurityPolicy; import com.google.cloud.compute.v1.SecurityPolicyList; @@ -122,6 +125,64 @@ public class HttpJsonSecurityPoliciesStub extends SecurityPoliciesStub { }) .build(); + private static final ApiMethodDescriptor< + AggregatedListSecurityPoliciesRequest, SecurityPoliciesAggregatedList> + aggregatedListMethodDescriptor = + ApiMethodDescriptor + .newBuilder() + .setFullMethodName("google.cloud.compute.v1.SecurityPolicies/AggregatedList") + .setHttpMethod(HttpMethods.GET) + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/compute/v1/projects/{project}/aggregated/securityPolicies", + 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()); + } + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(SecurityPoliciesAggregatedList.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + private static final ApiMethodDescriptor deleteMethodDescriptor = ApiMethodDescriptor.newBuilder() @@ -577,6 +638,10 @@ public class HttpJsonSecurityPoliciesStub extends SecurityPoliciesStub { private final UnaryCallable addRuleCallable; private final OperationCallable addRuleOperationCallable; + private final UnaryCallable + aggregatedListCallable; + private final UnaryCallable + aggregatedListPagedCallable; private final UnaryCallable deleteCallable; private final OperationCallable deleteOperationCallable; @@ -651,6 +716,13 @@ protected HttpJsonSecurityPoliciesStub( .setMethodDescriptor(addRuleMethodDescriptor) .setTypeRegistry(typeRegistry) .build(); + HttpJsonCallSettings + aggregatedListTransportSettings = + HttpJsonCallSettings + .newBuilder() + .setMethodDescriptor(aggregatedListMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); HttpJsonCallSettings deleteTransportSettings = HttpJsonCallSettings.newBuilder() .setMethodDescriptor(deleteMethodDescriptor) @@ -713,6 +785,12 @@ protected HttpJsonSecurityPoliciesStub( settings.addRuleOperationSettings(), clientContext, httpJsonOperationsStub); + this.aggregatedListCallable = + callableFactory.createUnaryCallable( + aggregatedListTransportSettings, settings.aggregatedListSettings(), clientContext); + this.aggregatedListPagedCallable = + callableFactory.createPagedCallable( + aggregatedListTransportSettings, settings.aggregatedListSettings(), clientContext); this.deleteCallable = callableFactory.createUnaryCallable( deleteTransportSettings, settings.deleteSettings(), clientContext); @@ -784,6 +862,7 @@ protected HttpJsonSecurityPoliciesStub( public static List getMethodDescriptors() { List methodDescriptors = new ArrayList<>(); methodDescriptors.add(addRuleMethodDescriptor); + methodDescriptors.add(aggregatedListMethodDescriptor); methodDescriptors.add(deleteMethodDescriptor); methodDescriptors.add(getMethodDescriptor); methodDescriptors.add(getRuleMethodDescriptor); @@ -807,6 +886,18 @@ public UnaryCallable addRuleCallable() return addRuleOperationCallable; } + @Override + public UnaryCallable + aggregatedListCallable() { + return aggregatedListCallable; + } + + @Override + public UnaryCallable + aggregatedListPagedCallable() { + return aggregatedListPagedCallable; + } + @Override public UnaryCallable deleteCallable() { return deleteCallable; diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkEdgeSecurityServicesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkEdgeSecurityServicesStub.java new file mode 100644 index 000000000..ad6904edd --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkEdgeSecurityServicesStub.java @@ -0,0 +1,90 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkEdgeSecurityServicesClient.AggregatedListPagedResponse; + +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.AggregatedListNetworkEdgeSecurityServicesRequest; +import com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest; +import com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest; +import com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest; +import com.google.cloud.compute.v1.NetworkEdgeSecurityService; +import com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the NetworkEdgeSecurityServices service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class NetworkEdgeSecurityServicesStub implements BackgroundResource { + + public UnaryCallable< + AggregatedListNetworkEdgeSecurityServicesRequest, AggregatedListPagedResponse> + aggregatedListPagedCallable() { + throw new UnsupportedOperationException("Not implemented: aggregatedListPagedCallable()"); + } + + public UnaryCallable< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList> + 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 OperationCallable + insertOperationCallable() { + throw new UnsupportedOperationException("Not implemented: insertOperationCallable()"); + } + + public UnaryCallable insertCallable() { + throw new UnsupportedOperationException("Not implemented: insertCallable()"); + } + + 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkEdgeSecurityServicesStubSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkEdgeSecurityServicesStubSettings.java new file mode 100644 index 000000000..fd2ec43e1 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkEdgeSecurityServicesStubSettings.java @@ -0,0 +1,649 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkEdgeSecurityServicesClient.AggregatedListPagedResponse; + +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.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.AggregatedListNetworkEdgeSecurityServicesRequest; +import com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest; +import com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest; +import com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest; +import com.google.cloud.compute.v1.NetworkEdgeSecurityService; +import com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList; +import com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest; +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 NetworkEdgeSecurityServicesStub}. + * + *

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
+ * NetworkEdgeSecurityServicesStubSettings.Builder networkEdgeSecurityServicesSettingsBuilder =
+ *     NetworkEdgeSecurityServicesStubSettings.newBuilder();
+ * networkEdgeSecurityServicesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         networkEdgeSecurityServicesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * NetworkEdgeSecurityServicesStubSettings networkEdgeSecurityServicesSettings =
+ *     networkEdgeSecurityServicesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class NetworkEdgeSecurityServicesStubSettings + 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< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings; + private final UnaryCallSettings + deleteSettings; + private final OperationCallSettings + deleteOperationSettings; + private final UnaryCallSettings + getSettings; + private final UnaryCallSettings + insertSettings; + private final OperationCallSettings + insertOperationSettings; + private final UnaryCallSettings patchSettings; + private final OperationCallSettings + patchOperationSettings; + + private static final PagedListDescriptor< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + Map.Entry> + AGGREGATED_LIST_PAGE_STR_DESC = + new PagedListDescriptor< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + Map.Entry>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public AggregatedListNetworkEdgeSecurityServicesRequest injectToken( + AggregatedListNetworkEdgeSecurityServicesRequest payload, String token) { + return AggregatedListNetworkEdgeSecurityServicesRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public AggregatedListNetworkEdgeSecurityServicesRequest injectPageSize( + AggregatedListNetworkEdgeSecurityServicesRequest payload, int pageSize) { + return AggregatedListNetworkEdgeSecurityServicesRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize( + AggregatedListNetworkEdgeSecurityServicesRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(NetworkEdgeSecurityServiceAggregatedList payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable> + extractResources(NetworkEdgeSecurityServiceAggregatedList payload) { + return payload.getItemsMap() == null + ? Collections.>emptySet() + : payload.getItemsMap().entrySet(); + } + }; + + private static final PagedListResponseFactory< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + AggregatedListPagedResponse> + AGGREGATED_LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + AggregatedListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList> + callable, + AggregatedListNetworkEdgeSecurityServicesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + Map.Entry> + pageContext = + PageContext.create(callable, AGGREGATED_LIST_PAGE_STR_DESC, request, context); + return AggregatedListPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to aggregatedList. */ + public PagedCallSettings< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + 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 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 patch. */ + public UnaryCallSettings patchSettings() { + return patchSettings; + } + + /** Returns the object with the settings used for calls to patch. */ + public OperationCallSettings + patchOperationSettings() { + return patchOperationSettings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public NetworkEdgeSecurityServicesStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonNetworkEdgeSecurityServicesStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** 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(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(NetworkEdgeSecurityServicesStubSettings.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 NetworkEdgeSecurityServicesStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + aggregatedListSettings = settingsBuilder.aggregatedListSettings().build(); + deleteSettings = settingsBuilder.deleteSettings().build(); + deleteOperationSettings = settingsBuilder.deleteOperationSettings().build(); + getSettings = settingsBuilder.getSettings().build(); + insertSettings = settingsBuilder.insertSettings().build(); + insertOperationSettings = settingsBuilder.insertOperationSettings().build(); + patchSettings = settingsBuilder.patchSettings().build(); + patchOperationSettings = settingsBuilder.patchOperationSettings().build(); + } + + /** Builder for NetworkEdgeSecurityServicesStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final PagedCallSettings.Builder< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings; + private final UnaryCallSettings.Builder + deleteSettings; + private final OperationCallSettings.Builder< + DeleteNetworkEdgeSecurityServiceRequest, Operation, Operation> + deleteOperationSettings; + private final UnaryCallSettings.Builder< + GetNetworkEdgeSecurityServiceRequest, NetworkEdgeSecurityService> + getSettings; + private final UnaryCallSettings.Builder + insertSettings; + private final OperationCallSettings.Builder< + InsertNetworkEdgeSecurityServiceRequest, Operation, Operation> + insertOperationSettings; + private final UnaryCallSettings.Builder + patchSettings; + private final OperationCallSettings.Builder< + PatchNetworkEdgeSecurityServiceRequest, Operation, Operation> + 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); + + aggregatedListSettings = PagedCallSettings.newBuilder(AGGREGATED_LIST_PAGE_STR_FACT); + deleteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteOperationSettings = OperationCallSettings.newBuilder(); + getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertOperationSettings = OperationCallSettings.newBuilder(); + patchSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchOperationSettings = OperationCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + aggregatedListSettings, deleteSettings, getSettings, insertSettings, patchSettings); + initDefaults(this); + } + + protected Builder(NetworkEdgeSecurityServicesStubSettings settings) { + super(settings); + + aggregatedListSettings = settings.aggregatedListSettings.toBuilder(); + deleteSettings = settings.deleteSettings.toBuilder(); + deleteOperationSettings = settings.deleteOperationSettings.toBuilder(); + getSettings = settings.getSettings.toBuilder(); + insertSettings = settings.insertSettings.toBuilder(); + insertOperationSettings = settings.insertOperationSettings.toBuilder(); + patchSettings = settings.patchSettings.toBuilder(); + patchOperationSettings = settings.patchOperationSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + aggregatedListSettings, deleteSettings, getSettings, insertSettings, patchSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + 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 + .insertSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .patchSettings() + .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 + .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 aggregatedList. */ + public PagedCallSettings.Builder< + AggregatedListNetworkEdgeSecurityServicesRequest, + NetworkEdgeSecurityServiceAggregatedList, + 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + DeleteNetworkEdgeSecurityServiceRequest, Operation, Operation> + deleteOperationSettings() { + return deleteOperationSettings; + } + + /** Returns the builder for the settings used for calls to get. */ + public UnaryCallSettings.Builder< + GetNetworkEdgeSecurityServiceRequest, NetworkEdgeSecurityService> + 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + InsertNetworkEdgeSecurityServiceRequest, Operation, Operation> + insertOperationSettings() { + return insertOperationSettings; + } + + /** 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PatchNetworkEdgeSecurityServiceRequest, Operation, Operation> + patchOperationSettings() { + return patchOperationSettings; + } + + @Override + public NetworkEdgeSecurityServicesStubSettings build() throws IOException { + return new NetworkEdgeSecurityServicesStubSettings(this); + } + } +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkFirewallPoliciesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkFirewallPoliciesStub.java new file mode 100644 index 000000000..021b19f75 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkFirewallPoliciesStub.java @@ -0,0 +1,178 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkFirewallPoliciesClient.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.AddAssociationNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.FirewallPolicy; +import com.google.cloud.compute.v1.FirewallPolicyAssociation; +import com.google.cloud.compute.v1.FirewallPolicyList; +import com.google.cloud.compute.v1.FirewallPolicyRule; +import com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the NetworkFirewallPolicies service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class NetworkFirewallPoliciesStub implements BackgroundResource { + + public OperationCallable + addAssociationOperationCallable() { + throw new UnsupportedOperationException("Not implemented: addAssociationOperationCallable()"); + } + + public UnaryCallable + addAssociationCallable() { + throw new UnsupportedOperationException("Not implemented: addAssociationCallable()"); + } + + public OperationCallable + addRuleOperationCallable() { + throw new UnsupportedOperationException("Not implemented: addRuleOperationCallable()"); + } + + public UnaryCallable addRuleCallable() { + throw new UnsupportedOperationException("Not implemented: addRuleCallable()"); + } + + public OperationCallable + cloneRulesOperationCallable() { + throw new UnsupportedOperationException("Not implemented: cloneRulesOperationCallable()"); + } + + public UnaryCallable cloneRulesCallable() { + throw new UnsupportedOperationException("Not implemented: cloneRulesCallable()"); + } + + 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 + getAssociationCallable() { + throw new UnsupportedOperationException("Not implemented: getAssociationCallable()"); + } + + public UnaryCallable getIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); + } + + public UnaryCallable getRuleCallable() { + throw new UnsupportedOperationException("Not implemented: getRuleCallable()"); + } + + 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 OperationCallable + patchOperationCallable() { + throw new UnsupportedOperationException("Not implemented: patchOperationCallable()"); + } + + public UnaryCallable patchCallable() { + throw new UnsupportedOperationException("Not implemented: patchCallable()"); + } + + public OperationCallable + patchRuleOperationCallable() { + throw new UnsupportedOperationException("Not implemented: patchRuleOperationCallable()"); + } + + public UnaryCallable patchRuleCallable() { + throw new UnsupportedOperationException("Not implemented: patchRuleCallable()"); + } + + public OperationCallable + removeAssociationOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: removeAssociationOperationCallable()"); + } + + public UnaryCallable + removeAssociationCallable() { + throw new UnsupportedOperationException("Not implemented: removeAssociationCallable()"); + } + + public OperationCallable + removeRuleOperationCallable() { + throw new UnsupportedOperationException("Not implemented: removeRuleOperationCallable()"); + } + + public UnaryCallable removeRuleCallable() { + throw new UnsupportedOperationException("Not implemented: removeRuleCallable()"); + } + + public UnaryCallable setIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); + } + + public UnaryCallable + testIamPermissionsCallable() { + throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkFirewallPoliciesStubSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkFirewallPoliciesStubSettings.java new file mode 100644 index 000000000..2b940008c --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/NetworkFirewallPoliciesStubSettings.java @@ -0,0 +1,1212 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkFirewallPoliciesClient.ListPagedResponse; + +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.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.AddAssociationNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.FirewallPolicy; +import com.google.cloud.compute.v1.FirewallPolicyAssociation; +import com.google.cloud.compute.v1.FirewallPolicyList; +import com.google.cloud.compute.v1.FirewallPolicyRule; +import com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; +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 NetworkFirewallPoliciesStub}. + * + *

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
+ * NetworkFirewallPoliciesStubSettings.Builder networkFirewallPoliciesSettingsBuilder =
+ *     NetworkFirewallPoliciesStubSettings.newBuilder();
+ * networkFirewallPoliciesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         networkFirewallPoliciesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * NetworkFirewallPoliciesStubSettings networkFirewallPoliciesSettings =
+ *     networkFirewallPoliciesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class NetworkFirewallPoliciesStubSettings + 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 + addAssociationSettings; + private final OperationCallSettings< + AddAssociationNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings; + private final UnaryCallSettings addRuleSettings; + private final OperationCallSettings + addRuleOperationSettings; + private final UnaryCallSettings + cloneRulesSettings; + private final OperationCallSettings + cloneRulesOperationSettings; + private final UnaryCallSettings deleteSettings; + private final OperationCallSettings + deleteOperationSettings; + private final UnaryCallSettings getSettings; + private final UnaryCallSettings< + GetAssociationNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings; + private final UnaryCallSettings + getIamPolicySettings; + private final UnaryCallSettings + getRuleSettings; + private final UnaryCallSettings insertSettings; + private final OperationCallSettings + insertOperationSettings; + private final PagedCallSettings< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings; + private final UnaryCallSettings patchSettings; + private final OperationCallSettings + patchOperationSettings; + private final UnaryCallSettings + patchRuleSettings; + private final OperationCallSettings + patchRuleOperationSettings; + private final UnaryCallSettings + removeAssociationSettings; + private final OperationCallSettings< + RemoveAssociationNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings; + private final UnaryCallSettings + removeRuleSettings; + private final OperationCallSettings + removeRuleOperationSettings; + private final UnaryCallSettings + setIamPolicySettings; + private final UnaryCallSettings< + TestIamPermissionsNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings; + + private static final PagedListDescriptor< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, FirewallPolicy> + LIST_PAGE_STR_DESC = + new PagedListDescriptor< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, FirewallPolicy>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListNetworkFirewallPoliciesRequest injectToken( + ListNetworkFirewallPoliciesRequest payload, String token) { + return ListNetworkFirewallPoliciesRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public ListNetworkFirewallPoliciesRequest injectPageSize( + ListNetworkFirewallPoliciesRequest payload, int pageSize) { + return ListNetworkFirewallPoliciesRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListNetworkFirewallPoliciesRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(FirewallPolicyList payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(FirewallPolicyList payload) { + return payload.getItemsList() == null + ? ImmutableList.of() + : payload.getItemsList(); + } + }; + + private static final PagedListResponseFactory< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListNetworkFirewallPoliciesRequest 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 addAssociation. */ + public UnaryCallSettings + addAssociationSettings() { + return addAssociationSettings; + } + + /** Returns the object with the settings used for calls to addAssociation. */ + public OperationCallSettings + addAssociationOperationSettings() { + return addAssociationOperationSettings; + } + + /** Returns the object with the settings used for calls to addRule. */ + public UnaryCallSettings addRuleSettings() { + return addRuleSettings; + } + + /** Returns the object with the settings used for calls to addRule. */ + public OperationCallSettings + addRuleOperationSettings() { + return addRuleOperationSettings; + } + + /** Returns the object with the settings used for calls to cloneRules. */ + public UnaryCallSettings cloneRulesSettings() { + return cloneRulesSettings; + } + + /** Returns the object with the settings used for calls to cloneRules. */ + public OperationCallSettings + cloneRulesOperationSettings() { + return cloneRulesOperationSettings; + } + + /** 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 getAssociation. */ + public UnaryCallSettings + getAssociationSettings() { + return getAssociationSettings; + } + + /** 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 getRule. */ + public UnaryCallSettings + getRuleSettings() { + return getRuleSettings; + } + + /** 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< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings() { + return listSettings; + } + + /** 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; + } + + /** Returns the object with the settings used for calls to patchRule. */ + public UnaryCallSettings patchRuleSettings() { + return patchRuleSettings; + } + + /** Returns the object with the settings used for calls to patchRule. */ + public OperationCallSettings + patchRuleOperationSettings() { + return patchRuleOperationSettings; + } + + /** Returns the object with the settings used for calls to removeAssociation. */ + public UnaryCallSettings + removeAssociationSettings() { + return removeAssociationSettings; + } + + /** Returns the object with the settings used for calls to removeAssociation. */ + public OperationCallSettings + removeAssociationOperationSettings() { + return removeAssociationOperationSettings; + } + + /** Returns the object with the settings used for calls to removeRule. */ + public UnaryCallSettings removeRuleSettings() { + return removeRuleSettings; + } + + /** Returns the object with the settings used for calls to removeRule. */ + public OperationCallSettings + removeRuleOperationSettings() { + return removeRuleOperationSettings; + } + + /** 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; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public NetworkFirewallPoliciesStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonNetworkFirewallPoliciesStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** 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(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(NetworkFirewallPoliciesStubSettings.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 NetworkFirewallPoliciesStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + addAssociationSettings = settingsBuilder.addAssociationSettings().build(); + addAssociationOperationSettings = settingsBuilder.addAssociationOperationSettings().build(); + addRuleSettings = settingsBuilder.addRuleSettings().build(); + addRuleOperationSettings = settingsBuilder.addRuleOperationSettings().build(); + cloneRulesSettings = settingsBuilder.cloneRulesSettings().build(); + cloneRulesOperationSettings = settingsBuilder.cloneRulesOperationSettings().build(); + deleteSettings = settingsBuilder.deleteSettings().build(); + deleteOperationSettings = settingsBuilder.deleteOperationSettings().build(); + getSettings = settingsBuilder.getSettings().build(); + getAssociationSettings = settingsBuilder.getAssociationSettings().build(); + getIamPolicySettings = settingsBuilder.getIamPolicySettings().build(); + getRuleSettings = settingsBuilder.getRuleSettings().build(); + insertSettings = settingsBuilder.insertSettings().build(); + insertOperationSettings = settingsBuilder.insertOperationSettings().build(); + listSettings = settingsBuilder.listSettings().build(); + patchSettings = settingsBuilder.patchSettings().build(); + patchOperationSettings = settingsBuilder.patchOperationSettings().build(); + patchRuleSettings = settingsBuilder.patchRuleSettings().build(); + patchRuleOperationSettings = settingsBuilder.patchRuleOperationSettings().build(); + removeAssociationSettings = settingsBuilder.removeAssociationSettings().build(); + removeAssociationOperationSettings = + settingsBuilder.removeAssociationOperationSettings().build(); + removeRuleSettings = settingsBuilder.removeRuleSettings().build(); + removeRuleOperationSettings = settingsBuilder.removeRuleOperationSettings().build(); + setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); + testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); + } + + /** Builder for NetworkFirewallPoliciesStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder + addAssociationSettings; + private final OperationCallSettings.Builder< + AddAssociationNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings; + private final UnaryCallSettings.Builder + addRuleSettings; + private final OperationCallSettings.Builder< + AddRuleNetworkFirewallPolicyRequest, Operation, Operation> + addRuleOperationSettings; + private final UnaryCallSettings.Builder + cloneRulesSettings; + private final OperationCallSettings.Builder< + CloneRulesNetworkFirewallPolicyRequest, Operation, Operation> + cloneRulesOperationSettings; + private final UnaryCallSettings.Builder + deleteSettings; + private final OperationCallSettings.Builder< + DeleteNetworkFirewallPolicyRequest, Operation, Operation> + deleteOperationSettings; + private final UnaryCallSettings.Builder + getSettings; + private final UnaryCallSettings.Builder< + GetAssociationNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings; + private final UnaryCallSettings.Builder + getIamPolicySettings; + private final UnaryCallSettings.Builder + getRuleSettings; + private final UnaryCallSettings.Builder + insertSettings; + private final OperationCallSettings.Builder< + InsertNetworkFirewallPolicyRequest, Operation, Operation> + insertOperationSettings; + private final PagedCallSettings.Builder< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings; + private final UnaryCallSettings.Builder + patchSettings; + private final OperationCallSettings.Builder< + PatchNetworkFirewallPolicyRequest, Operation, Operation> + patchOperationSettings; + private final UnaryCallSettings.Builder + patchRuleSettings; + private final OperationCallSettings.Builder< + PatchRuleNetworkFirewallPolicyRequest, Operation, Operation> + patchRuleOperationSettings; + private final UnaryCallSettings.Builder< + RemoveAssociationNetworkFirewallPolicyRequest, Operation> + removeAssociationSettings; + private final OperationCallSettings.Builder< + RemoveAssociationNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings; + private final UnaryCallSettings.Builder + removeRuleSettings; + private final OperationCallSettings.Builder< + RemoveRuleNetworkFirewallPolicyRequest, Operation, Operation> + removeRuleOperationSettings; + private final UnaryCallSettings.Builder + setIamPolicySettings; + private final UnaryCallSettings.Builder< + TestIamPermissionsNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings; + 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); + + addAssociationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + addAssociationOperationSettings = OperationCallSettings.newBuilder(); + addRuleSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + addRuleOperationSettings = OperationCallSettings.newBuilder(); + cloneRulesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + cloneRulesOperationSettings = OperationCallSettings.newBuilder(); + deleteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteOperationSettings = OperationCallSettings.newBuilder(); + getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getAssociationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getRuleSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertOperationSettings = OperationCallSettings.newBuilder(); + listSettings = PagedCallSettings.newBuilder(LIST_PAGE_STR_FACT); + patchSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchOperationSettings = OperationCallSettings.newBuilder(); + patchRuleSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchRuleOperationSettings = OperationCallSettings.newBuilder(); + removeAssociationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeAssociationOperationSettings = OperationCallSettings.newBuilder(); + removeRuleSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeRuleOperationSettings = OperationCallSettings.newBuilder(); + setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + addAssociationSettings, + addRuleSettings, + cloneRulesSettings, + deleteSettings, + getSettings, + getAssociationSettings, + getIamPolicySettings, + getRuleSettings, + insertSettings, + listSettings, + patchSettings, + patchRuleSettings, + removeAssociationSettings, + removeRuleSettings, + setIamPolicySettings, + testIamPermissionsSettings); + initDefaults(this); + } + + protected Builder(NetworkFirewallPoliciesStubSettings settings) { + super(settings); + + addAssociationSettings = settings.addAssociationSettings.toBuilder(); + addAssociationOperationSettings = settings.addAssociationOperationSettings.toBuilder(); + addRuleSettings = settings.addRuleSettings.toBuilder(); + addRuleOperationSettings = settings.addRuleOperationSettings.toBuilder(); + cloneRulesSettings = settings.cloneRulesSettings.toBuilder(); + cloneRulesOperationSettings = settings.cloneRulesOperationSettings.toBuilder(); + deleteSettings = settings.deleteSettings.toBuilder(); + deleteOperationSettings = settings.deleteOperationSettings.toBuilder(); + getSettings = settings.getSettings.toBuilder(); + getAssociationSettings = settings.getAssociationSettings.toBuilder(); + getIamPolicySettings = settings.getIamPolicySettings.toBuilder(); + getRuleSettings = settings.getRuleSettings.toBuilder(); + insertSettings = settings.insertSettings.toBuilder(); + insertOperationSettings = settings.insertOperationSettings.toBuilder(); + listSettings = settings.listSettings.toBuilder(); + patchSettings = settings.patchSettings.toBuilder(); + patchOperationSettings = settings.patchOperationSettings.toBuilder(); + patchRuleSettings = settings.patchRuleSettings.toBuilder(); + patchRuleOperationSettings = settings.patchRuleOperationSettings.toBuilder(); + removeAssociationSettings = settings.removeAssociationSettings.toBuilder(); + removeAssociationOperationSettings = settings.removeAssociationOperationSettings.toBuilder(); + removeRuleSettings = settings.removeRuleSettings.toBuilder(); + removeRuleOperationSettings = settings.removeRuleOperationSettings.toBuilder(); + setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); + testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + addAssociationSettings, + addRuleSettings, + cloneRulesSettings, + deleteSettings, + getSettings, + getAssociationSettings, + getIamPolicySettings, + getRuleSettings, + insertSettings, + listSettings, + patchSettings, + patchRuleSettings, + removeAssociationSettings, + removeRuleSettings, + setIamPolicySettings, + testIamPermissionsSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .addAssociationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .addRuleSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .cloneRulesSettings() + .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 + .getAssociationSettings() + .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 + .getRuleSettings() + .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 + .patchSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .patchRuleSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .removeAssociationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .removeRuleSettings() + .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")) + .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 + .addAssociationOperationSettings() + .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 + .addRuleOperationSettings() + .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 + .cloneRulesOperationSettings() + .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())); + + 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())); + + builder + .patchRuleOperationSettings() + .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 + .removeAssociationOperationSettings() + .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 + .removeRuleOperationSettings() + .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 addAssociation. */ + public UnaryCallSettings.Builder + addAssociationSettings() { + return addAssociationSettings; + } + + /** Returns the builder for the settings used for calls to addAssociation. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + AddAssociationNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings() { + return addAssociationOperationSettings; + } + + /** Returns the builder for the settings used for calls to addRule. */ + public UnaryCallSettings.Builder + addRuleSettings() { + return addRuleSettings; + } + + /** Returns the builder for the settings used for calls to addRule. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + addRuleOperationSettings() { + return addRuleOperationSettings; + } + + /** Returns the builder for the settings used for calls to cloneRules. */ + public UnaryCallSettings.Builder + cloneRulesSettings() { + return cloneRulesSettings; + } + + /** Returns the builder for the settings used for calls to cloneRules. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + CloneRulesNetworkFirewallPolicyRequest, Operation, Operation> + cloneRulesOperationSettings() { + return cloneRulesOperationSettings; + } + + /** 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + 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 getAssociation. */ + public UnaryCallSettings.Builder< + GetAssociationNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings() { + return getAssociationSettings; + } + + /** 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 getRule. */ + public UnaryCallSettings.Builder + getRuleSettings() { + return getRuleSettings; + } + + /** 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + insertOperationSettings() { + return insertOperationSettings; + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder< + ListNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings() { + return listSettings; + } + + /** 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + patchOperationSettings() { + return patchOperationSettings; + } + + /** Returns the builder for the settings used for calls to patchRule. */ + public UnaryCallSettings.Builder + patchRuleSettings() { + return patchRuleSettings; + } + + /** Returns the builder for the settings used for calls to patchRule. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PatchRuleNetworkFirewallPolicyRequest, Operation, Operation> + patchRuleOperationSettings() { + return patchRuleOperationSettings; + } + + /** Returns the builder for the settings used for calls to removeAssociation. */ + public UnaryCallSettings.Builder + removeAssociationSettings() { + return removeAssociationSettings; + } + + /** Returns the builder for the settings used for calls to removeAssociation. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + RemoveAssociationNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings() { + return removeAssociationOperationSettings; + } + + /** Returns the builder for the settings used for calls to removeRule. */ + public UnaryCallSettings.Builder + removeRuleSettings() { + return removeRuleSettings; + } + + /** Returns the builder for the settings used for calls to removeRule. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + RemoveRuleNetworkFirewallPolicyRequest, Operation, Operation> + removeRuleOperationSettings() { + return removeRuleOperationSettings; + } + + /** 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< + TestIamPermissionsNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + @Override + public NetworkFirewallPoliciesStubSettings build() throws IOException { + return new NetworkFirewallPoliciesStubSettings(this); + } + } +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionNetworkFirewallPoliciesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionNetworkFirewallPoliciesStub.java new file mode 100644 index 000000000..9a7046b71 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionNetworkFirewallPoliciesStub.java @@ -0,0 +1,196 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionNetworkFirewallPoliciesClient.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.AddAssociationRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.FirewallPolicy; +import com.google.cloud.compute.v1.FirewallPolicyAssociation; +import com.google.cloud.compute.v1.FirewallPolicyList; +import com.google.cloud.compute.v1.FirewallPolicyRule; +import com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse; +import com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the RegionNetworkFirewallPolicies service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class RegionNetworkFirewallPoliciesStub implements BackgroundResource { + + public OperationCallable + addAssociationOperationCallable() { + throw new UnsupportedOperationException("Not implemented: addAssociationOperationCallable()"); + } + + public UnaryCallable + addAssociationCallable() { + throw new UnsupportedOperationException("Not implemented: addAssociationCallable()"); + } + + public OperationCallable + addRuleOperationCallable() { + throw new UnsupportedOperationException("Not implemented: addRuleOperationCallable()"); + } + + public UnaryCallable addRuleCallable() { + throw new UnsupportedOperationException("Not implemented: addRuleCallable()"); + } + + public OperationCallable + cloneRulesOperationCallable() { + throw new UnsupportedOperationException("Not implemented: cloneRulesOperationCallable()"); + } + + public UnaryCallable + cloneRulesCallable() { + throw new UnsupportedOperationException("Not implemented: cloneRulesCallable()"); + } + + 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 + getAssociationCallable() { + throw new UnsupportedOperationException("Not implemented: getAssociationCallable()"); + } + + public UnaryCallable< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsCallable() { + throw new UnsupportedOperationException("Not implemented: getEffectiveFirewallsCallable()"); + } + + public UnaryCallable + getIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); + } + + public UnaryCallable + getRuleCallable() { + throw new UnsupportedOperationException("Not implemented: getRuleCallable()"); + } + + 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 OperationCallable + patchOperationCallable() { + throw new UnsupportedOperationException("Not implemented: patchOperationCallable()"); + } + + public UnaryCallable patchCallable() { + throw new UnsupportedOperationException("Not implemented: patchCallable()"); + } + + public OperationCallable + patchRuleOperationCallable() { + throw new UnsupportedOperationException("Not implemented: patchRuleOperationCallable()"); + } + + public UnaryCallable patchRuleCallable() { + throw new UnsupportedOperationException("Not implemented: patchRuleCallable()"); + } + + public OperationCallable< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationCallable() { + throw new UnsupportedOperationException( + "Not implemented: removeAssociationOperationCallable()"); + } + + public UnaryCallable + removeAssociationCallable() { + throw new UnsupportedOperationException("Not implemented: removeAssociationCallable()"); + } + + public OperationCallable + removeRuleOperationCallable() { + throw new UnsupportedOperationException("Not implemented: removeRuleOperationCallable()"); + } + + public UnaryCallable + removeRuleCallable() { + throw new UnsupportedOperationException("Not implemented: removeRuleCallable()"); + } + + public UnaryCallable + setIamPolicyCallable() { + throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); + } + + public UnaryCallable< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsCallable() { + throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionNetworkFirewallPoliciesStubSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionNetworkFirewallPoliciesStubSettings.java new file mode 100644 index 000000000..3e0d2780d --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionNetworkFirewallPoliciesStubSettings.java @@ -0,0 +1,1275 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionNetworkFirewallPoliciesClient.ListPagedResponse; + +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.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.AddAssociationRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.FirewallPolicy; +import com.google.cloud.compute.v1.FirewallPolicyAssociation; +import com.google.cloud.compute.v1.FirewallPolicyList; +import com.google.cloud.compute.v1.FirewallPolicyRule; +import com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.Policy; +import com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse; +import com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest; +import com.google.cloud.compute.v1.TestPermissionsResponse; +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 RegionNetworkFirewallPoliciesStub}. + * + *

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
+ * RegionNetworkFirewallPoliciesStubSettings.Builder regionNetworkFirewallPoliciesSettingsBuilder =
+ *     RegionNetworkFirewallPoliciesStubSettings.newBuilder();
+ * regionNetworkFirewallPoliciesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         regionNetworkFirewallPoliciesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * RegionNetworkFirewallPoliciesStubSettings regionNetworkFirewallPoliciesSettings =
+ *     regionNetworkFirewallPoliciesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class RegionNetworkFirewallPoliciesStubSettings + 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 + addAssociationSettings; + private final OperationCallSettings< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings; + private final UnaryCallSettings + addRuleSettings; + private final OperationCallSettings< + AddRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + addRuleOperationSettings; + private final UnaryCallSettings + cloneRulesSettings; + private final OperationCallSettings< + CloneRulesRegionNetworkFirewallPolicyRequest, Operation, Operation> + cloneRulesOperationSettings; + private final UnaryCallSettings + deleteSettings; + private final OperationCallSettings< + DeleteRegionNetworkFirewallPolicyRequest, Operation, Operation> + deleteOperationSettings; + private final UnaryCallSettings + getSettings; + private final UnaryCallSettings< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings; + private final UnaryCallSettings< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsSettings; + private final UnaryCallSettings + getIamPolicySettings; + private final UnaryCallSettings + getRuleSettings; + private final UnaryCallSettings + insertSettings; + private final OperationCallSettings< + InsertRegionNetworkFirewallPolicyRequest, Operation, Operation> + insertOperationSettings; + private final PagedCallSettings< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings; + private final UnaryCallSettings patchSettings; + private final OperationCallSettings + patchOperationSettings; + private final UnaryCallSettings + patchRuleSettings; + private final OperationCallSettings< + PatchRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + patchRuleOperationSettings; + private final UnaryCallSettings + removeAssociationSettings; + private final OperationCallSettings< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings; + private final UnaryCallSettings + removeRuleSettings; + private final OperationCallSettings< + RemoveRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeRuleOperationSettings; + private final UnaryCallSettings + setIamPolicySettings; + private final UnaryCallSettings< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings; + + private static final PagedListDescriptor< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, FirewallPolicy> + LIST_PAGE_STR_DESC = + new PagedListDescriptor< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, FirewallPolicy>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListRegionNetworkFirewallPoliciesRequest injectToken( + ListRegionNetworkFirewallPoliciesRequest payload, String token) { + return ListRegionNetworkFirewallPoliciesRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public ListRegionNetworkFirewallPoliciesRequest injectPageSize( + ListRegionNetworkFirewallPoliciesRequest payload, int pageSize) { + return ListRegionNetworkFirewallPoliciesRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListRegionNetworkFirewallPoliciesRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(FirewallPolicyList payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(FirewallPolicyList payload) { + return payload.getItemsList() == null + ? ImmutableList.of() + : payload.getItemsList(); + } + }; + + private static final PagedListResponseFactory< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + ListRegionNetworkFirewallPoliciesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, FirewallPolicy> + 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 addAssociation. */ + public UnaryCallSettings + addAssociationSettings() { + return addAssociationSettings; + } + + /** Returns the object with the settings used for calls to addAssociation. */ + public OperationCallSettings< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings() { + return addAssociationOperationSettings; + } + + /** Returns the object with the settings used for calls to addRule. */ + public UnaryCallSettings addRuleSettings() { + return addRuleSettings; + } + + /** Returns the object with the settings used for calls to addRule. */ + public OperationCallSettings + addRuleOperationSettings() { + return addRuleOperationSettings; + } + + /** Returns the object with the settings used for calls to cloneRules. */ + public UnaryCallSettings + cloneRulesSettings() { + return cloneRulesSettings; + } + + /** Returns the object with the settings used for calls to cloneRules. */ + public OperationCallSettings + cloneRulesOperationSettings() { + return cloneRulesOperationSettings; + } + + /** 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 getAssociation. */ + public UnaryCallSettings< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings() { + return getAssociationSettings; + } + + /** Returns the object with the settings used for calls to getEffectiveFirewalls. */ + public UnaryCallSettings< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsSettings() { + return getEffectiveFirewallsSettings; + } + + /** 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 getRule. */ + public UnaryCallSettings + getRuleSettings() { + return getRuleSettings; + } + + /** 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< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings() { + return listSettings; + } + + /** 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; + } + + /** Returns the object with the settings used for calls to patchRule. */ + public UnaryCallSettings + patchRuleSettings() { + return patchRuleSettings; + } + + /** Returns the object with the settings used for calls to patchRule. */ + public OperationCallSettings + patchRuleOperationSettings() { + return patchRuleOperationSettings; + } + + /** Returns the object with the settings used for calls to removeAssociation. */ + public UnaryCallSettings + removeAssociationSettings() { + return removeAssociationSettings; + } + + /** Returns the object with the settings used for calls to removeAssociation. */ + public OperationCallSettings< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings() { + return removeAssociationOperationSettings; + } + + /** Returns the object with the settings used for calls to removeRule. */ + public UnaryCallSettings + removeRuleSettings() { + return removeRuleSettings; + } + + /** Returns the object with the settings used for calls to removeRule. */ + public OperationCallSettings + removeRuleOperationSettings() { + return removeRuleOperationSettings; + } + + /** 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< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public RegionNetworkFirewallPoliciesStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonRegionNetworkFirewallPoliciesStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** 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(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", + GaxProperties.getLibraryVersion(RegionNetworkFirewallPoliciesStubSettings.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 RegionNetworkFirewallPoliciesStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + addAssociationSettings = settingsBuilder.addAssociationSettings().build(); + addAssociationOperationSettings = settingsBuilder.addAssociationOperationSettings().build(); + addRuleSettings = settingsBuilder.addRuleSettings().build(); + addRuleOperationSettings = settingsBuilder.addRuleOperationSettings().build(); + cloneRulesSettings = settingsBuilder.cloneRulesSettings().build(); + cloneRulesOperationSettings = settingsBuilder.cloneRulesOperationSettings().build(); + deleteSettings = settingsBuilder.deleteSettings().build(); + deleteOperationSettings = settingsBuilder.deleteOperationSettings().build(); + getSettings = settingsBuilder.getSettings().build(); + getAssociationSettings = settingsBuilder.getAssociationSettings().build(); + getEffectiveFirewallsSettings = settingsBuilder.getEffectiveFirewallsSettings().build(); + getIamPolicySettings = settingsBuilder.getIamPolicySettings().build(); + getRuleSettings = settingsBuilder.getRuleSettings().build(); + insertSettings = settingsBuilder.insertSettings().build(); + insertOperationSettings = settingsBuilder.insertOperationSettings().build(); + listSettings = settingsBuilder.listSettings().build(); + patchSettings = settingsBuilder.patchSettings().build(); + patchOperationSettings = settingsBuilder.patchOperationSettings().build(); + patchRuleSettings = settingsBuilder.patchRuleSettings().build(); + patchRuleOperationSettings = settingsBuilder.patchRuleOperationSettings().build(); + removeAssociationSettings = settingsBuilder.removeAssociationSettings().build(); + removeAssociationOperationSettings = + settingsBuilder.removeAssociationOperationSettings().build(); + removeRuleSettings = settingsBuilder.removeRuleSettings().build(); + removeRuleOperationSettings = settingsBuilder.removeRuleOperationSettings().build(); + setIamPolicySettings = settingsBuilder.setIamPolicySettings().build(); + testIamPermissionsSettings = settingsBuilder.testIamPermissionsSettings().build(); + } + + /** Builder for RegionNetworkFirewallPoliciesStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation> + addAssociationSettings; + private final OperationCallSettings.Builder< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings; + private final UnaryCallSettings.Builder + addRuleSettings; + private final OperationCallSettings.Builder< + AddRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + addRuleOperationSettings; + private final UnaryCallSettings.Builder + cloneRulesSettings; + private final OperationCallSettings.Builder< + CloneRulesRegionNetworkFirewallPolicyRequest, Operation, Operation> + cloneRulesOperationSettings; + private final UnaryCallSettings.Builder + deleteSettings; + private final OperationCallSettings.Builder< + DeleteRegionNetworkFirewallPolicyRequest, Operation, Operation> + deleteOperationSettings; + private final UnaryCallSettings.Builder + getSettings; + private final UnaryCallSettings.Builder< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings; + private final UnaryCallSettings.Builder< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsSettings; + private final UnaryCallSettings.Builder + getIamPolicySettings; + private final UnaryCallSettings.Builder< + GetRuleRegionNetworkFirewallPolicyRequest, FirewallPolicyRule> + getRuleSettings; + private final UnaryCallSettings.Builder + insertSettings; + private final OperationCallSettings.Builder< + InsertRegionNetworkFirewallPolicyRequest, Operation, Operation> + insertOperationSettings; + private final PagedCallSettings.Builder< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings; + private final UnaryCallSettings.Builder + patchSettings; + private final OperationCallSettings.Builder< + PatchRegionNetworkFirewallPolicyRequest, Operation, Operation> + patchOperationSettings; + private final UnaryCallSettings.Builder + patchRuleSettings; + private final OperationCallSettings.Builder< + PatchRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + patchRuleOperationSettings; + private final UnaryCallSettings.Builder< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation> + removeAssociationSettings; + private final OperationCallSettings.Builder< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings; + private final UnaryCallSettings.Builder + removeRuleSettings; + private final OperationCallSettings.Builder< + RemoveRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeRuleOperationSettings; + private final UnaryCallSettings.Builder + setIamPolicySettings; + private final UnaryCallSettings.Builder< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings; + 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); + + addAssociationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + addAssociationOperationSettings = OperationCallSettings.newBuilder(); + addRuleSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + addRuleOperationSettings = OperationCallSettings.newBuilder(); + cloneRulesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + cloneRulesOperationSettings = OperationCallSettings.newBuilder(); + deleteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteOperationSettings = OperationCallSettings.newBuilder(); + getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getAssociationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getEffectiveFirewallsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + getRuleSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertOperationSettings = OperationCallSettings.newBuilder(); + listSettings = PagedCallSettings.newBuilder(LIST_PAGE_STR_FACT); + patchSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchOperationSettings = OperationCallSettings.newBuilder(); + patchRuleSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchRuleOperationSettings = OperationCallSettings.newBuilder(); + removeAssociationSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeAssociationOperationSettings = OperationCallSettings.newBuilder(); + removeRuleSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + removeRuleOperationSettings = OperationCallSettings.newBuilder(); + setIamPolicySettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + testIamPermissionsSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + addAssociationSettings, + addRuleSettings, + cloneRulesSettings, + deleteSettings, + getSettings, + getAssociationSettings, + getEffectiveFirewallsSettings, + getIamPolicySettings, + getRuleSettings, + insertSettings, + listSettings, + patchSettings, + patchRuleSettings, + removeAssociationSettings, + removeRuleSettings, + setIamPolicySettings, + testIamPermissionsSettings); + initDefaults(this); + } + + protected Builder(RegionNetworkFirewallPoliciesStubSettings settings) { + super(settings); + + addAssociationSettings = settings.addAssociationSettings.toBuilder(); + addAssociationOperationSettings = settings.addAssociationOperationSettings.toBuilder(); + addRuleSettings = settings.addRuleSettings.toBuilder(); + addRuleOperationSettings = settings.addRuleOperationSettings.toBuilder(); + cloneRulesSettings = settings.cloneRulesSettings.toBuilder(); + cloneRulesOperationSettings = settings.cloneRulesOperationSettings.toBuilder(); + deleteSettings = settings.deleteSettings.toBuilder(); + deleteOperationSettings = settings.deleteOperationSettings.toBuilder(); + getSettings = settings.getSettings.toBuilder(); + getAssociationSettings = settings.getAssociationSettings.toBuilder(); + getEffectiveFirewallsSettings = settings.getEffectiveFirewallsSettings.toBuilder(); + getIamPolicySettings = settings.getIamPolicySettings.toBuilder(); + getRuleSettings = settings.getRuleSettings.toBuilder(); + insertSettings = settings.insertSettings.toBuilder(); + insertOperationSettings = settings.insertOperationSettings.toBuilder(); + listSettings = settings.listSettings.toBuilder(); + patchSettings = settings.patchSettings.toBuilder(); + patchOperationSettings = settings.patchOperationSettings.toBuilder(); + patchRuleSettings = settings.patchRuleSettings.toBuilder(); + patchRuleOperationSettings = settings.patchRuleOperationSettings.toBuilder(); + removeAssociationSettings = settings.removeAssociationSettings.toBuilder(); + removeAssociationOperationSettings = settings.removeAssociationOperationSettings.toBuilder(); + removeRuleSettings = settings.removeRuleSettings.toBuilder(); + removeRuleOperationSettings = settings.removeRuleOperationSettings.toBuilder(); + setIamPolicySettings = settings.setIamPolicySettings.toBuilder(); + testIamPermissionsSettings = settings.testIamPermissionsSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + addAssociationSettings, + addRuleSettings, + cloneRulesSettings, + deleteSettings, + getSettings, + getAssociationSettings, + getEffectiveFirewallsSettings, + getIamPolicySettings, + getRuleSettings, + insertSettings, + listSettings, + patchSettings, + patchRuleSettings, + removeAssociationSettings, + removeRuleSettings, + setIamPolicySettings, + testIamPermissionsSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .addAssociationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .addRuleSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .cloneRulesSettings() + .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 + .getAssociationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_0_params")); + + builder + .getEffectiveFirewallsSettings() + .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 + .getRuleSettings() + .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 + .patchSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .patchRuleSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .removeAssociationSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params")); + + builder + .removeRuleSettings() + .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")) + .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 + .addAssociationOperationSettings() + .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 + .addRuleOperationSettings() + .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 + .cloneRulesOperationSettings() + .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())); + + 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())); + + builder + .patchRuleOperationSettings() + .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 + .removeAssociationOperationSettings() + .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 + .removeRuleOperationSettings() + .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 addAssociation. */ + public UnaryCallSettings.Builder + addAssociationSettings() { + return addAssociationSettings; + } + + /** Returns the builder for the settings used for calls to addAssociation. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + AddAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + addAssociationOperationSettings() { + return addAssociationOperationSettings; + } + + /** Returns the builder for the settings used for calls to addRule. */ + public UnaryCallSettings.Builder + addRuleSettings() { + return addRuleSettings; + } + + /** Returns the builder for the settings used for calls to addRule. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + AddRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + addRuleOperationSettings() { + return addRuleOperationSettings; + } + + /** Returns the builder for the settings used for calls to cloneRules. */ + public UnaryCallSettings.Builder + cloneRulesSettings() { + return cloneRulesSettings; + } + + /** Returns the builder for the settings used for calls to cloneRules. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + CloneRulesRegionNetworkFirewallPolicyRequest, Operation, Operation> + cloneRulesOperationSettings() { + return cloneRulesOperationSettings; + } + + /** 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + DeleteRegionNetworkFirewallPolicyRequest, Operation, Operation> + 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 getAssociation. */ + public UnaryCallSettings.Builder< + GetAssociationRegionNetworkFirewallPolicyRequest, FirewallPolicyAssociation> + getAssociationSettings() { + return getAssociationSettings; + } + + /** Returns the builder for the settings used for calls to getEffectiveFirewalls. */ + public UnaryCallSettings.Builder< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest, + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + getEffectiveFirewallsSettings() { + return getEffectiveFirewallsSettings; + } + + /** 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 getRule. */ + public UnaryCallSettings.Builder + getRuleSettings() { + return getRuleSettings; + } + + /** 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + InsertRegionNetworkFirewallPolicyRequest, Operation, Operation> + insertOperationSettings() { + return insertOperationSettings; + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder< + ListRegionNetworkFirewallPoliciesRequest, FirewallPolicyList, ListPagedResponse> + listSettings() { + return listSettings; + } + + /** 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PatchRegionNetworkFirewallPolicyRequest, Operation, Operation> + patchOperationSettings() { + return patchOperationSettings; + } + + /** Returns the builder for the settings used for calls to patchRule. */ + public UnaryCallSettings.Builder + patchRuleSettings() { + return patchRuleSettings; + } + + /** Returns the builder for the settings used for calls to patchRule. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + PatchRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + patchRuleOperationSettings() { + return patchRuleOperationSettings; + } + + /** Returns the builder for the settings used for calls to removeAssociation. */ + public UnaryCallSettings.Builder + removeAssociationSettings() { + return removeAssociationSettings; + } + + /** Returns the builder for the settings used for calls to removeAssociation. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + RemoveAssociationRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeAssociationOperationSettings() { + return removeAssociationOperationSettings; + } + + /** Returns the builder for the settings used for calls to removeRule. */ + public UnaryCallSettings.Builder + removeRuleSettings() { + return removeRuleSettings; + } + + /** Returns the builder for the settings used for calls to removeRule. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder< + RemoveRuleRegionNetworkFirewallPolicyRequest, Operation, Operation> + removeRuleOperationSettings() { + return removeRuleOperationSettings; + } + + /** 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< + TestIamPermissionsRegionNetworkFirewallPolicyRequest, TestPermissionsResponse> + testIamPermissionsSettings() { + return testIamPermissionsSettings; + } + + @Override + public RegionNetworkFirewallPoliciesStubSettings build() throws IOException { + return new RegionNetworkFirewallPoliciesStubSettings(this); + } + } +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionSecurityPoliciesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionSecurityPoliciesStub.java new file mode 100644 index 000000000..190c047a1 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionSecurityPoliciesStub.java @@ -0,0 +1,84 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionSecurityPoliciesClient.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.DeleteRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.SecurityPolicy; +import com.google.cloud.compute.v1.SecurityPolicyList; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the RegionSecurityPolicies service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class RegionSecurityPoliciesStub implements BackgroundResource { + + 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 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 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/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionSecurityPoliciesStubSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionSecurityPoliciesStubSettings.java new file mode 100644 index 000000000..52d872760 --- /dev/null +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionSecurityPoliciesStubSettings.java @@ -0,0 +1,609 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionSecurityPoliciesClient.ListPagedResponse; + +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.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.DeleteRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest; +import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest; +import com.google.cloud.compute.v1.SecurityPolicy; +import com.google.cloud.compute.v1.SecurityPolicyList; +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 RegionSecurityPoliciesStub}. + * + *

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
+ * RegionSecurityPoliciesStubSettings.Builder regionSecurityPoliciesSettingsBuilder =
+ *     RegionSecurityPoliciesStubSettings.newBuilder();
+ * regionSecurityPoliciesSettingsBuilder
+ *     .getSettings()
+ *     .setRetrySettings(
+ *         regionSecurityPoliciesSettingsBuilder
+ *             .getSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * RegionSecurityPoliciesStubSettings regionSecurityPoliciesSettings =
+ *     regionSecurityPoliciesSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class RegionSecurityPoliciesStubSettings + 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 deleteSettings; + private final OperationCallSettings + deleteOperationSettings; + private final UnaryCallSettings getSettings; + private final UnaryCallSettings insertSettings; + private final OperationCallSettings + insertOperationSettings; + private final PagedCallSettings< + ListRegionSecurityPoliciesRequest, SecurityPolicyList, ListPagedResponse> + listSettings; + private final UnaryCallSettings patchSettings; + private final OperationCallSettings + patchOperationSettings; + + private static final PagedListDescriptor< + ListRegionSecurityPoliciesRequest, SecurityPolicyList, SecurityPolicy> + LIST_PAGE_STR_DESC = + new PagedListDescriptor< + ListRegionSecurityPoliciesRequest, SecurityPolicyList, SecurityPolicy>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListRegionSecurityPoliciesRequest injectToken( + ListRegionSecurityPoliciesRequest payload, String token) { + return ListRegionSecurityPoliciesRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public ListRegionSecurityPoliciesRequest injectPageSize( + ListRegionSecurityPoliciesRequest payload, int pageSize) { + return ListRegionSecurityPoliciesRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(ListRegionSecurityPoliciesRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(SecurityPolicyList payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(SecurityPolicyList payload) { + return payload.getItemsList() == null + ? ImmutableList.of() + : payload.getItemsList(); + } + }; + + private static final PagedListResponseFactory< + ListRegionSecurityPoliciesRequest, SecurityPolicyList, ListPagedResponse> + LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + ListRegionSecurityPoliciesRequest, SecurityPolicyList, ListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListRegionSecurityPoliciesRequest 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 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 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 patch. */ + public UnaryCallSettings patchSettings() { + return patchSettings; + } + + /** Returns the object with the settings used for calls to patch. */ + public OperationCallSettings + patchOperationSettings() { + return patchOperationSettings; + } + + @BetaApi("A restructuring of stub classes is planned, so this may break in the future") + public RegionSecurityPoliciesStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonRegionSecurityPoliciesStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** 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(); + } + + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(RegionSecurityPoliciesStubSettings.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 RegionSecurityPoliciesStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + deleteSettings = settingsBuilder.deleteSettings().build(); + deleteOperationSettings = settingsBuilder.deleteOperationSettings().build(); + getSettings = settingsBuilder.getSettings().build(); + insertSettings = settingsBuilder.insertSettings().build(); + insertOperationSettings = settingsBuilder.insertOperationSettings().build(); + listSettings = settingsBuilder.listSettings().build(); + patchSettings = settingsBuilder.patchSettings().build(); + patchOperationSettings = settingsBuilder.patchOperationSettings().build(); + } + + /** Builder for RegionSecurityPoliciesStubSettings. */ + public static class Builder + extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder + deleteSettings; + private final OperationCallSettings.Builder< + DeleteRegionSecurityPolicyRequest, Operation, Operation> + deleteOperationSettings; + private final UnaryCallSettings.Builder + getSettings; + private final UnaryCallSettings.Builder + insertSettings; + private final OperationCallSettings.Builder< + InsertRegionSecurityPolicyRequest, Operation, Operation> + insertOperationSettings; + private final PagedCallSettings.Builder< + ListRegionSecurityPoliciesRequest, SecurityPolicyList, ListPagedResponse> + listSettings; + private final UnaryCallSettings.Builder + patchSettings; + private final OperationCallSettings.Builder< + PatchRegionSecurityPolicyRequest, Operation, Operation> + patchOperationSettings; + 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); + + deleteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteOperationSettings = OperationCallSettings.newBuilder(); + getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + insertOperationSettings = OperationCallSettings.newBuilder(); + listSettings = PagedCallSettings.newBuilder(LIST_PAGE_STR_FACT); + patchSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchOperationSettings = OperationCallSettings.newBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + deleteSettings, getSettings, insertSettings, listSettings, patchSettings); + initDefaults(this); + } + + protected Builder(RegionSecurityPoliciesStubSettings settings) { + super(settings); + + deleteSettings = settings.deleteSettings.toBuilder(); + deleteOperationSettings = settings.deleteOperationSettings.toBuilder(); + getSettings = settings.getSettings.toBuilder(); + insertSettings = settings.insertSettings.toBuilder(); + insertOperationSettings = settings.insertOperationSettings.toBuilder(); + listSettings = settings.listSettings.toBuilder(); + patchSettings = settings.patchSettings.toBuilder(); + patchOperationSettings = settings.patchOperationSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + deleteSettings, getSettings, insertSettings, listSettings, patchSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + 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 + .patchSettings() + .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 + .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 delete. */ + public UnaryCallSettings.Builder + deleteSettings() { + return deleteSettings; + } + + /** Returns the builder for the settings used for calls to delete. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + 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 insert. */ + public UnaryCallSettings.Builder + insertSettings() { + return insertSettings; + } + + /** Returns the builder for the settings used for calls to insert. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + insertOperationSettings() { + return insertOperationSettings; + } + + /** Returns the builder for the settings used for calls to list. */ + public PagedCallSettings.Builder< + ListRegionSecurityPoliciesRequest, SecurityPolicyList, ListPagedResponse> + listSettings() { + return listSettings; + } + + /** 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + patchOperationSettings() { + return patchOperationSettings; + } + + @Override + public RegionSecurityPoliciesStubSettings build() throws IOException { + return new RegionSecurityPoliciesStubSettings(this); + } + } +} diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionTargetHttpsProxiesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionTargetHttpsProxiesStub.java index d98340862..975e24f4f 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionTargetHttpsProxiesStub.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionTargetHttpsProxiesStub.java @@ -26,6 +26,7 @@ import com.google.cloud.compute.v1.InsertRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.ListRegionTargetHttpsProxiesRequest; import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.SetSslCertificatesRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.SetUrlMapRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.TargetHttpsProxy; @@ -71,6 +72,15 @@ public UnaryCallable throw new UnsupportedOperationException("Not implemented: listCallable()"); } + public OperationCallable + patchOperationCallable() { + throw new UnsupportedOperationException("Not implemented: patchOperationCallable()"); + } + + public UnaryCallable patchCallable() { + throw new UnsupportedOperationException("Not implemented: patchCallable()"); + } + public OperationCallable setSslCertificatesOperationCallable() { throw new UnsupportedOperationException( diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionTargetHttpsProxiesStubSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionTargetHttpsProxiesStubSettings.java index 778726955..92403708f 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionTargetHttpsProxiesStubSettings.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/RegionTargetHttpsProxiesStubSettings.java @@ -49,6 +49,7 @@ import com.google.cloud.compute.v1.InsertRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.ListRegionTargetHttpsProxiesRequest; import com.google.cloud.compute.v1.Operation; +import com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.SetSslCertificatesRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.SetUrlMapRegionTargetHttpsProxyRequest; import com.google.cloud.compute.v1.TargetHttpsProxy; @@ -115,6 +116,9 @@ public class RegionTargetHttpsProxiesStubSettings private final PagedCallSettings< ListRegionTargetHttpsProxiesRequest, TargetHttpsProxyList, ListPagedResponse> listSettings; + private final UnaryCallSettings patchSettings; + private final OperationCallSettings + patchOperationSettings; private final UnaryCallSettings setSslCertificatesSettings; private final OperationCallSettings< @@ -221,6 +225,17 @@ public UnaryCallSettings insertS return listSettings; } + /** 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; + } + /** Returns the object with the settings used for calls to setSslCertificates. */ public UnaryCallSettings setSslCertificatesSettings() { @@ -328,6 +343,8 @@ protected RegionTargetHttpsProxiesStubSettings(Builder settingsBuilder) throws I insertSettings = settingsBuilder.insertSettings().build(); insertOperationSettings = settingsBuilder.insertOperationSettings().build(); listSettings = settingsBuilder.listSettings().build(); + patchSettings = settingsBuilder.patchSettings().build(); + patchOperationSettings = settingsBuilder.patchOperationSettings().build(); setSslCertificatesSettings = settingsBuilder.setSslCertificatesSettings().build(); setSslCertificatesOperationSettings = settingsBuilder.setSslCertificatesOperationSettings().build(); @@ -354,6 +371,11 @@ public static class Builder private final PagedCallSettings.Builder< ListRegionTargetHttpsProxiesRequest, TargetHttpsProxyList, ListPagedResponse> listSettings; + private final UnaryCallSettings.Builder + patchSettings; + private final OperationCallSettings.Builder< + PatchRegionTargetHttpsProxyRequest, Operation, Operation> + patchOperationSettings; private final UnaryCallSettings.Builder< SetSslCertificatesRegionTargetHttpsProxyRequest, Operation> setSslCertificatesSettings; @@ -421,6 +443,8 @@ protected Builder(ClientContext clientContext) { insertSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); insertOperationSettings = OperationCallSettings.newBuilder(); listSettings = PagedCallSettings.newBuilder(LIST_PAGE_STR_FACT); + patchSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + patchOperationSettings = OperationCallSettings.newBuilder(); setSslCertificatesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); setSslCertificatesOperationSettings = OperationCallSettings.newBuilder(); setUrlMapSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -432,6 +456,7 @@ protected Builder(ClientContext clientContext) { getSettings, insertSettings, listSettings, + patchSettings, setSslCertificatesSettings, setUrlMapSettings); initDefaults(this); @@ -446,6 +471,8 @@ protected Builder(RegionTargetHttpsProxiesStubSettings settings) { insertSettings = settings.insertSettings.toBuilder(); insertOperationSettings = settings.insertOperationSettings.toBuilder(); listSettings = settings.listSettings.toBuilder(); + patchSettings = settings.patchSettings.toBuilder(); + patchOperationSettings = settings.patchOperationSettings.toBuilder(); setSslCertificatesSettings = settings.setSslCertificatesSettings.toBuilder(); setSslCertificatesOperationSettings = settings.setSslCertificatesOperationSettings.toBuilder(); @@ -458,6 +485,7 @@ protected Builder(RegionTargetHttpsProxiesStubSettings settings) { getSettings, insertSettings, listSettings, + patchSettings, setSslCertificatesSettings, setUrlMapSettings); } @@ -496,6 +524,11 @@ private static Builder initDefaults(Builder builder) { .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 .setSslCertificatesSettings() .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes")) @@ -556,6 +589,31 @@ private static Builder initDefaults(Builder builder) { .setTotalTimeout(Duration.ofMillis(600000L)) .build())); + 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())); + builder .setSslCertificatesOperationSettings() .setInitialCallSettings( @@ -665,6 +723,20 @@ public Builder applyToAllUnaryMethods( return listSettings; } + /** 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. */ + @BetaApi( + "The surface for use by generated code is not stable yet and may change in the future.") + public OperationCallSettings.Builder + patchOperationSettings() { + return patchOperationSettings; + } + /** Returns the builder for the settings used for calls to setSslCertificates. */ public UnaryCallSettings.Builder setSslCertificatesSettings() { diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPoliciesStub.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPoliciesStub.java index 8ae86f2ce..f1802b026 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPoliciesStub.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPoliciesStub.java @@ -16,12 +16,14 @@ package com.google.cloud.compute.v1.stub; +import static com.google.cloud.compute.v1.SecurityPoliciesClient.AggregatedListPagedResponse; import static com.google.cloud.compute.v1.SecurityPoliciesClient.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.AddRuleSecurityPolicyRequest; +import com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest; import com.google.cloud.compute.v1.DeleteSecurityPolicyRequest; import com.google.cloud.compute.v1.GetRuleSecurityPolicyRequest; import com.google.cloud.compute.v1.GetSecurityPolicyRequest; @@ -32,6 +34,7 @@ import com.google.cloud.compute.v1.PatchRuleSecurityPolicyRequest; import com.google.cloud.compute.v1.PatchSecurityPolicyRequest; import com.google.cloud.compute.v1.RemoveRuleSecurityPolicyRequest; +import com.google.cloud.compute.v1.SecurityPoliciesAggregatedList; import com.google.cloud.compute.v1.SecurityPoliciesListPreconfiguredExpressionSetsResponse; import com.google.cloud.compute.v1.SecurityPolicy; import com.google.cloud.compute.v1.SecurityPolicyList; @@ -56,6 +59,16 @@ public UnaryCallable addRuleCallable() throw new UnsupportedOperationException("Not implemented: addRuleCallable()"); } + 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()"); diff --git a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPoliciesStubSettings.java b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPoliciesStubSettings.java index c4cd91ca5..20415448c 100644 --- a/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPoliciesStubSettings.java +++ b/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/SecurityPoliciesStubSettings.java @@ -16,6 +16,7 @@ package com.google.cloud.compute.v1.stub; +import static com.google.cloud.compute.v1.SecurityPoliciesClient.AggregatedListPagedResponse; import static com.google.cloud.compute.v1.SecurityPoliciesClient.ListPagedResponse; import com.google.api.core.ApiFunction; @@ -45,6 +46,7 @@ import com.google.api.gax.rpc.UnaryCallSettings; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.compute.v1.AddRuleSecurityPolicyRequest; +import com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest; import com.google.cloud.compute.v1.DeleteSecurityPolicyRequest; import com.google.cloud.compute.v1.GetRuleSecurityPolicyRequest; import com.google.cloud.compute.v1.GetSecurityPolicyRequest; @@ -55,7 +57,9 @@ import com.google.cloud.compute.v1.PatchRuleSecurityPolicyRequest; import com.google.cloud.compute.v1.PatchSecurityPolicyRequest; import com.google.cloud.compute.v1.RemoveRuleSecurityPolicyRequest; +import com.google.cloud.compute.v1.SecurityPoliciesAggregatedList; import com.google.cloud.compute.v1.SecurityPoliciesListPreconfiguredExpressionSetsResponse; +import com.google.cloud.compute.v1.SecurityPoliciesScopedList; import com.google.cloud.compute.v1.SecurityPolicy; import com.google.cloud.compute.v1.SecurityPolicyList; import com.google.cloud.compute.v1.SecurityPolicyRule; @@ -64,7 +68,9 @@ 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; @@ -112,6 +118,11 @@ public class SecurityPoliciesStubSettings extends StubSettings addRuleSettings; private final OperationCallSettings addRuleOperationSettings; + private final PagedCallSettings< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings; private final UnaryCallSettings deleteSettings; private final OperationCallSettings deleteOperationSettings; @@ -137,6 +148,55 @@ public class SecurityPoliciesStubSettings extends StubSettings removeRuleOperationSettings; + private static final PagedListDescriptor< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + Map.Entry> + AGGREGATED_LIST_PAGE_STR_DESC = + new PagedListDescriptor< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + Map.Entry>() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public AggregatedListSecurityPoliciesRequest injectToken( + AggregatedListSecurityPoliciesRequest payload, String token) { + return AggregatedListSecurityPoliciesRequest.newBuilder(payload) + .setPageToken(token) + .build(); + } + + @Override + public AggregatedListSecurityPoliciesRequest injectPageSize( + AggregatedListSecurityPoliciesRequest payload, int pageSize) { + return AggregatedListSecurityPoliciesRequest.newBuilder(payload) + .setMaxResults(pageSize) + .build(); + } + + @Override + public Integer extractPageSize(AggregatedListSecurityPoliciesRequest payload) { + return payload.getMaxResults(); + } + + @Override + public String extractNextToken(SecurityPoliciesAggregatedList payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable> extractResources( + SecurityPoliciesAggregatedList payload) { + return payload.getItemsMap() == null + ? Collections.>emptySet() + : payload.getItemsMap().entrySet(); + } + }; + private static final PagedListDescriptor< ListSecurityPoliciesRequest, SecurityPolicyList, SecurityPolicy> LIST_PAGE_STR_DESC = @@ -179,6 +239,32 @@ public Iterable extractResources(SecurityPolicyList payload) { } }; + private static final PagedListResponseFactory< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + AggregatedListPagedResponse> + AGGREGATED_LIST_PAGE_STR_FACT = + new PagedListResponseFactory< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + AggregatedListPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable + callable, + AggregatedListSecurityPoliciesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + Map.Entry> + pageContext = + PageContext.create(callable, AGGREGATED_LIST_PAGE_STR_DESC, request, context); + return AggregatedListPagedResponse.createAsync(pageContext, futureResponse); + } + }; + private static final PagedListResponseFactory< ListSecurityPoliciesRequest, SecurityPolicyList, ListPagedResponse> LIST_PAGE_STR_FACT = @@ -207,6 +293,15 @@ public UnaryCallSettings addRuleSetting return addRuleOperationSettings; } + /** Returns the object with the settings used for calls to aggregatedList. */ + public PagedCallSettings< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return aggregatedListSettings; + } + /** Returns the object with the settings used for calls to delete. */ public UnaryCallSettings deleteSettings() { return deleteSettings; @@ -365,6 +460,7 @@ protected SecurityPoliciesStubSettings(Builder settingsBuilder) throws IOExcepti addRuleSettings = settingsBuilder.addRuleSettings().build(); addRuleOperationSettings = settingsBuilder.addRuleOperationSettings().build(); + aggregatedListSettings = settingsBuilder.aggregatedListSettings().build(); deleteSettings = settingsBuilder.deleteSettings().build(); deleteOperationSettings = settingsBuilder.deleteOperationSettings().build(); getSettings = settingsBuilder.getSettings().build(); @@ -389,6 +485,11 @@ public static class Builder extends StubSettings.Builder addRuleOperationSettings; + private final PagedCallSettings.Builder< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings; private final UnaryCallSettings.Builder deleteSettings; private final OperationCallSettings.Builder deleteOperationSettings; @@ -470,6 +571,7 @@ protected Builder(ClientContext clientContext) { addRuleSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); addRuleOperationSettings = OperationCallSettings.newBuilder(); + aggregatedListSettings = PagedCallSettings.newBuilder(AGGREGATED_LIST_PAGE_STR_FACT); deleteSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); deleteOperationSettings = OperationCallSettings.newBuilder(); getSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); @@ -488,6 +590,7 @@ protected Builder(ClientContext clientContext) { unaryMethodSettingsBuilders = ImmutableList.>of( addRuleSettings, + aggregatedListSettings, deleteSettings, getSettings, getRuleSettings, @@ -505,6 +608,7 @@ protected Builder(SecurityPoliciesStubSettings settings) { addRuleSettings = settings.addRuleSettings.toBuilder(); addRuleOperationSettings = settings.addRuleOperationSettings.toBuilder(); + aggregatedListSettings = settings.aggregatedListSettings.toBuilder(); deleteSettings = settings.deleteSettings.toBuilder(); deleteOperationSettings = settings.deleteOperationSettings.toBuilder(); getSettings = settings.getSettings.toBuilder(); @@ -524,6 +628,7 @@ protected Builder(SecurityPoliciesStubSettings settings) { unaryMethodSettingsBuilders = ImmutableList.>of( addRuleSettings, + aggregatedListSettings, deleteSettings, getSettings, getRuleSettings, @@ -554,6 +659,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 + .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")) @@ -774,6 +884,15 @@ public UnaryCallSettings.Builder addRul return addRuleOperationSettings; } + /** Returns the builder for the settings used for calls to aggregatedList. */ + public PagedCallSettings.Builder< + AggregatedListSecurityPoliciesRequest, + SecurityPoliciesAggregatedList, + AggregatedListPagedResponse> + aggregatedListSettings() { + return aggregatedListSettings; + } + /** Returns the builder for the settings used for calls to delete. */ public UnaryCallSettings.Builder deleteSettings() { return deleteSettings; diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServicesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServicesClientTest.java index 6db278197..aa8638714 100644 --- a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServicesClientTest.java +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/BackendServicesClientTest.java @@ -369,6 +369,8 @@ public void getTest() throws Exception { .setId(3355) .setKind("kind3292052") .setLoadBalancingScheme("loadBalancingScheme-1223583272") + .addAllLocalityLbPolicies( + new ArrayList()) .setLocalityLbPolicy("localityLbPolicy-1807450933") .setLogConfig(BackendServiceLogConfig.newBuilder().build()) .setMaxStreamDuration(Duration.newBuilder().build()) diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallPoliciesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallPoliciesClientTest.java index 9a03ee5d9..cd3472e96 100644 --- a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallPoliciesClientTest.java +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/FirewallPoliciesClientTest.java @@ -363,6 +363,7 @@ public void getTest() throws Exception { .setKind("kind3292052") .setName("name3373707") .setParent("parent-995424086") + .setRegion("region-934795532") .setRuleTupleCount(388342037) .addAllRules(new ArrayList()) .setSelfLink("selfLink1191800166") @@ -516,8 +517,10 @@ public void getRuleTest() throws Exception { .setKind("kind3292052") .setMatch(FirewallPolicyRuleMatcher.newBuilder().build()) .setPriority(-1165461084) + .setRuleName("ruleName763275175") .setRuleTupleCount(388342037) .addAllTargetResources(new ArrayList()) + .addAllTargetSecureTags(new ArrayList()) .addAllTargetServiceAccounts(new ArrayList()) .build(); mockService.addResponse(expectedResponse); diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstancesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstancesClientTest.java index 25a49a4c7..74cf7cb34 100644 --- a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstancesClientTest.java +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/InstancesClientTest.java @@ -688,6 +688,7 @@ public void getTest() throws Exception { .setName("name3373707") .addAllNetworkInterfaces(new ArrayList()) .setNetworkPerformanceConfig(NetworkPerformanceConfig.newBuilder().build()) + .setParams(InstanceParams.newBuilder().build()) .setPrivateIpv6GoogleAccess("privateIpv6GoogleAccess-1729571801") .setReservationAffinity(ReservationAffinity.newBuilder().build()) .addAllResourcePolicies(new ArrayList()) diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClientTest.java new file mode 100644 index 000000000..63a5ee469 --- /dev/null +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesClientTest.java @@ -0,0 +1,417 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkEdgeSecurityServicesClient.AggregatedListPagedResponse; + +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.HttpJsonNetworkEdgeSecurityServicesStub; +import com.google.common.collect.Lists; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collections; +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 NetworkEdgeSecurityServicesClientTest { + private static MockHttpService mockService; + private static NetworkEdgeSecurityServicesClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonNetworkEdgeSecurityServicesStub.getMethodDescriptors(), + NetworkEdgeSecurityServicesSettings.getDefaultEndpoint()); + NetworkEdgeSecurityServicesSettings settings = + NetworkEdgeSecurityServicesSettings.newBuilder() + .setTransportChannelProvider( + NetworkEdgeSecurityServicesSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = NetworkEdgeSecurityServicesClient.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 { + NetworkEdgeSecurityServicesScopedList responsesElement = + NetworkEdgeSecurityServicesScopedList.newBuilder().build(); + NetworkEdgeSecurityServiceAggregatedList expectedResponse = + NetworkEdgeSecurityServiceAggregatedList.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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String networkEdgeSecurityService = "networkEdgeSecurityService-1344"; + + Operation actualResponse = + client.deleteAsync(project, region, networkEdgeSecurityService).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 region = "region-9622"; + String networkEdgeSecurityService = "networkEdgeSecurityService-1344"; + client.deleteAsync(project, region, networkEdgeSecurityService).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getTest() throws Exception { + NetworkEdgeSecurityService expectedResponse = + NetworkEdgeSecurityService.newBuilder() + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setFingerprint("fingerprint-1375934236") + .setId(3355) + .setKind("kind3292052") + .setName("name3373707") + .setRegion("region-934795532") + .setSecurityPolicy("securityPolicy-788621166") + .setSelfLink("selfLink1191800166") + .setSelfLinkWithId("selfLinkWithId-776809081") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String region = "region-9622"; + String networkEdgeSecurityService = "networkEdgeSecurityService-1344"; + + NetworkEdgeSecurityService actualResponse = + client.get(project, region, networkEdgeSecurityService); + 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 region = "region-9622"; + String networkEdgeSecurityService = "networkEdgeSecurityService-1344"; + client.get(project, region, networkEdgeSecurityService); + 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + NetworkEdgeSecurityService networkEdgeSecurityServiceResource = + NetworkEdgeSecurityService.newBuilder().build(); + + Operation actualResponse = + client.insertAsync(project, region, networkEdgeSecurityServiceResource).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 region = "region-9622"; + NetworkEdgeSecurityService networkEdgeSecurityServiceResource = + NetworkEdgeSecurityService.newBuilder().build(); + client.insertAsync(project, region, networkEdgeSecurityServiceResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String networkEdgeSecurityService = "networkEdgeSecurityService-1344"; + NetworkEdgeSecurityService networkEdgeSecurityServiceResource = + NetworkEdgeSecurityService.newBuilder().build(); + + Operation actualResponse = + client + .patchAsync( + project, region, networkEdgeSecurityService, networkEdgeSecurityServiceResource) + .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 region = "region-9622"; + String networkEdgeSecurityService = "networkEdgeSecurityService-1344"; + NetworkEdgeSecurityService networkEdgeSecurityServiceResource = + NetworkEdgeSecurityService.newBuilder().build(); + client + .patchAsync( + project, region, networkEdgeSecurityService, networkEdgeSecurityServiceResource) + .get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClientTest.java new file mode 100644 index 000000000..56fe3dd00 --- /dev/null +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworkFirewallPoliciesClientTest.java @@ -0,0 +1,1081 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.NetworkFirewallPoliciesClient.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.HttpJsonNetworkFirewallPoliciesStub; +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 NetworkFirewallPoliciesClientTest { + private static MockHttpService mockService; + private static NetworkFirewallPoliciesClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonNetworkFirewallPoliciesStub.getMethodDescriptors(), + NetworkFirewallPoliciesSettings.getDefaultEndpoint()); + NetworkFirewallPoliciesSettings settings = + NetworkFirewallPoliciesSettings.newBuilder() + .setTransportChannelProvider( + NetworkFirewallPoliciesSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = NetworkFirewallPoliciesClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void addAssociationTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyAssociation firewallPolicyAssociationResource = + FirewallPolicyAssociation.newBuilder().build(); + + Operation actualResponse = + client + .addAssociationAsync(project, firewallPolicy, firewallPolicyAssociationResource) + .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 addAssociationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyAssociation firewallPolicyAssociationResource = + FirewallPolicyAssociation.newBuilder().build(); + client.addAssociationAsync(project, firewallPolicy, firewallPolicyAssociationResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void addRuleTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build(); + + Operation actualResponse = + client.addRuleAsync(project, firewallPolicy, firewallPolicyRuleResource).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 addRuleExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build(); + client.addRuleAsync(project, firewallPolicy, firewallPolicyRuleResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void cloneRulesTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 firewallPolicy = "firewallPolicy-6600"; + + Operation actualResponse = client.cloneRulesAsync(project, firewallPolicy).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 cloneRulesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + client.cloneRulesAsync(project, firewallPolicy).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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 firewallPolicy = "firewallPolicy-6600"; + + Operation actualResponse = client.deleteAsync(project, firewallPolicy).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 firewallPolicy = "firewallPolicy-6600"; + client.deleteAsync(project, firewallPolicy).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getTest() throws Exception { + FirewallPolicy expectedResponse = + FirewallPolicy.newBuilder() + .addAllAssociations(new ArrayList()) + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setDisplayName("displayName1714148973") + .setFingerprint("fingerprint-1375934236") + .setId(3355) + .setKind("kind3292052") + .setName("name3373707") + .setParent("parent-995424086") + .setRegion("region-934795532") + .setRuleTupleCount(388342037) + .addAllRules(new ArrayList()) + .setSelfLink("selfLink1191800166") + .setSelfLinkWithId("selfLinkWithId-776809081") + .setShortName("shortName-2028219097") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + + FirewallPolicy actualResponse = client.get(project, firewallPolicy); + 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 firewallPolicy = "firewallPolicy-6600"; + client.get(project, firewallPolicy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAssociationTest() throws Exception { + FirewallPolicyAssociation expectedResponse = + FirewallPolicyAssociation.newBuilder() + .setAttachmentTarget("attachmentTarget279842964") + .setDisplayName("displayName1714148973") + .setFirewallPolicyId("firewallPolicyId672926477") + .setName("name3373707") + .setShortName("shortName-2028219097") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + + FirewallPolicyAssociation actualResponse = client.getAssociation(project, firewallPolicy); + 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 getAssociationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + client.getAssociation(project, firewallPolicy); + 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 resource = "resource-756"; + + Policy actualResponse = client.getIamPolicy(project, 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 resource = "resource-756"; + client.getIamPolicy(project, resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRuleTest() throws Exception { + FirewallPolicyRule expectedResponse = + FirewallPolicyRule.newBuilder() + .setAction("action-1422950858") + .setDescription("description-1724546052") + .setDirection("direction-962590849") + .setDisabled(true) + .setEnableLogging(true) + .setKind("kind3292052") + .setMatch(FirewallPolicyRuleMatcher.newBuilder().build()) + .setPriority(-1165461084) + .setRuleName("ruleName763275175") + .setRuleTupleCount(388342037) + .addAllTargetResources(new ArrayList()) + .addAllTargetSecureTags(new ArrayList()) + .addAllTargetServiceAccounts(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + + FirewallPolicyRule actualResponse = client.getRule(project, firewallPolicy); + 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 getRuleExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + client.getRule(project, firewallPolicy); + 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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"; + FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build(); + + Operation actualResponse = client.insertAsync(project, firewallPolicyResource).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"; + FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build(); + client.insertAsync(project, firewallPolicyResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listTest() throws Exception { + FirewallPolicy responsesElement = FirewallPolicy.newBuilder().build(); + FirewallPolicyList expectedResponse = + FirewallPolicyList.newBuilder() + .setNextPageToken("") + .addAllItems(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + + ListPagedResponse pagedListResponse = client.list(project); + + 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"; + client.list(project); + 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 firewallPolicy = "firewallPolicy-6600"; + FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build(); + + Operation actualResponse = + client.patchAsync(project, firewallPolicy, firewallPolicyResource).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 firewallPolicy = "firewallPolicy-6600"; + FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build(); + client.patchAsync(project, firewallPolicy, firewallPolicyResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void patchRuleTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build(); + + Operation actualResponse = + client.patchRuleAsync(project, firewallPolicy, firewallPolicyRuleResource).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 patchRuleExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build(); + client.patchRuleAsync(project, firewallPolicy, firewallPolicyRuleResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void removeAssociationTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 firewallPolicy = "firewallPolicy-6600"; + + Operation actualResponse = client.removeAssociationAsync(project, firewallPolicy).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 removeAssociationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + client.removeAssociationAsync(project, firewallPolicy).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void removeRuleTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 firewallPolicy = "firewallPolicy-6600"; + + Operation actualResponse = client.removeRuleAsync(project, firewallPolicy).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 removeRuleExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String firewallPolicy = "firewallPolicy-6600"; + client.removeRuleAsync(project, firewallPolicy).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @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 resource = "resource-756"; + GlobalSetPolicyRequest globalSetPolicyRequestResource = + GlobalSetPolicyRequest.newBuilder().build(); + + Policy actualResponse = client.setIamPolicy(project, resource, globalSetPolicyRequestResource); + 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 resource = "resource-756"; + GlobalSetPolicyRequest globalSetPolicyRequestResource = + GlobalSetPolicyRequest.newBuilder().build(); + client.setIamPolicy(project, resource, globalSetPolicyRequestResource); + 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 resource = "resource-756"; + TestPermissionsRequest testPermissionsRequestResource = + TestPermissionsRequest.newBuilder().build(); + + TestPermissionsResponse actualResponse = + client.testIamPermissions(project, 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 resource = "resource-756"; + TestPermissionsRequest testPermissionsRequestResource = + TestPermissionsRequest.newBuilder().build(); + client.testIamPermissions(project, resource, testPermissionsRequestResource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworksClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworksClientTest.java index d261a70b3..c1b70d14f 100644 --- a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworksClientTest.java +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/NetworksClientTest.java @@ -227,14 +227,19 @@ public void getTest() throws Exception { .setAutoCreateSubnetworks(true) .setCreationTimestamp("creationTimestamp-370203401") .setDescription("description-1724546052") + .setEnableUlaInternalIpv6(true) .setGatewayIPv4("gatewayIPv4-435687895") .setId(3355) + .setInternalIpv6Range("internalIpv6Range1368723801") .setKind("kind3292052") .setMtu(108462) .setName("name3373707") + .setNetworkFirewallPolicyEnforcementOrder( + "networkFirewallPolicyEnforcementOrder1610545966") .addAllPeerings(new ArrayList()) .setRoutingConfig(NetworkRoutingConfig.newBuilder().build()) .setSelfLink("selfLink1191800166") + .setSelfLinkWithId("selfLinkWithId-776809081") .addAllSubnetworks(new ArrayList()) .build(); mockService.addResponse(expectedResponse); diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServicesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServicesClientTest.java index cbb4e3568..0dfd76554 100644 --- a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServicesClientTest.java +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionBackendServicesClientTest.java @@ -174,6 +174,8 @@ public void getTest() throws Exception { .setId(3355) .setKind("kind3292052") .setLoadBalancingScheme("loadBalancingScheme-1223583272") + .addAllLocalityLbPolicies( + new ArrayList()) .setLocalityLbPolicy("localityLbPolicy-1807450933") .setLogConfig(BackendServiceLogConfig.newBuilder().build()) .setMaxStreamDuration(Duration.newBuilder().build()) diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClientTest.java new file mode 100644 index 000000000..229d51340 --- /dev/null +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesClientTest.java @@ -0,0 +1,1169 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionNetworkFirewallPoliciesClient.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.HttpJsonRegionNetworkFirewallPoliciesStub; +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 RegionNetworkFirewallPoliciesClientTest { + private static MockHttpService mockService; + private static RegionNetworkFirewallPoliciesClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonRegionNetworkFirewallPoliciesStub.getMethodDescriptors(), + RegionNetworkFirewallPoliciesSettings.getDefaultEndpoint()); + RegionNetworkFirewallPoliciesSettings settings = + RegionNetworkFirewallPoliciesSettings.newBuilder() + .setTransportChannelProvider( + RegionNetworkFirewallPoliciesSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = RegionNetworkFirewallPoliciesClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void addAssociationTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyAssociation firewallPolicyAssociationResource = + FirewallPolicyAssociation.newBuilder().build(); + + Operation actualResponse = + client + .addAssociationAsync(project, region, firewallPolicy, firewallPolicyAssociationResource) + .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 addAssociationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyAssociation firewallPolicyAssociationResource = + FirewallPolicyAssociation.newBuilder().build(); + client + .addAssociationAsync(project, region, firewallPolicy, firewallPolicyAssociationResource) + .get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void addRuleTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build(); + + Operation actualResponse = + client.addRuleAsync(project, region, firewallPolicy, firewallPolicyRuleResource).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 addRuleExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build(); + client.addRuleAsync(project, region, firewallPolicy, firewallPolicyRuleResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void cloneRulesTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + + Operation actualResponse = client.cloneRulesAsync(project, region, firewallPolicy).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 cloneRulesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + client.cloneRulesAsync(project, region, firewallPolicy).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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + + Operation actualResponse = client.deleteAsync(project, region, firewallPolicy).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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + client.deleteAsync(project, region, firewallPolicy).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getTest() throws Exception { + FirewallPolicy expectedResponse = + FirewallPolicy.newBuilder() + .addAllAssociations(new ArrayList()) + .setCreationTimestamp("creationTimestamp-370203401") + .setDescription("description-1724546052") + .setDisplayName("displayName1714148973") + .setFingerprint("fingerprint-1375934236") + .setId(3355) + .setKind("kind3292052") + .setName("name3373707") + .setParent("parent-995424086") + .setRegion("region-934795532") + .setRuleTupleCount(388342037) + .addAllRules(new ArrayList()) + .setSelfLink("selfLink1191800166") + .setSelfLinkWithId("selfLinkWithId-776809081") + .setShortName("shortName-2028219097") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + + FirewallPolicy actualResponse = client.get(project, region, firewallPolicy); + 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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + client.get(project, region, firewallPolicy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getAssociationTest() throws Exception { + FirewallPolicyAssociation expectedResponse = + FirewallPolicyAssociation.newBuilder() + .setAttachmentTarget("attachmentTarget279842964") + .setDisplayName("displayName1714148973") + .setFirewallPolicyId("firewallPolicyId672926477") + .setName("name3373707") + .setShortName("shortName-2028219097") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + + FirewallPolicyAssociation actualResponse = + client.getAssociation(project, region, firewallPolicy); + 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 getAssociationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + client.getAssociation(project, region, firewallPolicy); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getEffectiveFirewallsTest() throws Exception { + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse expectedResponse = + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.newBuilder() + .addAllFirewallPolicys( + new ArrayList< + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>()) + .addAllFirewalls(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String region = "region-9622"; + String network = "network1843485230"; + + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse actualResponse = + client.getEffectiveFirewalls(project, region, network); + 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 getEffectiveFirewallsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String region = "region-9622"; + String network = "network1843485230"; + client.getEffectiveFirewalls(project, region, network); + 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 region = "region-9622"; + String resource = "resource-756"; + + Policy actualResponse = client.getIamPolicy(project, region, 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 region = "region-9622"; + String resource = "resource-756"; + client.getIamPolicy(project, region, resource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRuleTest() throws Exception { + FirewallPolicyRule expectedResponse = + FirewallPolicyRule.newBuilder() + .setAction("action-1422950858") + .setDescription("description-1724546052") + .setDirection("direction-962590849") + .setDisabled(true) + .setEnableLogging(true) + .setKind("kind3292052") + .setMatch(FirewallPolicyRuleMatcher.newBuilder().build()) + .setPriority(-1165461084) + .setRuleName("ruleName763275175") + .setRuleTupleCount(388342037) + .addAllTargetResources(new ArrayList()) + .addAllTargetSecureTags(new ArrayList()) + .addAllTargetServiceAccounts(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + + FirewallPolicyRule actualResponse = client.getRule(project, region, firewallPolicy); + 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 getRuleExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + client.getRule(project, region, firewallPolicy); + 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build(); + + Operation actualResponse = client.insertAsync(project, region, firewallPolicyResource).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 region = "region-9622"; + FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build(); + client.insertAsync(project, region, firewallPolicyResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listTest() throws Exception { + FirewallPolicy responsesElement = FirewallPolicy.newBuilder().build(); + FirewallPolicyList expectedResponse = + FirewallPolicyList.newBuilder() + .setNextPageToken("") + .addAllItems(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String region = "region-9622"; + + ListPagedResponse pagedListResponse = client.list(project, region); + + 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 region = "region-9622"; + client.list(project, region); + 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build(); + + Operation actualResponse = + client.patchAsync(project, region, firewallPolicy, firewallPolicyResource).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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicy firewallPolicyResource = FirewallPolicy.newBuilder().build(); + client.patchAsync(project, region, firewallPolicy, firewallPolicyResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void patchRuleTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build(); + + Operation actualResponse = + client.patchRuleAsync(project, region, firewallPolicy, firewallPolicyRuleResource).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 patchRuleExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + FirewallPolicyRule firewallPolicyRuleResource = FirewallPolicyRule.newBuilder().build(); + client.patchRuleAsync(project, region, firewallPolicy, firewallPolicyRuleResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void removeAssociationTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + + Operation actualResponse = client.removeAssociationAsync(project, region, firewallPolicy).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 removeAssociationExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + client.removeAssociationAsync(project, region, firewallPolicy).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void removeRuleTest() 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + + Operation actualResponse = client.removeRuleAsync(project, region, firewallPolicy).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 removeRuleExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String project = "project-6911"; + String region = "region-9622"; + String firewallPolicy = "firewallPolicy-6600"; + client.removeRuleAsync(project, region, firewallPolicy).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @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 region = "region-9622"; + String resource = "resource-756"; + RegionSetPolicyRequest regionSetPolicyRequestResource = + RegionSetPolicyRequest.newBuilder().build(); + + Policy actualResponse = + client.setIamPolicy(project, region, resource, regionSetPolicyRequestResource); + 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 region = "region-9622"; + String resource = "resource-756"; + RegionSetPolicyRequest regionSetPolicyRequestResource = + RegionSetPolicyRequest.newBuilder().build(); + client.setIamPolicy(project, region, resource, regionSetPolicyRequestResource); + 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 region = "region-9622"; + String resource = "resource-756"; + TestPermissionsRequest testPermissionsRequestResource = + TestPermissionsRequest.newBuilder().build(); + + TestPermissionsResponse actualResponse = + client.testIamPermissions(project, region, 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 region = "region-9622"; + String resource = "resource-756"; + TestPermissionsRequest testPermissionsRequestResource = + TestPermissionsRequest.newBuilder().build(); + client.testIamPermissions(project, region, resource, testPermissionsRequestResource); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClientTest.java new file mode 100644 index 000000000..b727a5644 --- /dev/null +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionSecurityPoliciesClientTest.java @@ -0,0 +1,407 @@ +/* + * Copyright 2021 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.RegionSecurityPoliciesClient.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.HttpJsonRegionSecurityPoliciesStub; +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 RegionSecurityPoliciesClientTest { + private static MockHttpService mockService; + private static RegionSecurityPoliciesClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonRegionSecurityPoliciesStub.getMethodDescriptors(), + RegionSecurityPoliciesSettings.getDefaultEndpoint()); + RegionSecurityPoliciesSettings settings = + RegionSecurityPoliciesSettings.newBuilder() + .setTransportChannelProvider( + RegionSecurityPoliciesSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = RegionSecurityPoliciesClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String securityPolicy = "securityPolicy-7672"; + + Operation actualResponse = client.deleteAsync(project, region, securityPolicy).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 region = "region-9622"; + String securityPolicy = "securityPolicy-7672"; + client.deleteAsync(project, region, securityPolicy).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getTest() throws Exception { + SecurityPolicy expectedResponse = + SecurityPolicy.newBuilder() + .setAdaptiveProtectionConfig( + SecurityPolicyAdaptiveProtectionConfig.newBuilder().build()) + .setAdvancedOptionsConfig(SecurityPolicyAdvancedOptionsConfig.newBuilder().build()) + .setCreationTimestamp("creationTimestamp-370203401") + .setDdosProtectionConfig(SecurityPolicyDdosProtectionConfig.newBuilder().build()) + .setDescription("description-1724546052") + .setFingerprint("fingerprint-1375934236") + .setId(3355) + .setKind("kind3292052") + .setName("name3373707") + .setRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig.newBuilder().build()) + .setRegion("region-934795532") + .addAllRules(new ArrayList()) + .setSelfLink("selfLink1191800166") + .setType("type3575610") + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String region = "region-9622"; + String securityPolicy = "securityPolicy-7672"; + + SecurityPolicy actualResponse = client.get(project, region, securityPolicy); + 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 region = "region-9622"; + String securityPolicy = "securityPolicy-7672"; + client.get(project, region, securityPolicy); + 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + SecurityPolicy securityPolicyResource = SecurityPolicy.newBuilder().build(); + + Operation actualResponse = client.insertAsync(project, region, securityPolicyResource).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 region = "region-9622"; + SecurityPolicy securityPolicyResource = SecurityPolicy.newBuilder().build(); + client.insertAsync(project, region, securityPolicyResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listTest() throws Exception { + SecurityPolicy responsesElement = SecurityPolicy.newBuilder().build(); + SecurityPolicyList expectedResponse = + SecurityPolicyList.newBuilder() + .setNextPageToken("") + .addAllItems(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String project = "project-6911"; + String region = "region-9622"; + + ListPagedResponse pagedListResponse = client.list(project, region); + + 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 region = "region-9622"; + client.list(project, region); + 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String securityPolicy = "securityPolicy-7672"; + SecurityPolicy securityPolicyResource = SecurityPolicy.newBuilder().build(); + + Operation actualResponse = + client.patchAsync(project, region, securityPolicy, securityPolicyResource).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 region = "region-9622"; + String securityPolicy = "securityPolicy-7672"; + SecurityPolicy securityPolicyResource = SecurityPolicy.newBuilder().build(); + client.patchAsync(project, region, securityPolicy, securityPolicyResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } +} diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClientTest.java index 2d4ccfc04..7d0fb662b 100644 --- a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClientTest.java +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RegionTargetHttpsProxiesClientTest.java @@ -332,6 +332,79 @@ public void listExceptionTest() throws 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") + .setKind("kind3292052") + .setName("name3373707") + .setOperationGroupId("operationGroupId1716161683") + .setOperationType("operationType91999553") + .setProgress(-1001078227) + .setRegion("region-934795532") + .setSelfLink("selfLink1191800166") + .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 region = "region-9622"; + String targetHttpsProxy = "targetHttpsProxy-1958"; + TargetHttpsProxy targetHttpsProxyResource = TargetHttpsProxy.newBuilder().build(); + + Operation actualResponse = + client.patchAsync(project, region, targetHttpsProxy, targetHttpsProxyResource).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 region = "region-9622"; + String targetHttpsProxy = "targetHttpsProxy-1958"; + TargetHttpsProxy targetHttpsProxyResource = TargetHttpsProxy.newBuilder().build(); + client.patchAsync(project, region, targetHttpsProxy, targetHttpsProxyResource).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + @Test public void setSslCertificatesTest() throws Exception { Operation expectedResponse = diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutesClientTest.java index f784ac3a1..60bf797bb 100644 --- a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutesClientTest.java +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/RoutesClientTest.java @@ -165,6 +165,7 @@ public void getTest() throws Exception { .setNextHopPeering("nextHopPeering-456329718") .setNextHopVpnTunnel("nextHopVpnTunnel2134841030") .setPriority(-1165461084) + .setRouteStatus("routeStatus-2113481829") .setRouteType("routeType167668003") .setSelfLink("selfLink1191800166") .addAllTags(new ArrayList()) diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPoliciesClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPoliciesClientTest.java index 2a7f3e156..2b0111ce6 100644 --- a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPoliciesClientTest.java +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SecurityPoliciesClientTest.java @@ -16,6 +16,7 @@ package com.google.cloud.compute.v1; +import static com.google.cloud.compute.v1.SecurityPoliciesClient.AggregatedListPagedResponse; import static com.google.cloud.compute.v1.SecurityPoliciesClient.ListPagedResponse; import com.google.api.gax.core.NoCredentialsProvider; @@ -33,7 +34,9 @@ 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 java.util.concurrent.ExecutionException; import javax.annotation.Generated; import org.junit.After; @@ -149,6 +152,58 @@ public void addRuleExceptionTest() throws Exception { } } + @Test + public void aggregatedListTest() throws Exception { + SecurityPoliciesScopedList responsesElement = SecurityPoliciesScopedList.newBuilder().build(); + SecurityPoliciesAggregatedList expectedResponse = + SecurityPoliciesAggregatedList.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 = @@ -225,12 +280,14 @@ public void getTest() throws Exception { SecurityPolicyAdaptiveProtectionConfig.newBuilder().build()) .setAdvancedOptionsConfig(SecurityPolicyAdvancedOptionsConfig.newBuilder().build()) .setCreationTimestamp("creationTimestamp-370203401") + .setDdosProtectionConfig(SecurityPolicyDdosProtectionConfig.newBuilder().build()) .setDescription("description-1724546052") .setFingerprint("fingerprint-1375934236") .setId(3355) .setKind("kind3292052") .setName("name3373707") .setRecaptchaOptionsConfig(SecurityPolicyRecaptchaOptionsConfig.newBuilder().build()) + .setRegion("region-934795532") .addAllRules(new ArrayList()) .setSelfLink("selfLink1191800166") .setType("type3575610") diff --git a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java index 7fe040222..fc69f38ad 100644 --- a/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java +++ b/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/SubnetworksClientTest.java @@ -296,6 +296,7 @@ public void getTest() throws Exception { .setFingerprint("fingerprint-1375934236") .setGatewayAddress("gatewayAddress1860901136") .setId(3355) + .setInternalIpv6Prefix("internalIpv6Prefix-561062410") .setIpCidrRange("ipCidrRange-866375486") .setIpv6AccessType("ipv6AccessType606780421") .setIpv6CidrRange("ipv6CidrRange885760002") diff --git a/pom.xml b/pom.xml index 4a1892206..3dacefb9a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-compute-parent pom - 1.8.1 + 1.9.0 Google Compute Engine Parent https://github.com/googleapis/java-compute @@ -61,12 +61,12 @@ com.google.cloud google-cloud-compute - 1.8.1 + 1.9.0 com.google.api.grpc proto-google-cloud-compute-v1 - 1.8.1 + 1.9.0 @@ -114,7 +114,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.2.1 + 3.2.2 diff --git a/proto-google-cloud-compute-v1/pom.xml b/proto-google-cloud-compute-v1/pom.xml index 88ef9d284..b8b8d78a1 100644 --- a/proto-google-cloud-compute-v1/pom.xml +++ b/proto-google-cloud-compute-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-compute-v1 - 1.8.1 + 1.9.0 proto-google-cloud-compute-v1 Proto library for google-cloud-compute com.google.cloud google-cloud-compute-parent - 1.8.1 + 1.9.0 diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..ef6ca1f45 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationNetworkFirewallPolicyRequest.java @@ -0,0 +1,1519 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *

+ * A request message for NetworkFirewallPolicies.AddAssociation. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest} + */ +public final class AddAssociationNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest) + AddAssociationNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use AddAssociationNetworkFirewallPolicyRequest.newBuilder() to construct. + private AddAssociationNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AddAssociationNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AddAssociationNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AddAssociationNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + requestId_ = s; + break; + } + case 1676329920: + { + bitField0_ |= 0x00000001; + replaceExistingAssociation_ = input.readBool(); + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 2076369362: + { + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder subBuilder = null; + if (firewallPolicyAssociationResource_ != null) { + subBuilder = firewallPolicyAssociationResource_.toBuilder(); + } + firewallPolicyAssociationResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicyAssociation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyAssociationResource_); + firewallPolicyAssociationResource_ = subBuilder.buildPartial(); + } + + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddAssociationNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddAssociationNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIREWALL_POLICY_ASSOCIATION_RESOURCE_FIELD_NUMBER = 259546170; + private com.google.cloud.compute.v1.FirewallPolicyAssociation firewallPolicyAssociationResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyAssociationResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyAssociationResource() { + return firewallPolicyAssociationResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyAssociationResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyAssociation + getFirewallPolicyAssociationResource() { + return firewallPolicyAssociationResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyAssociation.getDefaultInstance() + : firewallPolicyAssociationResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder + getFirewallPolicyAssociationResourceOrBuilder() { + return getFirewallPolicyAssociationResource(); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REPLACE_EXISTING_ASSOCIATION_FIELD_NUMBER = 209541240; + private boolean replaceExistingAssociation_; + /** + * + * + *
+   * Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.
+   * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return Whether the replaceExistingAssociation field is set. + */ + @java.lang.Override + public boolean hasReplaceExistingAssociation() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.
+   * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return The replaceExistingAssociation. + */ + @java.lang.Override + public boolean getReplaceExistingAssociation() { + return replaceExistingAssociation_; + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + } + } + + 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, 37109963, requestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(209541240, replaceExistingAssociation_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyAssociationResource_ != null) { + output.writeMessage(259546170, getFirewallPolicyAssociationResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(37109963, requestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 209541240, replaceExistingAssociation_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyAssociationResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 259546170, getFirewallPolicyAssociationResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.AddAssociationNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasFirewallPolicyAssociationResource() != other.hasFirewallPolicyAssociationResource()) + return false; + if (hasFirewallPolicyAssociationResource()) { + if (!getFirewallPolicyAssociationResource() + .equals(other.getFirewallPolicyAssociationResource())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (hasReplaceExistingAssociation() != other.hasReplaceExistingAssociation()) return false; + if (hasReplaceExistingAssociation()) { + if (getReplaceExistingAssociation() != other.getReplaceExistingAssociation()) return false; + } + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasFirewallPolicyAssociationResource()) { + hash = (37 * hash) + FIREWALL_POLICY_ASSOCIATION_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyAssociationResource().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + if (hasReplaceExistingAssociation()) { + hash = (37 * hash) + REPLACE_EXISTING_ASSOCIATION_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReplaceExistingAssociation()); + } + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest 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.AddAssociationNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest 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.AddAssociationNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest 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.AddAssociationNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest 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.AddAssociationNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest + 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.AddAssociationNetworkFirewallPolicyRequest 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.AddAssociationNetworkFirewallPolicyRequest 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.AddAssociationNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.AddAssociation. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddAssociationNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddAssociationNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + if (firewallPolicyAssociationResourceBuilder_ == null) { + firewallPolicyAssociationResource_ = null; + } else { + firewallPolicyAssociationResource_ = null; + firewallPolicyAssociationResourceBuilder_ = null; + } + project_ = ""; + + replaceExistingAssociation_ = false; + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_AddAssociationNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (firewallPolicyAssociationResourceBuilder_ == null) { + result.firewallPolicyAssociationResource_ = firewallPolicyAssociationResource_; + } else { + result.firewallPolicyAssociationResource_ = + firewallPolicyAssociationResourceBuilder_.build(); + } + result.project_ = project_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.replaceExistingAssociation_ = replaceExistingAssociation_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.AddAssociationNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasFirewallPolicyAssociationResource()) { + mergeFirewallPolicyAssociationResource(other.getFirewallPolicyAssociationResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasReplaceExistingAssociation()) { + setReplaceExistingAssociation(other.getReplaceExistingAssociation()); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000002; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.FirewallPolicyAssociation + firewallPolicyAssociationResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyAssociation, + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder, + com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder> + firewallPolicyAssociationResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyAssociationResource field is set. + */ + public boolean hasFirewallPolicyAssociationResource() { + return firewallPolicyAssociationResourceBuilder_ != null + || firewallPolicyAssociationResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyAssociationResource. + */ + public com.google.cloud.compute.v1.FirewallPolicyAssociation + getFirewallPolicyAssociationResource() { + if (firewallPolicyAssociationResourceBuilder_ == null) { + return firewallPolicyAssociationResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyAssociation.getDefaultInstance() + : firewallPolicyAssociationResource_; + } else { + return firewallPolicyAssociationResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyAssociationResource( + com.google.cloud.compute.v1.FirewallPolicyAssociation value) { + if (firewallPolicyAssociationResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyAssociationResource_ = value; + onChanged(); + } else { + firewallPolicyAssociationResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyAssociationResource( + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder builderForValue) { + if (firewallPolicyAssociationResourceBuilder_ == null) { + firewallPolicyAssociationResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyAssociationResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyAssociationResource( + com.google.cloud.compute.v1.FirewallPolicyAssociation value) { + if (firewallPolicyAssociationResourceBuilder_ == null) { + if (firewallPolicyAssociationResource_ != null) { + firewallPolicyAssociationResource_ = + com.google.cloud.compute.v1.FirewallPolicyAssociation.newBuilder( + firewallPolicyAssociationResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyAssociationResource_ = value; + } + onChanged(); + } else { + firewallPolicyAssociationResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyAssociationResource() { + if (firewallPolicyAssociationResourceBuilder_ == null) { + firewallPolicyAssociationResource_ = null; + onChanged(); + } else { + firewallPolicyAssociationResource_ = null; + firewallPolicyAssociationResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder + getFirewallPolicyAssociationResourceBuilder() { + + onChanged(); + return getFirewallPolicyAssociationResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder + getFirewallPolicyAssociationResourceOrBuilder() { + if (firewallPolicyAssociationResourceBuilder_ != null) { + return firewallPolicyAssociationResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyAssociationResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyAssociation.getDefaultInstance() + : firewallPolicyAssociationResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyAssociation, + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder, + com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder> + getFirewallPolicyAssociationResourceFieldBuilder() { + if (firewallPolicyAssociationResourceBuilder_ == null) { + firewallPolicyAssociationResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyAssociation, + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder, + com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder>( + getFirewallPolicyAssociationResource(), getParentForChildren(), isClean()); + firewallPolicyAssociationResource_ = null; + } + return firewallPolicyAssociationResourceBuilder_; + } + + 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; + 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(); + 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; + onChanged(); + return this; + } + + private boolean replaceExistingAssociation_; + /** + * + * + *
+     * Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.
+     * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return Whether the replaceExistingAssociation field is set. + */ + @java.lang.Override + public boolean hasReplaceExistingAssociation() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.
+     * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return The replaceExistingAssociation. + */ + @java.lang.Override + public boolean getReplaceExistingAssociation() { + return replaceExistingAssociation_; + } + /** + * + * + *
+     * Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.
+     * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @param value The replaceExistingAssociation to set. + * @return This builder for chaining. + */ + public Builder setReplaceExistingAssociation(boolean value) { + bitField0_ |= 0x00000001; + replaceExistingAssociation_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.
+     * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return This builder for chaining. + */ + public Builder clearReplaceExistingAssociation() { + bitField0_ = (bitField0_ & ~0x00000001); + replaceExistingAssociation_ = false; + 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(); + } + bitField0_ |= 0x00000002; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000002; + requestId_ = value; + 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.AddAssociationNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddAssociationNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddAssociationNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.AddAssociationNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..5c482050b --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,183 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface AddAssociationNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AddAssociationNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyAssociationResource field is set. + */ + boolean hasFirewallPolicyAssociationResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyAssociationResource. + */ + com.google.cloud.compute.v1.FirewallPolicyAssociation getFirewallPolicyAssociationResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder + getFirewallPolicyAssociationResourceOrBuilder(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.
+   * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return Whether the replaceExistingAssociation field is set. + */ + boolean hasReplaceExistingAssociation(); + /** + * + * + *
+   * Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists.
+   * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return The replaceExistingAssociation. + */ + boolean getReplaceExistingAssociation(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..54e9f6a04 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1727 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.AddAssociation. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest} + */ +public final class AddAssociationRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest) + AddAssociationRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use AddAssociationRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private AddAssociationRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AddAssociationRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AddAssociationRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AddAssociationRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1676329920: + { + bitField0_ |= 0x00000001; + replaceExistingAssociation_ = input.readBool(); + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 2076369362: + { + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder subBuilder = null; + if (firewallPolicyAssociationResource_ != null) { + subBuilder = firewallPolicyAssociationResource_.toBuilder(); + } + firewallPolicyAssociationResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicyAssociation.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyAssociationResource_); + firewallPolicyAssociationResource_ = subBuilder.buildPartial(); + } + + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddAssociationRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIREWALL_POLICY_ASSOCIATION_RESOURCE_FIELD_NUMBER = 259546170; + private com.google.cloud.compute.v1.FirewallPolicyAssociation firewallPolicyAssociationResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyAssociationResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyAssociationResource() { + return firewallPolicyAssociationResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyAssociationResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyAssociation + getFirewallPolicyAssociationResource() { + return firewallPolicyAssociationResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyAssociation.getDefaultInstance() + : firewallPolicyAssociationResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder + getFirewallPolicyAssociationResourceOrBuilder() { + return getFirewallPolicyAssociationResource(); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REPLACE_EXISTING_ASSOCIATION_FIELD_NUMBER = 209541240; + private boolean replaceExistingAssociation_; + /** + * + * + *
+   * Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists.
+   * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return Whether the replaceExistingAssociation field is set. + */ + @java.lang.Override + public boolean hasReplaceExistingAssociation() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists.
+   * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return The replaceExistingAssociation. + */ + @java.lang.Override + public boolean getReplaceExistingAssociation() { + return replaceExistingAssociation_; + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeBool(209541240, replaceExistingAssociation_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyAssociationResource_ != null) { + output.writeMessage(259546170, getFirewallPolicyAssociationResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 209541240, replaceExistingAssociation_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyAssociationResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 259546170, getFirewallPolicyAssociationResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.AddAssociationRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasFirewallPolicyAssociationResource() != other.hasFirewallPolicyAssociationResource()) + return false; + if (hasFirewallPolicyAssociationResource()) { + if (!getFirewallPolicyAssociationResource() + .equals(other.getFirewallPolicyAssociationResource())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasReplaceExistingAssociation() != other.hasReplaceExistingAssociation()) return false; + if (hasReplaceExistingAssociation()) { + if (getReplaceExistingAssociation() != other.getReplaceExistingAssociation()) return false; + } + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasFirewallPolicyAssociationResource()) { + hash = (37 * hash) + FIREWALL_POLICY_ASSOCIATION_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyAssociationResource().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasReplaceExistingAssociation()) { + hash = (37 * hash) + REPLACE_EXISTING_ASSOCIATION_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReplaceExistingAssociation()); + } + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + 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.AddAssociationRegionNetworkFirewallPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + 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.AddAssociationRegionNetworkFirewallPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + 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.AddAssociationRegionNetworkFirewallPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + 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.AddAssociationRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + 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.AddAssociationRegionNetworkFirewallPolicyRequest + 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.AddAssociationRegionNetworkFirewallPolicyRequest + 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.AddAssociationRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.AddAssociation. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddAssociationRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + if (firewallPolicyAssociationResourceBuilder_ == null) { + firewallPolicyAssociationResource_ = null; + } else { + firewallPolicyAssociationResource_ = null; + firewallPolicyAssociationResourceBuilder_ = null; + } + project_ = ""; + + region_ = ""; + + replaceExistingAssociation_ = false; + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_AddAssociationRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + buildPartial() { + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (firewallPolicyAssociationResourceBuilder_ == null) { + result.firewallPolicyAssociationResource_ = firewallPolicyAssociationResource_; + } else { + result.firewallPolicyAssociationResource_ = + firewallPolicyAssociationResourceBuilder_.build(); + } + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.replaceExistingAssociation_ = replaceExistingAssociation_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasFirewallPolicyAssociationResource()) { + mergeFirewallPolicyAssociationResource(other.getFirewallPolicyAssociationResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasReplaceExistingAssociation()) { + setReplaceExistingAssociation(other.getReplaceExistingAssociation()); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000002; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.FirewallPolicyAssociation + firewallPolicyAssociationResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyAssociation, + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder, + com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder> + firewallPolicyAssociationResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyAssociationResource field is set. + */ + public boolean hasFirewallPolicyAssociationResource() { + return firewallPolicyAssociationResourceBuilder_ != null + || firewallPolicyAssociationResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyAssociationResource. + */ + public com.google.cloud.compute.v1.FirewallPolicyAssociation + getFirewallPolicyAssociationResource() { + if (firewallPolicyAssociationResourceBuilder_ == null) { + return firewallPolicyAssociationResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyAssociation.getDefaultInstance() + : firewallPolicyAssociationResource_; + } else { + return firewallPolicyAssociationResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyAssociationResource( + com.google.cloud.compute.v1.FirewallPolicyAssociation value) { + if (firewallPolicyAssociationResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyAssociationResource_ = value; + onChanged(); + } else { + firewallPolicyAssociationResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyAssociationResource( + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder builderForValue) { + if (firewallPolicyAssociationResourceBuilder_ == null) { + firewallPolicyAssociationResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyAssociationResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyAssociationResource( + com.google.cloud.compute.v1.FirewallPolicyAssociation value) { + if (firewallPolicyAssociationResourceBuilder_ == null) { + if (firewallPolicyAssociationResource_ != null) { + firewallPolicyAssociationResource_ = + com.google.cloud.compute.v1.FirewallPolicyAssociation.newBuilder( + firewallPolicyAssociationResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyAssociationResource_ = value; + } + onChanged(); + } else { + firewallPolicyAssociationResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyAssociationResource() { + if (firewallPolicyAssociationResourceBuilder_ == null) { + firewallPolicyAssociationResource_ = null; + onChanged(); + } else { + firewallPolicyAssociationResource_ = null; + firewallPolicyAssociationResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder + getFirewallPolicyAssociationResourceBuilder() { + + onChanged(); + return getFirewallPolicyAssociationResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder + getFirewallPolicyAssociationResourceOrBuilder() { + if (firewallPolicyAssociationResourceBuilder_ != null) { + return firewallPolicyAssociationResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyAssociationResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyAssociation.getDefaultInstance() + : firewallPolicyAssociationResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyAssociation, + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder, + com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder> + getFirewallPolicyAssociationResourceFieldBuilder() { + if (firewallPolicyAssociationResourceBuilder_ == null) { + firewallPolicyAssociationResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyAssociation, + com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder, + com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder>( + getFirewallPolicyAssociationResource(), getParentForChildren(), isClean()); + firewallPolicyAssociationResource_ = null; + } + return firewallPolicyAssociationResourceBuilder_; + } + + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + onChanged(); + return this; + } + + private boolean replaceExistingAssociation_; + /** + * + * + *
+     * Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists.
+     * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return Whether the replaceExistingAssociation field is set. + */ + @java.lang.Override + public boolean hasReplaceExistingAssociation() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists.
+     * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return The replaceExistingAssociation. + */ + @java.lang.Override + public boolean getReplaceExistingAssociation() { + return replaceExistingAssociation_; + } + /** + * + * + *
+     * Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists.
+     * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @param value The replaceExistingAssociation to set. + * @return This builder for chaining. + */ + public Builder setReplaceExistingAssociation(boolean value) { + bitField0_ |= 0x00000001; + replaceExistingAssociation_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists.
+     * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return This builder for chaining. + */ + public Builder clearReplaceExistingAssociation() { + bitField0_ = (bitField0_ & ~0x00000001); + replaceExistingAssociation_ = false; + 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(); + } + bitField0_ |= 0x00000002; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000002; + requestId_ = value; + 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.AddAssociationRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser< + AddAssociationRegionNetworkFirewallPolicyRequest>() { + @java.lang.Override + public AddAssociationRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddAssociationRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.AddAssociationRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..ad16a06d2 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddAssociationRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,212 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface AddAssociationRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AddAssociationRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyAssociationResource field is set. + */ + boolean hasFirewallPolicyAssociationResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyAssociationResource. + */ + com.google.cloud.compute.v1.FirewallPolicyAssociation getFirewallPolicyAssociationResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder + getFirewallPolicyAssociationResourceOrBuilder(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists.
+   * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return Whether the replaceExistingAssociation field is set. + */ + boolean hasReplaceExistingAssociation(); + /** + * + * + *
+   * Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists.
+   * 
+ * + * optional bool replace_existing_association = 209541240; + * + * @return The replaceExistingAssociation. + */ + boolean getReplaceExistingAssociation(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..9e9f47725 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleNetworkFirewallPolicyRequest.java @@ -0,0 +1,1631 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.AddRule. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest} + */ +public final class AddRuleNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest) + AddRuleNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use AddRuleNetworkFirewallPolicyRequest.newBuilder() to construct. + private AddRuleNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AddRuleNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AddRuleNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AddRuleNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + requestId_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 2004188186: + { + com.google.cloud.compute.v1.FirewallPolicyRule.Builder subBuilder = null; + if (firewallPolicyRuleResource_ != null) { + subBuilder = firewallPolicyRuleResource_.toBuilder(); + } + firewallPolicyRuleResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicyRule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyRuleResource_); + firewallPolicyRuleResource_ = subBuilder.buildPartial(); + } + + break; + } + case 2137524104: + { + bitField0_ |= 0x00000002; + minPriority_ = input.readInt32(); + break; + } + case -1657884424: + { + bitField0_ |= 0x00000001; + maxPriority_ = input.readInt32(); + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddRuleNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIREWALL_POLICY_RULE_RESOURCE_FIELD_NUMBER = 250523523; + private com.google.cloud.compute.v1.FirewallPolicyRule firewallPolicyRuleResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyRuleResource() { + return firewallPolicyRuleResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource() { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder + getFirewallPolicyRuleResourceOrBuilder() { + return getFirewallPolicyRuleResource(); + } + + public static final int MAX_PRIORITY_FIELD_NUMBER = 329635359; + private int maxPriority_; + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 max_priority = 329635359; + * + * @return Whether the maxPriority field is set. + */ + @java.lang.Override + public boolean hasMaxPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 max_priority = 329635359; + * + * @return The maxPriority. + */ + @java.lang.Override + public int getMaxPriority() { + return maxPriority_; + } + + public static final int MIN_PRIORITY_FIELD_NUMBER = 267190513; + private int minPriority_; + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 min_priority = 267190513; + * + * @return Whether the minPriority field is set. + */ + @java.lang.Override + public boolean hasMinPriority() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 min_priority = 267190513; + * + * @return The minPriority. + */ + @java.lang.Override + public int getMinPriority() { + return minPriority_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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_ & 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. + */ + @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; + } + } + + 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)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyRuleResource_ != null) { + output.writeMessage(250523523, getFirewallPolicyRuleResource()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(267190513, minPriority_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(329635359, maxPriority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyRuleResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 250523523, getFirewallPolicyRuleResource()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(267190513, minPriority_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(329635359, maxPriority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.AddRuleNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasFirewallPolicyRuleResource() != other.hasFirewallPolicyRuleResource()) return false; + if (hasFirewallPolicyRuleResource()) { + if (!getFirewallPolicyRuleResource().equals(other.getFirewallPolicyRuleResource())) + return false; + } + if (hasMaxPriority() != other.hasMaxPriority()) return false; + if (hasMaxPriority()) { + if (getMaxPriority() != other.getMaxPriority()) return false; + } + if (hasMinPriority() != other.hasMinPriority()) return false; + if (hasMinPriority()) { + if (getMinPriority() != other.getMinPriority()) 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 (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasFirewallPolicyRuleResource()) { + hash = (37 * hash) + FIREWALL_POLICY_RULE_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyRuleResource().hashCode(); + } + if (hasMaxPriority()) { + hash = (37 * hash) + MAX_PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getMaxPriority(); + } + if (hasMinPriority()) { + hash = (37 * hash) + MIN_PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getMinPriority(); + } + 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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest 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.AddRuleNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest 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.AddRuleNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest 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.AddRuleNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest 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.AddRuleNetworkFirewallPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest 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.AddRuleNetworkFirewallPolicyRequest 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.AddRuleNetworkFirewallPolicyRequest 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.AddRuleNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.AddRule. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddRuleNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = null; + } else { + firewallPolicyRuleResource_ = null; + firewallPolicyRuleResourceBuilder_ = null; + } + maxPriority_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + minPriority_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + project_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + 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_AddRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (firewallPolicyRuleResourceBuilder_ == null) { + result.firewallPolicyRuleResource_ = firewallPolicyRuleResource_; + } else { + result.firewallPolicyRuleResource_ = firewallPolicyRuleResourceBuilder_.build(); + } + if (((from_bitField0_ & 0x00000001) != 0)) { + result.maxPriority_ = maxPriority_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.minPriority_ = minPriority_; + to_bitField0_ |= 0x00000002; + } + result.project_ = project_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.AddRuleNetworkFirewallPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest.getDefaultInstance()) + return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasFirewallPolicyRuleResource()) { + mergeFirewallPolicyRuleResource(other.getFirewallPolicyRuleResource()); + } + if (other.hasMaxPriority()) { + setMaxPriority(other.getMaxPriority()); + } + if (other.hasMinPriority()) { + setMinPriority(other.getMinPriority()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000004; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.FirewallPolicyRule firewallPolicyRuleResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + firewallPolicyRuleResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + public boolean hasFirewallPolicyRuleResource() { + return firewallPolicyRuleResourceBuilder_ != null || firewallPolicyRuleResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + public com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource() { + if (firewallPolicyRuleResourceBuilder_ == null) { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } else { + return firewallPolicyRuleResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (firewallPolicyRuleResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyRuleResource_ = value; + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule.Builder builderForValue) { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (firewallPolicyRuleResourceBuilder_ == null) { + if (firewallPolicyRuleResource_ != null) { + firewallPolicyRuleResource_ = + com.google.cloud.compute.v1.FirewallPolicyRule.newBuilder(firewallPolicyRuleResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyRuleResource_ = value; + } + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyRuleResource() { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = null; + onChanged(); + } else { + firewallPolicyRuleResource_ = null; + firewallPolicyRuleResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRule.Builder + getFirewallPolicyRuleResourceBuilder() { + + onChanged(); + return getFirewallPolicyRuleResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder + getFirewallPolicyRuleResourceOrBuilder() { + if (firewallPolicyRuleResourceBuilder_ != null) { + return firewallPolicyRuleResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + getFirewallPolicyRuleResourceFieldBuilder() { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder>( + getFirewallPolicyRuleResource(), getParentForChildren(), isClean()); + firewallPolicyRuleResource_ = null; + } + return firewallPolicyRuleResourceBuilder_; + } + + private int maxPriority_; + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 max_priority = 329635359; + * + * @return Whether the maxPriority field is set. + */ + @java.lang.Override + public boolean hasMaxPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 max_priority = 329635359; + * + * @return The maxPriority. + */ + @java.lang.Override + public int getMaxPriority() { + return maxPriority_; + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 max_priority = 329635359; + * + * @param value The maxPriority to set. + * @return This builder for chaining. + */ + public Builder setMaxPriority(int value) { + bitField0_ |= 0x00000001; + maxPriority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 max_priority = 329635359; + * + * @return This builder for chaining. + */ + public Builder clearMaxPriority() { + bitField0_ = (bitField0_ & ~0x00000001); + maxPriority_ = 0; + onChanged(); + return this; + } + + private int minPriority_; + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 min_priority = 267190513; + * + * @return Whether the minPriority field is set. + */ + @java.lang.Override + public boolean hasMinPriority() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 min_priority = 267190513; + * + * @return The minPriority. + */ + @java.lang.Override + public int getMinPriority() { + return minPriority_; + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 min_priority = 267190513; + * + * @param value The minPriority to set. + * @return This builder for chaining. + */ + public Builder setMinPriority(int value) { + bitField0_ |= 0x00000002; + minPriority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 min_priority = 267190513; + * + * @return This builder for chaining. + */ + public Builder clearMinPriority() { + bitField0_ = (bitField0_ & ~0x00000002); + minPriority_ = 0; + 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; + 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(); + 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; + 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(); + } + bitField0_ |= 0x00000004; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000004); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000004; + requestId_ = value; + 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.AddRuleNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddRuleNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddRuleNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.AddRuleNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..a7a29e4cd --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,207 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface AddRuleNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AddRuleNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + boolean hasFirewallPolicyRuleResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder getFirewallPolicyRuleResourceOrBuilder(); + + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 max_priority = 329635359; + * + * @return Whether the maxPriority field is set. + */ + boolean hasMaxPriority(); + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 max_priority = 329635359; + * + * @return The maxPriority. + */ + int getMaxPriority(); + + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 min_priority = 267190513; + * + * @return Whether the minPriority field is set. + */ + boolean hasMinPriority(); + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 min_priority = 267190513; + * + * @return The minPriority. + */ + int getMinPriority(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..652ba1bb1 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1829 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.AddRule. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest} + */ +public final class AddRuleRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest) + AddRuleRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use AddRuleRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private AddRuleRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AddRuleRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AddRuleRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AddRuleRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 2004188186: + { + com.google.cloud.compute.v1.FirewallPolicyRule.Builder subBuilder = null; + if (firewallPolicyRuleResource_ != null) { + subBuilder = firewallPolicyRuleResource_.toBuilder(); + } + firewallPolicyRuleResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicyRule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyRuleResource_); + firewallPolicyRuleResource_ = subBuilder.buildPartial(); + } + + break; + } + case 2137524104: + { + bitField0_ |= 0x00000002; + minPriority_ = input.readInt32(); + break; + } + case -1657884424: + { + bitField0_ |= 0x00000001; + maxPriority_ = input.readInt32(); + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIREWALL_POLICY_RULE_RESOURCE_FIELD_NUMBER = 250523523; + private com.google.cloud.compute.v1.FirewallPolicyRule firewallPolicyRuleResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyRuleResource() { + return firewallPolicyRuleResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource() { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder + getFirewallPolicyRuleResourceOrBuilder() { + return getFirewallPolicyRuleResource(); + } + + public static final int MAX_PRIORITY_FIELD_NUMBER = 329635359; + private int maxPriority_; + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 max_priority = 329635359; + * + * @return Whether the maxPriority field is set. + */ + @java.lang.Override + public boolean hasMaxPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 max_priority = 329635359; + * + * @return The maxPriority. + */ + @java.lang.Override + public int getMaxPriority() { + return maxPriority_; + } + + public static final int MIN_PRIORITY_FIELD_NUMBER = 267190513; + private int minPriority_; + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 min_priority = 267190513; + * + * @return Whether the minPriority field is set. + */ + @java.lang.Override + public boolean hasMinPriority() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 min_priority = 267190513; + * + * @return The minPriority. + */ + @java.lang.Override + public int getMinPriority() { + return minPriority_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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_ & 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. + */ + @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; + } + } + + 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)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyRuleResource_ != null) { + output.writeMessage(250523523, getFirewallPolicyRuleResource()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(267190513, minPriority_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(329635359, maxPriority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyRuleResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 250523523, getFirewallPolicyRuleResource()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(267190513, minPriority_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(329635359, maxPriority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.AddRuleRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasFirewallPolicyRuleResource() != other.hasFirewallPolicyRuleResource()) return false; + if (hasFirewallPolicyRuleResource()) { + if (!getFirewallPolicyRuleResource().equals(other.getFirewallPolicyRuleResource())) + return false; + } + if (hasMaxPriority() != other.hasMaxPriority()) return false; + if (hasMaxPriority()) { + if (getMaxPriority() != other.getMaxPriority()) return false; + } + if (hasMinPriority() != other.hasMinPriority()) return false; + if (hasMinPriority()) { + if (getMinPriority() != other.getMinPriority()) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasFirewallPolicyRuleResource()) { + hash = (37 * hash) + FIREWALL_POLICY_RULE_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyRuleResource().hashCode(); + } + if (hasMaxPriority()) { + hash = (37 * hash) + MAX_PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getMaxPriority(); + } + if (hasMinPriority()) { + hash = (37 * hash) + MIN_PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getMinPriority(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest 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.AddRuleRegionNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest 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.AddRuleRegionNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest 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.AddRuleRegionNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest 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.AddRuleRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest + 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.AddRuleRegionNetworkFirewallPolicyRequest 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.AddRuleRegionNetworkFirewallPolicyRequest 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.AddRuleRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.AddRule. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AddRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = null; + } else { + firewallPolicyRuleResource_ = null; + firewallPolicyRuleResourceBuilder_ = null; + } + maxPriority_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + minPriority_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + 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_AddRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (firewallPolicyRuleResourceBuilder_ == null) { + result.firewallPolicyRuleResource_ = firewallPolicyRuleResource_; + } else { + result.firewallPolicyRuleResource_ = firewallPolicyRuleResourceBuilder_.build(); + } + if (((from_bitField0_ & 0x00000001) != 0)) { + result.maxPriority_ = maxPriority_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.minPriority_ = minPriority_; + to_bitField0_ |= 0x00000002; + } + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasFirewallPolicyRuleResource()) { + mergeFirewallPolicyRuleResource(other.getFirewallPolicyRuleResource()); + } + if (other.hasMaxPriority()) { + setMaxPriority(other.getMaxPriority()); + } + if (other.hasMinPriority()) { + setMinPriority(other.getMinPriority()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000004; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.FirewallPolicyRule firewallPolicyRuleResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + firewallPolicyRuleResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + public boolean hasFirewallPolicyRuleResource() { + return firewallPolicyRuleResourceBuilder_ != null || firewallPolicyRuleResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + public com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource() { + if (firewallPolicyRuleResourceBuilder_ == null) { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } else { + return firewallPolicyRuleResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (firewallPolicyRuleResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyRuleResource_ = value; + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule.Builder builderForValue) { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (firewallPolicyRuleResourceBuilder_ == null) { + if (firewallPolicyRuleResource_ != null) { + firewallPolicyRuleResource_ = + com.google.cloud.compute.v1.FirewallPolicyRule.newBuilder(firewallPolicyRuleResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyRuleResource_ = value; + } + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyRuleResource() { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = null; + onChanged(); + } else { + firewallPolicyRuleResource_ = null; + firewallPolicyRuleResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRule.Builder + getFirewallPolicyRuleResourceBuilder() { + + onChanged(); + return getFirewallPolicyRuleResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder + getFirewallPolicyRuleResourceOrBuilder() { + if (firewallPolicyRuleResourceBuilder_ != null) { + return firewallPolicyRuleResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + getFirewallPolicyRuleResourceFieldBuilder() { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder>( + getFirewallPolicyRuleResource(), getParentForChildren(), isClean()); + firewallPolicyRuleResource_ = null; + } + return firewallPolicyRuleResourceBuilder_; + } + + private int maxPriority_; + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 max_priority = 329635359; + * + * @return Whether the maxPriority field is set. + */ + @java.lang.Override + public boolean hasMaxPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 max_priority = 329635359; + * + * @return The maxPriority. + */ + @java.lang.Override + public int getMaxPriority() { + return maxPriority_; + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 max_priority = 329635359; + * + * @param value The maxPriority to set. + * @return This builder for chaining. + */ + public Builder setMaxPriority(int value) { + bitField0_ |= 0x00000001; + maxPriority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 max_priority = 329635359; + * + * @return This builder for chaining. + */ + public Builder clearMaxPriority() { + bitField0_ = (bitField0_ & ~0x00000001); + maxPriority_ = 0; + onChanged(); + return this; + } + + private int minPriority_; + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 min_priority = 267190513; + * + * @return Whether the minPriority field is set. + */ + @java.lang.Override + public boolean hasMinPriority() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 min_priority = 267190513; + * + * @return The minPriority. + */ + @java.lang.Override + public int getMinPriority() { + return minPriority_; + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 min_priority = 267190513; + * + * @param value The minPriority to set. + * @return This builder for chaining. + */ + public Builder setMinPriority(int value) { + bitField0_ |= 0x00000002; + minPriority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+     * 
+ * + * optional int32 min_priority = 267190513; + * + * @return This builder for chaining. + */ + public Builder clearMinPriority() { + bitField0_ = (bitField0_ & ~0x00000002); + minPriority_ = 0; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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(); + } + bitField0_ |= 0x00000004; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000004); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000004; + requestId_ = value; + 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.AddRuleRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AddRuleRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AddRuleRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.AddRuleRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..f51592a5b --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AddRuleRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,236 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface AddRuleRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AddRuleRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + boolean hasFirewallPolicyRuleResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder getFirewallPolicyRuleResourceOrBuilder(); + + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 max_priority = 329635359; + * + * @return Whether the maxPriority field is set. + */ + boolean hasMaxPriority(); + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 max_priority = 329635359; + * + * @return The maxPriority. + */ + int getMaxPriority(); + + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 min_priority = 267190513; + * + * @return Whether the minPriority field is set. + */ + boolean hasMinPriority(); + /** + * + * + *
+   * When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority.
+   * 
+ * + * optional int32 min_priority = 267190513; + * + * @return The minPriority. + */ + int getMinPriority(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEdgeSecurityServicesRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEdgeSecurityServicesRequest.java new file mode 100644 index 000000000..8cea606a5 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEdgeSecurityServicesRequest.java @@ -0,0 +1,1713 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkEdgeSecurityServices.AggregatedList. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest} + */ +public final class AggregatedListNetworkEdgeSecurityServicesRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest) + AggregatedListNetworkEdgeSecurityServicesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use AggregatedListNetworkEdgeSecurityServicesRequest.newBuilder() to construct. + private AggregatedListNetworkEdgeSecurityServicesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AggregatedListNetworkEdgeSecurityServicesRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AggregatedListNetworkEdgeSecurityServicesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AggregatedListNetworkEdgeSecurityServicesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 159957578: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + pageToken_ = s; + break; + } + case 437723352: + { + bitField0_ |= 0x00000004; + maxResults_ = input.readUInt32(); + break; + } + case 1284503362: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + orderBy_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -1606001726: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + filter_ = s; + break; + } + case -1164343392: + { + bitField0_ |= 0x00000002; + includeAllScopes_ = input.readBool(); + break; + } + case -157380176: + { + bitField0_ |= 0x00000020; + returnPartialSuccess_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListNetworkEdgeSecurityServicesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListNetworkEdgeSecurityServicesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest.class, + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest.Builder + .class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + private volatile java.lang.Object filter_; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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_; + /** + * + * + *
+   * 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_; + /** + * + * + *
+   * 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; + 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; + 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; + private volatile java.lang.Object project_; + /** + * + * + *
+   * Name of the project scoping 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; + } + } + /** + * + * + *
+   * Name of the project scoping 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_; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + 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_ & 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_); + } + unknownFields.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_ & 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 += unknownFields.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.AggregatedListNetworkEdgeSecurityServicesRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest other = + (com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest) 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 (!unknownFields.equals(other.unknownFields)) 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()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + 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.AggregatedListNetworkEdgeSecurityServicesRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + 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.AggregatedListNetworkEdgeSecurityServicesRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + 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.AggregatedListNetworkEdgeSecurityServicesRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + 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.AggregatedListNetworkEdgeSecurityServicesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + 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.AggregatedListNetworkEdgeSecurityServicesRequest + 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.AggregatedListNetworkEdgeSecurityServicesRequest + 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.AggregatedListNetworkEdgeSecurityServicesRequest 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 NetworkEdgeSecurityServices.AggregatedList. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest) + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListNetworkEdgeSecurityServicesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListNetworkEdgeSecurityServicesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest.class, + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + filter_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + includeAllScopes_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + maxResults_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + orderBy_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + pageToken_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + project_ = ""; + + returnPartialSuccess_ = false; + bitField0_ = (bitField0_ & ~0x00000020); + 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_AggregatedListNetworkEdgeSecurityServicesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest build() { + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + buildPartial() { + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest result = + new com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.filter_ = filter_; + 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)) { + to_bitField0_ |= 0x00000008; + } + result.orderBy_ = orderBy_; + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.pageToken_ = pageToken_; + result.project_ = project_; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000020; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest other) { + if (other + == com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + .getDefaultInstance()) return this; + if (other.hasFilter()) { + bitField0_ |= 0x00000001; + filter_ = other.filter_; + onChanged(); + } + if (other.hasIncludeAllScopes()) { + setIncludeAllScopes(other.getIncludeAllScopes()); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + bitField0_ |= 0x00000008; + orderBy_ = other.orderBy_; + onChanged(); + } + if (other.hasPageToken()) { + bitField0_ |= 0x00000010; + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + filter_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + bitField0_ = (bitField0_ & ~0x00000001); + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + filter_ = value; + 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) { + bitField0_ |= 0x00000002; + includeAllScopes_ = value; + 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) { + bitField0_ |= 0x00000004; + maxResults_ = value; + 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(); + } + bitField0_ |= 0x00000008; + orderBy_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000008); + orderBy_ = getDefaultInstance().getOrderBy(); + 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); + bitField0_ |= 0x00000008; + orderBy_ = value; + 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(); + } + bitField0_ |= 0x00000010; + pageToken_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000010); + pageToken_ = getDefaultInstance().getPageToken(); + 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); + bitField0_ |= 0x00000010; + pageToken_ = value; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Name of the project scoping 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; + } + } + /** + * + * + *
+     * Name of the project scoping 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; + } + } + /** + * + * + *
+     * Name of the project scoping 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; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the project scoping this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the project scoping 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; + 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.
+     * 
+ * + * 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.
+     * 
+ * + * 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.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + bitField0_ |= 0x00000020; + returnPartialSuccess_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000020); + returnPartialSuccess_ = false; + 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.AggregatedListNetworkEdgeSecurityServicesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest) + private static final com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest(); + } + + public static com.google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser< + AggregatedListNetworkEdgeSecurityServicesRequest>() { + @java.lang.Override + public AggregatedListNetworkEdgeSecurityServicesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AggregatedListNetworkEdgeSecurityServicesRequest(input, extensionRegistry); + } + }; + + 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.AggregatedListNetworkEdgeSecurityServicesRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEdgeSecurityServicesRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEdgeSecurityServicesRequestOrBuilder.java new file mode 100644 index 000000000..30624aff6 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListNetworkEdgeSecurityServicesRequestOrBuilder.java @@ -0,0 +1,236 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface AggregatedListNetworkEdgeSecurityServicesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AggregatedListNetworkEdgeSecurityServicesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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(); + + /** + * + * + *
+   * Name of the project scoping this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Name of the project scoping 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.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListSecurityPoliciesRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListSecurityPoliciesRequest.java new file mode 100644 index 000000000..788361450 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListSecurityPoliciesRequest.java @@ -0,0 +1,1694 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for SecurityPolicies.AggregatedList. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest} + */ +public final class AggregatedListSecurityPoliciesRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest) + AggregatedListSecurityPoliciesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use AggregatedListSecurityPoliciesRequest.newBuilder() to construct. + private AggregatedListSecurityPoliciesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private AggregatedListSecurityPoliciesRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new AggregatedListSecurityPoliciesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private AggregatedListSecurityPoliciesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 159957578: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + pageToken_ = s; + break; + } + case 437723352: + { + bitField0_ |= 0x00000004; + maxResults_ = input.readUInt32(); + break; + } + case 1284503362: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + orderBy_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -1606001726: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + filter_ = s; + break; + } + case -1164343392: + { + bitField0_ |= 0x00000002; + includeAllScopes_ = input.readBool(); + break; + } + case -157380176: + { + bitField0_ |= 0x00000020; + returnPartialSuccess_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListSecurityPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListSecurityPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest.class, + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest.Builder.class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + private volatile java.lang.Object filter_; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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_; + /** + * + * + *
+   * 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_; + /** + * + * + *
+   * 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; + 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; + 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; + private volatile java.lang.Object project_; + /** + * + * + *
+   * Name of the project scoping 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; + } + } + /** + * + * + *
+   * Name of the project scoping 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_; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + 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_ & 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_); + } + unknownFields.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_ & 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 += unknownFields.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.AggregatedListSecurityPoliciesRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest other = + (com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest) 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 (!unknownFields.equals(other.unknownFields)) 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()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest 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.AggregatedListSecurityPoliciesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest 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.AggregatedListSecurityPoliciesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest 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.AggregatedListSecurityPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest 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.AggregatedListSecurityPoliciesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest + 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.AggregatedListSecurityPoliciesRequest 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.AggregatedListSecurityPoliciesRequest 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.AggregatedListSecurityPoliciesRequest 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 SecurityPolicies.AggregatedList. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest) + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListSecurityPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_AggregatedListSecurityPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest.class, + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + filter_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + includeAllScopes_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + maxResults_ = 0; + bitField0_ = (bitField0_ & ~0x00000004); + orderBy_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + pageToken_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + project_ = ""; + + returnPartialSuccess_ = false; + bitField0_ = (bitField0_ & ~0x00000020); + 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_AggregatedListSecurityPoliciesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest build() { + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest buildPartial() { + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest result = + new com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.filter_ = filter_; + 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)) { + to_bitField0_ |= 0x00000008; + } + result.orderBy_ = orderBy_; + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.pageToken_ = pageToken_; + result.project_ = project_; + if (((from_bitField0_ & 0x00000020) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000020; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.AggregatedListSecurityPoliciesRequest) { + return mergeFrom((com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest other) { + if (other + == com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest.getDefaultInstance()) + return this; + if (other.hasFilter()) { + bitField0_ |= 0x00000001; + filter_ = other.filter_; + onChanged(); + } + if (other.hasIncludeAllScopes()) { + setIncludeAllScopes(other.getIncludeAllScopes()); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + bitField0_ |= 0x00000008; + orderBy_ = other.orderBy_; + onChanged(); + } + if (other.hasPageToken()) { + bitField0_ |= 0x00000010; + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + filter_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + bitField0_ = (bitField0_ & ~0x00000001); + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + filter_ = value; + 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) { + bitField0_ |= 0x00000002; + includeAllScopes_ = value; + 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) { + bitField0_ |= 0x00000004; + maxResults_ = value; + 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(); + } + bitField0_ |= 0x00000008; + orderBy_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000008); + orderBy_ = getDefaultInstance().getOrderBy(); + 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); + bitField0_ |= 0x00000008; + orderBy_ = value; + 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(); + } + bitField0_ |= 0x00000010; + pageToken_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000010); + pageToken_ = getDefaultInstance().getPageToken(); + 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); + bitField0_ |= 0x00000010; + pageToken_ = value; + onChanged(); + return this; + } + + private java.lang.Object project_ = ""; + /** + * + * + *
+     * Name of the project scoping 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; + } + } + /** + * + * + *
+     * Name of the project scoping 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; + } + } + /** + * + * + *
+     * Name of the project scoping 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; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the project scoping this request.
+     * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearProject() { + + project_ = getDefaultInstance().getProject(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the project scoping 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; + 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.
+     * 
+ * + * 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.
+     * 
+ * + * 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.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + bitField0_ |= 0x00000020; + returnPartialSuccess_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000020); + returnPartialSuccess_ = false; + 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.AggregatedListSecurityPoliciesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest) + private static final com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest(); + } + + public static com.google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AggregatedListSecurityPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AggregatedListSecurityPoliciesRequest(input, extensionRegistry); + } + }; + + 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.AggregatedListSecurityPoliciesRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListSecurityPoliciesRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListSecurityPoliciesRequestOrBuilder.java new file mode 100644 index 000000000..aa3fdc8a3 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AggregatedListSecurityPoliciesRequestOrBuilder.java @@ -0,0 +1,236 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface AggregatedListSecurityPoliciesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AggregatedListSecurityPoliciesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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(); + + /** + * + * + *
+   * Name of the project scoping this request.
+   * 
+ * + * string project = 227560217 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The project. + */ + java.lang.String getProject(); + /** + * + * + *
+   * Name of the project scoping 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.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservation.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservation.java index 284e670a0..7ac1f9e75 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservation.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservation.java @@ -72,7 +72,7 @@ private AllocationSpecificSKUReservation( break; case 758810744: { - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; count_ = input.readInt64(); break; } @@ -81,7 +81,7 @@ private AllocationSpecificSKUReservation( com.google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties .Builder subBuilder = null; - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { subBuilder = instanceProperties_.toBuilder(); } instanceProperties_ = @@ -93,12 +93,18 @@ private AllocationSpecificSKUReservation( subBuilder.mergeFrom(instanceProperties_); instanceProperties_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; + break; + } + case -2045386136: + { + bitField0_ |= 0x00000001; + assuredCount_ = input.readInt64(); break; } case -347296280: { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; inUseCount_ = input.readInt64(); break; } @@ -137,6 +143,39 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int bitField0_; + public static final int ASSURED_COUNT_FIELD_NUMBER = 281197645; + private long assuredCount_; + /** + * + * + *
+   * [Output Only] Indicates how many instances are actually usable currently.
+   * 
+ * + * optional int64 assured_count = 281197645; + * + * @return Whether the assuredCount field is set. + */ + @java.lang.Override + public boolean hasAssuredCount() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] Indicates how many instances are actually usable currently.
+   * 
+ * + * optional int64 assured_count = 281197645; + * + * @return The assuredCount. + */ + @java.lang.Override + public long getAssuredCount() { + return assuredCount_; + } + public static final int COUNT_FIELD_NUMBER = 94851343; private long count_; /** @@ -152,7 +191,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { */ @java.lang.Override public boolean hasCount() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -185,7 +224,7 @@ public long getCount() { */ @java.lang.Override public boolean hasInUseCount() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -221,7 +260,7 @@ public long getInUseCount() { */ @java.lang.Override public boolean hasInstanceProperties() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -279,13 +318,16 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { output.writeInt64(94851343, count_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { output.writeMessage(215355165, getInstanceProperties()); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt64(281197645, assuredCount_); + } + if (((bitField0_ & 0x00000004) != 0)) { output.writeInt64(493458877, inUseCount_); } unknownFields.writeTo(output); @@ -297,15 +339,18 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(94851343, count_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 215355165, getInstanceProperties()); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt64Size(281197645, assuredCount_); + } + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(493458877, inUseCount_); } size += unknownFields.getSerializedSize(); @@ -324,6 +369,10 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.compute.v1.AllocationSpecificSKUReservation other = (com.google.cloud.compute.v1.AllocationSpecificSKUReservation) obj; + if (hasAssuredCount() != other.hasAssuredCount()) return false; + if (hasAssuredCount()) { + if (getAssuredCount() != other.getAssuredCount()) return false; + } if (hasCount() != other.hasCount()) return false; if (hasCount()) { if (getCount() != other.getCount()) return false; @@ -347,6 +396,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + if (hasAssuredCount()) { + hash = (37 * hash) + ASSURED_COUNT_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAssuredCount()); + } if (hasCount()) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount()); @@ -507,16 +560,18 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - count_ = 0L; + assuredCount_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); - inUseCount_ = 0L; + count_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); + inUseCount_ = 0L; + bitField0_ = (bitField0_ & ~0x00000004); if (instancePropertiesBuilder_ == null) { instanceProperties_ = null; } else { instancePropertiesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -548,20 +603,24 @@ public com.google.cloud.compute.v1.AllocationSpecificSKUReservation buildPartial int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.count_ = count_; + result.assuredCount_ = assuredCount_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.inUseCount_ = inUseCount_; + result.count_ = count_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { + result.inUseCount_ = inUseCount_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { if (instancePropertiesBuilder_ == null) { result.instanceProperties_ = instanceProperties_; } else { result.instanceProperties_ = instancePropertiesBuilder_.build(); } - to_bitField0_ |= 0x00000004; + to_bitField0_ |= 0x00000008; } result.bitField0_ = to_bitField0_; onBuilt(); @@ -615,6 +674,9 @@ public Builder mergeFrom(com.google.cloud.compute.v1.AllocationSpecificSKUReserv if (other == com.google.cloud.compute.v1.AllocationSpecificSKUReservation.getDefaultInstance()) return this; + if (other.hasAssuredCount()) { + setAssuredCount(other.getAssuredCount()); + } if (other.hasCount()) { setCount(other.getCount()); } @@ -656,6 +718,73 @@ public Builder mergeFrom( private int bitField0_; + private long assuredCount_; + /** + * + * + *
+     * [Output Only] Indicates how many instances are actually usable currently.
+     * 
+ * + * optional int64 assured_count = 281197645; + * + * @return Whether the assuredCount field is set. + */ + @java.lang.Override + public boolean hasAssuredCount() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output Only] Indicates how many instances are actually usable currently.
+     * 
+ * + * optional int64 assured_count = 281197645; + * + * @return The assuredCount. + */ + @java.lang.Override + public long getAssuredCount() { + return assuredCount_; + } + /** + * + * + *
+     * [Output Only] Indicates how many instances are actually usable currently.
+     * 
+ * + * optional int64 assured_count = 281197645; + * + * @param value The assuredCount to set. + * @return This builder for chaining. + */ + public Builder setAssuredCount(long value) { + bitField0_ |= 0x00000001; + assuredCount_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Indicates how many instances are actually usable currently.
+     * 
+ * + * optional int64 assured_count = 281197645; + * + * @return This builder for chaining. + */ + public Builder clearAssuredCount() { + bitField0_ = (bitField0_ & ~0x00000001); + assuredCount_ = 0L; + onChanged(); + return this; + } + private long count_; /** * @@ -670,7 +799,7 @@ public Builder mergeFrom( */ @java.lang.Override public boolean hasCount() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -700,7 +829,7 @@ public long getCount() { * @return This builder for chaining. */ public Builder setCount(long value) { - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; count_ = value; onChanged(); return this; @@ -717,7 +846,7 @@ public Builder setCount(long value) { * @return This builder for chaining. */ public Builder clearCount() { - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); count_ = 0L; onChanged(); return this; @@ -737,7 +866,7 @@ public Builder clearCount() { */ @java.lang.Override public boolean hasInUseCount() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -767,7 +896,7 @@ public long getInUseCount() { * @return This builder for chaining. */ public Builder setInUseCount(long value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; inUseCount_ = value; onChanged(); return this; @@ -784,7 +913,7 @@ public Builder setInUseCount(long value) { * @return This builder for chaining. */ public Builder clearInUseCount() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); inUseCount_ = 0L; onChanged(); return this; @@ -813,7 +942,7 @@ public Builder clearInUseCount() { * @return Whether the instanceProperties field is set. */ public boolean hasInstanceProperties() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -862,7 +991,7 @@ public Builder setInstanceProperties( } else { instancePropertiesBuilder_.setMessage(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; return this; } /** @@ -886,7 +1015,7 @@ public Builder setInstanceProperties( } else { instancePropertiesBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; return this; } /** @@ -904,7 +1033,7 @@ public Builder mergeInstanceProperties( com.google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties value) { if (instancePropertiesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) + if (((bitField0_ & 0x00000008) != 0) && instanceProperties_ != null && instanceProperties_ != com.google.cloud.compute.v1 @@ -922,7 +1051,7 @@ public Builder mergeInstanceProperties( } else { instancePropertiesBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; return this; } /** @@ -943,7 +1072,7 @@ public Builder clearInstanceProperties() { } else { instancePropertiesBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); return this; } /** @@ -960,7 +1089,7 @@ public Builder clearInstanceProperties() { public com.google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties .Builder getInstancePropertiesBuilder() { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; onChanged(); return getInstancePropertiesFieldBuilder().getBuilder(); } diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservationOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservationOrBuilder.java index c605f7ef9..71f852c11 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservationOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/AllocationSpecificSKUReservationOrBuilder.java @@ -23,6 +23,31 @@ public interface AllocationSpecificSKUReservationOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.AllocationSpecificSKUReservation) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * [Output Only] Indicates how many instances are actually usable currently.
+   * 
+ * + * optional int64 assured_count = 281197645; + * + * @return Whether the assuredCount field is set. + */ + boolean hasAssuredCount(); + /** + * + * + *
+   * [Output Only] Indicates how many instances are actually usable currently.
+   * 
+ * + * optional int64 assured_count = 281197645; + * + * @return The assuredCount. + */ + long getAssuredCount(); + /** * * diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendService.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendService.java index d72f73bce..ec335d4c8 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendService.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendService.java @@ -48,6 +48,7 @@ private BackendService() { healthChecks_ = com.google.protobuf.LazyStringArrayList.EMPTY; kind_ = ""; loadBalancingScheme_ = ""; + localityLbPolicies_ = java.util.Collections.emptyList(); localityLbPolicy_ = ""; name_ = ""; network_ = ""; @@ -241,6 +242,22 @@ private BackendService( region_ = s; break; } + case 1127860458: + { + if (!((mutable_bitField0_ & 0x00100000) != 0)) { + localityLbPolicies_ = + new java.util.ArrayList< + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfig>(); + mutable_bitField0_ |= 0x00100000; + } + localityLbPolicies_.add( + input.readMessage( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + .parser(), + extensionRegistry)); + break; + } case 1151959754: { com.google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy.Builder @@ -482,6 +499,9 @@ private BackendService( if (((mutable_bitField0_ & 0x00000100) != 0)) { customRequestHeaders_ = customRequestHeaders_.getUnmodifiableView(); } + if (((mutable_bitField0_ & 0x00100000) != 0)) { + localityLbPolicies_ = java.util.Collections.unmodifiableList(localityLbPolicies_); + } if (((mutable_bitField0_ & 0x00000200) != 0)) { customResponseHeaders_ = customResponseHeaders_.getUnmodifiableView(); } @@ -2619,6 +2639,92 @@ public com.google.protobuf.ByteString getLoadBalancingSchemeBytes() { } } + public static final int LOCALITY_LB_POLICIES_FIELD_NUMBER = 140982557; + private java.util.List< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig> + localityLbPolicies_; + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + @java.lang.Override + public java.util.List + getLocalityLbPoliciesList() { + return localityLbPolicies_; + } + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + @java.lang.Override + public java.util.List< + ? extends + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder> + getLocalityLbPoliciesOrBuilderList() { + return localityLbPolicies_; + } + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + @java.lang.Override + public int getLocalityLbPoliciesCount() { + return localityLbPolicies_.size(); + } + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + getLocalityLbPolicies(int index) { + return localityLbPolicies_.get(index); + } + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder + getLocalityLbPoliciesOrBuilder(int index) { + return localityLbPolicies_.get(index); + } + public static final int LOCALITY_LB_POLICY_FIELD_NUMBER = 131431487; private volatile java.lang.Object localityLbPolicy_; /** @@ -3473,7 +3579,7 @@ public com.google.cloud.compute.v1.SubsettingOrBuilder getSubsettingOrBuilder() * * *
-   * 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. Instead, use maxStreamDuration.
+   * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration.
    * 
* * optional int32 timeout_sec = 79994995; @@ -3488,7 +3594,7 @@ public boolean hasTimeoutSec() { * * *
-   * 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. Instead, use maxStreamDuration.
+   * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration.
    * 
* * optional int32 timeout_sec = 79994995; @@ -3563,6 +3669,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x02000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); } + for (int i = 0; i < localityLbPolicies_.size(); i++) { + output.writeMessage(140982557, localityLbPolicies_.get(i)); + } if (((bitField0_ & 0x00000010) != 0)) { output.writeMessage(143994969, getConnectionTrackingPolicy()); } @@ -3693,6 +3802,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); } + for (int i = 0; i < localityLbPolicies_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 140982557, localityLbPolicies_.get(i)); + } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( @@ -3858,6 +3972,7 @@ public boolean equals(final java.lang.Object obj) { if (hasLoadBalancingScheme()) { if (!getLoadBalancingScheme().equals(other.getLoadBalancingScheme())) return false; } + if (!getLocalityLbPoliciesList().equals(other.getLocalityLbPoliciesList())) return false; if (hasLocalityLbPolicy() != other.hasLocalityLbPolicy()) return false; if (hasLocalityLbPolicy()) { if (!getLocalityLbPolicy().equals(other.getLocalityLbPolicy())) return false; @@ -4013,6 +4128,10 @@ public int hashCode() { hash = (37 * hash) + LOAD_BALANCING_SCHEME_FIELD_NUMBER; hash = (53 * hash) + getLoadBalancingScheme().hashCode(); } + if (getLocalityLbPoliciesCount() > 0) { + hash = (37 * hash) + LOCALITY_LB_POLICIES_FIELD_NUMBER; + hash = (53 * hash) + getLocalityLbPoliciesList().hashCode(); + } if (hasLocalityLbPolicy()) { hash = (37 * hash) + LOCALITY_LB_POLICY_FIELD_NUMBER; hash = (53 * hash) + getLocalityLbPolicy().hashCode(); @@ -4225,6 +4344,7 @@ private void maybeForceBuilderInitialization() { getConsistentHashFieldBuilder(); getFailoverPolicyFieldBuilder(); getIapFieldBuilder(); + getLocalityLbPoliciesFieldBuilder(); getLogConfigFieldBuilder(); getMaxStreamDurationFieldBuilder(); getOutlierDetectionFieldBuilder(); @@ -4308,58 +4428,64 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00040000); loadBalancingScheme_ = ""; bitField0_ = (bitField0_ & ~0x00080000); + if (localityLbPoliciesBuilder_ == null) { + localityLbPolicies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00100000); + } else { + localityLbPoliciesBuilder_.clear(); + } localityLbPolicy_ = ""; - bitField0_ = (bitField0_ & ~0x00100000); + bitField0_ = (bitField0_ & ~0x00200000); if (logConfigBuilder_ == null) { logConfig_ = null; } else { logConfigBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); if (maxStreamDurationBuilder_ == null) { maxStreamDuration_ = null; } else { maxStreamDurationBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00400000); - name_ = ""; bitField0_ = (bitField0_ & ~0x00800000); - network_ = ""; + name_ = ""; bitField0_ = (bitField0_ & ~0x01000000); + network_ = ""; + bitField0_ = (bitField0_ & ~0x02000000); if (outlierDetectionBuilder_ == null) { outlierDetection_ = null; } else { outlierDetectionBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x02000000); - port_ = 0; bitField0_ = (bitField0_ & ~0x04000000); - portName_ = ""; + port_ = 0; bitField0_ = (bitField0_ & ~0x08000000); - protocol_ = ""; + portName_ = ""; bitField0_ = (bitField0_ & ~0x10000000); - region_ = ""; + protocol_ = ""; bitField0_ = (bitField0_ & ~0x20000000); - securityPolicy_ = ""; + region_ = ""; bitField0_ = (bitField0_ & ~0x40000000); + securityPolicy_ = ""; + bitField0_ = (bitField0_ & ~0x80000000); if (securitySettingsBuilder_ == null) { securitySettings_ = null; } else { securitySettingsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x80000000); - selfLink_ = ""; bitField1_ = (bitField1_ & ~0x00000001); - sessionAffinity_ = ""; + selfLink_ = ""; bitField1_ = (bitField1_ & ~0x00000002); + sessionAffinity_ = ""; + bitField1_ = (bitField1_ & ~0x00000004); if (subsettingBuilder_ == null) { subsetting_ = null; } else { subsettingBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000004); - timeoutSec_ = 0; bitField1_ = (bitField1_ & ~0x00000008); + timeoutSec_ = 0; + bitField1_ = (bitField1_ & ~0x00000010); return this; } @@ -4506,11 +4632,20 @@ public com.google.cloud.compute.v1.BackendService buildPartial() { to_bitField0_ |= 0x00008000; } result.loadBalancingScheme_ = loadBalancingScheme_; - if (((from_bitField0_ & 0x00100000) != 0)) { + if (localityLbPoliciesBuilder_ == null) { + if (((bitField0_ & 0x00100000) != 0)) { + localityLbPolicies_ = java.util.Collections.unmodifiableList(localityLbPolicies_); + bitField0_ = (bitField0_ & ~0x00100000); + } + result.localityLbPolicies_ = localityLbPolicies_; + } else { + result.localityLbPolicies_ = localityLbPoliciesBuilder_.build(); + } + if (((from_bitField0_ & 0x00200000) != 0)) { to_bitField0_ |= 0x00010000; } result.localityLbPolicy_ = localityLbPolicy_; - if (((from_bitField0_ & 0x00200000) != 0)) { + if (((from_bitField0_ & 0x00400000) != 0)) { if (logConfigBuilder_ == null) { result.logConfig_ = logConfig_; } else { @@ -4518,7 +4653,7 @@ public com.google.cloud.compute.v1.BackendService buildPartial() { } to_bitField0_ |= 0x00020000; } - if (((from_bitField0_ & 0x00400000) != 0)) { + if (((from_bitField0_ & 0x00800000) != 0)) { if (maxStreamDurationBuilder_ == null) { result.maxStreamDuration_ = maxStreamDuration_; } else { @@ -4526,15 +4661,15 @@ public com.google.cloud.compute.v1.BackendService buildPartial() { } to_bitField0_ |= 0x00040000; } - if (((from_bitField0_ & 0x00800000) != 0)) { + if (((from_bitField0_ & 0x01000000) != 0)) { to_bitField0_ |= 0x00080000; } result.name_ = name_; - if (((from_bitField0_ & 0x01000000) != 0)) { + if (((from_bitField0_ & 0x02000000) != 0)) { to_bitField0_ |= 0x00100000; } result.network_ = network_; - if (((from_bitField0_ & 0x02000000) != 0)) { + if (((from_bitField0_ & 0x04000000) != 0)) { if (outlierDetectionBuilder_ == null) { result.outlierDetection_ = outlierDetection_; } else { @@ -4542,27 +4677,27 @@ public com.google.cloud.compute.v1.BackendService buildPartial() { } to_bitField0_ |= 0x00200000; } - if (((from_bitField0_ & 0x04000000) != 0)) { + if (((from_bitField0_ & 0x08000000) != 0)) { result.port_ = port_; to_bitField0_ |= 0x00400000; } - if (((from_bitField0_ & 0x08000000) != 0)) { + if (((from_bitField0_ & 0x10000000) != 0)) { to_bitField0_ |= 0x00800000; } result.portName_ = portName_; - if (((from_bitField0_ & 0x10000000) != 0)) { + if (((from_bitField0_ & 0x20000000) != 0)) { to_bitField0_ |= 0x01000000; } result.protocol_ = protocol_; - if (((from_bitField0_ & 0x20000000) != 0)) { + if (((from_bitField0_ & 0x40000000) != 0)) { to_bitField0_ |= 0x02000000; } result.region_ = region_; - if (((from_bitField0_ & 0x40000000) != 0)) { + if (((from_bitField0_ & 0x80000000) != 0)) { to_bitField0_ |= 0x04000000; } result.securityPolicy_ = securityPolicy_; - if (((from_bitField0_ & 0x80000000) != 0)) { + if (((from_bitField1_ & 0x00000001) != 0)) { if (securitySettingsBuilder_ == null) { result.securitySettings_ = securitySettings_; } else { @@ -4570,15 +4705,15 @@ public com.google.cloud.compute.v1.BackendService buildPartial() { } to_bitField0_ |= 0x08000000; } - if (((from_bitField1_ & 0x00000001) != 0)) { + if (((from_bitField1_ & 0x00000002) != 0)) { to_bitField0_ |= 0x10000000; } result.selfLink_ = selfLink_; - if (((from_bitField1_ & 0x00000002) != 0)) { + if (((from_bitField1_ & 0x00000004) != 0)) { to_bitField0_ |= 0x20000000; } result.sessionAffinity_ = sessionAffinity_; - if (((from_bitField1_ & 0x00000004) != 0)) { + if (((from_bitField1_ & 0x00000008) != 0)) { if (subsettingBuilder_ == null) { result.subsetting_ = subsetting_; } else { @@ -4586,7 +4721,7 @@ public com.google.cloud.compute.v1.BackendService buildPartial() { } to_bitField0_ |= 0x40000000; } - if (((from_bitField1_ & 0x00000008) != 0)) { + if (((from_bitField1_ & 0x00000010) != 0)) { result.timeoutSec_ = timeoutSec_; to_bitField0_ |= 0x80000000; } @@ -4757,8 +4892,35 @@ public Builder mergeFrom(com.google.cloud.compute.v1.BackendService other) { loadBalancingScheme_ = other.loadBalancingScheme_; onChanged(); } + if (localityLbPoliciesBuilder_ == null) { + if (!other.localityLbPolicies_.isEmpty()) { + if (localityLbPolicies_.isEmpty()) { + localityLbPolicies_ = other.localityLbPolicies_; + bitField0_ = (bitField0_ & ~0x00100000); + } else { + ensureLocalityLbPoliciesIsMutable(); + localityLbPolicies_.addAll(other.localityLbPolicies_); + } + onChanged(); + } + } else { + if (!other.localityLbPolicies_.isEmpty()) { + if (localityLbPoliciesBuilder_.isEmpty()) { + localityLbPoliciesBuilder_.dispose(); + localityLbPoliciesBuilder_ = null; + localityLbPolicies_ = other.localityLbPolicies_; + bitField0_ = (bitField0_ & ~0x00100000); + localityLbPoliciesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getLocalityLbPoliciesFieldBuilder() + : null; + } else { + localityLbPoliciesBuilder_.addAllMessages(other.localityLbPolicies_); + } + } + } if (other.hasLocalityLbPolicy()) { - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; localityLbPolicy_ = other.localityLbPolicy_; onChanged(); } @@ -4769,12 +4931,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.BackendService other) { mergeMaxStreamDuration(other.getMaxStreamDuration()); } if (other.hasName()) { - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; name_ = other.name_; onChanged(); } if (other.hasNetwork()) { - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; network_ = other.network_; onChanged(); } @@ -4785,22 +4947,22 @@ public Builder mergeFrom(com.google.cloud.compute.v1.BackendService other) { setPort(other.getPort()); } if (other.hasPortName()) { - bitField0_ |= 0x08000000; + bitField0_ |= 0x10000000; portName_ = other.portName_; onChanged(); } if (other.hasProtocol()) { - bitField0_ |= 0x10000000; + bitField0_ |= 0x20000000; protocol_ = other.protocol_; onChanged(); } if (other.hasRegion()) { - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; region_ = other.region_; onChanged(); } if (other.hasSecurityPolicy()) { - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; securityPolicy_ = other.securityPolicy_; onChanged(); } @@ -4808,12 +4970,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.BackendService other) { mergeSecuritySettings(other.getSecuritySettings()); } if (other.hasSelfLink()) { - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; selfLink_ = other.selfLink_; onChanged(); } if (other.hasSessionAffinity()) { - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; sessionAffinity_ = other.sessionAffinity_; onChanged(); } @@ -7935,134 +8097,557 @@ public Builder setLoadBalancingSchemeBytes(com.google.protobuf.ByteString value) return this; } - private java.lang.Object localityLbPolicy_ = ""; + private java.util.List< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig> + localityLbPolicies_ = java.util.Collections.emptyList(); + + private void ensureLocalityLbPoliciesIsMutable() { + if (!((bitField0_ & 0x00100000) != 0)) { + localityLbPolicies_ = + new java.util.ArrayList< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig>( + localityLbPolicies_); + bitField0_ |= 0x00100000; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder> + localityLbPoliciesBuilder_; + /** * * *
-     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
-     * Check the LocalityLbPolicy enum for the list of possible values.
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* - * optional string locality_lb_policy = 131431487; - * - * @return Whether the localityLbPolicy field is set. + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * */ - public boolean hasLocalityLbPolicy() { - return ((bitField0_ & 0x00100000) != 0); + public java.util.List< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig> + getLocalityLbPoliciesList() { + if (localityLbPoliciesBuilder_ == null) { + return java.util.Collections.unmodifiableList(localityLbPolicies_); + } else { + return localityLbPoliciesBuilder_.getMessageList(); + } } /** * * *
-     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
-     * Check the LocalityLbPolicy enum for the list of possible values.
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* - * optional string locality_lb_policy = 131431487; - * - * @return The localityLbPolicy. + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * */ - public java.lang.String getLocalityLbPolicy() { - java.lang.Object ref = localityLbPolicy_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - localityLbPolicy_ = s; - return s; + public int getLocalityLbPoliciesCount() { + if (localityLbPoliciesBuilder_ == null) { + return localityLbPolicies_.size(); } else { - return (java.lang.String) ref; + return localityLbPoliciesBuilder_.getCount(); } } /** * * *
-     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
-     * Check the LocalityLbPolicy enum for the list of possible values.
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* - * optional string locality_lb_policy = 131431487; - * - * @return The bytes for localityLbPolicy. + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * */ - public com.google.protobuf.ByteString getLocalityLbPolicyBytes() { - java.lang.Object ref = localityLbPolicy_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - localityLbPolicy_ = b; - return b; + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + getLocalityLbPolicies(int index) { + if (localityLbPoliciesBuilder_ == null) { + return localityLbPolicies_.get(index); } else { - return (com.google.protobuf.ByteString) ref; + return localityLbPoliciesBuilder_.getMessage(index); } } /** * * *
-     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
-     * Check the LocalityLbPolicy enum for the list of possible values.
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* - * optional string locality_lb_policy = 131431487; - * - * @param value The localityLbPolicy to set. - * @return This builder for chaining. + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * */ - public Builder setLocalityLbPolicy(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + public Builder setLocalityLbPolicies( + int index, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig value) { + if (localityLbPoliciesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLocalityLbPoliciesIsMutable(); + localityLbPolicies_.set(index, value); + onChanged(); + } else { + localityLbPoliciesBuilder_.setMessage(index, value); } - bitField0_ |= 0x00100000; - localityLbPolicy_ = value; - onChanged(); return this; } /** * * *
-     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
-     * Check the LocalityLbPolicy enum for the list of possible values.
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* - * optional string locality_lb_policy = 131431487; - * - * @return This builder for chaining. + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * */ - public Builder clearLocalityLbPolicy() { - bitField0_ = (bitField0_ & ~0x00100000); - localityLbPolicy_ = getDefaultInstance().getLocalityLbPolicy(); - onChanged(); + public Builder setLocalityLbPolicies( + int index, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder + builderForValue) { + if (localityLbPoliciesBuilder_ == null) { + ensureLocalityLbPoliciesIsMutable(); + localityLbPolicies_.set(index, builderForValue.build()); + onChanged(); + } else { + localityLbPoliciesBuilder_.setMessage(index, builderForValue.build()); + } return this; } /** * * *
-     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
-     * Check the LocalityLbPolicy enum for the list of possible values.
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
      * 
* - * optional string locality_lb_policy = 131431487; - * - * @param value The bytes for localityLbPolicy to set. - * @return This builder for chaining. + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * */ - public Builder setLocalityLbPolicyBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); + public Builder addLocalityLbPolicies( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig value) { + if (localityLbPoliciesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLocalityLbPoliciesIsMutable(); + localityLbPolicies_.add(value); + onChanged(); + } else { + localityLbPoliciesBuilder_.addMessage(value); } - checkByteStringIsUtf8(value); - bitField0_ |= 0x00100000; - localityLbPolicy_ = value; - onChanged(); return this; } - - private com.google.cloud.compute.v1.BackendServiceLogConfig logConfig_; - private com.google.protobuf.SingleFieldBuilderV3< + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public Builder addLocalityLbPolicies( + int index, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig value) { + if (localityLbPoliciesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureLocalityLbPoliciesIsMutable(); + localityLbPolicies_.add(index, value); + onChanged(); + } else { + localityLbPoliciesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public Builder addLocalityLbPolicies( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder + builderForValue) { + if (localityLbPoliciesBuilder_ == null) { + ensureLocalityLbPoliciesIsMutable(); + localityLbPolicies_.add(builderForValue.build()); + onChanged(); + } else { + localityLbPoliciesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public Builder addLocalityLbPolicies( + int index, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder + builderForValue) { + if (localityLbPoliciesBuilder_ == null) { + ensureLocalityLbPoliciesIsMutable(); + localityLbPolicies_.add(index, builderForValue.build()); + onChanged(); + } else { + localityLbPoliciesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public Builder addAllLocalityLbPolicies( + java.lang.Iterable< + ? extends + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig> + values) { + if (localityLbPoliciesBuilder_ == null) { + ensureLocalityLbPoliciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, localityLbPolicies_); + onChanged(); + } else { + localityLbPoliciesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public Builder clearLocalityLbPolicies() { + if (localityLbPoliciesBuilder_ == null) { + localityLbPolicies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00100000); + onChanged(); + } else { + localityLbPoliciesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public Builder removeLocalityLbPolicies(int index) { + if (localityLbPoliciesBuilder_ == null) { + ensureLocalityLbPoliciesIsMutable(); + localityLbPolicies_.remove(index); + onChanged(); + } else { + localityLbPoliciesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder + getLocalityLbPoliciesBuilder(int index) { + return getLocalityLbPoliciesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder + getLocalityLbPoliciesOrBuilder(int index) { + if (localityLbPoliciesBuilder_ == null) { + return localityLbPolicies_.get(index); + } else { + return localityLbPoliciesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public java.util.List< + ? extends + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder> + getLocalityLbPoliciesOrBuilderList() { + if (localityLbPoliciesBuilder_ != null) { + return localityLbPoliciesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(localityLbPolicies_); + } + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder + addLocalityLbPoliciesBuilder() { + return getLocalityLbPoliciesFieldBuilder() + .addBuilder( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + .getDefaultInstance()); + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder + addLocalityLbPoliciesBuilder(int index) { + return getLocalityLbPoliciesFieldBuilder() + .addBuilder( + index, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + .getDefaultInstance()); + } + /** + * + * + *
+     * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + public java.util.List< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder> + getLocalityLbPoliciesBuilderList() { + return getLocalityLbPoliciesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder> + getLocalityLbPoliciesFieldBuilder() { + if (localityLbPoliciesBuilder_ == null) { + localityLbPoliciesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder, + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder>( + localityLbPolicies_, + ((bitField0_ & 0x00100000) != 0), + getParentForChildren(), + isClean()); + localityLbPolicies_ = null; + } + return localityLbPoliciesBuilder_; + } + + private java.lang.Object localityLbPolicy_ = ""; + /** + * + * + *
+     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
+     * Check the LocalityLbPolicy enum for the list of possible values.
+     * 
+ * + * optional string locality_lb_policy = 131431487; + * + * @return Whether the localityLbPolicy field is set. + */ + public boolean hasLocalityLbPolicy() { + return ((bitField0_ & 0x00200000) != 0); + } + /** + * + * + *
+     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
+     * Check the LocalityLbPolicy enum for the list of possible values.
+     * 
+ * + * optional string locality_lb_policy = 131431487; + * + * @return The localityLbPolicy. + */ + public java.lang.String getLocalityLbPolicy() { + java.lang.Object ref = localityLbPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + localityLbPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
+     * Check the LocalityLbPolicy enum for the list of possible values.
+     * 
+ * + * optional string locality_lb_policy = 131431487; + * + * @return The bytes for localityLbPolicy. + */ + public com.google.protobuf.ByteString getLocalityLbPolicyBytes() { + java.lang.Object ref = localityLbPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + localityLbPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
+     * Check the LocalityLbPolicy enum for the list of possible values.
+     * 
+ * + * optional string locality_lb_policy = 131431487; + * + * @param value The localityLbPolicy to set. + * @return This builder for chaining. + */ + public Builder setLocalityLbPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00200000; + localityLbPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
+     * Check the LocalityLbPolicy enum for the list of possible values.
+     * 
+ * + * optional string locality_lb_policy = 131431487; + * + * @return This builder for chaining. + */ + public Builder clearLocalityLbPolicy() { + bitField0_ = (bitField0_ & ~0x00200000); + localityLbPolicy_ = getDefaultInstance().getLocalityLbPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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.
+     * Check the LocalityLbPolicy enum for the list of possible values.
+     * 
+ * + * optional string locality_lb_policy = 131431487; + * + * @param value The bytes for localityLbPolicy to set. + * @return This builder for chaining. + */ + public Builder setLocalityLbPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00200000; + localityLbPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.BackendServiceLogConfig logConfig_; + private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.compute.v1.BackendServiceLogConfig, com.google.cloud.compute.v1.BackendServiceLogConfig.Builder, com.google.cloud.compute.v1.BackendServiceLogConfigOrBuilder> @@ -8080,7 +8665,7 @@ public Builder setLocalityLbPolicyBytes(com.google.protobuf.ByteString value) { * @return Whether the logConfig field is set. */ public boolean hasLogConfig() { - return ((bitField0_ & 0x00200000) != 0); + return ((bitField0_ & 0x00400000) != 0); } /** * @@ -8123,7 +8708,7 @@ public Builder setLogConfig(com.google.cloud.compute.v1.BackendServiceLogConfig } else { logConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; return this; } /** @@ -8144,7 +8729,7 @@ public Builder setLogConfig( } else { logConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; return this; } /** @@ -8159,7 +8744,7 @@ public Builder setLogConfig( */ public Builder mergeLogConfig(com.google.cloud.compute.v1.BackendServiceLogConfig value) { if (logConfigBuilder_ == null) { - if (((bitField0_ & 0x00200000) != 0) + if (((bitField0_ & 0x00400000) != 0) && logConfig_ != null && logConfig_ != com.google.cloud.compute.v1.BackendServiceLogConfig.getDefaultInstance()) { @@ -8174,7 +8759,7 @@ public Builder mergeLogConfig(com.google.cloud.compute.v1.BackendServiceLogConfi } else { logConfigBuilder_.mergeFrom(value); } - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; return this; } /** @@ -8194,7 +8779,7 @@ public Builder clearLogConfig() { } else { logConfigBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); return this; } /** @@ -8208,7 +8793,7 @@ public Builder clearLogConfig() { * */ public com.google.cloud.compute.v1.BackendServiceLogConfig.Builder getLogConfigBuilder() { - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; onChanged(); return getLogConfigFieldBuilder().getBuilder(); } @@ -8276,7 +8861,7 @@ public com.google.cloud.compute.v1.BackendServiceLogConfigOrBuilder getLogConfig * @return Whether the maxStreamDuration field is set. */ public boolean hasMaxStreamDuration() { - return ((bitField0_ & 0x00400000) != 0); + return ((bitField0_ & 0x00800000) != 0); } /** * @@ -8317,7 +8902,7 @@ public Builder setMaxStreamDuration(com.google.cloud.compute.v1.Duration value) } else { maxStreamDurationBuilder_.setMessage(value); } - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; return this; } /** @@ -8337,7 +8922,7 @@ public Builder setMaxStreamDuration( } else { maxStreamDurationBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; return this; } /** @@ -8351,7 +8936,7 @@ public Builder setMaxStreamDuration( */ public Builder mergeMaxStreamDuration(com.google.cloud.compute.v1.Duration value) { if (maxStreamDurationBuilder_ == null) { - if (((bitField0_ & 0x00400000) != 0) + if (((bitField0_ & 0x00800000) != 0) && maxStreamDuration_ != null && maxStreamDuration_ != com.google.cloud.compute.v1.Duration.getDefaultInstance()) { maxStreamDuration_ = @@ -8365,7 +8950,7 @@ public Builder mergeMaxStreamDuration(com.google.cloud.compute.v1.Duration value } else { maxStreamDurationBuilder_.mergeFrom(value); } - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; return this; } /** @@ -8384,7 +8969,7 @@ public Builder clearMaxStreamDuration() { } else { maxStreamDurationBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00400000); + bitField0_ = (bitField0_ & ~0x00800000); return this; } /** @@ -8397,7 +8982,7 @@ public Builder clearMaxStreamDuration() { * optional .google.cloud.compute.v1.Duration max_stream_duration = 61428376; */ public com.google.cloud.compute.v1.Duration.Builder getMaxStreamDurationBuilder() { - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; onChanged(); return getMaxStreamDurationFieldBuilder().getBuilder(); } @@ -8458,7 +9043,7 @@ public com.google.cloud.compute.v1.DurationOrBuilder getMaxStreamDurationOrBuild * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00800000) != 0); + return ((bitField0_ & 0x01000000) != 0); } /** * @@ -8520,7 +9105,7 @@ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; name_ = value; onChanged(); return this; @@ -8537,7 +9122,7 @@ public Builder setName(java.lang.String value) { * @return This builder for chaining. */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00800000); + bitField0_ = (bitField0_ & ~0x01000000); name_ = getDefaultInstance().getName(); onChanged(); return this; @@ -8559,7 +9144,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; name_ = value; onChanged(); return this; @@ -8578,7 +9163,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the network field is set. */ public boolean hasNetwork() { - return ((bitField0_ & 0x01000000) != 0); + return ((bitField0_ & 0x02000000) != 0); } /** * @@ -8640,7 +9225,7 @@ public Builder setNetwork(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; network_ = value; onChanged(); return this; @@ -8657,7 +9242,7 @@ public Builder setNetwork(java.lang.String value) { * @return This builder for chaining. */ public Builder clearNetwork() { - bitField0_ = (bitField0_ & ~0x01000000); + bitField0_ = (bitField0_ & ~0x02000000); network_ = getDefaultInstance().getNetwork(); onChanged(); return this; @@ -8679,7 +9264,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; network_ = value; onChanged(); return this; @@ -8704,7 +9289,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { * @return Whether the outlierDetection field is set. */ public boolean hasOutlierDetection() { - return ((bitField0_ & 0x02000000) != 0); + return ((bitField0_ & 0x04000000) != 0); } /** * @@ -8747,7 +9332,7 @@ public Builder setOutlierDetection(com.google.cloud.compute.v1.OutlierDetection } else { outlierDetectionBuilder_.setMessage(value); } - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; return this; } /** @@ -8768,7 +9353,7 @@ public Builder setOutlierDetection( } else { outlierDetectionBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; return this; } /** @@ -8783,7 +9368,7 @@ public Builder setOutlierDetection( */ public Builder mergeOutlierDetection(com.google.cloud.compute.v1.OutlierDetection value) { if (outlierDetectionBuilder_ == null) { - if (((bitField0_ & 0x02000000) != 0) + if (((bitField0_ & 0x04000000) != 0) && outlierDetection_ != null && outlierDetection_ != com.google.cloud.compute.v1.OutlierDetection.getDefaultInstance()) { @@ -8798,7 +9383,7 @@ public Builder mergeOutlierDetection(com.google.cloud.compute.v1.OutlierDetectio } else { outlierDetectionBuilder_.mergeFrom(value); } - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; return this; } /** @@ -8818,7 +9403,7 @@ public Builder clearOutlierDetection() { } else { outlierDetectionBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x02000000); + bitField0_ = (bitField0_ & ~0x04000000); return this; } /** @@ -8832,7 +9417,7 @@ public Builder clearOutlierDetection() { * */ public com.google.cloud.compute.v1.OutlierDetection.Builder getOutlierDetectionBuilder() { - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; onChanged(); return getOutlierDetectionFieldBuilder().getBuilder(); } @@ -8896,7 +9481,7 @@ public com.google.cloud.compute.v1.OutlierDetectionOrBuilder getOutlierDetection */ @java.lang.Override public boolean hasPort() { - return ((bitField0_ & 0x04000000) != 0); + return ((bitField0_ & 0x08000000) != 0); } /** * @@ -8926,7 +9511,7 @@ public int getPort() { * @return This builder for chaining. */ public Builder setPort(int value) { - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; port_ = value; onChanged(); return this; @@ -8943,7 +9528,7 @@ public Builder setPort(int value) { * @return This builder for chaining. */ public Builder clearPort() { - bitField0_ = (bitField0_ & ~0x04000000); + bitField0_ = (bitField0_ & ~0x08000000); port_ = 0; onChanged(); return this; @@ -8962,7 +9547,7 @@ public Builder clearPort() { * @return Whether the portName field is set. */ public boolean hasPortName() { - return ((bitField0_ & 0x08000000) != 0); + return ((bitField0_ & 0x10000000) != 0); } /** * @@ -9024,7 +9609,7 @@ public Builder setPortName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x08000000; + bitField0_ |= 0x10000000; portName_ = value; onChanged(); return this; @@ -9041,7 +9626,7 @@ public Builder setPortName(java.lang.String value) { * @return This builder for chaining. */ public Builder clearPortName() { - bitField0_ = (bitField0_ & ~0x08000000); + bitField0_ = (bitField0_ & ~0x10000000); portName_ = getDefaultInstance().getPortName(); onChanged(); return this; @@ -9063,7 +9648,7 @@ public Builder setPortNameBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x08000000; + bitField0_ |= 0x10000000; portName_ = value; onChanged(); return this; @@ -9083,7 +9668,7 @@ public Builder setPortNameBytes(com.google.protobuf.ByteString value) { * @return Whether the protocol field is set. */ public boolean hasProtocol() { - return ((bitField0_ & 0x10000000) != 0); + return ((bitField0_ & 0x20000000) != 0); } /** * @@ -9148,7 +9733,7 @@ public Builder setProtocol(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x10000000; + bitField0_ |= 0x20000000; protocol_ = value; onChanged(); return this; @@ -9166,7 +9751,7 @@ public Builder setProtocol(java.lang.String value) { * @return This builder for chaining. */ public Builder clearProtocol() { - bitField0_ = (bitField0_ & ~0x10000000); + bitField0_ = (bitField0_ & ~0x20000000); protocol_ = getDefaultInstance().getProtocol(); onChanged(); return this; @@ -9189,7 +9774,7 @@ public Builder setProtocolBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x10000000; + bitField0_ |= 0x20000000; protocol_ = value; onChanged(); return this; @@ -9208,7 +9793,7 @@ public Builder setProtocolBytes(com.google.protobuf.ByteString value) { * @return Whether the region field is set. */ public boolean hasRegion() { - return ((bitField0_ & 0x20000000) != 0); + return ((bitField0_ & 0x40000000) != 0); } /** * @@ -9270,7 +9855,7 @@ public Builder setRegion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; region_ = value; onChanged(); return this; @@ -9287,7 +9872,7 @@ public Builder setRegion(java.lang.String value) { * @return This builder for chaining. */ public Builder clearRegion() { - bitField0_ = (bitField0_ & ~0x20000000); + bitField0_ = (bitField0_ & ~0x40000000); region_ = getDefaultInstance().getRegion(); onChanged(); return this; @@ -9309,7 +9894,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; region_ = value; onChanged(); return this; @@ -9328,7 +9913,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * @return Whether the securityPolicy field is set. */ public boolean hasSecurityPolicy() { - return ((bitField0_ & 0x40000000) != 0); + return ((bitField0_ & 0x80000000) != 0); } /** * @@ -9390,7 +9975,7 @@ public Builder setSecurityPolicy(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; securityPolicy_ = value; onChanged(); return this; @@ -9407,7 +9992,7 @@ public Builder setSecurityPolicy(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSecurityPolicy() { - bitField0_ = (bitField0_ & ~0x40000000); + bitField0_ = (bitField0_ & ~0x80000000); securityPolicy_ = getDefaultInstance().getSecurityPolicy(); onChanged(); return this; @@ -9429,7 +10014,7 @@ public Builder setSecurityPolicyBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; securityPolicy_ = value; onChanged(); return this; @@ -9454,7 +10039,7 @@ public Builder setSecurityPolicyBytes(com.google.protobuf.ByteString value) { * @return Whether the securitySettings field is set. */ public boolean hasSecuritySettings() { - return ((bitField0_ & 0x80000000) != 0); + return ((bitField1_ & 0x00000001) != 0); } /** * @@ -9497,7 +10082,7 @@ public Builder setSecuritySettings(com.google.cloud.compute.v1.SecuritySettings } else { securitySettingsBuilder_.setMessage(value); } - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; return this; } /** @@ -9518,7 +10103,7 @@ public Builder setSecuritySettings( } else { securitySettingsBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; return this; } /** @@ -9533,7 +10118,7 @@ public Builder setSecuritySettings( */ public Builder mergeSecuritySettings(com.google.cloud.compute.v1.SecuritySettings value) { if (securitySettingsBuilder_ == null) { - if (((bitField0_ & 0x80000000) != 0) + if (((bitField1_ & 0x00000001) != 0) && securitySettings_ != null && securitySettings_ != com.google.cloud.compute.v1.SecuritySettings.getDefaultInstance()) { @@ -9548,7 +10133,7 @@ public Builder mergeSecuritySettings(com.google.cloud.compute.v1.SecuritySetting } else { securitySettingsBuilder_.mergeFrom(value); } - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; return this; } /** @@ -9568,7 +10153,7 @@ public Builder clearSecuritySettings() { } else { securitySettingsBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x80000000); + bitField1_ = (bitField1_ & ~0x00000001); return this; } /** @@ -9582,7 +10167,7 @@ public Builder clearSecuritySettings() { * */ public com.google.cloud.compute.v1.SecuritySettings.Builder getSecuritySettingsBuilder() { - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; onChanged(); return getSecuritySettingsFieldBuilder().getBuilder(); } @@ -9645,7 +10230,7 @@ public com.google.cloud.compute.v1.SecuritySettingsOrBuilder getSecuritySettings * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField1_ & 0x00000001) != 0); + return ((bitField1_ & 0x00000002) != 0); } /** * @@ -9707,7 +10292,7 @@ public Builder setSelfLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; selfLink_ = value; onChanged(); return this; @@ -9724,7 +10309,7 @@ public Builder setSelfLink(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSelfLink() { - bitField1_ = (bitField1_ & ~0x00000001); + bitField1_ = (bitField1_ & ~0x00000002); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; @@ -9746,7 +10331,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; selfLink_ = value; onChanged(); return this; @@ -9766,7 +10351,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the sessionAffinity field is set. */ public boolean hasSessionAffinity() { - return ((bitField1_ & 0x00000002) != 0); + return ((bitField1_ & 0x00000004) != 0); } /** * @@ -9831,7 +10416,7 @@ public Builder setSessionAffinity(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; sessionAffinity_ = value; onChanged(); return this; @@ -9849,7 +10434,7 @@ public Builder setSessionAffinity(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSessionAffinity() { - bitField1_ = (bitField1_ & ~0x00000002); + bitField1_ = (bitField1_ & ~0x00000004); sessionAffinity_ = getDefaultInstance().getSessionAffinity(); onChanged(); return this; @@ -9872,7 +10457,7 @@ public Builder setSessionAffinityBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; sessionAffinity_ = value; onChanged(); return this; @@ -9890,7 +10475,7 @@ public Builder setSessionAffinityBytes(com.google.protobuf.ByteString value) { * @return Whether the subsetting field is set. */ public boolean hasSubsetting() { - return ((bitField1_ & 0x00000004) != 0); + return ((bitField1_ & 0x00000008) != 0); } /** * optional .google.cloud.compute.v1.Subsetting subsetting = 450283536; @@ -9917,7 +10502,7 @@ public Builder setSubsetting(com.google.cloud.compute.v1.Subsetting value) { } else { subsettingBuilder_.setMessage(value); } - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; return this; } /** optional .google.cloud.compute.v1.Subsetting subsetting = 450283536; */ @@ -9928,13 +10513,13 @@ public Builder setSubsetting(com.google.cloud.compute.v1.Subsetting.Builder buil } else { subsettingBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; return this; } /** optional .google.cloud.compute.v1.Subsetting subsetting = 450283536; */ public Builder mergeSubsetting(com.google.cloud.compute.v1.Subsetting value) { if (subsettingBuilder_ == null) { - if (((bitField1_ & 0x00000004) != 0) + if (((bitField1_ & 0x00000008) != 0) && subsetting_ != null && subsetting_ != com.google.cloud.compute.v1.Subsetting.getDefaultInstance()) { subsetting_ = @@ -9948,7 +10533,7 @@ public Builder mergeSubsetting(com.google.cloud.compute.v1.Subsetting value) { } else { subsettingBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; return this; } /** optional .google.cloud.compute.v1.Subsetting subsetting = 450283536; */ @@ -9959,12 +10544,12 @@ public Builder clearSubsetting() { } else { subsettingBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000004); + bitField1_ = (bitField1_ & ~0x00000008); return this; } /** optional .google.cloud.compute.v1.Subsetting subsetting = 450283536; */ public com.google.cloud.compute.v1.Subsetting.Builder getSubsettingBuilder() { - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; onChanged(); return getSubsettingFieldBuilder().getBuilder(); } @@ -10001,7 +10586,7 @@ public com.google.cloud.compute.v1.SubsettingOrBuilder getSubsettingOrBuilder() * * *
-     * 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. Instead, use maxStreamDuration.
+     * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration.
      * 
* * optional int32 timeout_sec = 79994995; @@ -10010,13 +10595,13 @@ public com.google.cloud.compute.v1.SubsettingOrBuilder getSubsettingOrBuilder() */ @java.lang.Override public boolean hasTimeoutSec() { - return ((bitField1_ & 0x00000008) != 0); + return ((bitField1_ & 0x00000010) != 0); } /** * * *
-     * 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. Instead, use maxStreamDuration.
+     * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration.
      * 
* * optional int32 timeout_sec = 79994995; @@ -10031,7 +10616,7 @@ public int getTimeoutSec() { * * *
-     * 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. Instead, use maxStreamDuration.
+     * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration.
      * 
* * optional int32 timeout_sec = 79994995; @@ -10040,7 +10625,7 @@ public int getTimeoutSec() { * @return This builder for chaining. */ public Builder setTimeoutSec(int value) { - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000010; timeoutSec_ = value; onChanged(); return this; @@ -10049,7 +10634,7 @@ public Builder setTimeoutSec(int value) { * * *
-     * 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. Instead, use maxStreamDuration.
+     * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration.
      * 
* * optional int32 timeout_sec = 79994995; @@ -10057,7 +10642,7 @@ public Builder setTimeoutSec(int value) { * @return This builder for chaining. */ public Builder clearTimeoutSec() { - bitField1_ = (bitField1_ & ~0x00000008); + bitField1_ = (bitField1_ & ~0x00000010); timeoutSec_ = 0; onChanged(); return this; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceConnectionTrackingPolicy.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceConnectionTrackingPolicy.java index d75a147b5..b4ce68ff8 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceConnectionTrackingPolicy.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceConnectionTrackingPolicy.java @@ -74,16 +74,22 @@ private BackendServiceConnectionTrackingPolicy( case 0: done = true; break; - case 199820352: + case 196319392: { bitField0_ |= 0x00000002; + enableStrongAffinity_ = input.readBool(); + break; + } + case 199820352: + { + bitField0_ |= 0x00000004; idleTimeoutSec_ = input.readInt32(); break; } case 1022062938: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; trackingMode_ = s; break; } @@ -470,6 +476,39 @@ public com.google.protobuf.ByteString getConnectionPersistenceOnUnhealthyBackend } } + public static final int ENABLE_STRONG_AFFINITY_FIELD_NUMBER = 24539924; + private boolean enableStrongAffinity_; + /** + * + * + *
+   * Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.
+   * 
+ * + * optional bool enable_strong_affinity = 24539924; + * + * @return Whether the enableStrongAffinity field is set. + */ + @java.lang.Override + public boolean hasEnableStrongAffinity() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.
+   * 
+ * + * optional bool enable_strong_affinity = 24539924; + * + * @return The enableStrongAffinity. + */ + @java.lang.Override + public boolean getEnableStrongAffinity() { + return enableStrongAffinity_; + } + public static final int IDLE_TIMEOUT_SEC_FIELD_NUMBER = 24977544; private int idleTimeoutSec_; /** @@ -485,7 +524,7 @@ public com.google.protobuf.ByteString getConnectionPersistenceOnUnhealthyBackend */ @java.lang.Override public boolean hasIdleTimeoutSec() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -519,7 +558,7 @@ public int getIdleTimeoutSec() { */ @java.lang.Override public boolean hasTrackingMode() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -585,9 +624,12 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000002) != 0)) { - output.writeInt32(24977544, idleTimeoutSec_); + output.writeBool(24539924, enableStrongAffinity_); } if (((bitField0_ & 0x00000004) != 0)) { + output.writeInt32(24977544, idleTimeoutSec_); + } + if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 127757867, trackingMode_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -604,9 +646,13 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(24977544, idleTimeoutSec_); + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(24539924, enableStrongAffinity_); } if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(24977544, idleTimeoutSec_); + } + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(127757867, trackingMode_); } if (((bitField0_ & 0x00000001) != 0)) { @@ -636,6 +682,10 @@ public boolean equals(final java.lang.Object obj) { if (!getConnectionPersistenceOnUnhealthyBackends() .equals(other.getConnectionPersistenceOnUnhealthyBackends())) return false; } + if (hasEnableStrongAffinity() != other.hasEnableStrongAffinity()) return false; + if (hasEnableStrongAffinity()) { + if (getEnableStrongAffinity() != other.getEnableStrongAffinity()) return false; + } if (hasIdleTimeoutSec() != other.hasIdleTimeoutSec()) return false; if (hasIdleTimeoutSec()) { if (getIdleTimeoutSec() != other.getIdleTimeoutSec()) return false; @@ -659,6 +709,10 @@ public int hashCode() { hash = (37 * hash) + CONNECTION_PERSISTENCE_ON_UNHEALTHY_BACKENDS_FIELD_NUMBER; hash = (53 * hash) + getConnectionPersistenceOnUnhealthyBackends().hashCode(); } + if (hasEnableStrongAffinity()) { + hash = (37 * hash) + ENABLE_STRONG_AFFINITY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStrongAffinity()); + } if (hasIdleTimeoutSec()) { hash = (37 * hash) + IDLE_TIMEOUT_SEC_FIELD_NUMBER; hash = (53 * hash) + getIdleTimeoutSec(); @@ -817,10 +871,12 @@ public Builder clear() { super.clear(); connectionPersistenceOnUnhealthyBackends_ = ""; bitField0_ = (bitField0_ & ~0x00000001); - idleTimeoutSec_ = 0; + enableStrongAffinity_ = false; bitField0_ = (bitField0_ & ~0x00000002); - trackingMode_ = ""; + idleTimeoutSec_ = 0; bitField0_ = (bitField0_ & ~0x00000004); + trackingMode_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -857,12 +913,16 @@ public com.google.cloud.compute.v1.BackendServiceConnectionTrackingPolicy buildP } result.connectionPersistenceOnUnhealthyBackends_ = connectionPersistenceOnUnhealthyBackends_; if (((from_bitField0_ & 0x00000002) != 0)) { - result.idleTimeoutSec_ = idleTimeoutSec_; + result.enableStrongAffinity_ = enableStrongAffinity_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { + result.idleTimeoutSec_ = idleTimeoutSec_; to_bitField0_ |= 0x00000004; } + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } result.trackingMode_ = trackingMode_; result.bitField0_ = to_bitField0_; onBuilt(); @@ -923,11 +983,14 @@ public Builder mergeFrom( connectionPersistenceOnUnhealthyBackends_ = other.connectionPersistenceOnUnhealthyBackends_; onChanged(); } + if (other.hasEnableStrongAffinity()) { + setEnableStrongAffinity(other.getEnableStrongAffinity()); + } if (other.hasIdleTimeoutSec()) { setIdleTimeoutSec(other.getIdleTimeoutSec()); } if (other.hasTrackingMode()) { - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; trackingMode_ = other.trackingMode_; onChanged(); } @@ -1092,6 +1155,73 @@ public Builder setConnectionPersistenceOnUnhealthyBackendsBytes( return this; } + private boolean enableStrongAffinity_; + /** + * + * + *
+     * Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.
+     * 
+ * + * optional bool enable_strong_affinity = 24539924; + * + * @return Whether the enableStrongAffinity field is set. + */ + @java.lang.Override + public boolean hasEnableStrongAffinity() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.
+     * 
+ * + * optional bool enable_strong_affinity = 24539924; + * + * @return The enableStrongAffinity. + */ + @java.lang.Override + public boolean getEnableStrongAffinity() { + return enableStrongAffinity_; + } + /** + * + * + *
+     * Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.
+     * 
+ * + * optional bool enable_strong_affinity = 24539924; + * + * @param value The enableStrongAffinity to set. + * @return This builder for chaining. + */ + public Builder setEnableStrongAffinity(boolean value) { + bitField0_ |= 0x00000002; + enableStrongAffinity_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.
+     * 
+ * + * optional bool enable_strong_affinity = 24539924; + * + * @return This builder for chaining. + */ + public Builder clearEnableStrongAffinity() { + bitField0_ = (bitField0_ & ~0x00000002); + enableStrongAffinity_ = false; + onChanged(); + return this; + } + private int idleTimeoutSec_; /** * @@ -1106,7 +1236,7 @@ public Builder setConnectionPersistenceOnUnhealthyBackendsBytes( */ @java.lang.Override public boolean hasIdleTimeoutSec() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -1136,7 +1266,7 @@ public int getIdleTimeoutSec() { * @return This builder for chaining. */ public Builder setIdleTimeoutSec(int value) { - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; idleTimeoutSec_ = value; onChanged(); return this; @@ -1153,7 +1283,7 @@ public Builder setIdleTimeoutSec(int value) { * @return This builder for chaining. */ public Builder clearIdleTimeoutSec() { - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = (bitField0_ & ~0x00000004); idleTimeoutSec_ = 0; onChanged(); return this; @@ -1173,7 +1303,7 @@ public Builder clearIdleTimeoutSec() { * @return Whether the trackingMode field is set. */ public boolean hasTrackingMode() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -1238,7 +1368,7 @@ public Builder setTrackingMode(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; trackingMode_ = value; onChanged(); return this; @@ -1256,7 +1386,7 @@ public Builder setTrackingMode(java.lang.String value) { * @return This builder for chaining. */ public Builder clearTrackingMode() { - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ = (bitField0_ & ~0x00000008); trackingMode_ = getDefaultInstance().getTrackingMode(); onChanged(); return this; @@ -1279,7 +1409,7 @@ public Builder setTrackingModeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; trackingMode_ = value; onChanged(); return this; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceConnectionTrackingPolicyOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceConnectionTrackingPolicyOrBuilder.java index ee530009b..4a2ab7413 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceConnectionTrackingPolicyOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceConnectionTrackingPolicyOrBuilder.java @@ -63,6 +63,31 @@ public interface BackendServiceConnectionTrackingPolicyOrBuilder */ com.google.protobuf.ByteString getConnectionPersistenceOnUnhealthyBackendsBytes(); + /** + * + * + *
+   * Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.
+   * 
+ * + * optional bool enable_strong_affinity = 24539924; + * + * @return Whether the enableStrongAffinity field is set. + */ + boolean hasEnableStrongAffinity(); + /** + * + * + *
+   * Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly.
+   * 
+ * + * optional bool enable_strong_affinity = 24539924; + * + * @return The enableStrongAffinity. + */ + boolean getEnableStrongAffinity(); + /** * * diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfig.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfig.java new file mode 100644 index 000000000..e2445bc27 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfig.java @@ -0,0 +1,1032 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig} + */ +public final class BackendServiceLocalityLoadBalancingPolicyConfig + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig) + BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use BackendServiceLocalityLoadBalancingPolicyConfig.newBuilder() to construct. + private BackendServiceLocalityLoadBalancingPolicyConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BackendServiceLocalityLoadBalancingPolicyConfig() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BackendServiceLocalityLoadBalancingPolicyConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BackendServiceLocalityLoadBalancingPolicyConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 38546946: + { + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.Builder + subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = customPolicy_.toBuilder(); + } + customPolicy_ = + input.readMessage( + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(customPolicy_); + customPolicy_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 728574354: + { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .Builder + subBuilder = null; + if (((bitField0_ & 0x00000002) != 0)) { + subBuilder = policy_.toBuilder(); + } + policy_ = + input.readMessage( + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigPolicy.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(policy_); + policy_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000002; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.class, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder + .class); + } + + private int bitField0_; + public static final int CUSTOM_POLICY_FIELD_NUMBER = 4818368; + private com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + customPolicy_; + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + * + * @return Whether the customPolicy field is set. + */ + @java.lang.Override + public boolean hasCustomPolicy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + * + * @return The customPolicy. + */ + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + getCustomPolicy() { + return customPolicy_ == null + ? com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .getDefaultInstance() + : customPolicy_; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder + getCustomPolicyOrBuilder() { + return customPolicy_ == null + ? com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .getDefaultInstance() + : customPolicy_; + } + + public static final int POLICY_FIELD_NUMBER = 91071794; + private com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy_; + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + * + * @return Whether the policy field is set. + */ + @java.lang.Override + public boolean hasPolicy() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + * + * @return The policy. + */ + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + getPolicy() { + return policy_ == null + ? com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .getDefaultInstance() + : policy_; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder + getPolicyOrBuilder() { + return policy_ == null + ? com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .getDefaultInstance() + : policy_; + } + + 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(4818368, getCustomPolicy()); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeMessage(91071794, getPolicy()); + } + unknownFields.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(4818368, getCustomPolicy()); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(91071794, getPolicy()); + } + size += unknownFields.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.BackendServiceLocalityLoadBalancingPolicyConfig)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig other = + (com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig) obj; + + if (hasCustomPolicy() != other.hasCustomPolicy()) return false; + if (hasCustomPolicy()) { + if (!getCustomPolicy().equals(other.getCustomPolicy())) return false; + } + if (hasPolicy() != other.hasPolicy()) return false; + if (hasPolicy()) { + if (!getPolicy().equals(other.getPolicy())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasCustomPolicy()) { + hash = (37 * hash) + CUSTOM_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getCustomPolicy().hashCode(); + } + if (hasPolicy()) { + hash = (37 * hash) + POLICY_FIELD_NUMBER; + hash = (53 * hash) + getPolicy().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + 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.BackendServiceLocalityLoadBalancingPolicyConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + 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.BackendServiceLocalityLoadBalancingPolicyConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + 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.BackendServiceLocalityLoadBalancingPolicyConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + 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.BackendServiceLocalityLoadBalancingPolicyConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + 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.BackendServiceLocalityLoadBalancingPolicyConfig + 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.BackendServiceLocalityLoadBalancingPolicyConfig + 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.BackendServiceLocalityLoadBalancingPolicyConfig 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; + } + /** + * + * + *
+   * Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig) + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.class, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getCustomPolicyFieldBuilder(); + getPolicyFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (customPolicyBuilder_ == null) { + customPolicy_ = null; + } else { + customPolicyBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + if (policyBuilder_ == null) { + policy_ = null; + } else { + policyBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + 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_BackendServiceLocalityLoadBalancingPolicyConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig build() { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + buildPartial() { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig result = + new com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + if (customPolicyBuilder_ == null) { + result.customPolicy_ = customPolicy_; + } else { + result.customPolicy_ = customPolicyBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (policyBuilder_ == null) { + result.policy_ = policy_; + } else { + result.policy_ = policyBuilder_.build(); + } + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig) { + return mergeFrom( + (com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig other) { + if (other + == com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + .getDefaultInstance()) return this; + if (other.hasCustomPolicy()) { + mergeCustomPolicy(other.getCustomPolicy()); + } + if (other.hasPolicy()) { + mergePolicy(other.getPolicy()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + customPolicy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .Builder, + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder> + customPolicyBuilder_; + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + * + * @return Whether the customPolicy field is set. + */ + public boolean hasCustomPolicy() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + * + * @return The customPolicy. + */ + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + getCustomPolicy() { + if (customPolicyBuilder_ == null) { + return customPolicy_ == null + ? com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.getDefaultInstance() + : customPolicy_; + } else { + return customPolicyBuilder_.getMessage(); + } + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + */ + public Builder setCustomPolicy( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + value) { + if (customPolicyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + customPolicy_ = value; + onChanged(); + } else { + customPolicyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + */ + public Builder setCustomPolicy( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .Builder + builderForValue) { + if (customPolicyBuilder_ == null) { + customPolicy_ = builderForValue.build(); + onChanged(); + } else { + customPolicyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + */ + public Builder mergeCustomPolicy( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + value) { + if (customPolicyBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && customPolicy_ != null + && customPolicy_ + != com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .getDefaultInstance()) { + customPolicy_ = + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.newBuilder( + customPolicy_) + .mergeFrom(value) + .buildPartial(); + } else { + customPolicy_ = value; + } + onChanged(); + } else { + customPolicyBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000001; + return this; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + */ + public Builder clearCustomPolicy() { + if (customPolicyBuilder_ == null) { + customPolicy_ = null; + onChanged(); + } else { + customPolicyBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + */ + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .Builder + getCustomPolicyBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getCustomPolicyFieldBuilder().getBuilder(); + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + */ + public com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder + getCustomPolicyOrBuilder() { + if (customPolicyBuilder_ != null) { + return customPolicyBuilder_.getMessageOrBuilder(); + } else { + return customPolicy_ == null + ? com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.getDefaultInstance() + : customPolicy_; + } + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .Builder, + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder> + getCustomPolicyFieldBuilder() { + if (customPolicyBuilder_ == null) { + customPolicyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy, + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.Builder, + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder>( + getCustomPolicy(), getParentForChildren(), isClean()); + customPolicy_ = null; + } + return customPolicyBuilder_; + } + + private com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + policy_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .Builder, + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder> + policyBuilder_; + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + * + * @return Whether the policy field is set. + */ + public boolean hasPolicy() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + * + * @return The policy. + */ + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + getPolicy() { + if (policyBuilder_ == null) { + return policy_ == null + ? com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .getDefaultInstance() + : policy_; + } else { + return policyBuilder_.getMessage(); + } + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + */ + public Builder setPolicy( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy value) { + if (policyBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + policy_ = value; + onChanged(); + } else { + policyBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + */ + public Builder setPolicy( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Builder + builderForValue) { + if (policyBuilder_ == null) { + policy_ = builderForValue.build(); + onChanged(); + } else { + policyBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + */ + public Builder mergePolicy( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy value) { + if (policyBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) + && policy_ != null + && policy_ + != com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .getDefaultInstance()) { + policy_ = + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .newBuilder(policy_) + .mergeFrom(value) + .buildPartial(); + } else { + policy_ = value; + } + onChanged(); + } else { + policyBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + */ + public Builder clearPolicy() { + if (policyBuilder_ == null) { + policy_ = null; + onChanged(); + } else { + policyBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + */ + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Builder + getPolicyBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getPolicyFieldBuilder().getBuilder(); + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + */ + public com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder + getPolicyOrBuilder() { + if (policyBuilder_ != null) { + return policyBuilder_.getMessageOrBuilder(); + } else { + return policy_ == null + ? com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .getDefaultInstance() + : policy_; + } + } + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .Builder, + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder> + getPolicyFieldBuilder() { + if (policyBuilder_ == null) { + policyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .Builder, + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder>( + getPolicy(), getParentForChildren(), isClean()); + policy_ = null; + } + return policyBuilder_; + } + + @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.BackendServiceLocalityLoadBalancingPolicyConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig) + private static final com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig(); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser< + BackendServiceLocalityLoadBalancingPolicyConfig>() { + @java.lang.Override + public BackendServiceLocalityLoadBalancingPolicyConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BackendServiceLocalityLoadBalancingPolicyConfig(input, extensionRegistry); + } + }; + + 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.BackendServiceLocalityLoadBalancingPolicyConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.java new file mode 100644 index 000000000..88293bf62 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.java @@ -0,0 +1,963 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * The configuration for a custom policy implemented by the user and deployed with the client.
+ * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy} + */ +public final class BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) + BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder { + private static final long serialVersionUID = 0L; + // Use BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.newBuilder() to construct. + private BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy() { + data_ = ""; + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 24608082: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + data_ = s; + break; + } + case 26989658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .class, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .Builder.class); + } + + private int bitField0_; + public static final int DATA_FIELD_NUMBER = 3076010; + private volatile java.lang.Object data_; + /** + * + * + *
+   * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+   * 
+ * + * optional string data = 3076010; + * + * @return Whether the data field is set. + */ + @java.lang.Override + public boolean hasData() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+   * 
+ * + * optional string data = 3076010; + * + * @return The data. + */ + @java.lang.Override + public java.lang.String getData() { + java.lang.Object ref = data_; + 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(); + data_ = s; + return s; + } + } + /** + * + * + *
+   * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+   * 
+ * + * optional string data = 3076010; + * + * @return The bytes for data. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDataBytes() { + java.lang.Object ref = data_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + data_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3373707; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+   * 
+ * + * 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; + } + } + /** + * + * + *
+   * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+   * 
+ * + * 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; + } + } + + 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, 3076010, data_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); + } + unknownFields.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(3076010, data_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); + } + size += unknownFields.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.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy other = + (com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) + obj; + + if (hasData() != other.hasData()) return false; + if (hasData()) { + if (!getData().equals(other.getData())) return false; + } + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasData()) { + hash = (37 * hash) + DATA_FIELD_NUMBER; + hash = (53 * hash) + getData().hashCode(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + 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 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + 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 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + 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 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + 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 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + 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 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + 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 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + 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.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + 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 configuration for a custom policy implemented by the user and deployed with the client.
+   * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.class, + com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + data_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + build() { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + buildPartial() { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + result = + new com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.data_ = data_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.name_ = name_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) { + return mergeFrom( + (com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + other) { + if (other + == com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + .getDefaultInstance()) return this; + if (other.hasData()) { + bitField0_ |= 0x00000001; + data_ = other.data_; + onChanged(); + } + if (other.hasName()) { + bitField0_ |= 0x00000002; + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object data_ = ""; + /** + * + * + *
+     * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+     * 
+ * + * optional string data = 3076010; + * + * @return Whether the data field is set. + */ + public boolean hasData() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+     * 
+ * + * optional string data = 3076010; + * + * @return The data. + */ + public java.lang.String getData() { + java.lang.Object ref = data_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + data_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+     * 
+ * + * optional string data = 3076010; + * + * @return The bytes for data. + */ + public com.google.protobuf.ByteString getDataBytes() { + java.lang.Object ref = data_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + data_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+     * 
+ * + * optional string data = 3076010; + * + * @param value The data to set. + * @return This builder for chaining. + */ + public Builder setData(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + data_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+     * 
+ * + * optional string data = 3076010; + * + * @return This builder for chaining. + */ + public Builder clearData() { + bitField0_ = (bitField0_ & ~0x00000001); + data_ = getDefaultInstance().getData(); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+     * 
+ * + * optional string data = 3076010; + * + * @param value The bytes for data to set. + * @return This builder for chaining. + */ + public Builder setDataBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000001; + data_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000002; + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000002); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+     * 
+ * + * 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); + bitField0_ |= 0x00000002; + name_ = value; + 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.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) + private static final com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy(); + } + + public static com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy> + PARSER = + new com.google.protobuf.AbstractParser< + BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy>() { + @java.lang.Override + public BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy( + input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser< + BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy> + parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder.java new file mode 100644 index 000000000..2f3f748b1 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+   * 
+ * + * optional string data = 3076010; + * + * @return Whether the data field is set. + */ + boolean hasData(); + /** + * + * + *
+   * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+   * 
+ * + * optional string data = 3076010; + * + * @return The data. + */ + java.lang.String getData(); + /** + * + * + *
+   * An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
+   * 
+ * + * optional string data = 3076010; + * + * @return The bytes for data. + */ + com.google.protobuf.ByteString getDataBytes(); + + /** + * + * + *
+   * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder.java new file mode 100644 index 000000000..2e1b00220 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder.java @@ -0,0 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + * + * @return Whether the customPolicy field is set. + */ + boolean hasCustomPolicy(); + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + * + * @return The customPolicy. + */ + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy + getCustomPolicy(); + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + * + */ + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder + getCustomPolicyOrBuilder(); + + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + * + * @return Whether the policy field is set. + */ + boolean hasPolicy(); + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + * + * @return The policy. + */ + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy getPolicy(); + /** + * + * optional .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + * + */ + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder + getPolicyOrBuilder(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigPolicy.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigPolicy.java new file mode 100644 index 000000000..9d81badfc --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigPolicy.java @@ -0,0 +1,987 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * The configuration for a built-in load balancing policy.
+ * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy} + */ +public final class BackendServiceLocalityLoadBalancingPolicyConfigPolicy + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) + BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder { + private static final long serialVersionUID = 0L; + // Use BackendServiceLocalityLoadBalancingPolicyConfigPolicy.newBuilder() to construct. + private BackendServiceLocalityLoadBalancingPolicyConfigPolicy( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private BackendServiceLocalityLoadBalancingPolicyConfigPolicy() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new BackendServiceLocalityLoadBalancingPolicyConfigPolicy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private BackendServiceLocalityLoadBalancingPolicyConfigPolicy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26989658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.class, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .Builder.class); + } + + /** + * + * + *
+   * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Name} + */ + public enum Name implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_NAME = 0; + */ + UNDEFINED_NAME(0), + /** INVALID_LB_POLICY = 323318707; */ + INVALID_LB_POLICY(323318707), + /** + * + * + *
+     * An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests.
+     * 
+ * + * LEAST_REQUEST = 46604921; + */ + LEAST_REQUEST(46604921), + /** + * + * + *
+     * This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824
+     * 
+ * + * MAGLEV = 119180266; + */ + MAGLEV(119180266), + /** + * + * + *
+     * Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer.
+     * 
+ * + * ORIGINAL_DESTINATION = 166297216; + */ + ORIGINAL_DESTINATION(166297216), + /** + * + * + *
+     * The load balancer selects a random healthy host.
+     * 
+ * + * RANDOM = 262527171; + */ + RANDOM(262527171), + /** + * + * + *
+     * The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.
+     * 
+ * + * RING_HASH = 432795069; + */ + RING_HASH(432795069), + /** + * + * + *
+     * This is a simple policy in which each healthy backend is selected in round robin order. This is the default.
+     * 
+ * + * ROUND_ROBIN = 153895801; + */ + ROUND_ROBIN(153895801), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_NAME = 0; + */ + public static final int UNDEFINED_NAME_VALUE = 0; + /** INVALID_LB_POLICY = 323318707; */ + public static final int INVALID_LB_POLICY_VALUE = 323318707; + /** + * + * + *
+     * An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests.
+     * 
+ * + * LEAST_REQUEST = 46604921; + */ + public static final int LEAST_REQUEST_VALUE = 46604921; + /** + * + * + *
+     * This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824
+     * 
+ * + * MAGLEV = 119180266; + */ + public static final int MAGLEV_VALUE = 119180266; + /** + * + * + *
+     * Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer.
+     * 
+ * + * ORIGINAL_DESTINATION = 166297216; + */ + public static final int ORIGINAL_DESTINATION_VALUE = 166297216; + /** + * + * + *
+     * The load balancer selects a random healthy host.
+     * 
+ * + * RANDOM = 262527171; + */ + public static final int RANDOM_VALUE = 262527171; + /** + * + * + *
+     * The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests.
+     * 
+ * + * RING_HASH = 432795069; + */ + public static final int RING_HASH_VALUE = 432795069; + /** + * + * + *
+     * This is a simple policy in which each healthy backend is selected in round robin order. This is the default.
+     * 
+ * + * ROUND_ROBIN = 153895801; + */ + public static final int ROUND_ROBIN_VALUE = 153895801; + + 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 Name 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 Name forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_NAME; + case 323318707: + return INVALID_LB_POLICY; + case 46604921: + return LEAST_REQUEST; + case 119180266: + return MAGLEV; + case 166297216: + return ORIGINAL_DESTINATION; + case 262527171: + return RANDOM; + case 432795069: + return RING_HASH; + case 153895801: + return ROUND_ROBIN; + 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 Name findValueByNumber(int number) { + return Name.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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final Name[] VALUES = values(); + + public static Name 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 Name(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.Name) + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 3373707; + private volatile java.lang.Object name_; + /** + * + * + *
+   * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+   * Check the Name enum for the list of possible values.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+   * Check the Name enum for the list of possible values.
+   * 
+ * + * 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 a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+   * Check the Name enum for the list of possible values.
+   * 
+ * + * 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; + } + } + + 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, 3373707, name_); + } + unknownFields.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(3373707, name_); + } + size += unknownFields.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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy other = + (com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) obj; + + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + 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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + 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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + 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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + 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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + 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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + 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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + 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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy 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 configuration for a built-in load balancing policy.
+   * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .class, + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + 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_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + build() { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + buildPartial() { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy result = + new com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.name_ = name_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) { + return mergeFrom( + (com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy other) { + if (other + == com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + .getDefaultInstance()) return this; + if (other.hasName()) { + bitField0_ |= 0x00000001; + name_ = other.name_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+     * Check the Name enum for the list of possible values.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+     * Check the Name enum for the list of possible values.
+     * 
+ * + * 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 a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+     * Check the Name enum for the list of possible values.
+     * 
+ * + * 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 a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+     * Check the Name enum for the list of possible values.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+     * Check the Name enum for the list of possible values.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+     * Check the Name enum for the list of possible values.
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + name_ = value; + 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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) + private static final com.google.cloud.compute.v1 + .BackendServiceLocalityLoadBalancingPolicyConfigPolicy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy(); + } + + public static com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + BackendServiceLocalityLoadBalancingPolicyConfigPolicy> + PARSER = + new com.google.protobuf.AbstractParser< + BackendServiceLocalityLoadBalancingPolicyConfigPolicy>() { + @java.lang.Override + public BackendServiceLocalityLoadBalancingPolicyConfigPolicy parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new BackendServiceLocalityLoadBalancingPolicyConfigPolicy( + input, extensionRegistry); + } + }; + + 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.BackendServiceLocalityLoadBalancingPolicyConfigPolicy + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder.java new file mode 100644 index 000000000..f81cbb60d --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder.java @@ -0,0 +1,65 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface BackendServiceLocalityLoadBalancingPolicyConfigPolicyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigPolicy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+   * Check the Name enum for the list of possible values.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+   * Check the Name enum for the list of possible values.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected.
+   * Check the Name enum for the list of possible values.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceOrBuilder.java index 9fd06ed9f..45975377e 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/BackendServiceOrBuilder.java @@ -759,6 +759,73 @@ public interface BackendServiceOrBuilder */ com.google.protobuf.ByteString getLoadBalancingSchemeBytes(); + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + java.util.List + getLocalityLbPoliciesList(); + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig getLocalityLbPolicies( + int index); + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + int getLocalityLbPoliciesCount(); + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + java.util.List< + ? extends + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder> + getLocalityLbPoliciesOrBuilderList(); + /** + * + * + *
+   * A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + * + */ + com.google.cloud.compute.v1.BackendServiceLocalityLoadBalancingPolicyConfigOrBuilder + getLocalityLbPoliciesOrBuilder(int index); + /** * * @@ -1285,7 +1352,7 @@ public interface BackendServiceOrBuilder * * *
-   * 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. Instead, use maxStreamDuration.
+   * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration.
    * 
* * optional int32 timeout_sec = 79994995; @@ -1297,7 +1364,7 @@ public interface BackendServiceOrBuilder * * *
-   * 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. Instead, use maxStreamDuration.
+   * The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration.
    * 
* * optional int32 timeout_sec = 79994995; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CircuitBreakers.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CircuitBreakers.java index 95b3f7509..3e584c8ea 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CircuitBreakers.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CircuitBreakers.java @@ -140,7 +140,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * 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.
+   * 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.
    * 
* * optional int32 max_connections = 110652154; @@ -155,7 +155,7 @@ public boolean hasMaxConnections() { * * *
-   * 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.
+   * 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.
    * 
* * optional int32 max_connections = 110652154; @@ -173,7 +173,7 @@ public int getMaxConnections() { * * *
-   * 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.
+   * The maximum number of pending requests allowed 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.
    * 
* * optional int32 max_pending_requests = 375558887; @@ -188,7 +188,7 @@ public boolean hasMaxPendingRequests() { * * *
-   * 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.
+   * The maximum number of pending requests allowed 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.
    * 
* * optional int32 max_pending_requests = 375558887; @@ -239,7 +239,7 @@ public int getMaxRequests() { * * *
-   * 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.
+   * Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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.
    * 
* * optional int32 max_requests_per_connection = 361630528; @@ -254,7 +254,7 @@ public boolean hasMaxRequestsPerConnection() { * * *
-   * 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.
+   * Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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.
    * 
* * optional int32 max_requests_per_connection = 361630528; @@ -272,7 +272,7 @@ public int getMaxRequestsPerConnection() { * * *
-   * 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.
+   * The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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.
    * 
* * optional int32 max_retries = 55546219; @@ -287,7 +287,7 @@ public boolean hasMaxRetries() { * * *
-   * 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.
+   * The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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.
    * 
* * optional int32 max_retries = 55546219; @@ -727,7 +727,7 @@ public Builder mergeFrom( * * *
-     * 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.
+     * 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.
      * 
* * optional int32 max_connections = 110652154; @@ -742,7 +742,7 @@ public boolean hasMaxConnections() { * * *
-     * 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.
+     * 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.
      * 
* * optional int32 max_connections = 110652154; @@ -757,7 +757,7 @@ public int getMaxConnections() { * * *
-     * 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.
+     * 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.
      * 
* * optional int32 max_connections = 110652154; @@ -775,7 +775,7 @@ public Builder setMaxConnections(int value) { * * *
-     * 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.
+     * 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.
      * 
* * optional int32 max_connections = 110652154; @@ -794,7 +794,7 @@ public Builder clearMaxConnections() { * * *
-     * 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.
+     * The maximum number of pending requests allowed 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.
      * 
* * optional int32 max_pending_requests = 375558887; @@ -809,7 +809,7 @@ public boolean hasMaxPendingRequests() { * * *
-     * 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.
+     * The maximum number of pending requests allowed 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.
      * 
* * optional int32 max_pending_requests = 375558887; @@ -824,7 +824,7 @@ public int getMaxPendingRequests() { * * *
-     * 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.
+     * The maximum number of pending requests allowed 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.
      * 
* * optional int32 max_pending_requests = 375558887; @@ -842,7 +842,7 @@ public Builder setMaxPendingRequests(int value) { * * *
-     * 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.
+     * The maximum number of pending requests allowed 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.
      * 
* * optional int32 max_pending_requests = 375558887; @@ -928,7 +928,7 @@ public Builder clearMaxRequests() { * * *
-     * 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.
+     * Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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.
      * 
* * optional int32 max_requests_per_connection = 361630528; @@ -943,7 +943,7 @@ public boolean hasMaxRequestsPerConnection() { * * *
-     * 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.
+     * Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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.
      * 
* * optional int32 max_requests_per_connection = 361630528; @@ -958,7 +958,7 @@ public int getMaxRequestsPerConnection() { * * *
-     * 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.
+     * Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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.
      * 
* * optional int32 max_requests_per_connection = 361630528; @@ -976,7 +976,7 @@ public Builder setMaxRequestsPerConnection(int value) { * * *
-     * 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.
+     * Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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.
      * 
* * optional int32 max_requests_per_connection = 361630528; @@ -995,7 +995,7 @@ public Builder clearMaxRequestsPerConnection() { * * *
-     * 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.
+     * The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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.
      * 
* * optional int32 max_retries = 55546219; @@ -1010,7 +1010,7 @@ public boolean hasMaxRetries() { * * *
-     * 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.
+     * The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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.
      * 
* * optional int32 max_retries = 55546219; @@ -1025,7 +1025,7 @@ public int getMaxRetries() { * * *
-     * 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.
+     * The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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.
      * 
* * optional int32 max_retries = 55546219; @@ -1043,7 +1043,7 @@ public Builder setMaxRetries(int value) { * * *
-     * 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.
+     * The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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.
      * 
* * optional int32 max_retries = 55546219; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CircuitBreakersOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CircuitBreakersOrBuilder.java index 41f84bbff..bf2e8548b 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CircuitBreakersOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CircuitBreakersOrBuilder.java @@ -27,7 +27,7 @@ public interface CircuitBreakersOrBuilder * * *
-   * 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.
+   * 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.
    * 
* * optional int32 max_connections = 110652154; @@ -39,7 +39,7 @@ public interface CircuitBreakersOrBuilder * * *
-   * 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.
+   * 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.
    * 
* * optional int32 max_connections = 110652154; @@ -52,7 +52,7 @@ public interface CircuitBreakersOrBuilder * * *
-   * 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.
+   * The maximum number of pending requests allowed 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.
    * 
* * optional int32 max_pending_requests = 375558887; @@ -64,7 +64,7 @@ public interface CircuitBreakersOrBuilder * * *
-   * 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.
+   * The maximum number of pending requests allowed 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.
    * 
* * optional int32 max_pending_requests = 375558887; @@ -102,7 +102,7 @@ public interface CircuitBreakersOrBuilder * * *
-   * 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.
+   * Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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.
    * 
* * optional int32 max_requests_per_connection = 361630528; @@ -114,7 +114,7 @@ public interface CircuitBreakersOrBuilder * * *
-   * 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.
+   * Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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.
    * 
* * optional int32 max_requests_per_connection = 361630528; @@ -127,7 +127,7 @@ public interface CircuitBreakersOrBuilder * * *
-   * 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.
+   * The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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.
    * 
* * optional int32 max_retries = 55546219; @@ -139,7 +139,7 @@ public interface CircuitBreakersOrBuilder * * *
-   * 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.
+   * The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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.
    * 
* * optional int32 max_retries = 55546219; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..7c957bb5e --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesNetworkFirewallPolicyRequest.java @@ -0,0 +1,1285 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.CloneRules. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest} + */ +public final class CloneRulesNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest) + CloneRulesNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloneRulesNetworkFirewallPolicyRequest.newBuilder() to construct. + private CloneRulesNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CloneRulesNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + requestId_ = ""; + sourceFirewallPolicy_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CloneRulesNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CloneRulesNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 200108394: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + sourceFirewallPolicy_ = s; + break; + } + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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 SOURCE_FIREWALL_POLICY_FIELD_NUMBER = 25013549; + private volatile java.lang.Object sourceFirewallPolicy_; + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return Whether the sourceFirewallPolicy field is set. + */ + @java.lang.Override + public boolean hasSourceFirewallPolicy() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The sourceFirewallPolicy. + */ + @java.lang.Override + public java.lang.String getSourceFirewallPolicy() { + java.lang.Object ref = sourceFirewallPolicy_; + 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(); + sourceFirewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The bytes for sourceFirewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceFirewallPolicyBytes() { + java.lang.Object ref = sourceFirewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceFirewallPolicy_ = 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, 25013549, sourceFirewallPolicy_); + } + 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(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(25013549, sourceFirewallPolicy_); + } + 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(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.CloneRulesNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) 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 (hasSourceFirewallPolicy() != other.hasSourceFirewallPolicy()) return false; + if (hasSourceFirewallPolicy()) { + if (!getSourceFirewallPolicy().equals(other.getSourceFirewallPolicy())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().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 (hasSourceFirewallPolicy()) { + hash = (37 * hash) + SOURCE_FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getSourceFirewallPolicy().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest 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.CloneRulesNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest 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.CloneRulesNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest 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.CloneRulesNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest 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.CloneRulesNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest + 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.CloneRulesNetworkFirewallPolicyRequest 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.CloneRulesNetworkFirewallPolicyRequest 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.CloneRulesNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.CloneRules. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + project_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + sourceFirewallPolicy_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_CloneRulesNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + result.project_ = project_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.sourceFirewallPolicy_ = sourceFirewallPolicy_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.CloneRulesNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + if (other.hasSourceFirewallPolicy()) { + bitField0_ |= 0x00000002; + sourceFirewallPolicy_ = other.sourceFirewallPolicy_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + 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; + 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(); + 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; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + onChanged(); + return this; + } + + private java.lang.Object sourceFirewallPolicy_ = ""; + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return Whether the sourceFirewallPolicy field is set. + */ + public boolean hasSourceFirewallPolicy() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The sourceFirewallPolicy. + */ + public java.lang.String getSourceFirewallPolicy() { + java.lang.Object ref = sourceFirewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceFirewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The bytes for sourceFirewallPolicy. + */ + public com.google.protobuf.ByteString getSourceFirewallPolicyBytes() { + java.lang.Object ref = sourceFirewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceFirewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @param value The sourceFirewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setSourceFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + sourceFirewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return This builder for chaining. + */ + public Builder clearSourceFirewallPolicy() { + bitField0_ = (bitField0_ & ~0x00000002); + sourceFirewallPolicy_ = getDefaultInstance().getSourceFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @param value The bytes for sourceFirewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setSourceFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + sourceFirewallPolicy_ = value; + 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.CloneRulesNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloneRulesNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloneRulesNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.CloneRulesNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..f49059f7d --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,153 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface CloneRulesNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.CloneRulesNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * 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 firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return Whether the sourceFirewallPolicy field is set. + */ + boolean hasSourceFirewallPolicy(); + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The sourceFirewallPolicy. + */ + java.lang.String getSourceFirewallPolicy(); + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The bytes for sourceFirewallPolicy. + */ + com.google.protobuf.ByteString getSourceFirewallPolicyBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..78872c988 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1485 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.CloneRules. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest} + */ +public final class CloneRulesRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest) + CloneRulesRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use CloneRulesRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private CloneRulesRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private CloneRulesRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + sourceFirewallPolicy_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new CloneRulesRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private CloneRulesRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 200108394: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + sourceFirewallPolicy_ = s; + break; + } + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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 SOURCE_FIREWALL_POLICY_FIELD_NUMBER = 25013549; + private volatile java.lang.Object sourceFirewallPolicy_; + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return Whether the sourceFirewallPolicy field is set. + */ + @java.lang.Override + public boolean hasSourceFirewallPolicy() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The sourceFirewallPolicy. + */ + @java.lang.Override + public java.lang.String getSourceFirewallPolicy() { + java.lang.Object ref = sourceFirewallPolicy_; + 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(); + sourceFirewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The bytes for sourceFirewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSourceFirewallPolicyBytes() { + java.lang.Object ref = sourceFirewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceFirewallPolicy_ = 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, 25013549, sourceFirewallPolicy_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(25013549, sourceFirewallPolicy_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.CloneRulesRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (hasSourceFirewallPolicy() != other.hasSourceFirewallPolicy()) return false; + if (hasSourceFirewallPolicy()) { + if (!getSourceFirewallPolicy().equals(other.getSourceFirewallPolicy())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + if (hasSourceFirewallPolicy()) { + hash = (37 * hash) + SOURCE_FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getSourceFirewallPolicy().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest 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.CloneRulesRegionNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest 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.CloneRulesRegionNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest 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.CloneRulesRegionNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest 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.CloneRulesRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest + 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.CloneRulesRegionNetworkFirewallPolicyRequest 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.CloneRulesRegionNetworkFirewallPolicyRequest 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.CloneRulesRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.CloneRules. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + sourceFirewallPolicy_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_CloneRulesRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.sourceFirewallPolicy_ = sourceFirewallPolicy_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + if (other.hasSourceFirewallPolicy()) { + bitField0_ |= 0x00000002; + sourceFirewallPolicy_ = other.sourceFirewallPolicy_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + onChanged(); + return this; + } + + private java.lang.Object sourceFirewallPolicy_ = ""; + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return Whether the sourceFirewallPolicy field is set. + */ + public boolean hasSourceFirewallPolicy() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The sourceFirewallPolicy. + */ + public java.lang.String getSourceFirewallPolicy() { + java.lang.Object ref = sourceFirewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sourceFirewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The bytes for sourceFirewallPolicy. + */ + public com.google.protobuf.ByteString getSourceFirewallPolicyBytes() { + java.lang.Object ref = sourceFirewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sourceFirewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @param value The sourceFirewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setSourceFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + sourceFirewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return This builder for chaining. + */ + public Builder clearSourceFirewallPolicy() { + bitField0_ = (bitField0_ & ~0x00000002); + sourceFirewallPolicy_ = getDefaultInstance().getSourceFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * The firewall policy from which to copy rules.
+     * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @param value The bytes for sourceFirewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setSourceFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000002; + sourceFirewallPolicy_ = value; + 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.CloneRulesRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CloneRulesRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CloneRulesRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.CloneRulesRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..1cb0bf233 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CloneRulesRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,182 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface CloneRulesRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.CloneRulesRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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 firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return Whether the sourceFirewallPolicy field is set. + */ + boolean hasSourceFirewallPolicy(); + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The sourceFirewallPolicy. + */ + java.lang.String getSourceFirewallPolicy(); + /** + * + * + *
+   * The firewall policy from which to copy rules.
+   * 
+ * + * optional string source_firewall_policy = 25013549; + * + * @return The bytes for sourceFirewallPolicy. + */ + com.google.protobuf.ByteString getSourceFirewallPolicyBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java index b6b0e43b1..93ae64e31 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Compute.java @@ -75,6 +75,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_AddAssociationFirewallPolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_AddAssociationFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_AddAssociationNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_AddAssociationNetworkFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_AddAssociationRegionNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_AddAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_AddHealthCheckTargetPoolRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -111,6 +119,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_AddRuleFirewallPolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_AddRuleFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_AddRuleNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_AddRuleNetworkFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_AddRuleRegionNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_AddRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_AddRuleSecurityPolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -203,6 +219,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_AggregatedListMachineTypesRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_AggregatedListMachineTypesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_AggregatedListNetworkEdgeSecurityServicesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_AggregatedListNetworkEdgeSecurityServicesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_AggregatedListNetworkEndpointGroupsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -243,6 +263,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_AggregatedListRoutersRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_AggregatedListRoutersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_AggregatedListSecurityPoliciesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_AggregatedListSecurityPoliciesRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_AggregatedListServiceAttachmentsRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -483,6 +507,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_BackendServiceList_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_BackendServiceList_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_BackendServiceLogConfig_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -547,6 +583,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_CloneRulesFirewallPolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_CloneRulesFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_Commitment_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -739,10 +783,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_DeleteMachineImageRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_DeleteMachineImageRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_DeleteNetworkEndpointGroupRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_DeleteNetworkEndpointGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_DeleteNetworkRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -807,6 +859,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_DeleteRegionNetworkEndpointGroupRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_DeleteRegionNetworkEndpointGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_DeleteRegionNotificationEndpointRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -819,6 +875,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_DeleteRegionOperationResponse_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_DeleteRegionOperationResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_DeleteRegionSslCertificateRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1139,6 +1199,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcherLayer4Config_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcherLayer4Config_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_FixedOrPercent_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1191,6 +1255,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetAssociationFirewallPolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetAssociationFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetAutoscalerRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1223,6 +1295,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetEffectiveFirewallsNetworkRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetEffectiveFirewallsNetworkRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetExternalVpnGatewayRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1315,6 +1391,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1327,6 +1407,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1403,10 +1487,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetNetworkRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1479,6 +1571,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1491,6 +1587,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetRegionRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetRegionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1531,6 +1631,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1553,135 +1661,135 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetSnapshotRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetSnapshotRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetSslCertificateRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetSslCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetSslPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetSslPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetSubnetworkRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetSubnetworkRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetTargetPoolRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetTargetPoolRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetUrlMapRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetUrlMapRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetZoneOperationRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetZoneOperationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GetZoneRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GetZoneRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GuestAttributes_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GuestAttributes_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GuestAttributesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GuestAttributesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GuestAttributesValue_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GuestAttributesValue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_GuestOsFeature_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_GuestOsFeature_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_HTTP2HealthCheck_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_HTTP2HealthCheck_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor + static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_HTTPHealthCheck_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_HTTPHealthCheck_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_HTTPSHealthCheck_descriptor; @@ -1903,10 +2011,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_InsertMachineImageRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_InsertMachineImageRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_InsertNetworkRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -1963,10 +2079,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -2251,6 +2375,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_InstanceMoveRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_InstanceMoveRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InstanceParams_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InstanceParams_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_InstanceParams_ResourceManagerTagsEntry_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_InstanceParams_ResourceManagerTagsEntry_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_InstanceProperties_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -2603,6 +2735,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_ListNetworksRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -2695,6 +2831,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -2703,6 +2843,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -2935,6 +3079,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_Network_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_Network_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_ItemsEntry_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_ItemsEntry_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_NetworkEndpoint_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3271,6 +3431,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_PatchInterconnectRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_PatchInterconnectRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_PatchNetworkRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3319,6 +3487,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3331,6 +3511,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3587,6 +3775,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_RegionList_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_RegionList_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3611,6 +3807,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3643,6 +3847,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3923,10 +4135,22 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_Screenshot_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_Screenshot_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_ItemsEntry_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_ItemsEntry_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -3947,6 +4171,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_SecurityPolicyList_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -4107,6 +4335,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -4119,6 +4351,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -4719,6 +4955,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -4735,6 +4975,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_fieldAccessorTable; + static com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor; + static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_fieldAccessorTable; static com.google.protobuf.Descriptors.Descriptor internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_descriptor; static com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -5172,218 +5416,201 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "cyAssociationB\003\340A\002\022,\n\034replace_existing_a" + "ssociation\030\370\260\365c \001(\010H\000\210\001\001\022\032\n\nrequest_id\030\313" + "\201\331\021 \001(\tH\001\210\001\001B\037\n\035_replace_existing_associ" - + "ationB\r\n\013_request_id\"\251\002\n\037AddHealthCheckT" - + "argetPoolRequest\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\001\022\033\n\013targ" - + "et_pool\030\212\344\370\035 \001(\tB\003\340A\002\022z\n.target_pools_ad" - + "d_health_check_request_resource\030\244\272\305\200\001 \001(" - + "\01329.google.cloud.compute.v1.TargetPoolsA" - + "ddHealthCheckRequestB\003\340A\002B\r\n\013_request_id" - + "\"\237\002\n\034AddInstanceTargetPoolRequest\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\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\022s" - + "\n*target_pools_add_instance_request_reso" - + "urce\030\364\323\273\314\001 \001(\01326.google.cloud.compute.v1" - + ".TargetPoolsAddInstanceRequestB\003\340A\002B\r\n\013_" - + "request_id\"\252\002\n AddInstancesInstanceGroup" - + "Request\022\036\n\016instance_group\030\325\324\325& \001(\tB\003\340A\002\022" - + "{\n.instance_groups_add_instances_request" - + "_resource\030\336\272\254\330\001 \001(\0132:.google.cloud.compu" - + "te.v1.InstanceGroupsAddInstancesRequestB" - + "\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022" + + "ationB\r\n\013_request_id\"\325\002\n*AddAssociationN" + + "etworkFirewallPolicyRequest\022 \n\017firewall_" + + "policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022h\n$firewall_policy" + + "_association_resource\030\272\270\341{ \001(\01322.google." + + "cloud.compute.v1.FirewallPolicyAssociati" + + "onB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" + + "ct\022,\n\034replace_existing_association\030\370\260\365c " + + "\001(\010H\000\210\001\001\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\037\n\035" + + "_replace_existing_associationB\r\n\013_reques" + + "t_id\"\374\002\n0AddAssociationRegionNetworkFire" + + "wallPolicyRequest\022 \n\017firewall_policy\030\321\212\306" + + "\355\001 \001(\tB\003\340A\002\022h\n$firewall_policy_associati" + + "on_resource\030\272\270\341{ \001(\01322.google.cloud.comp" + + "ute.v1.FirewallPolicyAssociationB\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,\n\034replace_exi" + + "sting_association\030\370\260\365c \001(\010H\000\210\001\001\022\032\n\nreque" + + "st_id\030\313\201\331\021 \001(\tH\001\210\001\001B\037\n\035_replace_existing" + + "_associationB\r\n\013_request_id\"\251\002\n\037AddHealt" + + "hCheckTargetPoolRequest\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" + + "\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002\022z\n.target_p" + + "ools_add_health_check_request_resource\030\244" + + "\272\305\200\001 \001(\01329.google.cloud.compute.v1.Targe" + + "tPoolsAddHealthCheckRequestB\003\340A\002B\r\n\013_req" + + "uest_id\"\237\002\n\034AddInstanceTargetPoolRequest" + + "\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\013target_pool\030\212\344\370\035 \001(\t" + + "B\003\340A\002\022s\n*target_pools_add_instance_reque" + + "st_resource\030\364\323\273\314\001 \001(\01326.google.cloud.com" + + "pute.v1.TargetPoolsAddInstanceRequestB\003\340" + + "A\002B\r\n\013_request_id\"\252\002\n AddInstancesInstan" + + "ceGroupRequest\022\036\n\016instance_group\030\325\324\325& \001(" + + "\tB\003\340A\002\022{\n.instance_groups_add_instances_" + + "request_resource\030\336\272\254\330\001 \001(\0132:.google.clou" + + "d.compute.v1.InstanceGroupsAddInstancesR" + + "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\"\216" + + "\002\n\030AddNodesNodeGroupRequest\022\033\n\nnode_grou" + + "p\030\202\374\213\340\001 \001(\tB\003\340A\002\022j\n&node_groups_add_node" + + "s_request_resource\030\270\326\313> \001(\01322.google.clo" + + "ud.compute.v1.NodeGroupsAddNodesRequestB" + + "\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\"\216\002\n\030AddN" - + "odesNodeGroupRequest\022\033\n\nnode_group\030\202\374\213\340\001" - + " \001(\tB\003\340A\002\022j\n&node_groups_add_nodes_reque" - + "st_resource\030\270\326\313> \001(\01322.google.cloud.comp" - + "ute.v1.NodeGroupsAddNodesRequestB\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\"\355\001\n\030AddPeeringN" - + "etworkRequest\022\027\n\007network\030\256\264\205o \001(\tB\003\340A\002\022j" - + "\n%networks_add_peering_request_resource\030" - + "\265\215\263\271\001 \001(\01322.google.cloud.compute.v1.Netw" - + "orksAddPeeringRequestB\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\"\232\002\n\036AddResource" - + "PoliciesDiskRequest\022\024\n\004disk\030\235\233\274\001 \001(\tB\003\340A" - + "\002\022w\n,disks_add_resource_policies_request" - + "_resource\030\243\370\336\354\001 \001(\01328.google.cloud.compu" - + "te.v1.DisksAddResourcePoliciesRequestB\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\"\252\002\n\"AddRes" - + "ourcePoliciesInstanceRequest\022\030\n\010instance" - + "\030\225\251\332\010 \001(\tB\003\340A\002\022\177\n0instances_add_resource" - + "_policies_request_resource\030\233\326\253\351\001 \001(\0132<.g" - + "oogle.cloud.compute.v1.InstancesAddResou" - + "rcePoliciesRequestB\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\"\262\002\n$AddResourcePoliciesRegion" - + "DiskRequest\022\024\n\004disk\030\235\233\274\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\204\001\n3region_disks_a" - + "dd_resource_policies_request_resource\030\216\377" - + "\301\207\001 \001(\0132>.google.cloud.compute.v1.Region" - + "DisksAddResourcePoliciesRequestB\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\"" - + "\307\001\n\034AddRuleFirewallPolicyRequest\022 \n\017fire" - + "wall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035firewall_p" - + "olicy_rule_resource\030\203\337\272w \001(\0132+.google.cl" - + "oud.compute.v1.FirewallPolicyRuleB\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\"\277\001\n\034AddRuleSecurityPolicyRequest\022!\n\007pr" - + "oject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\017securit" - + "y_policy\030\221\206\312Q \001(\tB\003\340A\002\022[\n\035security_polic" - + "y_rule_resource\030\303\272\202\300\001 \001(\0132+.google.cloud" - + ".compute.v1.SecurityPolicyRuleB\003\340A\002\"\344\001\n#" - + "AddSignedUrlKeyBackendBucketRequest\022\036\n\016b" - + "ackend_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(\tH\000\210\001\001\022O\n\027signed_url_key_resource\030\201\243" - + "\233\332\001 \001(\0132%.google.cloud.compute.v1.Signed" - + "UrlKeyB\003\340A\002B\r\n\013_request_id\"\347\001\n$AddSigned" - + "UrlKeyBackendServiceRequest\022 \n\017backend_s" - + "ervice\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\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001\022O\n\027signed_url_key_resource\030\201\243\233\332\001 \001(" - + "\0132%.google.cloud.compute.v1.SignedUrlKey" - + "B\003\340A\002B\r\n\013_request_id\"\240\n\n\007Address\022\030\n\007addr" - + "ess\030\364\267\336\334\001 \001(\tH\000\210\001\001\022\034\n\014address_type\030\245\211\204~ " - + "\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\020\n\002id" - + "\030\233\032 \001(\004H\004\210\001\001\022\033\n\nip_version\030\300\363\322\214\001 \001(\tH\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(\t" - + "H\007\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\010\210\001\001\022\035\n\014networ" - + "k_tier\030\323\272\333\366\001 \001(\tH\t\210\001\001\022\036\n\rprefix_length\030\263" - + "\272\243\330\001 \001(\005H\n\210\001\001\022\030\n\007purpose\030\236\372\357\226\001 \001(\tH\013\210\001\001\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\022\033\n\ns" - + "ubnetwork\030\356\247\344\222\001 \001(\tH\017\210\001\001\022\020\n\005users\030\210\234\2325 \003" - + "(\t\"e\n\013AddressType\022\032\n\026UNDEFINED_ADDRESS_T" - + "YPE\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\020\n\010INTERNAL\020\275\355\226\205\001" - + "\022\027\n\020UNSPECIFIED_TYPE\020\342\356\333\031\"[\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\022\032\n\023UNSPECIFIED_VERSION\020\220\317\265\n\"\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\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\"\316\001\n\007Purpose\022\025\n\021" - + "UNDEFINED_PURPOSE\020\000\022\024\n\014DNS_RESOLVER\020\374\334\203\343" - + "\001\022\023\n\014GCE_ENDPOINT\020\253\304\365m\022\032\n\022IPSEC_INTERCON" - + "NECT\020\203\322\252\242\001\022\017\n\010NAT_AUTO\020\255\264\205N\022\036\n\027PRIVATE_S" - + "ERVICE_CONNECT\020\304\364\371\026\022\037\n\027SHARED_LOADBALANC" - + "ER_VIP\020\324\323\263\214\001\022\023\n\013VPC_PEERING\020\252\363\216\277\001\"R\n\006Sta" - + "tus\022\024\n\020UNDEFINED_STATUS\020\000\022\r\n\006IN_USE\020\315\316\245\010" - + "\022\020\n\010RESERVED\020\250\366\215\316\001\022\021\n\tRESERVING\020\331\364\257\365\001B\n\n" - + "\010_addressB\017\n\r_address_typeB\025\n\023_creation_" - + "timestampB\016\n\014_descriptionB\005\n\003_idB\r\n\013_ip_" - + "versionB\007\n\005_kindB\007\n\005_nameB\n\n\010_networkB\017\n" - + "\r_network_tierB\020\n\016_prefix_lengthB\n\n\010_pur" - + "poseB\t\n\007_regionB\014\n\n_self_linkB\t\n\007_status" - + "B\r\n\013_subnetwork\"\267\003\n\025AddressAggregatedLis" - + "t\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.AddressAggregate" - + "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\032Z\n\nItemsEntry\022\013\n" - + "\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.cloud" - + ".compute.v1.AddressesScopedList:\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\"\237\002\n\013AddressList\022\020\n\002id\030" - + "\233\032 \001(\tH\000\210\001\001\0222\n\005items\030\300\317\367/ \003(\0132 .google.c" - + "loud.compute.v1.Address\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\0229\n\007warning\030\234\337" - + "\226\030 \001(\0132 .google.cloud.compute.v1.Warning" - + "H\004\210\001\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\"\225\001\n\023Addresse" - + "sScopedList\0227\n\taddresses\030\242\367\201\241\001 \003(\0132 .goo" - + "gle.cloud.compute.v1.Address\0229\n\007warning\030" - + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" - + "ngH\000\210\001\001B\n\n\010_warning\"\344\001\n\027AdvancedMachineF" - + "eatures\022,\n\034enable_nested_virtualization\030" - + "\205\313\367\007 \001(\010H\000\210\001\001\022\'\n\026enable_uefi_networking\030" - + "\244\261\277\237\001 \001(\010H\001\210\001\001\022!\n\020threads_per_core\030\327\332\221\250\001" - + " \001(\005H\002\210\001\001B\037\n\035_enable_nested_virtualizati" - + "onB\031\n\027_enable_uefi_networkingB\023\n\021_thread" - + "s_per_core\"\343\002\n%AggregatedListAccelerator" - + "TypesRequest\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\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" - + "_success\"\334\002\n\036AggregatedListAddressesRequ" - + "est\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\001B\t\n\007_filterB\025\n\023_include_al" - + "l_scopesB\016\n\014_max_resultsB\013\n\t_order_byB\r\n" - + "\013_page_tokenB\031\n\027_return_partial_success\"" - + "\336\002\n AggregatedListAutoscalersRequest\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\001B\t\n\007_filterB\025\n\023_include_all_scope" - + "sB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_" - + "tokenB\031\n\027_return_partial_success\"\342\002\n$Agg" - + "regatedListBackendServicesRequest\022\027\n\006fil" - + "ter\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_t" - + "oken\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\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_success\"\334\002\n\036Aggreg" - + "atedListDiskTypesRequest\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\001B\t\n\007_" - + "filterB\025\n\023_include_all_scopesB\016\n\014_max_re" - + "sultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_re" - + "turn_partial_success\"\330\002\n\032AggregatedListD" - + "isksRequest\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\001B\t\n\007_filterB\025\n\023_in" - + "clude_all_scopesB\016\n\014_max_resultsB\013\n\t_ord" - + "er_byB\r\n\013_page_tokenB\031\n\027_return_partial_" - + "success\"\342\002\n$AggregatedListForwardingRule" - + "sRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022inc" - + "lude_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_re" - + "sults\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\t" - + "H\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\004\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\005\210\001\001B\t\n\007_filterB\025\n\023_inclu" - + "de_all_scopesB\016\n\014_max_resultsB\013\n\t_order_" - + "byB\r\n\013_page_tokenB\031\n\027_return_partial_suc" - + "cess\"\343\002\n%AggregatedListGlobalOperationsR" - + "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\001B\t\n\007_filterB\025\n\023_include" - + "_all_scopesB\016\n\014_max_resultsB\013\n\t_order_by" - + "B\r\n\013_page_tokenB\031\n\027_return_partial_succe" - + "ss\"\337\002\n!AggregatedListHealthChecksRequest" + + " \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\355\001\n\030AddP" + + "eeringNetworkRequest\022\027\n\007network\030\256\264\205o \001(\t" + + "B\003\340A\002\022j\n%networks_add_peering_request_re" + + "source\030\265\215\263\271\001 \001(\01322.google.cloud.compute." + + "v1.NetworksAddPeeringRequestB\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\"\232\002\n\036AddR" + + "esourcePoliciesDiskRequest\022\024\n\004disk\030\235\233\274\001 " + + "\001(\tB\003\340A\002\022w\n,disks_add_resource_policies_" + + "request_resource\030\243\370\336\354\001 \001(\01328.google.clou" + + "d.compute.v1.DisksAddResourcePoliciesReq" + + "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\"\252\002\n" + + "\"AddResourcePoliciesInstanceRequest\022\030\n\010i" + + "nstance\030\225\251\332\010 \001(\tB\003\340A\002\022\177\n0instances_add_r" + + "esource_policies_request_resource\030\233\326\253\351\001 " + + "\001(\0132<.google.cloud.compute.v1.InstancesA" + + "ddResourcePoliciesRequestB\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\"\262\002\n$AddResourcePolicie" + + "sRegionDiskRequest\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\006r" + + "egion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\204\001\n3region_" + + "disks_add_resource_policies_request_reso" + + "urce\030\216\377\301\207\001 \001(\0132>.google.cloud.compute.v1" + + ".RegionDisksAddResourcePoliciesRequestB\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\"\307\001\n\034AddRuleFirewallPolicyRequest\022" + + " \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035fir" + + "ewall_policy_rule_resource\030\203\337\272w \001(\0132+.go" + + "ogle.cloud.compute.v1.FirewallPolicyRule" + + "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\"\320\002\n#AddRuleNetworkFirewallPolic" + + "yRequest\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340" + + "A\002\022Z\n\035firewall_policy_rule_resource\030\203\337\272w" + + " \001(\0132+.google.cloud.compute.v1.FirewallP" + + "olicyRuleB\003\340A\002\022\035\n\014max_priority\030\237\254\227\235\001 \001(\005" + + "H\000\210\001\001\022\034\n\014min_priority\030\361\201\264\177 \001(\005H\001\210\001\001\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\002\210\001\001B\017\n\r_max_priorityB\017\n\r_" + + "min_priorityB\r\n\013_request_id\"\367\002\n)AddRuleR" + + "egionNetworkFirewallPolicyRequest\022 \n\017fir" + + "ewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035firewall_" + + "policy_rule_resource\030\203\337\272w \001(\0132+.google.c" + + "loud.compute.v1.FirewallPolicyRuleB\003\340A\002\022" + + "\035\n\014max_priority\030\237\254\227\235\001 \001(\005H\000\210\001\001\022\034\n\014min_pr" + + "iority\030\361\201\264\177 \001(\005H\001\210\001\001\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\002\210\001\001B\017\n\r" + + "_max_priorityB\017\n\r_min_priorityB\r\n\013_reque" + + "st_id\"\277\001\n\034AddRuleSecurityPolicyRequest\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\017sec" + + "urity_policy\030\221\206\312Q \001(\tB\003\340A\002\022[\n\035security_p" + + "olicy_rule_resource\030\303\272\202\300\001 \001(\0132+.google.c" + + "loud.compute.v1.SecurityPolicyRuleB\003\340A\002\"" + + "\344\001\n#AddSignedUrlKeyBackendBucketRequest\022" + + "\036\n\016backend_bucket\030\365\343\335+ \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\001\022O\n\027signed_url_key_resourc" + + "e\030\201\243\233\332\001 \001(\0132%.google.cloud.compute.v1.Si" + + "gnedUrlKeyB\003\340A\002B\r\n\013_request_id\"\347\001\n$AddSi" + + "gnedUrlKeyBackendServiceRequest\022 \n\017backe" + + "nd_service\030\212\300\256\222\001 \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\022O\n\027signed_url_key_resource\030\201\243\233\332" + + "\001 \001(\0132%.google.cloud.compute.v1.SignedUr" + + "lKeyB\003\340A\002B\r\n\013_request_id\"\240\n\n\007Address\022\030\n\007" + + "address\030\364\267\336\334\001 \001(\tH\000\210\001\001\022\034\n\014address_type\030\245" + + "\211\204~ \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\020" + + "\n\002id\030\233\032 \001(\004H\004\210\001\001\022\033\n\nip_version\030\300\363\322\214\001 \001(\t" + + "H\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\007network\030\256\264\205o \001(\tH\010\210\001\001\022\035\n\014ne" + + "twork_tier\030\323\272\333\366\001 \001(\tH\t\210\001\001\022\036\n\rprefix_leng" + + "th\030\263\272\243\330\001 \001(\005H\n\210\001\001\022\030\n\007purpose\030\236\372\357\226\001 \001(\tH\013" + + "\210\001\001\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\022" + + "\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\017\210\001\001\022\020\n\005users\030\210\234" + + "\2325 \003(\t\"e\n\013AddressType\022\032\n\026UNDEFINED_ADDRE" + + "SS_TYPE\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\020\n\010INTERNAL\020\275" + + "\355\226\205\001\022\027\n\020UNSPECIFIED_TYPE\020\342\356\333\031\"[\n\tIpVersi" + + "on\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\022\032\n\023UNSPECIFIED_VERSION\020\220\317" + + "\265\n\"\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\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\"\316\001\n\007Purpose" + + "\022\025\n\021UNDEFINED_PURPOSE\020\000\022\024\n\014DNS_RESOLVER\020" + + "\374\334\203\343\001\022\023\n\014GCE_ENDPOINT\020\253\304\365m\022\032\n\022IPSEC_INTE" + + "RCONNECT\020\203\322\252\242\001\022\017\n\010NAT_AUTO\020\255\264\205N\022\036\n\027PRIVA" + + "TE_SERVICE_CONNECT\020\304\364\371\026\022\037\n\027SHARED_LOADBA" + + "LANCER_VIP\020\324\323\263\214\001\022\023\n\013VPC_PEERING\020\252\363\216\277\001\"R\n" + + "\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\r\n\006IN_USE\020" + + "\315\316\245\010\022\020\n\010RESERVED\020\250\366\215\316\001\022\021\n\tRESERVING\020\331\364\257\365" + + "\001B\n\n\010_addressB\017\n\r_address_typeB\025\n\023_creat" + + "ion_timestampB\016\n\014_descriptionB\005\n\003_idB\r\n\013" + + "_ip_versionB\007\n\005_kindB\007\n\005_nameB\n\n\010_networ" + + "kB\017\n\r_network_tierB\020\n\016_prefix_lengthB\n\n\010" + + "_purposeB\t\n\007_regionB\014\n\n_self_linkB\t\n\007_st" + + "atusB\r\n\013_subnetwork\"\267\003\n\025AddressAggregate" + + "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.AddressAggre" + + "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\032Z\n\nItemsEntr" + + "y\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.google.c" + + "loud.compute.v1.AddressesScopedList:\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\"\237\002\n\013AddressList\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.Address\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\"\225\001\n\023Addr" + + "essesScopedList\0227\n\taddresses\030\242\367\201\241\001 \003(\0132 " + + ".google.cloud.compute.v1.Address\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\"\344\001\n\027AdvancedMach" + + "ineFeatures\022,\n\034enable_nested_virtualizat" + + "ion\030\205\313\367\007 \001(\010H\000\210\001\001\022\'\n\026enable_uefi_network" + + "ing\030\244\261\277\237\001 \001(\010H\001\210\001\001\022!\n\020threads_per_core\030\327" + + "\332\221\250\001 \001(\005H\002\210\001\001B\037\n\035_enable_nested_virtuali" + + "zationB\031\n\027_enable_uefi_networkingB\023\n\021_th" + + "reads_per_core\"\343\002\n%AggregatedListAcceler" + + "atorTypesRequest\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_par" + + "tial_success\030\266\244\317\366\001 \001(\010H\005\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_par" + + "tial_success\"\334\002\n\036AggregatedListAddresses" + + "Request\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022incl" + + "ude_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_res" + + "ults\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\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\005\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" + + "ess\"\336\002\n AggregatedListAutoscalersRequest" + "\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" @@ -5391,8 +5618,70 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "l \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317" + "\366\001 \001(\010H\005\210\001\001B\t\n\007_filterB\025\n\023_include_all_s" + "copesB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_p" - + "age_tokenB\031\n\027_return_partial_success\"\350\002\n" - + "*AggregatedListInstanceGroupManagersRequ" + + "age_tokenB\031\n\027_return_partial_success\"\342\002\n" + + "$AggregatedListBackendServicesRequest\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\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_success\"\334\002\n\036Ag" + + "gregatedListDiskTypesRequest\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\001B" + + "\t\n\007_filterB\025\n\023_include_all_scopesB\016\n\014_ma" + + "x_resultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n" + + "\027_return_partial_success\"\330\002\n\032AggregatedL" + + "istDisksRequest\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_part" + + "ial_success\030\266\244\317\366\001 \001(\010H\005\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_part" + + "ial_success\"\342\002\n$AggregatedListForwarding" + + "RulesRequest\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\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" + + "_success\"\343\002\n%AggregatedListGlobalOperati" + + "onsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022i" + + "nclude_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\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\005\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" + + "uccess\"\337\002\n!AggregatedListHealthChecksReq" + + "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" + + "\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\001B\t\n\007_filterB\025\n\023_include_a" + + "ll_scopesB\016\n\014_max_resultsB\013\n\t_order_byB\r" + + "\n\013_page_tokenB\031\n\027_return_partial_success" + + "\"\350\002\n*AggregatedListInstanceGroupManagers" + + "Request\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022incl" + + "ude_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_res" + + "ults\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\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\005\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" + + "ess\"\341\002\n#AggregatedListInstanceGroupsRequ" + "est\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" @@ -5401,7 +5690,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n\007_filterB\025\n\023_include_al" + "l_scopesB\016\n\014_max_resultsB\013\n\t_order_byB\r\n" + "\013_page_tokenB\031\n\027_return_partial_success\"" - + "\341\002\n#AggregatedListInstanceGroupsRequest\022" + + "\334\002\n\036AggregatedListInstancesRequest\022\027\n\006fi" + + "lter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all_scope" + + "s\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\r" + + "H\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(\010" + + "H\005\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_to" + + "kenB\031\n\027_return_partial_success\"\352\002\n,Aggre" + + "gatedListInterconnectAttachmentsRequest\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\n" @@ -5409,35 +5707,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + " \001(\tB\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366" + "\001 \001(\010H\005\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_success\"\334\002\n\036" - + "AggregatedListInstancesRequest\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_toke" - + "n\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" - + "\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_success\"\352\002\n,Aggregate" - + "dListInterconnectAttachmentsRequest\022\027\n\006f" - + "ilter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all_scop" - + "es\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(\t" - + "B\003\340A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(" - + "\010H\005\210\001\001B\t\n\007_filterB\025\n\023_include_all_scopes" - + "B\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_t" - + "okenB\031\n\027_return_partial_success\"\337\002\n!Aggr" - + "egatedListMachineTypesRequest\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" - + "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_success\"\350\002\n*Aggregated" - + "ListNetworkEndpointGroupsRequest\022\027\n\006filt" + + "ge_tokenB\031\n\027_return_partial_success\"\337\002\n!" + + "AggregatedListMachineTypesRequest\022\027\n\006fil" + + "ter\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_t" + + "oken\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\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_success\"\356\002\n0Aggreg" + + "atedListNetworkEdgeSecurityServicesReque" + + "st\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_a" + + "ll_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\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_success\"\350" + + "\002\n*AggregatedListNetworkEndpointGroupsRe" + + "quest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022includ" + + "e_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_resul" + + "ts\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\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\005\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" + + "s\"\335\002\n\037AggregatedListNodeGroupsRequest\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\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_success\"\340\002\n\"Ag" + + "gregatedListNodeTemplatesRequest\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" @@ -5445,17 +5752,44 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "A\002\022\'\n\026return_partial_success\030\266\244\317\366\001 \001(\010H\005" + "\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_toke" - + "nB\031\n\027_return_partial_success\"\335\002\n\037Aggrega" - + "tedListNodeGroupsRequest\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\001B\t\n\007_" - + "filterB\025\n\023_include_all_scopesB\016\n\014_max_re" - + "sultsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_re" - + "turn_partial_success\"\340\002\n\"AggregatedListN" - + "odeTemplatesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH" + + "nB\031\n\027_return_partial_success\"\334\002\n\036Aggrega" + + "tedListNodeTypesRequest\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(\010" + + "H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\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\'\n\026ret" + + "urn_partial_success\030\266\244\317\366\001 \001(\010H\005\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_success\"\343\002\n%AggregatedListPa" + + "cketMirroringsRequest\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\010orde" + + "r_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\026retur" + + "n_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n\007_fil" + + "terB\025\n\023_include_all_scopesB\016\n\014_max_resul" + + "tsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retur" + + "n_partial_success\"\352\002\n,AggregatedListPubl" + + "icDelegatedPrefixesRequest\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\026" + + "return_partial_success\030\266\244\317\366\001 \001(\010H\005\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_success\"\344\002\n&AggregatedLis" + + "tRegionCommitmentsRequest\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\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_success\"\337\002\n!AggregatedList" + + "ReservationsRequest\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" @@ -5463,43 +5797,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n\007_filte" + "rB\025\n\023_include_all_scopesB\016\n\014_max_results" + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" - + "partial_success\"\334\002\n\036AggregatedListNodeTy" - + "pesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022i" - + "nclude_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\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\005\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" - + "uccess\"\343\002\n%AggregatedListPacketMirroring" - + "sRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022inc" - + "lude_all_scopes\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_re" - + "sults\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307L \001(\t", - "H\003\210\001\001\022\032\n\npage_token\030\311\260\304\t \001(\tH\004\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\005\210\001\001B\t\n\007_filterB\025\n\023_inclu" - + "de_all_scopesB\016\n\014_max_resultsB\013\n\t_order_" - + "byB\r\n\013_page_tokenB\031\n\027_return_partial_suc" - + "cess\"\352\002\n,AggregatedListPublicDelegatedPr" - + "efixesRequest\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\013m" - + "ax_results\030\233\310\213\032 \001(\rH\002\210\001\001\022\030\n\010order_by\030\350\375\307" - + "L \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_partia" - + "l_success\030\266\244\317\366\001 \001(\010H\005\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_success\"\344\002\n&AggregatedListRegionCommit" - + "mentsRequest\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\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" - + "_success\"\337\002\n!AggregatedListReservationsR" + + "partial_success\"\343\002\n%AggregatedListResour" + + "cePoliciesRequest\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\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_pa" + + "rtial_success\"\332\002\n\034AggregatedListRoutersR" + "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" @@ -5508,7 +5815,16 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ss\030\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n\007_filterB\025\n\023_include" + "_all_scopesB\016\n\014_max_resultsB\013\n\t_order_by" + "B\r\n\013_page_tokenB\031\n\027_return_partial_succe" - + "ss\"\343\002\n%AggregatedListResourcePoliciesReq" + + "ss\"\343\002\n%AggregatedListSecurityPoliciesReq" + + "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" + + "\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\001B\t\n\007_filterB\025\n\023_include_a" + + "ll_scopesB\016\n\014_max_resultsB\013\n\t_order_byB\r" + + "\n\013_page_tokenB\031\n\027_return_partial_success" + + "\"\345\002\n\'AggregatedListServiceAttachmentsReq" + "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" @@ -5517,7 +5833,25 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\030\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n\007_filterB\025\n\023_include_a" + "ll_scopesB\016\n\014_max_resultsB\013\n\t_order_byB\r" + "\n\013_page_tokenB\031\n\027_return_partial_success" - + "\"\332\002\n\034AggregatedListRoutersRequest\022\027\n\006fil" + + "\"\342\002\n$AggregatedListSslCertificatesReques" + + "t\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_al" + + "l_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\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_success\"\336\002" + + "\n AggregatedListSubnetworksRequest\022\027\n\006fi" + + "lter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022include_all_scope" + + "s\030\364\341\314\272\001 \001(\010H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\r" + + "H\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(\010" + + "H\005\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_to" + + "kenB\031\n\027_return_partial_success\"\344\002\n&Aggre" + + "gatedListTargetHttpProxiesRequest\022\027\n\006fil" + "ter\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_t" @@ -5526,7 +5860,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005\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_success\"\345\002\n\'Aggreg" - + "atedListServiceAttachmentsRequest\022\027\n\006fil" + + "atedListTargetHttpsProxiesRequest\022\027\n\006fil" + "ter\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_t" @@ -5535,7 +5869,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\005\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_success\"\342\002\n$Aggreg" - + "atedListSslCertificatesRequest\022\027\n\006filter" + + "atedListTargetInstancesRequest\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_toke" @@ -5544,7 +5878,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\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_success\"\336\002\n Aggregate" - + "dListSubnetworksRequest\022\027\n\006filter\030\370\226\243\240\001 " + + "dListTargetPoolsRequest\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(\010" + "H\001\210\001\001\022\033\n\013max_results\030\233\310\213\032 \001(\rH\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 " @@ -5553,16 +5887,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "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_success\"\344\002\n&AggregatedListTa" - + "rgetHttpProxiesRequest\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\001B\t\n\007_fi" - + "lterB\025\n\023_include_all_scopesB\016\n\014_max_resu" - + "ltsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retu" - + "rn_partial_success\"\345\002\n\'AggregatedListTar" - + "getHttpsProxiesRequest\022\027\n\006filter\030\370\226\243\240\001 \001" + + "rgetVpnGatewaysRequest\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" @@ -5570,26 +5895,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rn_partial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n\007_fi" + "lterB\025\n\023_include_all_scopesB\016\n\014_max_resu" + "ltsB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_retu" - + "rn_partial_success\"\342\002\n$AggregatedListTar" - + "getInstancesRequest\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\001B\t\n\007_filte" - + "rB\025\n\023_include_all_scopesB\016\n\014_max_results" - + "B\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return_" - + "partial_success\"\336\002\n AggregatedListTarget" - + "PoolsRequest\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\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" - + "_success\"\344\002\n&AggregatedListTargetVpnGate" - + "waysRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022#\n\022" + + "rn_partial_success\"\332\002\n\034AggregatedListUrl" + + "MapsRequest\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" @@ -5597,3919 +5904,3973 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "success\030\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n\007_filterB\025\n\023_in" + "clude_all_scopesB\016\n\014_max_resultsB\013\n\t_ord" + "er_byB\r\n\013_page_tokenB\031\n\027_return_partial_" - + "success\"\332\002\n\034AggregatedListUrlMapsRequest" - + "\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\001B\t\n\007_filterB\025\n\023_include_all_s" - + "copesB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_p" - + "age_tokenB\031\n\027_return_partial_success\"\336\002\n" - + " AggregatedListVpnGatewaysRequest\022\027\n\006fil" - + "ter\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_t" - + "oken\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\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_success\"\335\002\n\037Aggreg" - + "atedListVpnTunnelsRequest\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\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_success\"\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\001\nFAl" - + "locationSpecificSKUAllocationAllocatedIn" - + "stancePropertiesReservedDisk\022\035\n\014disk_siz" - + "e_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\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\001B\017\n\r_disk" - + "_size_gbB\014\n\n_interface\"\227\003\n9AllocationSpe" - + "cificSKUAllocationReservedInstanceProper" - + "ties\022J\n\022guest_accelerators\030\357\314\207\335\001 \003(\0132*.g" - + "oogle.cloud.compute.v1.AcceleratorConfig" - + "\022v\n\nlocal_ssds\030\303\216\323m \003(\0132_.google.cloud.c" - + "ompute.v1.AllocationSpecificSKUAllocatio" - + "nAllocatedInstancePropertiesReservedDisk" - + "\022\036\n\rlocation_hint\030\321\201\222\247\001 \001(\tH\000\210\001\001\022\034\n\014mach" - + "ine_type\030\262\260\312l \001(\tH\001\210\001\001\022 \n\020min_cpu_platfo" - + "rm\030\367\233\352s \001(\tH\002\210\001\001B\020\n\016_location_hintB\017\n\r_m" - + "achine_typeB\023\n\021_min_cpu_platform\"\204\002\n All" - + "ocationSpecificSKUReservation\022\025\n\005count\030\217" - + "\242\235- \001(\003H\000\210\001\001\022\035\n\014in_use_count\030\275\253\246\353\001 \001(\003H\001" - + "\210\001\001\022w\n\023instance_properties\030\235\236\330f \001(\0132R.go" - + "ogle.cloud.compute.v1.AllocationSpecific" - + "SKUAllocationReservedInstancePropertiesH" - + "\002\210\001\001B\010\n\006_countB\017\n\r_in_use_countB\026\n\024_inst" - + "ance_properties\"K\n\007Allowed\022\035\n\014I_p_protoc" - + "ol\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\"\250\002\n2ApplyUpdatesToInstances" - + "InstanceGroupManagerRequest\022&\n\026instance_" - + "group_manager\030\303\367\363v \001(\tB\003\340A\002\022\211\001\n6instance" - + "_group_managers_apply_updates_request_re" - + "source\030\323\366\316{ \001(\0132A.google.cloud.compute.v" - + "1.InstanceGroupManagersApplyUpdatesReque" - + "stB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zone\"\277\002\n8Appl" - + "yUpdatesToInstancesRegionInstanceGroupMa" - + "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\226\001\n=region_instance_group_managers_appl" - + "y_updates_request_resource\030\376\351\255$ \001(\0132G.go" - + "ogle.cloud.compute.v1.RegionInstanceGrou" - + "pManagersApplyUpdatesRequestB\003\340A\002\"\236\002\n\031At" - + "tachDiskInstanceRequest\022M\n\026attached_disk" - + "_resource\030\225\222\232+ \001(\0132%.google.cloud.comput" - + "e.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\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\017\n\r_force_attachB\r\n\013_request_" - + "id\"\317\002\n7AttachNetworkEndpointsGlobalNetwo" - + "rkEndpointGroupRequest\022\234\001\n@global_networ" - + "k_endpoint_groups_attach_endpoints_reque" - + "st_resource\030\353\241\321\016 \001(\0132J.google.cloud.comp" - + "ute.v1.GlobalNetworkEndpointGroupsAttach" - + "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\"\330\002\n1AttachNetworkEn" - + "dpointsNetworkEndpointGroupRequest\022\'\n\026ne" - + "twork_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\216\001\n9" - + "network_endpoint_groups_attach_endpoints" - + "_request_resource\030\207\265 \001(\0132D.google.cloud" - + ".compute.v1.NetworkEndpointGroupsAttachE" - + "ndpointsRequestB\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\"\202\010\n\014AttachedDisk\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\013" - + "device_name\030\324\265\232 \001(\tH\002\210\001\001\022T\n\023disk_encryp" - + "tion_key\030\205\355\304\201\001 \001(\0132..google.cloud.comput" - + "e.v1.CustomerEncryptionKeyH\003\210\001\001\022\035\n\014disk_" - + "size_gb\030\267\232\347\226\001 \001(\003H\004\210\001\001\022E\n\021guest_os_featu" - + "res\030\321\340\347% \003(\0132\'.google.cloud.compute.v1.G" - + "uestOsFeature\022\025\n\005index\030\322\321\354/ \001(\005H\005\210\001\001\022X\n\021" - + "initialize_params\030\225\222\270\010 \001(\01325.google.clou" - + "d.compute.v1.AttachedDiskInitializeParam" - + "sH\006\210\001\001\022\032\n\tinterface\030\271\332\325\357\001 \001(\tH\007\210\001\001\022\024\n\004ki" - + "nd\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\\\n\037shielded_instanc" - + "e_initial_state\030\203\304\334[ \001(\0132+.google.cloud." - + "compute.v1.InitialStateConfigH\n\210\001\001\022\026\n\006so" - + "urce\030\233\320\301T \001(\tH\013\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\014\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\016UNDE" - + "FINED_MODE\020\000\022\020\n\tREAD_ONLY\020\265\231\354+\022\021\n\nREAD_W" - + "RITE\020\326\227\344R\"?\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_a" - + "uto_deleteB\007\n\005_bootB\016\n\014_device_nameB\026\n\024_" - + "disk_encryption_keyB\017\n\r_disk_size_gbB\010\n\006" - + "_indexB\024\n\022_initialize_paramsB\014\n\n_interfa" - + "ceB\007\n\005_kindB\007\n\005_modeB\"\n _shielded_instan" - + "ce_initial_stateB\t\n\007_sourceB\007\n\005_type\"\351\007\n" - + "\034AttachedDiskInitializeParams\022\034\n\013descrip" - + "tion\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\031\n\tdisk_name\030\355\277\240, \001(" - + "\tH\001\210\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 \001(\003H\002\210\001\001\022\031\n" - + "\tdisk_type\030\234\351\254, \001(\tH\003\210\001\001\022U\n\006labels\030\377\277\301\356\001" - + " \003(\0132A.google.cloud.compute.v1.AttachedD" - + "iskInitializeParams.LabelsEntry\022\024\n\010licen" - + "ses\030\322\210\200\241\001 \003(\t\022 \n\020on_update_action\030\214\330\304` \001" - + "(\tH\004\210\001\001\022 \n\020provisioned_iops\030\324\275\207Y \001(\003H\005\210\001" - + "\001\022\034\n\021resource_policies\030\341\234\314\n \003(\t\022\034\n\014sourc" - + "e_image\030\267\350\206\030 \001(\tH\006\210\001\001\022\\\n\033source_image_en" - + "cryption_key\030\253\221\365\265\001 \001(\0132..google.cloud.co" - + "mpute.v1.CustomerEncryptionKeyH\007\210\001\001\022\037\n\017s" - + "ource_snapshot\030\350\232\216< \001(\tH\010\210\001\001\022_\n\036source_s" - + "napshot_encryption_key\030\332\216\347\220\001 \001(\0132..googl" - + "e.cloud.compute.v1.CustomerEncryptionKey" - + "H\t\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\"\212\001\n\016OnUpdateAction\022\036\n\032UNDEF" - + "INED_ON_UPDATE_ACTION\020\000\022\025\n\rRECREATE_DISK" - + "\020\355\235\366\353\001\022\'\n\037RECREATE_DISK_IF_SOURCE_CHANGE" - + "D\020\200\212\352\275\001\022\030\n\021USE_EXISTING_DISK\020\371\345\371nB\016\n\014_de" - + "scriptionB\014\n\n_disk_nameB\017\n\r_disk_size_gb" - + "B\014\n\n_disk_typeB\023\n\021_on_update_actionB\023\n\021_" - + "provisioned_iopsB\017\n\r_source_imageB\036\n\034_so" - + "urce_image_encryption_keyB\022\n\020_source_sna" - + "pshotB!\n\037_source_snapshot_encryption_key" - + "\"\230\001\n\013AuditConfig\022F\n\021audit_log_configs\030\222\352" - + "\362\350\001 \003(\0132\'.google.cloud.compute.v1.AuditL" - + "ogConfig\022\033\n\020exempted_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\016" - + "AuditLogConfig\022\033\n\020exempted_members\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\007LogTy" - + "pe\022\026\n\022UNDEFINED_LOG_TYPE\020\000\022\021\n\nADMIN_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\327IB\032\n\030_ig" - + "nore_child_exemptionsB\013\n\t_log_type\"\370\001\n\033A" - + "uthorizationLoggingOptions\022 \n\017permission" - + "_type\030\252\227\347\372\001 \001(\tH\000\210\001\001\"\242\001\n\016PermissionType\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_RE" - + "AD\020\213\272\305\221\001\022\022\n\nDATA_WRITE\020\352\205\233\242\001\022#\n\033PERMISSI" - + "ON_TYPE_UNSPECIFIED\020\202\314\372\321\001B\022\n\020_permission" - + "_type\"\235\007\n\nAutoscaler\022N\n\022autoscaling_poli" - + "cy\030\331\340\352i \001(\0132*.google.cloud.compute.v1.Au" - + "toscalingPolicyH\000\210\001\001\022\"\n\022creation_timesta" - + "mp\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\020recommen" - + "ded_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_status\030\342\253\227\336\001 " - + "\003(\0132>.google.cloud.compute.v1.Autoscaler" - + ".ScalingScheduleStatusEntry\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\022" - + "L\n\016status_details\030\365\255\241\255\001 \003(\01320.google.clo" - + "ud.compute.v1.AutoscalerStatusDetails\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\032ScalingScheduleStatusEntry\022\013\n\003key" - + "\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..google.cloud.com" - + "pute.v1.ScalingScheduleStatus:\0028\001\"^\n\006Sta" - + "tus\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\007PEN" - + "DING\020\367\252\360\020B\025\n\023_autoscaling_policyB\025\n\023_cre" - + "ation_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_statusB\t\n\007_ta" - + "rgetB\007\n\005_zone\"\277\003\n\030AutoscalerAggregatedLi" - + "st\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.AutoscalerAggre" - + "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\022=\n\005value\030\002 \001(\0132..google.c" - + "loud.compute.v1.AutoscalersScopedList:\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\016AutoscalerLi" - + "st\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.Autoscaler\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\"" - + "\313\006\n\027AutoscalerStatusDetails\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\004" - + "Type\022\022\n\016UNDEFINED_TYPE\020\000\022\037\n\027ALL_INSTANCE" - + "S_UNHEALTHY\020\345\220\215\301\001\022%\n\036BACKEND_SERVICE_DOE" - + "S_NOT_EXIST\020\232\232\243[\022 \n\032CAPPED_AT_MAX_NUM_RE" - + "PLICAS\020\331\323\037\022,\n$CUSTOM_METRIC_DATA_POINTS_" - + "TOO_SPARSE\020\263\264\356\234\001\022\034\n\025CUSTOM_METRIC_INVALI" - + "D\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\"MISSI" - + "NG_LOAD_BALANCING_DATA_POINTS\020\322\250\217\363\001\022\017\n\010M" - + "ODE_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_THAN_ONE_B" - + "ACKEND_SERVICE\020\335\313\270H\022\"\n\032NOT_ENOUGH_QUOTA_" - + "AVAILABLE\020\277\257\233\300\001\022 \n\030REGION_RESOURCE_STOCK" - + "OUT\020\376\311\210\374\001\022$\n\035SCALING_TARGET_DOES_NOT_EXI" - + "ST\020\233\223\275:\0226\n/SCHEDULED_INSTANCES_GREATER_T" - + "HAN_AUTOSCALER_MAX\020\302\353\372\r\0224\n,SCHEDULED_INS" - + "TANCES_LESS_THAN_AUTOSCALER_MIN\020\265\306\365\275\001\022\017\n" - + "\007UNKNOWN\020\252\360\304\316\001\0229\n1UNSUPPORTED_MAX_RATE_L" - + "OAD_BALANCING_CONFIGURATION\020\321\226\341\235\001\022\035\n\026ZON" - + "E_RESOURCE_STOCKOUT\020\266\317\235dB\n\n\010_messageB\007\n\005" - + "_type\"\234\001\n\025AutoscalersScopedList\022<\n\013autos" - + "calers\030\374\270\214\336\001 \003(\0132#.google.cloud.compute." - + "v1.Autoscaler\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\"\351\007\n\021AutoscalingPolicy\022$\n\024cool_down_" - + "period_sec\030\232\207\2553 \001(\005H\000\210\001\001\022Z\n\017cpu_utilizat" - + "ion\030\213\244\343\265\001 \001(\01328.google.cloud.compute.v1." - + "AutoscalingPolicyCpuUtilizationH\001\210\001\001\022h\n\032" - + "custom_metric_utilizations\030\362\375\366> \003(\0132A.go" - + "ogle.cloud.compute.v1.AutoscalingPolicyC" - + "ustomMetricUtilization\022o\n\032load_balancing" - + "_utilization\030\343\321\365\314\001 \001(\0132B.google.cloud.co" - + "mpute.v1.AutoscalingPolicyLoadBalancingU" - + "tilizationH\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_c" - + "ontrol\030\330\274\316\373\001 \001(\01328.google.cloud.compute." - + "v1.AutoscalingPolicyScaleInControlH\006\210\001\001\022" - + "_\n\021scaling_schedules\030\204\364\274\251\001 \003(\0132@.google." - + "cloud.compute.v1.AutoscalingPolicy.Scali" - + "ngSchedulesEntry\032r\n\025ScalingSchedulesEntr" - + "y\022\013\n\003key\030\001 \001(\t\022H\n\005value\030\002 \001(\01329.google.c" - + "loud.compute.v1.AutoscalingPolicyScaling" - + "Schedule:\0028\001\"V\n\004Mode\022\022\n\016UNDEFINED_MODE\020\000" - + "\022\t\n\003OFF\020\317\342\004\022\007\n\002ON\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_perio" - + "d_secB\022\n\020_cpu_utilizationB\035\n\033_load_balan" - + "cing_utilizationB\023\n\021_max_num_replicasB\023\n" - + "\021_min_num_replicasB\007\n\005_modeB\023\n\021_scale_in" - + "_control\"\366\001\n\037AutoscalingPolicyCpuUtiliza" - + "tion\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\020" - + "PredictiveMethod\022\037\n\033UNDEFINED_PREDICTIVE" - + "_METHOD\020\000\022\013\n\004NONE\020\270\316\222\001\022\034\n\025OPTIMIZE_AVAIL" - + "ABILITY\020\375\346\305\005B\024\n\022_predictive_methodB\025\n\023_u" - + "tilization_target\"\277\003\n(AutoscalingPolicyC" - + "ustomMetricUtilization\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\032sing" - + "le_instance_assignment\030\300\314\330\360\001 \001(\001H\002\210\001\001\022\"\n" - + "\022utilization_target\030\316\354\371f \001(\001H\003\210\001\001\022(\n\027uti" - + "lization_target_type\030\213\245\232\242\001 \001(\tH\004\210\001\001\"~\n\025U" - + "tilizationTargetType\022%\n!UNDEFINED_UTILIZ" - + "ATION_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_single_ins" - + "tance_assignmentB\025\n\023_utilization_targetB" - + "\032\n\030_utilization_target_type\"f\n)Autoscali" - + "ngPolicyLoadBalancingUtilization\022\"\n\022util" - + "ization_target\030\316\354\371f \001(\001H\000\210\001\001B\025\n\023_utiliza" - + "tion_target\"\302\001\n\037AutoscalingPolicyScaleIn" - + "Control\022O\n\026max_scaled_in_replicas\030\353\325\225V \001" - + "(\0132\'.google.cloud.compute.v1.FixedOrPerc" - + "entH\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_wi", - "ndow_sec\"\272\002\n AutoscalingPolicyScalingSch" - + "edule\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\031\n\010d" - + "isabled\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\025min_required_replicas\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_descripti" - + "onB\013\n\t_disabledB\017\n\r_duration_secB\030\n\026_min" - + "_required_replicasB\013\n\t_scheduleB\014\n\n_time" - + "_zone\"\376\005\n\007Backend\022\037\n\016balancing_mode\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\010fa" - + "ilover\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\034" - + "max_connections_per_endpoint\030\234\347\266g \001(\005H\006\210" - + "\001\001\022,\n\034max_connections_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\025m" - + "ax_rate_per_endpoint\030\333\252\364= \001(\002H\t\210\001\001\022%\n\025ma" - + "x_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\"a\n\rBalancingM" - + "ode\022\034\n\030UNDEFINED_BALANCING_MODE\020\000\022\021\n\nCON" - + "NECTION\020\336\325\271u\022\013\n\004RATE\020\340\211\231\001\022\022\n\013UTILIZATION" - + "\020\202\204\357JB\021\n\017_balancing_modeB\022\n\020_capacity_sc" - + "alerB\016\n\014_descriptionB\013\n\t_failoverB\010\n\006_gr" - + "oupB\022\n\020_max_connectionsB\037\n\035_max_connecti" - + "ons_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_m" - + "ax_utilization\"\223\004\n\rBackendBucket\022\034\n\013buck" - + "et_name\030\300\227\236\207\001 \001(\tH\000\210\001\001\022K\n\ncdn_policy\030\204\213\204" - + "f \001(\0132/.google.cloud.compute.v1.BackendB" - + "ucketCdnPolicyH\001\210\001\001\022\"\n\022creation_timestam" - + "p\030\266\217\307\016 \001(\tH\002\210\001\001\022#\n\027custom_response_heade" - + "rs\030\226\301\345\270\001 \003(\t\022\034\n\013description\030\374\207\326\311\001 \001(\tH\003\210" - + "\001\001\022$\n\024edge_security_policy\030\217\331\310\023 \001(\tH\004\210\001\001" - + "\022\033\n\nenable_cdn\030\361\266\365\206\001 \001(\010H\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\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001B" - + "\016\n\014_bucket_nameB\r\n\013_cdn_policyB\025\n\023_creat" - + "ion_timestampB\016\n\014_descriptionB\027\n\025_edge_s" - + "ecurity_policyB\r\n\013_enable_cdnB\005\n\003_idB\007\n\005" - + "_kindB\007\n\005_nameB\014\n\n_self_link\"\312\007\n\026Backend" - + "BucketCdnPolicy\022v\n\037bypass_cache_on_reque" - + "st_headers\030\312\275\353\347\001 \003(\0132I.google.cloud.comp" - + "ute.v1.BackendBucketCdnPolicyBypassCache" - + "OnRequestHeader\022_\n\020cache_key_policy\030\357\327\370K" - + " \001(\0132=.google.cloud.compute.v1.BackendBu" - + "cketCdnPolicyCacheKeyPolicyH\000\210\001\001\022\032\n\ncach" - + "e_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_cach" - + "ing\030\265\303\242\240\001 \001(\010H\005\210\001\001\022h\n\027negative_caching_p" - + "olicy\030\374\265\212J \003(\0132D.google.cloud.compute.v1" - + ".BackendBucketCdnPolicyNegativeCachingPo" - + "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\"_\n0BackendBucketCdnPolicyBypassCacheOn" - + "RequestHeader\022\033\n\013header_name\030\375\301\3074 \001(\tH\000\210" - + "\001\001B\016\n\014_header_name\"j\n$BackendBucketCdnPo" - + "licyCacheKeyPolicy\022\037\n\024include_http_heade" - + "rs\030\206\372\227\001 \003(\t\022!\n\026query_string_whitelist\030\260\330" - + "\201\031 \003(\t\"h\n+BackendBucketCdnPolicyNegative" - + "CachingPolicy\022\024\n\004code\030\355\333\272\001 \001(\005H\000\210\001\001\022\022\n\003t" - + "tl\030\354\203\007 \001(\005H\001\210\001\001B\007\n\005_codeB\006\n\004_ttl\"\253\002\n\021Bac" - + "kendBucketList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0228\n\005item" - + "s\030\300\317\367/ \003(\0132&.google.cloud.compute.v1.Bac" - + "kendBucket\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\"\231\030\n\016BackendService\022(\n\027aff" - + "inity_cookie_ttl_sec\030\232\351\266\260\001 \001(\005H\000\210\001\001\0226\n\010b" - + "ackends\030\337\230\313\363\001 \003(\0132 .google.cloud.compute" - + ".v1.Backend\022L\n\ncdn_policy\030\204\213\204f \001(\01320.goo" - + "gle.cloud.compute.v1.BackendServiceCdnPo" - + "licyH\001\210\001\001\022K\n\020circuit_breakers\030\235\307\364\310\001 \001(\0132" - + "(.google.cloud.compute.v1.CircuitBreaker" - + "sH\002\210\001\001\022Q\n\023connection_draining\030\253\216\357\333\001 \001(\0132" - + "+.google.cloud.compute.v1.ConnectionDrai" - + "ningH\003\210\001\001\022k\n\032connection_tracking_policy\030" - + "\331\340\324D \001(\0132?.google.cloud.compute.v1.Backe" - + "ndServiceConnectionTrackingPolicyH\004\210\001\001\022[" - + "\n\017consistent_hash\030\233\2457 \001(\0132;.google.cloud" - + ".compute.v1.ConsistentHashLoadBalancerSe" - + "ttingsH\005\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001" - + "(\tH\006\210\001\001\022!\n\026custom_request_headers\030\210\322\253\r \003" - + "(\t\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\007\210\001\001\022$\n\024edge_se" - + "curity_policy\030\217\331\310\023 \001(\tH\010\210\001\001\022\034\n\014enable_c_" - + "d_n\030\273\307\307w \001(\010H\t\210\001\001\022V\n\017failover_policy\030\237\362\260" - + "2 \001(\01325.google.cloud.compute.v1.BackendS" - + "erviceFailoverPolicyH\n\210\001\001\022\033\n\013fingerprint" - + "\030\344\321\363o \001(\tH\013\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.BackendServiceIAPH\014\210\001\001\022\020\n\002id\030\233\032 \001(\004H\r" - + "\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\016\210\001\001\022&\n\025load_balanc" - + "ing_scheme\030\304\214\302\255\001 \001(\tH\017\210\001\001\022\"\n\022locality_lb" - + "_policy\030\277\370\325> \001(\tH\020\210\001\001\022M\n\nlog_config\030\235\321\301\247" - + "\001 \001(\01320.google.cloud.compute.v1.BackendS" - + "erviceLogConfigH\021\210\001\001\022F\n\023max_stream_durat" - + "ion\030\230\245\245\035 \001(\0132!.google.cloud.compute.v1.D" - + "urationH\022\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\023\210\001\001\022\027\n\007ne" - + "twork\030\256\264\205o \001(\tH\024\210\001\001\022M\n\021outlier_detection" - + "\030\276\314\214\251\001 \001(\0132).google.cloud.compute.v1.Out" - + "lierDetectionH\025\210\001\001\022\024\n\004port\030\201\261\322\001 \001(\005H\026\210\001\001" - + "\022\031\n\tport_name\030\211\207\347\023 \001(\tH\027\210\001\001\022\030\n\010protocol\030" - + "\230\235\252( \001(\tH\030\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\031\210\001\001\022\037\n" - + "\017security_policy\030\221\206\312Q \001(\tH\032\210\001\001\022M\n\021securi" - + "ty_settings\030\302\274\236\344\001 \001(\0132).google.cloud.com" - + "pute.v1.SecuritySettingsH\033\210\001\001\022\032\n\tself_li" - + "nk\030\215\222\305\331\001 \001(\tH\034\210\001\001\022!\n\020session_affinity\030\261\301" - + "\231\335\001 \001(\tH\035\210\001\001\022@\n\nsubsetting\030\220\220\333\326\001 \001(\0132#.g" - + "oogle.cloud.compute.v1.SubsettingH\036\210\001\001\022\033" - + "\n\013timeout_sec\030\363\300\222& \001(\005H\037\210\001\001\"\325\001\n\023LoadBala" - + "ncingScheme\022#\n\037UNDEFINED_LOAD_BALANCING_" - + "SCHEME\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\030\n\020EXTERNAL_MA" - + "NAGED\020\213\266\222\364\001\022\020\n\010INTERNAL\020\275\355\226\205\001\022\027\n\020INTERNA" - + "L_MANAGED\020\375\327\347\021\022\034\n\025INTERNAL_SELF_MANAGED\020" - + "\316\227\321p\022%\n\035INVALID_LOAD_BALANCING_SCHEME\020\374\223" - + "\246\203\001\"\307\001\n\020LocalityLbPolicy\022 \n\034UNDEFINED_LO" - + "CALITY_LB_POLICY\020\000\022\031\n\021INVALID_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_DESTINATION\020\200\375\245O\022\r\n\006RANDO" - + "M\020\303\261\227}\022\021\n\tRING_HASH\020\275\333\257\316\001\022\022\n\013ROUND_ROBIN" - + "\020\371\206\261I\"\216\001\n\010Protocol\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\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\032\n\030_affinit" - + "y_cookie_ttl_secB\r\n\013_cdn_policyB\023\n\021_circ" - + "uit_breakersB\026\n\024_connection_drainingB\035\n\033" - + "_connection_tracking_policyB\022\n\020_consiste" - + "nt_hashB\025\n\023_creation_timestampB\016\n\014_descr" - + "iptionB\027\n\025_edge_security_policyB\017\n\r_enab" - + "le_c_d_nB\022\n\020_failover_policyB\016\n\014_fingerp" - + "rintB\006\n\004_iapB\005\n\003_idB\007\n\005_kindB\030\n\026_load_ba" - + "lancing_schemeB\025\n\023_locality_lb_policyB\r\n" - + "\013_log_configB\026\n\024_max_stream_durationB\007\n\005" - + "_nameB\n\n\010_networkB\024\n\022_outlier_detectionB" - + "\007\n\005_portB\014\n\n_port_nameB\013\n\t_protocolB\t\n\007_" - + "regionB\022\n\020_security_policyB\024\n\022_security_" - + "settingsB\014\n\n_self_linkB\023\n\021_session_affin" - + "ityB\r\n\013_subsettingB\016\n\014_timeout_sec\"\313\003\n\034B" - + "ackendServiceAggregatedList\022\020\n\002id\030\233\032 \001(\t" - + "H\000\210\001\001\022R\n\005items\030\300\317\367/ \003(\0132@.google.cloud.c" - + "ompute.v1.BackendServiceAggregatedList.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\032`\n\nItemsEntry\022\013\n\003key\030\001 " - + "\001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.comput" - + "e.v1.BackendServicesScopedList:\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\"\267\007\n\027BackendServiceCdnPo" - + "licy\022w\n\037bypass_cache_on_request_headers\030" - + "\312\275\353\347\001 \003(\0132J.google.cloud.compute.v1.Back" - + "endServiceCdnPolicyBypassCacheOnRequestH" - + "eader\022I\n\020cache_key_policy\030\357\327\370K \001(\0132\'.goo" - + "gle.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_t" - + "tl\030\370\216\354\r \001(\005H\002\210\001\001\022\033\n\013default_ttl\030\356\375\346/ \001(\005" - + "H\003\210\001\001\022\030\n\007max_ttl\030\221\211\325\222\001 \001(\005H\004\210\001\001\022!\n\020negat" - + "ive_caching\030\265\303\242\240\001 \001(\010H\005\210\001\001\022i\n\027negative_c" - + "aching_policy\030\374\265\212J \003(\0132E.google.cloud.co" - + "mpute.v1.BackendServiceCdnPolicyNegative" - + "CachingPolicy\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(\005" - + "H\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_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\017FORC" - + "E_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_cac" - + "he_key_policyB\r\n\013_cache_modeB\r\n\013_client_" - + "ttlB\016\n\014_default_ttlB\n\n\010_max_ttlB\023\n\021_nega" - + "tive_cachingB\025\n\023_request_coalescingB\024\n\022_" - + "serve_while_staleB\037\n\035_signed_url_cache_m" - + "ax_age_sec\"`\n1BackendServiceCdnPolicyByp" - + "assCacheOnRequestHeader\022\033\n\013header_name\030\375" - + "\301\3074 \001(\tH\000\210\001\001B\016\n\014_header_name\"i\n,BackendS" - + "erviceCdnPolicyNegativeCachingPolicy\022\024\n\004" - + "code\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\"\250\004\n&BackendServiceConnec" - + "tionTrackingPolicy\022<\n,connection_persist" - + "ence_on_unhealthy_backends\030\371\221\330H \001(\tH\000\210\001\001" - + "\022 \n\020idle_timeout_sec\030\210\301\364\013 \001(\005H\001\210\001\001\022\035\n\rtr" - + "acking_mode\030\253\334\365< \001(\tH\002\210\001\001\"\260\001\n(Connection" - + "PersistenceOnUnhealthyBackends\022:\n6UNDEFI" - + "NED_CONNECTION_PERSISTENCE_ON_UNHEALTHY_" - + "BACKENDS\020\000\022\025\n\016ALWAYS_PERSIST\020\204\347\247\022\022\033\n\024DEF" - + "AULT_FOR_PROTOCOL\020\314\245\242E\022\024\n\rNEVER_PERSIST\020" - + "\341\245\216B\"t\n\014TrackingMode\022\033\n\027UNDEFINED_TRACKI" - + "NG_MODE\020\000\022\034\n\025INVALID_TRACKING_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_persistence_on_unhealt" - + "hy_backendsB\023\n\021_idle_timeout_secB\020\n\016_tra" - + "cking_mode\"\371\001\n\034BackendServiceFailoverPol" - + "icy\0224\n$disable_connection_drain_on_failo" - + "ver\030\341\314\355V \001(\010H\000\210\001\001\022)\n\031drop_traffic_if_unh" - + "ealthy\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_drai" - + "n_on_failoverB\034\n\032_drop_traffic_if_unheal" - + "thyB\021\n\017_failover_ratio\"\215\002\n\031BackendServic" - + "eGroupHealth\022[\n\013annotations\030\244\366\2655 \003(\0132C.g" - + "oogle.cloud.compute.v1.BackendServiceGro" - + "upHealth.AnnotationsEntry\022@\n\rhealth_stat" - + "us\030\265\326\272\265\001 \003(\0132%.google.cloud.compute.v1.H" - + "ealthStatus\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\0322\n\020Ann" - + "otationsEntry\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\007" - + "enabled\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_secret\030" - + "\340\341\250\030 \001(\tH\002\210\001\001\022+\n\033oauth2_client_secret_sh" - + "a256\030\346\214\3535 \001(\tH\003\210\001\001B\n\n\010_enabledB\023\n\021_oauth" - + "2_client_idB\027\n\025_oauth2_client_secretB\036\n\034" - + "_oauth2_client_secret_sha256\"\255\002\n\022Backend" - + "ServiceList\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.Backen" - + "dService\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\"j\n\027BackendServiceLogConfig\022" - + "\027\n\006enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022\033\n\013sample_rate\030" - + "\325\224\206I \001(\002H\001\210\001\001B\t\n\007_enableB\016\n\014_sample_rate" - + "\"O\n\027BackendServiceReference\022 \n\017backend_s" - + "ervice\030\212\300\256\222\001 \001(\tH\000\210\001\001B\022\n\020_backend_servic" - + "e\"\251\001\n\031BackendServicesScopedList\022E\n\020backe" - + "nd_services\030\251\303\241\271\001 \003(\0132\'.google.cloud.com" - + "pute.v1.BackendService\0229\n\007warning\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\026authentic" - + "ation_present\030\364\223\3042 \001(\010H\000\210\001\001\022)\n\031control_p" - + "lane_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\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\nmultiplier\030\301\373\235[ \001(\rH\t\210\001\001\022\032\n\nmu" - + "ltipoint\030\367\267\243[ \001(\010H\n\210\001\001\022 \n\020my_discriminat" - + "or\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\022your_discriminator\030\220\347\357\365\001 \001(\rH" - + "\017\210\001\001\"\336\002\n\nDiagnostic\022\030\n\024UNDEFINED_DIAGNOS" - + "TIC\020\000\022\034\n\025ADMINISTRATIVELY_DOWN\020\246\216\203:\022\035\n\026C" - + "ONCATENATED_PATH_DOWN\020\214\251\276\014\022%\n\036CONTROL_DE" - + "TECTION_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\036" - + "NEIGHBOR_SIGNALED_SESSION_DOWN\020\266\376\270\262\001\022\024\n\r" - + "NO_DIAGNOSTIC\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\"m\n" - + "\005State\022\023\n\017UNDEFINED_STATE\020\000\022\021\n\nADMIN_DOW" - + "N\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\021STAT" - + "E_UNSPECIFIED\020\311\320\274\340\001\022\007\n\002UP\020\233\025B\031\n\027_authent" - + "ication_presentB\034\n\032_control_plane_indepe" - + "ndentB\t\n\007_demandB\r\n\013_diagnosticB\010\n\006_fina" - + "lB\t\n\007_lengthB\032\n\030_min_echo_rx_interval_ms" - + "B\025\n\023_min_rx_interval_msB\025\n\023_min_tx_inter" - + "val_msB\r\n\013_multiplierB\r\n\013_multipointB\023\n\021" - + "_my_discriminatorB\007\n\005_pollB\010\n\006_stateB\n\n\010" - + "_versionB\025\n\023_your_discriminator\"\354\n\n\tBfdS" - + "tatus\022/\n\037bfd_session_initialization_mode" - + "\030\232\237\203h \001(\tH\000\210\001\001\022/\n\036config_update_timestam" - + "p_micros\030\261\200\201\332\001 \001(\003H\001\210\001\001\022U\n\025control_packe" - + "t_counts\030\371\322\233? \001(\0132..google.cloud.compute" - + ".v1.BfdStatusPacketCountsH\002\210\001\001\022N\n\030contro" - + "l_packet_intervals\030\371\347\346\356\001 \003(\0132(.google.cl" - + "oud.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_contr" - + "ol_tx_interval_ms\030\224\321\260\n \001(\rH\005\210\001\001\022>\n\trx_pa" - + "cket\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\034BfdSession" - + "InitializationMode\022-\n)UNDEFINED_BFD_SESS" - + "ION_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\007PASSIVE\020\207\366\327\334\001\"\351\002\n" - + "\017LocalDiagnostic\022\036\n\032UNDEFINED_LOCAL_DIAG" - + "NOSTIC\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\026DIAGNOST" - + "IC_UNSPECIFIED\020\377\204\200\034\022\033\n\024ECHO_FUNCTION_FAI" - + "LED\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\tPATH_DOWN\020\374\220\311\212\001" - + "\022&\n\036REVERSE_CONCATENATED_PATH_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\004INI" - + "T\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_initialization_modeB!" - + "\n\037_config_update_timestamp_microsB\030\n\026_co" - + "ntrol_packet_countsB\023\n\021_local_diagnostic" - + "B\016\n\014_local_stateB*\n(_negotiated_local_co" - + "ntrol_tx_interval_msB\014\n\n_rx_packetB\014\n\n_t" - + "x_packetB\014\n\n_uptime_ms\"\315\001\n\025BfdStatusPack" - + "etCounts\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_suc" - + "cessful\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_num_rxB\022\n\020_num_rx_rejectedB\024\n" - + "\022_num_rx_successfulB\t\n\007_num_tx\"\261\001\n\007Bindi" - + "ng\022\033\n\nbinding_id\030\225\362\251\322\001 \001(\tH\000\210\001\001\0228\n\tcondi" - + "tion\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_conditio" - + "nB\007\n\005_role\"\363\001\n\031BulkInsertInstanceRequest" - + "\022k\n&bulk_insert_instance_resource_resour" - + "ce\030\316\302\340\023 \001(\01323.google.cloud.compute.v1.Bu" - + "lkInsertInstanceResourceB\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\"\245\005\n\032BulkInsertInstanceR" - + "esource\022\025\n\005count\030\217\242\235- \001(\003H\000\210\001\001\022P\n\023instan" - + "ce_properties\030\235\236\330f \001(\0132+.google.cloud.co" - + "mpute.v1.InstancePropertiesH\001\210\001\001\022I\n\017loca" - + "tion_policy\030\374\271\207\336\001 \001(\0132\'.google.cloud.com" - + "pute.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" - + "(\0132N.google.cloud.compute.v1.BulkInsertI" - + "nstanceResource.PerInstancePropertiesEnt" - + "ry\022)\n\030source_instance_template\030\300\303\301\236\001 \001(\t" - + "H\005\210\001\001\032\206\001\n\032PerInstancePropertiesEntry\022\013\n\003" - + "key\030\001 \001(\t\022W\n\005value\030\002 \001(\0132H.google.cloud." - + "compute.v1.BulkInsertInstanceResourcePer" - + "InstanceProperties:\0028\001B\010\n\006_countB\026\n\024_ins" - + "tance_propertiesB\022\n\020_location_policyB\014\n\n" - + "_min_countB\017\n\r_name_patternB\033\n\031_source_i" - + "nstance_template\"P\n/BulkInsertInstanceRe" - + "sourcePerInstanceProperties\022\024\n\004name\030\213\365\315\001" - + " \001(\tH\000\210\001\001B\007\n\005_name\"\375\001\n\037BulkInsertRegionI" - + "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\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\"U\n\025Ca" - + "cheInvalidationRule\022\024\n\004host\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\001B\007\n\005_hostB\007\n\005_pat" - + "h\"\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_cookies\030\262\260\321) \003(\t\022!" - + "\n\020include_protocol\030\317\320\334\220\001 \001(\010H\001\210\001\001\022%\n\024inc" - + "lude_query_string\030\237\363\204\342\001 \001(\010H\002\210\001\001\022\"\n\026quer" - + "y_string_blacklist\030\206\252\241\251\001 \003(\t\022!\n\026query_st" - + "ring_whitelist\030\260\330\201\031 \003(\tB\017\n\r_include_host" - + "B\023\n\021_include_protocolB\027\n\025_include_query_" - + "string\"\260\002\n\017CircuitBreakers\022\037\n\017max_connec" - + "tions\030\372\325\3414 \001(\005H\000\210\001\001\022%\n\024max_pending_reque" - + "sts\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_requests_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_connectionsB\027\n\025_max_pending_" - + "requestsB\017\n\r_max_requestsB\036\n\034_max_reques" - + "ts_per_connectionB\016\n\014_max_retries\"\261\001\n\037Cl" - + "oneRulesFirewallPolicyRequest\022 \n\017firewal" - + "l_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_firewall_policy\030\255\332" - + "\366\013 \001(\tH\001\210\001\001B\r\n\013_request_idB\031\n\027_source_fi" - + "rewall_policy\"\262\013\n\nCommitment\022\033\n\nauto_ren" - + "ew\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_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_tim" - + "estamp\030\262\255\232\337\001 \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\022U\n\020license_resourc" - + "e\030\314\324\352\320\001 \001(\01322.google.cloud.compute.v1.Li" - + "censeResourceCommitmentH\007\210\001\001\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\006regi" - + "on\030\364\315\240B \001(\tH\n\210\001\001\022>\n\014reservations\030\247\354\314\276\001 \003" - + "(\0132$.google.cloud.compute.v1.Reservation" - + "\022A\n\tresources\030\245\374\262N \003(\0132+.google.cloud.co" - + "mpute.v1.ResourceCommitment\022\032\n\tself_link" - + "\030\215\222\305\331\001 \001(\tH\013\210\001\001\022\037\n\017start_timestamp\030\371\252\361\' " - + "\001(\tH\014\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\r\210\001\001\022\037\n\016stat" - + "us_message\030\272\311\351\215\001 \001(\tH\016\210\001\001\022\024\n\004type\030\272\236\332\001 \001" - + "(\tH\017\210\001\001\"b\n\010Category\022\026\n\022UNDEFINED_CATEGOR" - + "Y\020\000\022\034\n\024CATEGORY_UNSPECIFIED\020\326\272\346\362\001\022\017\n\007LIC" - + "ENSE\020\241\240\360\245\001\022\017\n\007MACHINE\020\247\240\363\337\001\"Y\n\004Plan\022\022\n\016U" - + "NDEFINED_PLAN\020\000\022\017\n\007INVALID\020\327\373\355\374\001\022\027\n\020THIR" - + "TY_SIX_MONTH\020\206\265\375~\022\023\n\014TWELVE_MONTH\020\272\232\304R\"h" - + "\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\016\n\006ACTIVE", - "\020\206\346\211\226\001\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\"\257\002\n\004Type\022\022\n\016UND" - + "EFINED_TYPE\020\000\022\035\n\025ACCELERATOR_OPTIMIZED\020\223" - + "\320\365\205\001\022\030\n\021COMPUTE_OPTIMIZED\020\337\355\300K\022\035\n\025COMPUT" - + "E_OPTIMIZED_C2D\020\365\300\337\266\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\022GE" - + "NERAL_PURPOSE_N2\020\334\240\373\217\001\022\032\n\023GENERAL_PURPOS" - + "E_N2D\020\350\366\354n\022\032\n\023GENERAL_PURPOSE_T2D\020\356\243\355n\022\030" - + "\n\020MEMORY_OPTIMIZED\020\311\356\254\206\001\022\030\n\020TYPE_UNSPECI" - + "FIED\020\222\373\333\320\001B\r\n\013_auto_renewB\013\n\t_categoryB\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_lice" - + "nse_resourceB\007\n\005_nameB\007\n\005_planB\t\n\007_regio" - + "nB\014\n\n_self_linkB\022\n\020_start_timestampB\t\n\007_" - + "statusB\021\n\017_status_messageB\007\n\005_type\"\277\003\n\030C" - + "ommitmentAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001" + + "success\"\336\002\n AggregatedListVpnGatewaysReq" + + "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" + + "\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\001B\t\n\007_filterB\025\n\023_include_a" + + "ll_scopesB\016\n\014_max_resultsB\013\n\t_order_byB\r" + + "\n\013_page_tokenB\031\n\027_return_partial_success" + + "\"\335\002\n\037AggregatedListVpnTunnelsRequest\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\001B\t\n\007_filterB\025\n\023_include_all_scope" + + "sB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_" + + "tokenB\031\n\027_return_partial_success\"\201\001\n\014Ali" + + "asIpRange\022\035\n\rip_cidr_range\030\312\315\344. \001(\tH\000\210\001\001" + + "\022&\n\025subnetwork_range_name\030\276\262\201\271\001 \001(\tH\001\210\001\001" + + "B\020\n\016_ip_cidr_rangeB\030\n\026_subnetwork_range_" + + "name\"\342\001\nFAllocationSpecificSKUAllocation" + + "AllocatedInstancePropertiesReservedDisk\022" + + "\035\n\014disk_size_gb\030\267\232\347\226\001 \001(\003H\000\210\001\001\022\032\n\tinterf" + + "ace\030\271\332\325\357\001 \001(\tH\001\210\001\001\">\n\tInterface\022\027\n\023UNDEF" + + "INED_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_size_gbB\014\n\n_interface\"\227\003\n9Al" + + "locationSpecificSKUAllocationReservedIns" + + "tanceProperties\022J\n\022guest_accelerators\030\357\314" + + "\207\335\001 \003(\0132*.google.cloud.compute.v1.Accele" + + "ratorConfig\022v\n\nlocal_ssds\030\303\216\323m \003(\0132_.goo" + + "gle.cloud.compute.v1.AllocationSpecificS" + + "KUAllocationAllocatedInstancePropertiesR" + + "eservedDisk\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_machine_typeB\023\n\021_min_cpu_platf" + + "orm\"\266\002\n AllocationSpecificSKUReservation" + + "\022\036\n\rassured_count\030\315\370\212\206\001 \001(\003H\000\210\001\001\022\025\n\005coun" + + "t\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_properties\030\235\236\330f \001(\0132R" + + ".google.cloud.compute.v1.AllocationSpeci" + + "ficSKUAllocationReservedInstanceProperti" + + "esH\003\210\001\001B\020\n\016_assured_countB\010\n\006_countB\017\n\r_" + + "in_use_countB\026\n\024_instance_properties\"K\n\007" + + "Allowed\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_protocol\"\250\002\n2Ap" + + "plyUpdatesToInstancesInstanceGroupManage" + + "rRequest\022&\n\026instance_group_manager\030\303\367\363v " + + "\001(\tB\003\340A\002\022\211\001\n6instance_group_managers_app" + + "ly_updates_request_resource\030\323\366\316{ \001(\0132A.g" + + "oogle.cloud.compute.v1.InstanceGroupMana" + + "gersApplyUpdatesRequestB\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(\t" + + "B\n\340A\002\362G\004zone\"\277\002\n8ApplyUpdatesToInstances" + + "RegionInstanceGroupManagerRequest\022&\n\026ins" + + "tance_group_manager\030\303\367\363v \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\226\001\n=region_instanc" + + "e_group_managers_apply_updates_request_r" + + "esource\030\376\351\255$ \001(\0132G.google.cloud.compute." + + "v1.RegionInstanceGroupManagersApplyUpdat" + + "esRequestB\003\340A\002\"\236\002\n\031AttachDiskInstanceReq" + + "uest\022M\n\026attached_disk_resource\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\010ins" + + "tance\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_forc" + + "e_attachB\r\n\013_request_id\"\317\002\n7AttachNetwor" + + "kEndpointsGlobalNetworkEndpointGroupRequ" + + "est\022\234\001\n@global_network_endpoint_groups_a" + + "ttach_endpoints_request_resource\030\353\241\321\016 \001(" + + "\0132J.google.cloud.compute.v1.GlobalNetwor" + + "kEndpointGroupsAttachEndpointsRequestB\003\340" + + "A\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_i" + + "d\"\330\002\n1AttachNetworkEndpointsNetworkEndpo" + + "intGroupRequest\022\'\n\026network_endpoint_grou" + + "p\030\206\313\363\316\001 \001(\tB\003\340A\002\022\216\001\n9network_endpoint_gr" + + "oups_attach_endpoints_request_resource\030\207" + + "\265 \001(\0132D.google.cloud.compute.v1.Network" + + "EndpointGroupsAttachEndpointsRequestB\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\"\202\010\n\014Attache" + + "dDisk\022\034\n\013auto_delete\030\273\344\316\335\001 \001(\010H\000\210\001\001\022\024\n\004b" + + "oot\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.CustomerEncryp" + + "tionKeyH\003\210\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 \001(\003H\004" + + "\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\005\210\001\001\022X\n\021initialize_params\030\225" + + "\222\270\010 \001(\01325.google.cloud.compute.v1.Attach" + + "edDiskInitializeParamsH\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\\\n\037shielded_instance_initial_state\030\203\304\334" + + "[ \001(\0132+.google.cloud.compute.v1.InitialS" + + "tateConfigH\n\210\001\001\022\026\n\006source\030\233\320\301T \001(\tH\013\210\001\001\022" + + "\024\n\004type\030\272\236\332\001 \001(\tH\014\210\001\001\">\n\tInterface\022\027\n\023UN" + + "DEFINED_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\tREA" + + "D_ONLY\020\265\231\354+\022\021\n\nREAD_WRITE\020\326\227\344R\"?\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_boot" + + "B\016\n\014_device_nameB\026\n\024_disk_encryption_key" + + "B\017\n\r_disk_size_gbB\010\n\006_indexB\024\n\022_initiali" + + "ze_paramsB\014\n\n_interfaceB\007\n\005_kindB\007\n\005_mod" + + "eB\"\n _shielded_instance_initial_stateB\t\n" + + "\007_sourceB\007\n\005_type\"\351\007\n\034AttachedDiskInitia" + + "lizeParams\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001" + + "\022\031\n\tdisk_name\030\355\277\240, \001(\tH\001\210\001\001\022\035\n\014disk_size" + + "_gb\030\267\232\347\226\001 \001(\003H\002\210\001\001\022\031\n\tdisk_type\030\234\351\254, \001(\t" + + "H\003\210\001\001\022U\n\006labels\030\377\277\301\356\001 \003(\0132A.google.cloud" + + ".compute.v1.AttachedDiskInitializeParams" + + ".LabelsEntry\022\024\n\010licenses\030\322\210\200\241\001 \003(\t\022 \n\020on" + + "_update_action\030\214\330\304` \001(\tH\004\210\001\001\022 \n\020provisio" + + "ned_iops\030\324\275\207Y \001(\003H\005\210\001\001\022\034\n\021resource_polic" + + "ies\030\341\234\314\n \003(\t\022\034\n\014source_image\030\267\350\206\030 \001(\tH\006\210" + + "\001\001\022\\\n\033source_image_encryption_key\030\253\221\365\265\001 " + + "\001(\0132..google.cloud.compute.v1.CustomerEn" + + "cryptionKeyH\007\210\001\001\022\037\n\017source_snapshot\030\350\232\216<" + + " \001(\tH\010\210\001\001\022_\n\036source_snapshot_encryption_" + + "key\030\332\216\347\220\001 \001(\0132..google.cloud.compute.v1." + + "CustomerEncryptionKeyH\t\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\"\212\001\n\016On" + + "UpdateAction\022\036\n\032UNDEFINED_ON_UPDATE_ACTI" + + "ON\020\000\022\025\n\rRECREATE_DISK\020\355\235\366\353\001\022\'\n\037RECREATE_" + + "DISK_IF_SOURCE_CHANGED\020\200\212\352\275\001\022\030\n\021USE_EXIS" + + "TING_DISK\020\371\345\371nB\016\n\014_descriptionB\014\n\n_disk_" + + "nameB\017\n\r_disk_size_gbB\014\n\n_disk_typeB\023\n\021_" + + "on_update_actionB\023\n\021_provisioned_iopsB\017\n" + + "\r_source_imageB\036\n\034_source_image_encrypti" + + "on_keyB\022\n\020_source_snapshotB!\n\037_source_sn" + + "apshot_encryption_key\"\230\001\n\013AuditConfig\022F\n" + + "\021audit_log_configs\030\222\352\362\350\001 \003(\0132\'.google.cl" + + "oud.compute.v1.AuditLogConfig\022\033\n\020exempte" + + "d_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\020e" + + "xempted_members\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\nADMIN_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_UN" + + "SPECIFIED\020\315\312\327IB\032\n\030_ignore_child_exemptio" + + "nsB\013\n\t_log_type\"\370\001\n\033AuthorizationLogging" + + "Options\022 \n\017permission_type\030\252\227\347\372\001 \001(\tH\000\210\001" + + "\001\"\242\001\n\016PermissionType\022\035\n\031UNDEFINED_PERMIS" + + "SION_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_WR" + + "ITE\020\352\205\233\242\001\022#\n\033PERMISSION_TYPE_UNSPECIFIED" + + "\020\202\314\372\321\001B\022\n\020_permission_type\"\235\007\n\nAutoscale" + + "r\022N\n\022autoscaling_policy\030\331\340\352i \001(\0132*.googl" + + "e.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(\004" + + "H\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\027scaling_s" + + "chedule_status\030\342\253\227\336\001 \003(\0132>.google.cloud." + + "compute.v1.Autoscaler.ScalingScheduleSta" + + "tusEntry\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\026\n\006" + + "status\030\362\237\267V \001(\tH\t\210\001\001\022L\n\016status_details\030\365" + + "\255\241\255\001 \003(\01320.google.cloud.compute.v1.Autos" + + "calerStatusDetails\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\032ScalingSched" + + "uleStatusEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001" + + "(\0132..google.cloud.compute.v1.ScalingSche" + + "duleStatus:\0028\001\"^\n\006Status\022\024\n\020UNDEFINED_ST" + + "ATUS\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_autos" + + "caling_policyB\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_l" + + "inkB\t\n\007_statusB\t\n\007_targetB\007\n\005_zone\"\277\003\n\030A" + + "utoscalerAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001" + "\001\022N\n\005items\030\300\317\367/ \003(\0132<.google.cloud.compu" - + "te.v1.CommitmentAggregatedList.ItemsEntr" + + "te.v1.AutoscalerAggregatedList.ItemsEntr" + "y\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\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning" + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" + "ingH\004\210\001\001\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005v" - + "alue\030\002 \001(\0132..google.cloud.compute.v1.Com" - + "mitmentsScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022" + + "alue\030\002 \001(\0132..google.cloud.compute.v1.Aut" + + "oscalersScopedList:\0028\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\"\245\002\n\016CommitmentList\022\020\n\002id\030\233\032 \001(\tH\000\210\001" + + "ning\"\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.compu" - + "te.v1.Commitment\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037" + + "te.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\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\"\234\001\n\025CommitmentsScop" - + "edList\022<\n\013commitments\030\376\257\362\326\001 \003(\0132#.google" - + ".cloud.compute.v1.Commitment\0229\n\007warning\030" - + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" - + "ngH\000\210\001\001B\n\n\010_warning\"\213\001\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\006value" - + "s\030\242\272\226w \003(\tB\006\n\004_iamB\005\n\003_opB\006\n\004_svcB\006\n\004_sy" - + "s\"i\n\032ConfidentialInstanceConfig\022+\n\033enabl" - + "e_confidential_compute\030\274\353\3310 \001(\010H\000\210\001\001B\036\n\034" - + "_enable_confidential_compute\"S\n\022Connecti" - + "onDraining\022$\n\024draining_timeout_sec\030\236\325\254k " - + "\001(\005H\000\210\001\001B\027\n\025_draining_timeout_sec\"\210\002\n\"Co" - + "nsistentHashLoadBalancerSettings\022b\n\013http" - + "_cookie\030\373\253\227\003 \001(\0132E.google.cloud.compute." - + "v1.ConsistentHashLoadBalancerSettingsHtt" - + "pCookieH\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_nameB\024" - + "\n\022_minimum_ring_size\"\253\001\n,ConsistentHashL" - + "oadBalancerSettingsHttpCookie\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.compute.v1.Durat" - + "ionH\002\210\001\001B\007\n\005_nameB\007\n\005_pathB\006\n\004_ttl\"\236\002\n\nC" - + "orsPolicy\022\"\n\021allow_credentials\030\206\376\275\345\001 \001(\010" - + "H\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_origin_regexe" - + "s\030\322\215\332f \003(\t\022\030\n\rallow_origins\030\227\316\370\\ \003(\t\022\031\n\010" - + "disabled\030\374\364\230\201\001 \001(\010H\001\210\001\001\022\031\n\016expose_header" - + "s\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*CreateInstancesInstanceGroupMana" - + "gerRequest\022&\n\026instance_group_manager\030\303\367\363" - + "v \001(\tB\003\340A\002\022\217\001\n9instance_group_managers_c" - + "reate_instances_request_resource\030\223\372\332\013 \001(" - + "\0132D.google.cloud.compute.v1.InstanceGrou" - + "pManagersCreateInstancesRequestB\003\340A\002\022!\n\007" + + "elf_linkB\n\n\010_warning\"\313\006\n\027AutoscalerStatu" + + "sDetails\022\030\n\007message\030\207\200\254\307\001 \001(\tH\000\210\001\001\022\024\n\004ty" + + "pe\030\272\236\332\001 \001(\tH\001\210\001\001\"\352\005\n\004Type\022\022\n\016UNDEFINED_T" + + "YPE\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$CUSTO" + + "M_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_EQUAL" + + "S_MAX\020\361\231\254\001\022(\n!MISSING_CUSTOM_METRIC_DATA" + + "_POINTS\020\336\251\237-\022*\n\"MISSING_LOAD_BALANCING_D" + + "ATA_POINTS\020\322\250\217\363\001\022\017\n\010MODE_OFF\020\263\221\244N\022\032\n\023MOD" + + "E_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\030" + + "REGION_RESOURCE_STOCKOUT\020\376\311\210\374\001\022$\n\035SCALIN" + + "G_TARGET_DOES_NOT_EXIST\020\233\223\275:\0226\n/SCHEDULE" + + "D_INSTANCES_GREATER_THAN_AUTOSCALER_MAX\020" + + "\302\353\372\r\0224\n,SCHEDULED_INSTANCES_LESS_THAN_AU" + + "TOSCALER_MIN\020\265\306\365\275\001\022\017\n\007UNKNOWN\020\252\360\304\316\001\0229\n1U" + + "NSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFI", + "GURATION\020\321\226\341\235\001\022\035\n\026ZONE_RESOURCE_STOCKOUT" + + "\020\266\317\235dB\n\n\010_messageB\007\n\005_type\"\234\001\n\025Autoscale" + + "rsScopedList\022<\n\013autoscalers\030\374\270\214\336\001 \003(\0132#." + + "google.cloud.compute.v1.Autoscaler\0229\n\007wa" + + "rning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1" + + ".WarningH\000\210\001\001B\n\n\010_warning\"\351\007\n\021Autoscalin" + + "gPolicy\022$\n\024cool_down_period_sec\030\232\207\2553 \001(\005" + + "H\000\210\001\001\022Z\n\017cpu_utilization\030\213\244\343\265\001 \001(\01328.goo" + + "gle.cloud.compute.v1.AutoscalingPolicyCp" + + "uUtilizationH\001\210\001\001\022h\n\032custom_metric_utili" + + "zations\030\362\375\366> \003(\0132A.google.cloud.compute." + + "v1.AutoscalingPolicyCustomMetricUtilizat" + + "ion\022o\n\032load_balancing_utilization\030\343\321\365\314\001 " + + "\001(\0132B.google.cloud.compute.v1.Autoscalin" + + "gPolicyLoadBalancingUtilizationH\002\210\001\001\022 \n\020" + + "max_num_replicas\030\317\224\334\035 \001(\005H\003\210\001\001\022!\n\020min_nu" + + "m_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(\01328." + + "google.cloud.compute.v1.AutoscalingPolic" + + "yScaleInControlH\006\210\001\001\022_\n\021scaling_schedule" + + "s\030\204\364\274\251\001 \003(\0132@.google.cloud.compute.v1.Au" + + "toscalingPolicy.ScalingSchedulesEntry\032r\n" + + "\025ScalingSchedulesEntry\022\013\n\003key\030\001 \001(\t\022H\n\005v" + + "alue\030\002 \001(\01329.google.cloud.compute.v1.Aut" + + "oscalingPolicyScalingSchedule:\0028\001\"V\n\004Mod" + + "e\022\022\n\016UNDEFINED_MODE\020\000\022\t\n\003OFF\020\317\342\004\022\007\n\002ON\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_utili" + + "zationB\035\n\033_load_balancing_utilizationB\023\n" + + "\021_max_num_replicasB\023\n\021_min_num_replicasB" + + "\007\n\005_modeB\023\n\021_scale_in_control\"\366\001\n\037Autosc" + + "alingPolicyCpuUtilization\022\"\n\021predictive_" + + "method\030\301\227\211\272\001 \001(\tH\000\210\001\001\022\"\n\022utilization_tar" + + "get\030\316\354\371f \001(\001H\001\210\001\001\"^\n\020PredictiveMethod\022\037\n" + + "\033UNDEFINED_PREDICTIVE_METHOD\020\000\022\013\n\004NONE\020\270" + + "\316\222\001\022\034\n\025OPTIMIZE_AVAILABILITY\020\375\346\305\005B\024\n\022_pr" + + "edictive_methodB\025\n\023_utilization_target\"\277" + + "\003\n(AutoscalingPolicyCustomMetricUtilizat" + + "ion\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_assignm" + + "ent\030\300\314\330\360\001 \001(\001H\002\210\001\001\022\"\n\022utilization_target" + + "\030\316\354\371f \001(\001H\003\210\001\001\022(\n\027utilization_target_typ" + + "e\030\213\245\232\242\001 \001(\tH\004\210\001\001\"~\n\025UtilizationTargetTyp" + + "e\022%\n!UNDEFINED_UTILIZATION_TARGET_TYPE\020\000" + + "\022\027\n\020DELTA_PER_MINUTE\020\235\275\330)\022\027\n\020DELTA_PER_S" + + "ECOND\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_assignmentB\025\n" + + "\023_utilization_targetB\032\n\030_utilization_tar" + + "get_type\"f\n)AutoscalingPolicyLoadBalanci" + + "ngUtilization\022\"\n\022utilization_target\030\316\354\371f" + + " \001(\001H\000\210\001\001B\025\n\023_utilization_target\"\302\001\n\037Aut" + + "oscalingPolicyScaleInControl\022O\n\026max_scal" + + "ed_in_replicas\030\353\325\225V \001(\0132\'.google.cloud.c" + + "ompute.v1.FixedOrPercentH\000\210\001\001\022\037\n\017time_wi" + + "ndow_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 Autosc" + + "alingPolicyScalingSchedule\022\034\n\013descriptio" + + "n\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\025min" + + "_required_replicas\030\256\235\245\256\001 \001(\005H\003\210\001\001\022\031\n\010sch" + + "edule\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_replicasB" + + "\013\n\t_scheduleB\014\n\n_time_zone\"\376\005\n\007Backend\022\037" + + "\n\016balancing_mode\030\211\313\226\315\001 \001(\tH\000\210\001\001\022 \n\017capac" + + "ity_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_connecti" + + "ons\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_connectio" + + "ns_per_instance\030\234\325\3641 \001(\005H\007\210\001\001\022\031\n\010max_rat" + + "e\030\333\275\310\302\001 \001(\005H\010\210\001\001\022%\n\025max_rate_per_endpoin" + + "t\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\"a\n\rBalancingMode\022\034\n\030UNDEFINED_BA" + + "LANCING_MODE\020\000\022\021\n\nCONNECTION\020\336\325\271u\022\013\n\004RAT" + + "E\020\340\211\231\001\022\022\n\013UTILIZATION\020\202\204\357JB\021\n\017_balancing" + + "_modeB\022\n\020_capacity_scalerB\016\n\014_descriptio" + + "nB\013\n\t_failoverB\010\n\006_groupB\022\n\020_max_connect" + + "ionsB\037\n\035_max_connections_per_endpointB\037\n" + + "\035_max_connections_per_instanceB\013\n\t_max_r" + + "ateB\030\n\026_max_rate_per_endpointB\030\n\026_max_ra" + + "te_per_instanceB\022\n\020_max_utilization\"\223\004\n\r" + + "BackendBucket\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.clou" + + "d.compute.v1.BackendBucketCdnPolicyH\001\210\001\001" + + "\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022#\n\027" + + "custom_response_headers\030\226\301\345\270\001 \003(\t\022\034\n\013des" + + "cription\030\374\207\326\311\001 \001(\tH\003\210\001\001\022$\n\024edge_security" + + "_policy\030\217\331\310\023 \001(\tH\004\210\001\001\022\033\n\nenable_cdn\030\361\266\365\206" + + "\001 \001(\010H\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\032\n\tself" + + "_link\030\215\222\305\331\001 \001(\tH\t\210\001\001B\016\n\014_bucket_nameB\r\n\013" + + "_cdn_policyB\025\n\023_creation_timestampB\016\n\014_d" + + "escriptionB\027\n\025_edge_security_policyB\r\n\013_" + + "enable_cdnB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\014\n\n_" + + "self_link\"\312\007\n\026BackendBucketCdnPolicy\022v\n\037" + + "bypass_cache_on_request_headers\030\312\275\353\347\001 \003(" + + "\0132I.google.cloud.compute.v1.BackendBucke" + + "tCdnPolicyBypassCacheOnRequestHeader\022_\n\020" + + "cache_key_policy\030\357\327\370K \001(\0132=.google.cloud" + + ".compute.v1.BackendBucketCdnPolicyCacheK" + + "eyPolicyH\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\022" + + "h\n\027negative_caching_policy\030\374\265\212J \003(\0132D.go" + + "ogle.cloud.compute.v1.BackendBucketCdnPo" + + "licyNegativeCachingPolicy\022#\n\022request_coa" + + "lescing\030\324\204\210\376\001 \001(\010H\006\210\001\001\022!\n\021serve_while_st" + + "ale\030\333\367\355p \001(\005H\007\210\001\001\022-\n\034signed_url_cache_ma" + + "x_age_sec\030\306\250\271\200\001 \001(\003H\010\210\001\001\022 \n\024signed_url_k" + + "ey_names\030\265\355\247\261\001 \003(\t\"\217\001\n\tCacheMode\022\030\n\024UNDE" + + "FINED_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_mode" + + "B\r\n\013_client_ttlB\016\n\014_default_ttlB\n\n\010_max_" + + "ttlB\023\n\021_negative_cachingB\025\n\023_request_coa" + + "lescingB\024\n\022_serve_while_staleB\037\n\035_signed" + + "_url_cache_max_age_sec\"_\n0BackendBucketC" + + "dnPolicyBypassCacheOnRequestHeader\022\033\n\013he" + + "ader_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\026quer" + + "y_string_whitelist\030\260\330\201\031 \003(\t\"h\n+BackendBu" + + "cketCdnPolicyNegativeCachingPolicy\022\024\n\004co" + + "de\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\002i" + + "d\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(" + + "\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\"\204\031\n\016" + + "BackendService\022(\n\027affinity_cookie_ttl_se" + + "c\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_" + + "policy\030\204\213\204f \001(\01320.google.cloud.compute.v" + + "1.BackendServiceCdnPolicyH\001\210\001\001\022K\n\020circui" + + "t_breakers\030\235\307\364\310\001 \001(\0132(.google.cloud.comp" + + "ute.v1.CircuitBreakersH\002\210\001\001\022Q\n\023connectio" + + "n_draining\030\253\216\357\333\001 \001(\0132+.google.cloud.comp" + + "ute.v1.ConnectionDrainingH\003\210\001\001\022k\n\032connec" + + "tion_tracking_policy\030\331\340\324D \001(\0132?.google.c" + + "loud.compute.v1.BackendServiceConnection" + + "TrackingPolicyH\004\210\001\001\022[\n\017consistent_hash\030\233" + + "\2457 \001(\0132;.google.cloud.compute.v1.Consist" + + "entHashLoadBalancerSettingsH\005\210\001\001\022\"\n\022crea" + + "tion_timestamp\030\266\217\307\016 \001(\tH\006\210\001\001\022!\n\026custom_r" + + "equest_headers\030\210\322\253\r \003(\t\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\007\210\001\001\022$\n\024edge_security_policy\030\217\331\310\023 " + + "\001(\tH\010\210\001\001\022\034\n\014enable_c_d_n\030\273\307\307w \001(\010H\t\210\001\001\022V" + + "\n\017failover_policy\030\237\362\2602 \001(\01325.google.clou" + + "d.compute.v1.BackendServiceFailoverPolic" + + "yH\n\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\013\210\001\001\022\031\n\rh" + + "ealth_checks\030\256\257\346\325\001 \003(\t\022>\n\003iap\030\330\254\006 \001(\0132*." + + "google.cloud.compute.v1.BackendServiceIA" + + "PH\014\210\001\001\022\020\n\002id\030\233\032 \001(\004H\r\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(" + + "\tH\016\210\001\001\022&\n\025load_balancing_scheme\030\304\214\302\255\001 \001(" + + "\tH\017\210\001\001\022i\n\024locality_lb_policies\030\235\362\234C \003(\0132" + + "H.google.cloud.compute.v1.BackendService" + + "LocalityLoadBalancingPolicyConfig\022\"\n\022loc" + + "ality_lb_policy\030\277\370\325> \001(\tH\020\210\001\001\022M\n\nlog_con" + + "fig\030\235\321\301\247\001 \001(\01320.google.cloud.compute.v1." + + "BackendServiceLogConfigH\021\210\001\001\022F\n\023max_stre" + + "am_duration\030\230\245\245\035 \001(\0132!.google.cloud.comp" + + "ute.v1.DurationH\022\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\023\210" + + "\001\001\022\027\n\007network\030\256\264\205o \001(\tH\024\210\001\001\022M\n\021outlier_d" + + "etection\030\276\314\214\251\001 \001(\0132).google.cloud.comput" + + "e.v1.OutlierDetectionH\025\210\001\001\022\024\n\004port\030\201\261\322\001 " + + "\001(\005H\026\210\001\001\022\031\n\tport_name\030\211\207\347\023 \001(\tH\027\210\001\001\022\030\n\010p" + + "rotocol\030\230\235\252( \001(\tH\030\210\001\001\022\026\n\006region\030\364\315\240B \001(\t" + + "H\031\210\001\001\022\037\n\017security_policy\030\221\206\312Q \001(\tH\032\210\001\001\022M" + + "\n\021security_settings\030\302\274\236\344\001 \001(\0132).google.c" + + "loud.compute.v1.SecuritySettingsH\033\210\001\001\022\032\n" + + "\tself_link\030\215\222\305\331\001 \001(\tH\034\210\001\001\022!\n\020session_aff" + + "inity\030\261\301\231\335\001 \001(\tH\035\210\001\001\022@\n\nsubsetting\030\220\220\333\326\001" + + " \001(\0132#.google.cloud.compute.v1.Subsettin" + + "gH\036\210\001\001\022\033\n\013timeout_sec\030\363\300\222& \001(\005H\037\210\001\001\"\325\001\n\023" + + "LoadBalancingScheme\022#\n\037UNDEFINED_LOAD_BA" + + "LANCING_SCHEME\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\030\n\020EXT" + + "ERNAL_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\035INVALID_LOAD_BALANCING_S" + + "CHEME\020\374\223\246\203\001\"\307\001\n\020LocalityLbPolicy\022 \n\034UNDE" + + "FINED_LOCALITY_LB_POLICY\020\000\022\031\n\021INVALID_LB" + + "_POLICY\020\263\347\225\232\001\022\024\n\rLEAST_REQUEST\020\371\304\234\026\022\r\n\006M" + + "AGLEV\020\352\227\3528\022\033\n\024ORIGINAL_DESTINATION\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\013ROU" + + "ND_ROBIN\020\371\206\261I\"\216\001\n\010Protocol\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\005" + + "HTTP2\020\252\241\370 \022\014\n\005HTTPS\020\313\241\370 \022\t\n\003SSL\020\354\203\005\022\t\n\003T" + + "CP\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\017CLIENT_IP_PROTO\020\244\305\211\014\022\030\n\020G" + + "ENERATED_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_breakersB\026\n\024_connection_drai" + + "ningB\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_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_p" + + "olicyB\r\n\013_log_configB\026\n\024_max_stream_dura" + + "tionB\007\n\005_nameB\n\n\010_networkB\024\n\022_outlier_de" + + "tectionB\007\n\005_portB\014\n\n_port_nameB\013\n\t_proto" + + "colB\t\n\007_regionB\022\n\020_security_policyB\024\n\022_s" + + "ecurity_settingsB\014\n\n_self_linkB\023\n\021_sessi" + + "on_affinityB\r\n\013_subsettingB\016\n\014_timeout_s" + + "ec\"\313\003\n\034BackendServiceAggregatedList\022\020\n\002i" + + "d\030\233\032 \001(\tH\000\210\001\001\022R\n\005items\030\300\317\367/ \003(\0132@.google" + + ".cloud.compute.v1.BackendServiceAggregat" + + "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\022A\n\005value\030\002 \001(\01322.google.clou" + + "d.compute.v1.BackendServicesScopedList:\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\"\267\007\n\027BackendServ" + + "iceCdnPolicy\022w\n\037bypass_cache_on_request_" + + "headers\030\312\275\353\347\001 \003(\0132J.google.cloud.compute" + + ".v1.BackendServiceCdnPolicyBypassCacheOn" + + "RequestHeader\022I\n\020cache_key_policy\030\357\327\370K \001" + + "(\0132\'.google.cloud.compute.v1.CacheKeyPol" + + "icyH\000\210\001\001\022\032\n\ncache_mode\030\300\310\342\r \001(\tH\001\210\001\001\022\032\n\n" + + "client_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\022i\n\027ne" + + "gative_caching_policy\030\374\265\212J \003(\0132E.google." + + "cloud.compute.v1.BackendServiceCdnPolicy" + + "NegativeCachingPolicy\022#\n\022request_coalesc" + + "ing\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_ag" + + "e_sec\030\306\250\271\200\001 \001(\003H\010\210\001\001\022 \n\024signed_url_key_n" + + "ames\030\265\355\247\261\001 \003(\t\"\217\001\n\tCacheMode\022\030\n\024UNDEFINE" + + "D_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_CAC" + + "HE_MODE\020\310\267\350\265\001\022\031\n\022USE_ORIGIN_HEADERS\020\245\222\264\032" + + "B\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_ttlB" + + "\023\n\021_negative_cachingB\025\n\023_request_coalesc" + + "ingB\024\n\022_serve_while_staleB\037\n\035_signed_url" + + "_cache_max_age_sec\"`\n1BackendServiceCdnP" + + "olicyBypassCacheOnRequestHeader\022\033\n\013heade" + + "r_name\030\375\301\3074 \001(\tH\000\210\001\001B\016\n\014_header_name\"i\n," + + "BackendServiceCdnPolicyNegativeCachingPo" + + "licy\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&BackendServi" + + "ceConnectionTrackingPolicy\022<\n,connection" + + "_persistence_on_unhealthy_backends\030\371\221\330H " + + "\001(\tH\000\210\001\001\022&\n\026enable_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_mode\030\253\334\365< \001(\tH\003\210\001\001\"\260\001\n(Co" + + "nnectionPersistenceOnUnhealthyBackends\022:" + + "\n6UNDEFINED_CONNECTION_PERSISTENCE_ON_UN" + + "HEALTHY_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\014TrackingMode\022\033\n\027UNDEFINE" + + "D_TRACKING_MODE\020\000\022\034\n\025INVALID_TRACKING_MO" + + "DE\020\303\203\275\027\022\025\n\016PER_CONNECTION\020\340\366\315(\022\022\n\013PER_SE" + + "SSION\020\264\272\352VB/\n-_connection_persistence_on" + + "_unhealthy_backendsB\031\n\027_enable_strong_af" + + "finityB\023\n\021_idle_timeout_secB\020\n\016_tracking" + + "_mode\"\371\001\n\034BackendServiceFailoverPolicy\0224" + + "\n$disable_connection_drain_on_failover\030\341" + + "\314\355V \001(\010H\000\210\001\001\022)\n\031drop_traffic_if_unhealth" + + "y\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_drain_on_" + + "failoverB\034\n\032_drop_traffic_if_unhealthyB\021" + + "\n\017_failover_ratio\"\215\002\n\031BackendServiceGrou" + + "pHealth\022[\n\013annotations\030\244\366\2655 \003(\0132C.google" + + ".cloud.compute.v1.BackendServiceGroupHea" + + "lth.AnnotationsEntry\022@\n\rhealth_status\030\265\326" + + "\272\265\001 \003(\0132%.google.cloud.compute.v1.Health" + + "Status\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\0322\n\020Annotati" + + "onsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" + + "B\007\n\005_kind\"\373\001\n\021BackendServiceIAP\022\026\n\007enabl" + + "ed\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_secret\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_oauth2_cli" + + "ent_idB\027\n\025_oauth2_client_secretB\036\n\034_oaut" + + "h2_client_secret_sha256\"\255\002\n\022BackendServi" + + "ceList\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.BackendServ" + + "ice\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\"\253\002\n/BackendServiceLocalityLoadBa" + + "lancingPolicyConfig\022s\n\rcustom_policy\030\300\213\246" + + "\002 \001(\0132T.google.cloud.compute.v1.BackendS" + + "erviceLocalityLoadBalancingPolicyConfigC" + + "ustomPolicyH\000\210\001\001\022f\n\006policy\030\262\312\266+ \001(\0132N.go" + + "ogle.cloud.compute.v1.BackendServiceLoca" + + "lityLoadBalancingPolicyConfigPolicyH\001\210\001\001" + + "B\020\n\016_custom_policyB\t\n\007_policy\"{\n;Backend" + + "ServiceLocalityLoadBalancingPolicyConfig" + + "CustomPolicy\022\024\n\004data\030\252\337\273\001 \001(\tH\000\210\001\001\022\024\n\004na" + + "me\030\213\365\315\001 \001(\tH\001\210\001\001B\007\n\005_dataB\007\n\005_name\"\206\002\n5B" + + "ackendServiceLocalityLoadBalancingPolicy" + + "ConfigPolicy\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\"\255\001\n\004N" + + "ame\022\022\n\016UNDEFINED_NAME\020\000\022\031\n\021INVALID_LB_PO" + + "LICY\020\263\347\225\232\001\022\024\n\rLEAST_REQUEST\020\371\304\234\026\022\r\n\006MAGL" + + "EV\020\352\227\3528\022\033\n\024ORIGINAL_DESTINATION\020\200\375\245O\022\r\n\006" + + "RANDOM\020\303\261\227}\022\021\n\tRING_HASH\020\275\333\257\316\001\022\022\n\013ROUND_" + + "ROBIN\020\371\206\261IB\007\n\005_name\"j\n\027BackendServiceLog" + + "Config\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022\033\n\013sampl" + + "e_rate\030\325\224\206I \001(\002H\001\210\001\001B\t\n\007_enableB\016\n\014_samp" + + "le_rate\"O\n\027BackendServiceReference\022 \n\017ba" + + "ckend_service\030\212\300\256\222\001 \001(\tH\000\210\001\001B\022\n\020_backend" + + "_service\"\251\001\n\031BackendServicesScopedList\022E" + + "\n\020backend_services\030\251\303\241\271\001 \003(\0132\'.google.cl" + + "oud.compute.v1.BackendService\0229\n\007warning" + + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" + + "ingH\000\210\001\001B\n\n\010_warning\"\347\t\n\tBfdPacket\022&\n\026au" + + "thentication_present\030\364\223\3042 \001(\010H\000\210\001\001\022)\n\031co" + + "ntrol_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\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\006len" + + "gth\030\346\365\270\360\001 \001(\rH\005\210\001\001\022\'\n\027min_echo_rx_interv" + + "al_ms\030\324\365\261. \001(\rH\006\210\001\001\022#\n\022min_rx_interval_m" + + "s\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_disc" + + "riminator\030\311\222\307$ \001(\rH\013\210\001\001\022\024\n\004poll\030\277\257\322\001 \001(\010" + + "H\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\022your_discriminator\030\220\347\357" + + "\365\001 \001(\rH\017\210\001\001\"\336\002\n\nDiagnostic\022\030\n\024UNDEFINED_" + + "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\036CON" + + "TROL_DETECTION_TIME_EXPIRED\020\357\370\314@\022\035\n\026DIAG" + + "NOSTIC_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\tPATH_DOWN\020\374" + + "\220\311\212\001\022&\n\036REVERSE_CONCATENATED_PATH_DOWN\020\251" + + "\265\310\344\001\"m\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\021\n\nAD" + + "MIN_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\031\n\027_" + + "authentication_presentB\034\n\032_control_plane" + + "_independentB\t\n\007_demandB\r\n\013_diagnosticB\010" + + "\n\006_finalB\t\n\007_lengthB\032\n\030_min_echo_rx_inte" + + "rval_msB\025\n\023_min_rx_interval_msB\025\n\023_min_t" + + "x_interval_msB\r\n\013_multiplierB\r\n\013_multipo" + + "intB\023\n\021_my_discriminatorB\007\n\005_pollB\010\n\006_st" + + "ateB\n\n\010_versionB\025\n\023_your_discriminator\"\354" + + "\n\n\tBfdStatus\022/\n\037bfd_session_initializati" + + "on_mode\030\232\237\203h \001(\tH\000\210\001\001\022/\n\036config_update_t" + + "imestamp_micros\030\261\200\201\332\001 \001(\003H\001\210\001\001\022U\n\025contro" + + "l_packet_counts\030\371\322\233? \001(\0132..google.cloud." + + "compute.v1.BfdStatusPacketCountsH\002\210\001\001\022N\n" + + "\030control_packet_intervals\030\371\347\346\356\001 \003(\0132(.go" + + "ogle.cloud.compute.v1.PacketIntervals\022!\n" + + "\020local_diagnostic\030\373\241\220\335\001 \001(\tH\003\210\001\001\022\033\n\013loca" + + "l_state\030\275\225\222G \001(\tH\004\210\001\001\0227\n\'negotiated_loca" + + "l_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.cloud.com" + + "pute.v1.BfdPacketH\006\210\001\001\022=\n\ttx_packet\030\243\275\2165" + + " \001(\0132\".google.cloud.compute.v1.BfdPacket" + + "H\007\210\001\001\022\031\n\tuptime_ms\030\335\332\345; \001(\003H\010\210\001\001\"\200\001\n\034Bfd" + + "SessionInitializationMode\022-\n)UNDEFINED_B" + + "FD_SESSION_INITIALIZATION_MODE\020\000\022\016\n\006ACTI" + + "VE\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\001\"\351\002\n\017LocalDiagnostic\022\036\n\032UNDEFINED_LOC" + + "AL_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\036" + + "CONTROL_DETECTION_TIME_EXPIRED\020\357\370\314@\022\035\n\026D" + + "IAGNOSTIC_UNSPECIFIED\020\377\204\200\034\022\033\n\024ECHO_FUNCT" + + "ION_FAILED\020\352\330\235i\022\035\n\026FORWARDING_PLANE_RESE" + + "T\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\tPATH_DOW" + + "N\020\374\220\311\212\001\022&\n\036REVERSE_CONCATENATED_PATH_DOW" + + "N\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_initialization" + + "_modeB!\n\037_config_update_timestamp_micros" + + "B\030\n\026_control_packet_countsB\023\n\021_local_dia" + + "gnosticB\016\n\014_local_stateB*\n(_negotiated_l" + + "ocal_control_tx_interval_msB\014\n\n_rx_packe" + + "tB\014\n\n_tx_packetB\014\n\n_uptime_ms\"\315\001\n\025BfdSta" + + "tusPacketCounts\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\006num_tx\030" + + "\335\243\343\022 \001(\rH\003\210\001\001B\t\n\007_num_rxB\022\n\020_num_rx_reje" + + "ctedB\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.comp" + + "ute.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_c" + + "onditionB\007\n\005_role\"\363\001\n\031BulkInsertInstance" + + "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\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\"\351\002\n0CreateInstan" - + "cesRegionInstanceGroupManagerRequest\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\037\n\006regio" - + "n\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\235\001\n@region_inst" - + "ance_group_managers_create_instances_req" - + "uest_resource\030\210\277\230\253\001 \001(\0132J.google.cloud.c" - + "ompute.v1.RegionInstanceGroupManagersCre" - + "ateInstancesRequestB\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\031CreateSn" - + "apshotDiskRequest\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\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.SnapshotB\003" - + "\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\016\n\014_gue" - + "st_flushB\r\n\013_request_id\"\355\001\n\037CreateSnapsh" - + "otRegionDiskRequest\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\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\022E\n\021snapshot_resource\030\251" - + "\270\301\345\001 \001(\0132!.google.cloud.compute.v1.Snaps" - + "hotB\003\340A\002B\r\n\013_request_id\"\217\002\n\025CustomerEncr" - + "yptionKey\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_encry" - + "pted_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_key_ser" - + "vice_accountB\n\n\010_raw_keyB\024\n\022_rsa_encrypt" - + "ed_keyB\t\n\007_sha256\"\265\001\n\"CustomerEncryption" - + "KeyProtectedDisk\022T\n\023disk_encryption_key\030" - + "\205\355\304\201\001 \001(\0132..google.cloud.compute.v1.Cust" - + "omerEncryptionKeyH\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_sourc" - + "e\"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_value\"\353\001\n!Delet" - + "eAccessConfigInstanceRequest\022\035\n\raccess_c" - + "onfig\030\375\344\336\" \001(\tB\003\340A\002\022\030\n\010instance\030\225\251\332\010 \001(\t" - + "B\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\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\"\237\001\n\024DeleteA" - + "ddressRequest\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\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\"\241\001\n\027Delet" - + "eAutoscalerRequest\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\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\"\212\001\n\032D" - + "eleteBackendBucketRequest\022\036\n\016backend_buc" - + "ket\030\365\343\335+ \001(\tB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340" + + "\002\362G\004zoneB\r\n\013_request_id\"\245\005\n\032BulkInsertIn" + + "stanceResource\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.c" + + "loud.compute.v1.InstancePropertiesH\001\210\001\001\022" + + "I\n\017location_policy\030\374\271\207\336\001 \001(\0132\'.google.cl" + + "oud.compute.v1.LocationPolicyH\002\210\001\001\022\032\n\tmi" + + "n_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(\0132N.google.cloud.compute.v1.Bulk" + + "InsertInstanceResource.PerInstanceProper" + + "tiesEntry\022)\n\030source_instance_template\030\300\303" + + "\301\236\001 \001(\tH\005\210\001\001\032\206\001\n\032PerInstancePropertiesEn" + + "try\022\013\n\003key\030\001 \001(\t\022W\n\005value\030\002 \001(\0132H.google" + + ".cloud.compute.v1.BulkInsertInstanceReso" + + "urcePerInstanceProperties:\0028\001B\010\n\006_countB" + + "\026\n\024_instance_propertiesB\022\n\020_location_pol" + + "icyB\014\n\n_min_countB\017\n\r_name_patternB\033\n\031_s" + + "ource_instance_template\"P\n/BulkInsertIns" + + "tanceResourcePerInstanceProperties\022\024\n\004na" + + "me\030\213\365\315\001 \001(\tH\000\210\001\001B\007\n\005_name\"\375\001\n\037BulkInsert" + + "RegionInstanceRequest\022k\n&bulk_insert_ins" + + "tance_resource_resource\030\316\302\340\023 \001(\01323.googl" + + "e.cloud.compute.v1.BulkInsertInstanceRes" + + "ourceB\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\"U\n\025CacheInvalidationRule\022\024\n\004host\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\001B\007\n\005_hostB" + + "\007\n\005_path\"\302\002\n\016CacheKeyPolicy\022\035\n\014include_h" + + "ost\030\337\205\224\350\001 \001(\010H\000\210\001\001\022\037\n\024include_http_heade" + + "rs\030\206\372\227\001 \003(\t\022 \n\025include_named_cookies\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\026q" + + "uery_string_whitelist\030\260\330\201\031 \003(\tB\017\n\r_inclu" + + "de_hostB\023\n\021_include_protocolB\027\n\025_include" + + "_query_string\"\260\002\n\017CircuitBreakers\022\037\n\017max" + + "_connections\030\372\325\3414 \001(\005H\000\210\001\001\022%\n\024max_pendin" + + "g_requests\030\347\245\212\263\001 \001(\005H\001\210\001\001\022\034\n\014max_request" + + "s\030\277\370\262\r \001(\005H\002\210\001\001\022,\n\033max_requests_per_conn" + + "ection\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_connectionsB\027\n\025_max_p" + + "ending_requestsB\017\n\r_max_requestsB\036\n\034_max" + + "_requests_per_connectionB\016\n\014_max_retries" + + "\"\261\001\n\037CloneRulesFirewallPolicyRequest\022 \n\017" + + "firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\032\n\nreques" + + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001\022&\n\026source_firewall_po" + + "licy\030\255\332\366\013 \001(\tH\001\210\001\001B\r\n\013_request_idB\031\n\027_so" + + "urce_firewall_policy\"\333\001\n&CloneRulesNetwo" + + "rkFirewallPolicyRequest\022 \n\017firewall_poli" + + "cy\030\321\212\306\355\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" - + "B\r\n\013_request_id\"\215\001\n\033DeleteBackendService" - + "Request\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\n" - + "request_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\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\"\225\001\n\037Delet" - + "eExternalVpnGatewayRequest\022$\n\024external_v" - + "pn_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\033DeleteFirewall" - + "PolicyRequest\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\001B\r\n\013_" - + "request_id\"\200\001\n\025DeleteFirewallRequest\022\031\n\010" - + "firewall\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\"\256\001\n\033DeleteForwardi" - + "ngRuleRequest\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\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\"\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!DeleteGlobalForwarding" - + "RuleRequest\022 \n\017forwarding_rule\030\376\245\335\200\001 \001(\t" + + "\022&\n\026source_firewall_policy\030\255\332\366\013 \001(\tH\001\210\001\001" + + "B\r\n\013_request_idB\031\n\027_source_firewall_poli" + + "cy\"\202\002\n,CloneRulesRegionNetworkFirewallPo" + + "licyRequest\022 \n\017firewall_policy\030\321\212\306\355\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\001B\r\n\013_request" - + "_id\"\240\001\n\'DeleteGlobalNetworkEndpointGroup" - + "Request\022\'\n\026network_endpoint_group\030\206\313\363\316\001 " + + "\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\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\"\262\013\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\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" + + "\036\n\rend_timestamp\030\262\255\232\337\001 \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\022U\n\020licen" + + "se_resource\030\314\324\352\320\001 \001(\01322.google.cloud.com" + + "pute.v1.LicenseResourceCommitmentH\007\210\001\001\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\014reservatio" + + "ns\030\247\354\314\276\001 \003(\0132$.google.cloud.compute.v1.R" + + "eservation\022A\n\tresources\030\245\374\262N \003(\0132+.googl" + + "e.cloud.compute.v1.ResourceCommitment\022\032\n" + + "\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\022\037\n\017start_times" + + "tamp\030\371\252\361\' \001(\tH\014\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\r\210" + + "\001\001\022\037\n\016status_message\030\272\311\351\215\001 \001(\tH\016\210\001\001\022\024\n\004t" + + "ype\030\272\236\332\001 \001(\tH\017\210\001\001\"b\n\010Category\022\026\n\022UNDEFIN" + + "ED_CATEGORY\020\000\022\034\n\024CATEGORY_UNSPECIFIED\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\014TWELVE_MO" + + "NTH\020\272\232\304R\"h\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000" + + "\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\010CREATING\020\271\275\235\331\001\022\017\n\007EX" + + "PIRED\020\205\346\210\346\001\022\025\n\016NOT_YET_ACTIVE\020\351\342\351\t\"\257\002\n\004T" + + "ype\022\022\n\016UNDEFINED_TYPE\020\000\022\035\n\025ACCELERATOR_O" + + "PTIMIZED\020\223\320\365\205\001\022\030\n\021COMPUTE_OPTIMIZED\020\337\355\300K" + + "\022\035\n\025COMPUTE_OPTIMIZED_C2D\020\365\300\337\266\001\022\027\n\017GENER" + + "AL_PURPOSE\020\207\371\371\216\001\022\032\n\022GENERAL_PURPOSE_E2\020\305" + + "\236\373\217\001\022\032\n\022GENERAL_PURPOSE_N2\020\334\240\373\217\001\022\032\n\023GENE" + + "RAL_PURPOSE_N2D\020\350\366\354n\022\032\n\023GENERAL_PURPOSE_" + + "T2D\020\356\243\355n\022\030\n\020MEMORY_OPTIMIZED\020\311\356\254\206\001\022\030\n\020TY" + + "PE_UNSPECIFIED\020\222\373\333\320\001B\r\n\013_auto_renewB\013\n\t_" + + "categoryB\025\n\023_creation_timestampB\016\n\014_desc" + + "riptionB\020\n\016_end_timestampB\005\n\003_idB\007\n\005_kin" + + "dB\023\n\021_license_resourceB\007\n\005_nameB\007\n\005_plan" + + "B\t\n\007_regionB\014\n\n_self_linkB\022\n\020_start_time" + + "stampB\t\n\007_statusB\021\n\017_status_messageB\007\n\005_" + + "type\"\277\003\n\030CommitmentAggregatedList\022\020\n\002id\030" + + "\233\032 \001(\tH\000\210\001\001\022N\n\005items\030\300\317\367/ \003(\0132<.google.c" + + "loud.compute.v1.CommitmentAggregatedList" + + ".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\032\\\n\nItemsEntry\022\013\n\003key\030" + + "\001 \001(\t\022=\n\005value\030\002 \001(\0132..google.cloud.comp" + + "ute.v1.CommitmentsScopedList:\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\"\245\002\n\016CommitmentList\022\020\n\002id\030" + + "\233\032 \001(\tH\000\210\001\001\0225\n\005items\030\300\317\367/ \003(\0132#.google.c" + + "loud.compute.v1.Commitment\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\"\234\001\n\025Commi" + + "tmentsScopedList\022<\n\013commitments\030\376\257\362\326\001 \003(" + + "\0132#.google.cloud.compute.v1.Commitment\0229" + + "\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comput" + + "e.v1.WarningH\000\210\001\001B\n\n\010_warning\"\210\004\n\tCondit" + + "ion\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\rUNDEFINE" + + "D_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\022J" + + "USTIFICATION_TYPE\020\207\241\246b\022\026\n\016SECURITY_REALM" + + "\020\260\371\370\372\001\"r\n\002Op\022\020\n\014UNDEFINED_OP\020\000\022\021\n\nDISCHA" + + "RGED\020\342\377\377~\022\016\n\006EQUALS\020\277\347\355\322\001\022\007\n\002IN\020\245\022\022\021\n\nNO" + + "T_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\032Conf" + + "identialInstanceConfig\022+\n\033enable_confide" + + "ntial_compute\030\274\353\3310 \001(\010H\000\210\001\001B\036\n\034_enable_c" + + "onfidential_compute\"S\n\022ConnectionDrainin" + + "g\022$\n\024draining_timeout_sec\030\236\325\254k \001(\005H\000\210\001\001B" + + "\027\n\025_draining_timeout_sec\"\210\002\n\"ConsistentH" + + "ashLoadBalancerSettings\022b\n\013http_cookie\030\373" + + "\253\227\003 \001(\0132E.google.cloud.compute.v1.Consis" + + "tentHashLoadBalancerSettingsHttpCookieH\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_htt" + + "p_cookieB\023\n\021_http_header_nameB\024\n\022_minimu" + + "m_ring_size\"\253\001\n,ConsistentHashLoadBalanc" + + "erSettingsHttpCookie\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.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\r" + + "allow_headers\030\220\301\305\025 \003(\t\022\030\n\rallow_methods\030" + + "\274\371\370a \003(\t\022\037\n\024allow_origin_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\016expose_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_cr" + + "edentialsB\013\n\t_disabledB\n\n\010_max_age\"\321\002\n*C" + + "reateInstancesInstanceGroupManagerReques" + + "t\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\003\340A" + + "\002\022\217\001\n9instance_group_managers_create_ins" + + "tances_request_resource\030\223\372\332\013 \001(\0132D.googl" + + "e.cloud.compute.v1.InstanceGroupManagers" + + "CreateInstancesRequestB\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\"\351\002\n0CreateInstancesRegion" + + "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\235\001\n@region_instance_grou" + + "p_managers_create_instances_request_reso" + + "urce\030\210\277\230\253\001 \001(\0132J.google.cloud.compute.v1" + + ".RegionInstanceGroupManagersCreateInstan" + + "cesRequestB\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\031CreateSnapshotDis" + + "kRequest\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(\t" + + "B\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!.goo" + + "gle.cloud.compute.v1.SnapshotB\003\340A\002\022\033\n\004zo" + + "ne\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\037CreateSnapshotRegionD" + + "iskRequest\022\024\n\004disk\030\235\233\274\001 \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\001\022E\n\021snapshot_resource\030\251\270\301\345\001 \001(\0132" + + "!.google.cloud.compute.v1.SnapshotB\003\340A\002B" + + "\r\n\013_request_id\"\217\002\n\025CustomerEncryptionKey" + + "\022\035\n\014kms_key_name\030\231\353\373\346\001 \001(\tH\000\210\001\001\022\'\n\027kms_k" + + "ey_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_key_service_acco" + + "untB\n\n\010_raw_keyB\024\n\022_rsa_encrypted_keyB\t\n" + + "\007_sha256\"\265\001\n\"CustomerEncryptionKeyProtec" + + "tedDisk\022T\n\023disk_encryption_key\030\205\355\304\201\001 \001(\013" + + "2..google.cloud.compute.v1.CustomerEncry" + + "ptionKeyH\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\005value\030\361\242\2625 \001(\tH\001" + + "\210\001\001B\006\n\004_keyB\010\n\006_value\"\353\001\n!DeleteAccessCo" + + "nfigInstanceRequest\022\035\n\raccess_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\021" + + "network_interface\030\350\300\235\256\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\"\237\001\n\024DeleteAddressReq" + + "uest\022\030\n\007address\030\364\267\336\334\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\"\241\001\n\027DeleteAutoscal" + + "erRequest\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\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\"\212\001\n\032DeleteBack" + + "endBucketRequest\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\007proj" + "ect\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_requ" - + "est_id\"R\n\034DeleteGlobalOperationRequest\022\031" - + "\n\toperation\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301" - + "l \001(\tB\003\340A\002\"\037\n\035DeleteGlobalOperationRespo" - + "nse\"o\n(DeleteGlobalOrganizationOperation" - + "Request\022\031\n\toperation\030\347\252\353\030 \001(\tB\003\340A\002\022\032\n\tpa" - + "rent_id\030\320\341\232\333\001 \001(\tH\000\210\001\001B\014\n\n_parent_id\"+\n)" - + "DeleteGlobalOrganizationOperationRespons" - + "e\"\242\001\n)DeleteGlobalPublicDelegatedPrefixe" - + "Request\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007proje" - + "ct\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_requ" - + "est_id\"\207\001\n\030DeleteHealthCheckRequest\022\035\n\014h" - + "ealth_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\nrequest_id\030\313\201\331\021" - + " \001(\tH\000\210\001\001B\r\n\013_request_id\"y\n\022DeleteImageR" - + "equest\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\nrequest_id\030\313" - + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\266\001\n!DeleteIn" - + "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\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\"\247\001\n\032DeleteInstanceGroupRequ" - + "est\022\036\n\016instance_group\030\325\324\325& \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\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002" - + "\362G\004zoneB\r\n\013_request_id\"\234\001\n\025DeleteInstanc" - + "eRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022!\n\007pr" + + "est_id\"\215\001\n\033DeleteBackendServiceRequest\022 " + + "\n\017backend_service\030\212\300\256\222\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\001B\r\n\013_request_id\"\224\001\n\021Delet" + + "eDiskRequest\022\024\n\004disk\030\235\233\274\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\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362" - + "G\004zoneB\r\n\013_request_id\"\221\001\n\035DeleteInstance" - + "TemplateRequest\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\007p" - + "roject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_r" - + "equest_id\"\321\002\n*DeleteInstancesInstanceGro" - + "upManagerRequest\022&\n\026instance_group_manag" - + "er\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n9instance_group_mana" - + "gers_delete_instances_request_resource\030\204" - + "\306\255O \001(\0132D.google.cloud.compute.v1.Instan" - + "ceGroupManagersDeleteInstancesRequestB\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\"\351\002\n0Delete" - + "InstancesRegionInstanceGroupManagerReque" - + "st\022&\n\026instance_group_manager\030\303\367\363v \001(\tB\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\235\001\n@regio" - + "n_instance_group_managers_delete_instanc" - + "es_request_resource\030\371\212\353\356\001 \001(\0132J.google.c" - + "loud.compute.v1.RegionInstanceGroupManag" - + "ersDeleteInstancesRequestB\003\340A\002\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\276\001\n#De" - + "leteInterconnectAttachmentRequest\022(\n\027int" - + "erconnect_attachment\030\364\212\367\222\001 \001(\tB\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\"\207\001\n\031DeleteInt" - + "erconnectRequest\022\034\n\014interconnect\030\216\311\214k \001(" + + "G\004zoneB\r\n\013_request_id\"\225\001\n\037DeleteExternal" + + "VpnGatewayRequest\022$\n\024external_vpn_gatewa" + + "y\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\033DeleteFirewallPolicyReq" + + "uest\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\001B\r\n\013_request_i" + + "d\"\200\001\n\025DeleteFirewallRequest\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\362" + + "G\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\033DeleteForwardingRuleReq" + + "uest\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\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\"\204\001\n\032Delete" + + "GlobalAddressRequest\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\007projec" + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reques" - + "t_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\031DeleteMachineImageReques" - + "t\022\035\n\rmachine_image\030\343\376\376 \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\"\267\001\n!Delet" - + "eNetworkEndpointGroupRequest\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\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zon" - + "eB\r\n\013_request_id\"}\n\024DeleteNetworkRequest" - + "\022\027\n\007network\030\256\264\205o \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\001B\r\n\013_request_id\"\240\001\n\026DeleteNodeGr" - + "oupRequest\022\033\n\nnode_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022" + + "t_id\"\223\001\n!DeleteGlobalForwardingRuleReque" + + "st\022 \n\017forwarding_rule\030\376\245\335\200\001 \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\001B\r\n\013_request_id\"\240\001\n\'D" + + "eleteGlobalNetworkEndpointGroupRequest\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\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\"\252\001\n\031DeleteNod" - + "eTemplateRequest\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\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\"" - + "\227\002\n\033DeleteNodesNodeGroupRequest\022\033\n\nnode_" - + "group\030\202\374\213\340\001 \001(\tB\003\340A\002\022p\n)node_groups_dele" - + "te_nodes_request_resource\030\222\327\263W \001(\01325.goo" - + "gle.cloud.compute.v1.NodeGroupsDeleteNod" - + "esRequestB\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\"\257\001\n\034DeletePacketMirroringRequest\022 \n\020pa" - + "cket_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\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH" - + "\000\210\001\001B\r\n\013_request_id\"\274\002\n3DeletePerInstanc" - + "eConfigsInstanceGroupManagerRequest\022&\n\026i" - + "nstance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\234\001\n@" - + "instance_group_managers_delete_per_insta" - + "nce_configs_req_resource\030\240\352\350\254\001 \001(\0132I.goo" - + "gle.cloud.compute.v1.InstanceGroupManage" - + "rsDeletePerInstanceConfigsReqB\003\340A\002\022!\n\007pr" - + "oject\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\n9DeletePerInstance" - + "ConfigsRegionInstanceGroupManagerRequest" - + "\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\234\001\nAregion_" - + "instance_group_manager_delete_instance_c" - + "onfig_req_resource\030\205\233- \001(\0132J.google.clou" - + "d.compute.v1.RegionInstanceGroupManagerD" - + "eleteInstanceConfigReqB\003\340A\002\"\236\001\n$DeletePu" - + "blicAdvertisedPrefixeRequest\022!\n\007project\030" - + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022(\n\030public_advert" - + "ised_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#DeleteP" - + "ublicDelegatedPrefixeRequest\022!\n\007project\030" - + "\231\226\301l \001(\tB\r\340A\002\362G\007project\022\'\n\027public_delega" - + "ted_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(\t" - + "H\000\210\001\001B\r\n\013_request_id\"\253\001\n\035DeleteRegionAut" - + "oscalerRequest\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\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\264\001\n!D" - + "eleteRegionBackendServiceRequest\022 \n\017back" - + "end_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022!\n\007project\030\231\226" + + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"R\n" + + "\034DeleteGlobalOperationRequest\022\031\n\toperati" + + "on\030\347\252\353\030 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A" + + "\002\"\037\n\035DeleteGlobalOperationResponse\"o\n(De" + + "leteGlobalOrganizationOperationRequest\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_id\"+\n)DeleteGlo" + + "balOrganizationOperationResponse\"\242\001\n)Del" + + "eteGlobalPublicDelegatedPrefixeRequest\022!" + + "\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\'\n\027pub" + + "lic_delegated_prefix\030\350\334\261a \001(\tB\003\340A\002\022\032\n\nre" + + "quest_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_che" + + "ck\030\345\252\244\223\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" + + "B\r\n\013_request_id\"y\n\022DeleteImageRequest\022\025\n" + + "\005image\030\333\322\352/ \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\"\266\001\n!DeleteInstanceGro" + + "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\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\"\247\001\n\032DeleteInstanceGroupRequest\022\036\n\016in" + + "stance_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\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\025DeleteInstanceRequest\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\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n" + + "\013_request_id\"\221\001\n\035DeleteInstanceTemplateR" + + "equest\022\"\n\021instance_template\030\344\201\273\223\001 \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" + + "\"\321\002\n*DeleteInstancesInstanceGroupManager" + + "Request\022&\n\026instance_group_manager\030\303\367\363v \001" + + "(\tB\003\340A\002\022\217\001\n9instance_group_managers_dele" + + "te_instances_request_resource\030\204\306\255O \001(\0132D" + + ".google.cloud.compute.v1.InstanceGroupMa" + + "nagersDeleteInstancesRequestB\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\"\351\002\n0DeleteInstances" + + "RegionInstanceGroupManagerRequest\022&\n\026ins" + + "tance_group_manager\030\303\367\363v \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\235\001\n@region_instanc" + + "e_group_managers_delete_instances_reques" + + "t_resource\030\371\212\353\356\001 \001(\0132J.google.cloud.comp" + + "ute.v1.RegionInstanceGroupManagersDelete" + + "InstancesRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021" + + " \001(\tH\000\210\001\001B\r\n\013_request_id\"\276\001\n#DeleteInter" + + "connectAttachmentRequest\022(\n\027interconnect" + + "_attachment\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(\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\"\236\001\n\027DeleteRegionDiskRe" - + "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\"\256\001\n\036DeleteRegionHealt" - + "hCheckRequest\022\035\n\014health_check\030\345\252\244\223\001 \001(\tB" + + "\001\001B\r\n\013_request_id\"\207\001\n\031DeleteInterconnect" + + "Request\022\034\n\014interconnect\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\nrequ" + + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"}\n\024D" + + "eleteLicenseRequest\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" - + "\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\"\275\001\n%" - + "DeleteRegionHealthCheckServiceRequest\022%\n" - + "\024health_check_service\030\333\233\335\302\001 \001(\tB\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\"\300\001\n\'DeleteRe" - + "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\032\n\nrequest_id\030\313\201\331\021 \001" - + "(\tH\000\210\001\001B\r\n\013_request_id\"\301\001\n\'DeleteRegionN" - + "etworkEndpointGroupRequest\022\'\n\026network_en" - + "dpoint_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\001B\r\n\013_request_id\"\300\001\n\'DeleteRegionNotif" - + "icationEndpointRequest\022&\n\025notification_e" - + "ndpoint\030\351\274\326\263\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\"j\n\034DeleteRegionOperationRe" - + "quest\022\031\n\toperation\030\347\252\353\030 \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\"\037\n\035DeleteRegionOperationResponse\"\263\001\n!D" - + "eleteRegionSslCertificateRequest\022!\n\007proj" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_" + + "id\"\210\001\n\031DeleteMachineImageRequest\022\035\n\rmach" + + "ine_image\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\"\307\001\n\'DeleteNetworkE" + + "dgeSecurityServiceRequest\022-\n\035network_edg" + + "e_security_service\030\247\237\357J \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\001\022\037\n\017ssl_certificate\030\344\327\222\026 \001(\tB\003\340A" - + "\002B\r\n\013_request_id\"\266\001\n\"DeleteRegionTargetH" - + "ttpProxyRequest\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\021targe" - + "t_http_proxy\030\345\276\322b \001(\tB\003\340A\002B\r\n\013_request_i" - + "d\"\270\001\n#DeleteRegionTargetHttpsProxyReques" - + "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\"\n\022target_https_proxy\030" - + "\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\244\001\n\031DeleteR" - + "egionUrlMapRequest\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\030\n\007ur" - + "l_map\030\214\225\201\257\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\242\001\n\030" - + "DeleteReservationRequest\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\013reservation\030\314\207\325\026 \001(\tB\003\340A\002\022\033\n\004" - + "zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id" - + "\"\255\001\n\033DeleteResourcePolicyRequest\022!\n\007proj" + + "\001(\tH\000\210\001\001B\r\n\013_request_id\"\267\001\n!DeleteNetwor" + + "kEndpointGroupRequest\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\001\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_r" + + "equest_id\"\224\001\n\"DeleteNetworkFirewallPolic" + + "yRequest\022 \n\017firewall_policy\030\321\212\306\355\001 \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" + + "\"}\n\024DeleteNetworkRequest\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\007pro" + + "ject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_req" + + "uest_id\"\240\001\n\026DeleteNodeGroupRequest\022\033\n\nno" + + "de_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\031DeleteNodeTemplateRequest" + + "\022\036\n\rnode_template\030\227\344\213\232\001 \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\001\022\037\n\017resource_policy\030\203\245\367K \001(\tB\003\340A" - + "\002B\r\n\013_request_id\"y\n\022DeleteRouteRequest\022!" + + "\001(\tH\000\210\001\001B\r\n\013_request_id\"\227\002\n\033DeleteNodesN" + + "odeGroupRequest\022\033\n\nnode_group\030\202\374\213\340\001 \001(\tB" + + "\003\340A\002\022p\n)node_groups_delete_nodes_request" + + "_resource\030\222\327\263W \001(\01325.google.cloud.comput" + + "e.v1.NodeGroupsDeleteNodesRequestB\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\025\n\005route\030\311\344\3523 \001(\tB" - + "\003\340A\002B\r\n\013_request_id\"\234\001\n\023DeleteRouterRequ" - + "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\022\032\n\nreque" - + "st_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\033DeleteSecurityPol" - + "icyRequest\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\037\n\017sec" - + "urity_policy\030\221\206\312Q \001(\tB\003\340A\002B\r\n\013_request_i" - + "d\"\264\001\n\036DeleteServiceAttachmentRequest\022!\n\007" + + "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\"\257\001\n\034DeletePack" + + "etMirroringRequest\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\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\"\274\002\n3DeletePerInstanceConfigsInstance" + + "GroupManagerRequest\022&\n\026instance_group_ma" + + "nager\030\303\367\363v \001(\tB\003\340A\002\022\234\001\n@instance_group_m" + + "anagers_delete_per_instance_configs_req_" + + "resource\030\240\352\350\254\001 \001(\0132I.google.cloud.comput" + + "e.v1.InstanceGroupManagersDeletePerInsta" + + "nceConfigsReqB\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\004zo" + + "ne\"\306\002\n9DeletePerInstanceConfigsRegionIns" + + "tanceGroupManagerRequest\022&\n\026instance_gro" + + "up_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\234\001\nAregion_instance_group_m" + + "anager_delete_instance_config_req_resour" + + "ce\030\205\233- \001(\0132J.google.cloud.compute.v1.Reg" + + "ionInstanceGroupManagerDeleteInstanceCon" + + "figReqB\003\340A\002\"\236\001\n$DeletePublicAdvertisedPr" + + "efixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007" + + "project\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\"\275\001\n#DeletePublicDelegatedPr" + + "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\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\"\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!DeleteRegionBacke" + + "ndServiceRequest\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\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\"\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\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\"\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(\tH" + + "\000\210\001\001B\r\n\013_request_id\"\275\001\n%DeleteRegionHeal" + + "thCheckServiceRequest\022%\n\024health_check_se" + + "rvice\030\333\233\335\302\001 \001(\tB\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\"\300\001\n\'DeleteRegionInstanceGrou" + + "pManagerRequest\022&\n\026instance_group_manage" + + "r\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\006reg" + + "ion\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_requ" + + "est_id\"\301\001\n\'DeleteRegionNetworkEndpointGr" + + "oupRequest\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\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\"\273\001\n(DeleteRegionNetworkFirewallPolicy" + + "Request\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\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\"\300\001\n\'Del" + + "eteRegionNotificationEndpointRequest\022&\n\025" + + "notification_endpoint\030\351\274\326\263\001 \001(\tB\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\001\022#\n\022service_attachment\030\355\251\320\241\001" - + " \001(\tB\003\340A\002B\r\n\013_request_id\"\261\001\n&DeleteSigne" - + "dUrlKeyBackendBucketRequest\022\036\n\016backend_b" - + "ucket\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\007projec" - + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reques" - + "t_id\"\264\001\n\'DeleteSignedUrlKeyBackendServic" - + "eRequest\022 \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340" - + "A\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\"\200\001\n\025DeleteSn" - + "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\022\031\n\010" - + "snapshot\030\304\253\353\207\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\214" - + "\001\n\033DeleteSslCertificateRequest\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\037\n\017ssl_certificate\030\344\327\222\026 \001(" - + "\tB\003\340A\002B\r\n\013_request_id\"\203\001\n\026DeleteSslPolic" - + "yRequest\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\nssl_p" - + "olicy\030\305\375\340\214\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\245\001\n\027" - + "DeleteSubnetworkRequest\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" - + "\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002B\r\n\013_request" - + "_id\"\217\001\n\034DeleteTargetGrpcProxyRequest\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\021target_grpc_proxy" - + "\030\373\264\262\002 \001(\tB\003\340A\002B\r\n\013_request_id\"\217\001\n\034Delete" - + "TargetHttpProxyRequest\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\021target_http_proxy\030\345\276\322b \001(\tB\003\340A\002" - + "B\r\n\013_request_id\"\221\001\n\035DeleteTargetHttpsPro" - + "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\022targ" - + "et_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request" - + "_id\"\252\001\n\033DeleteTargetInstanceRequest\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\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\004zon" - + "eB\r\n\013_request_id\"\245\001\n\027DeleteTargetPoolReq" - + "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\033\n\013target_pool\030\212\344\370\035" - + " \001(\tB\003\340A\002B\r\n\013_request_id\"\216\001\n\033DeleteTarge" - + "tSslProxyRequest\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_r" - + "equest_id\"\216\001\n\033DeleteTargetTcpProxyReques" - + "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\020target_tcp_p" - + "roxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\263\001\n\035D" - + "eleteTargetVpnGatewayRequest\022!\n\007project\030" + + "\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"j\n\034DeleteReg" + + "ionOperationRequest\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\006regio" + + "n\030\364\315\240B \001(\tB\003\340A\002\"\037\n\035DeleteRegionOperation" + + "Response\"\263\001\n!DeleteRegionSecurityPolicyR" + + "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\022\037\n\017security_polic" + + "y\030\221\206\312Q \001(\tB\003\340A\002B\r\n\013_request_id\"\263\001\n!Delet" + + "eRegionSslCertificateRequest\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_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\nre" - + "quest_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_id\"\246\001\n\027DeleteVpnGat" - + "ewayRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" + + "\000\210\001\001\022\037\n\017ssl_certificate\030\344\327\222\026 \001(\tB\003\340A\002B\r\n" + + "\013_request_id\"\266\001\n\"DeleteRegionTargetHttpP" + + "roxyRequest\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\034\n\013vpn_gatew" - + "ay\030\371\203\366\301\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\243\001\n\026Del" - + "eteVpnTunnelRequest\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\032\n\nv" - + "pn_tunnel\030\223\224\312D \001(\tB\003\340A\002B\r\n\013_request_id\"f" - + "\n\032DeleteZoneOperationRequest\022\031\n\toperatio" - + "n\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\033DeleteZoneOper" - + "ationResponse\"J\n\006Denied\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" - + "_protocol\"\326\001\n\025DeprecateImageRequest\022X\n\033d" - + "eprecation_status_resource\030\360\211\345\236\001 \001(\0132*.g" - + "oogle.cloud.compute.v1.DeprecationStatus" - + "B\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\nrequest_id\030\313\201" - + "\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\277\002\n\021Deprecati" - + "onStatus\022\030\n\007deleted\030\231\340\250\343\001 \001(\tH\000\210\001\001\022\033\n\nde" - + "precated\030\263\313\321\365\001 \001(\tH\001\210\001\001\022\031\n\010obsolete\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\005State\022\023\n\017UNDE" - + "FINED_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_deprecatedB\013\n\t_obsole" - + "teB\016\n\014_replacementB\010\n\006_state\"\275\001\n\031DetachD" - + "iskInstanceRequest\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\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\n7DetachNetworkEn" - + "dpointsGlobalNetworkEndpointGroupRequest" - + "\022\234\001\n@global_network_endpoint_groups_deta" - + "ch_endpoints_request_resource\030\335\215\237\004 \001(\0132J" - + ".google.cloud.compute.v1.GlobalNetworkEn" - + "dpointGroupsDetachEndpointsRequestB\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\nr" - + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\332" - + "\002\n1DetachNetworkEndpointsNetworkEndpoint" - + "GroupRequest\022\'\n\026network_endpoint_group\030\206" - + "\313\363\316\001 \001(\tB\003\340A\002\022\220\001\n9network_endpoint_group" - + "s_detach_endpoints_request_resource\030\371\240\356\365" - + "\001 \001(\0132D.google.cloud.compute.v1.NetworkE" - + "ndpointGroupsDetachEndpointsRequestB\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\"l\n\034DisableXp" - + "nHostProjectRequest\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 DisableXpnResource" - + "ProjectRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" - + "G\007project\022z\n.projects_disable_xpn_resour" - + "ce_request_resource\030\252\324\334c \001(\0132:.google.cl" - + "oud.compute.v1.ProjectsDisableXpnResourc" - + "eRequestB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001" - + "\001B\r\n\013_request_id\"\353\017\n\004Disk\022\"\n\022creation_ti" - + "mestamp\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\022T\n\023disk_encryption_key\030\205\355\304\201\001" - + " \001(\0132..google.cloud.compute.v1.CustomerE" - + "ncryptionKeyH\002\210\001\001\022E\n\021guest_os_features\030\321" - + "\340\347% \003(\0132\'.google.cloud.compute.v1.GuestO" - + "sFeature\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\022=\n\006labels\030\377\277\301\356\001 \003(\0132).google.cloud.c" - + "ompute.v1.Disk.LabelsEntry\022%\n\025last_attac" - + "h_timestamp\030\245\234\215\024 \001(\tH\006\210\001\001\022%\n\025last_detach" - + "_timestamp\030\363\333\366\032 \001(\tH\007\210\001\001\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\036\n\rloca" - + "tion_hint\030\321\201\222\247\001 \001(\tH\010\210\001\001\022\024\n\004name\030\213\365\315\001 \001(" - + "\tH\t\210\001\001\022\030\n\007options\030\236\215\232\254\001 \001(\tH\n\210\001\001\022*\n\031phys" - + "ical_block_size_bytes\030\207\240\243\310\001 \001(\003H\013\210\001\001\022 \n\020" - + "provisioned_iops\030\324\275\207Y \001(\003H\014\210\001\001\022\026\n\006region" - + "\030\364\315\240B \001(\tH\r\210\001\001\022\030\n\rreplica_zones\030\200\270\214\027 \003(\t" - + "\022\034\n\021resource_policies\030\341\234\314\n \003(\t\022\036\n\rsatisf" - + "ies_pzs\030\253\335\253\345\001 \001(\010H\016\210\001\001\022\032\n\tself_link\030\215\222\305\331" - + "\001 \001(\tH\017\210\001\001\022\030\n\007size_gb\030\331\213\200\354\001 \001(\003H\020\210\001\001\022\034\n\013" - + "source_disk\030\301\356\264\327\001 \001(\tH\021\210\001\001\022\037\n\016source_dis" - + "k_id\030\331\315\311\330\001 \001(\tH\022\210\001\001\022\034\n\014source_image\030\267\350\206\030" - + " \001(\tH\023\210\001\001\022\\\n\033source_image_encryption_key" - + "\030\253\221\365\265\001 \001(\0132..google.cloud.compute.v1.Cus" - + "tomerEncryptionKeyH\024\210\001\001\022\037\n\017source_image_" - + "id\030\243\374\260\032 \001(\tH\025\210\001\001\022\037\n\017source_snapshot\030\350\232\216<" - + " \001(\tH\026\210\001\001\022_\n\036source_snapshot_encryption_" - + "key\030\332\216\347\220\001 \001(\0132..google.cloud.compute.v1." - + "CustomerEncryptionKeyH\027\210\001\001\022\"\n\022source_sna" - + "pshot_id\030\322\226\230/ \001(\tH\030\210\001\001\022%\n\025source_storage" - + "_object\030\247\264\220o \001(\tH\031\210\001\001\022\026\n\006status\030\362\237\267V \001(\t" - + "H\032\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\033\210\001\001\022\020\n\005users\030\210\234\232" - + "5 \003(\t\022\024\n\004zone\030\254\307\344\001 \001(\tH\034\210\001\001\032-\n\013LabelsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"s\n\006St" - + "atus\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\tRESTORING\020\253\247\342\300\001B\025\n\023_crea" - + "tion_timestampB\016\n\014_descriptionB\026\n\024_disk_" - + "encryption_keyB\005\n\003_idB\007\n\005_kindB\024\n\022_label" - + "_fingerprintB\030\n\026_last_attach_timestampB\030" - + "\n\026_last_detach_timestampB\020\n\016_location_hi" - + "ntB\007\n\005_nameB\n\n\010_optionsB\034\n\032_physical_blo" - + "ck_size_bytesB\023\n\021_provisioned_iopsB\t\n\007_r" - + "egionB\020\n\016_satisfies_pzsB\014\n\n_self_linkB\n\n" - + "\010_size_gbB\016\n\014_source_diskB\021\n\017_source_dis" - + "k_idB\017\n\r_source_imageB\036\n\034_source_image_e" - + "ncryption_keyB\022\n\020_source_image_idB\022\n\020_so" - + "urce_snapshotB!\n\037_source_snapshot_encryp" - + "tion_keyB\025\n\023_source_snapshot_idB\030\n\026_sour" - + "ce_storage_objectB\t\n\007_statusB\007\n\005_typeB\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.ItemsEntr" - + "y\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\022\027\n\014unreachables\030\237\240\206t \003(\t\0229\n\007warning" - + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" - + "ingH\004\210\001\001\032V\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0227\n\005v" - + "alue\030\002 \001(\0132(.google.cloud.compute.v1.Dis" - + "ksScopedList:\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\"\244" - + "\003\n\027DiskInstantiationConfig\022\034\n\013auto_delet" - + "e\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\020i" - + "nstantiate_from\030\337\237\312\273\001 \001(\tH\003\210\001\001\"\306\001\n\017Insta" - + "ntiateFrom\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_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_device_name" - + "B\023\n\021_instantiate_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.compute.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\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\"u\n\017DiskMoveReq" - + "uest\022 \n\020destination_zone\030\275\342\357> \001(\tH\000\210\001\001\022\033" - + "\n\013target_disk\030\213\317\342\035 \001(\tH\001\210\001\001B\023\n\021_destinat" - + "ion_zoneB\016\n\014_target_disk\"\204\004\n\010DiskType\022\"\n" - + "\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022%\n\024def" - + "ault_disk_size_gb\030\365\244\205\201\001 \001(\003H\001\210\001\001\022G\n\ndepr" - + "ecated\030\263\313\321\365\001 \001(\0132*.google.cloud.compute." - + "v1.DeprecationStatusH\002\210\001\001\022\034\n\013description" - + "\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\004kin" - + "d\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(\tH\t" - + "\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\n\210\001\001B\025\n\023_creation_t" - + "imestampB\027\n\025_default_disk_size_gbB\r\n\013_de" - + "precatedB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kind" - + "B\007\n\005_nameB\t\n\007_regionB\014\n\n_self_linkB\022\n\020_v" - + "alid_disk_sizeB\007\n\005_zone\"\271\003\n\026DiskTypeAggr" - + "egatedList\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.DiskTyp" - + "eAggregatedList.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\032Z\n\nIte" - + "msEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.go" - + "ogle.cloud.compute.v1.DiskTypesScopedLis" - + "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\"\241\002\n\014DiskType" - + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0223\n\005items\030\300\317\367/ \003(\013" - + "2!.google.cloud.compute.v1.DiskType\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\"" - + "\226\001\n\023DiskTypesScopedList\0228\n\ndisk_types\030\327\276" - + "\355^ \003(\0132!.google.cloud.compute.v1.DiskTyp" - + "e\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.com" - + "pute.v1.WarningH\000\210\001\001B\n\n\010_warning\"?\n\037Disk" - + "sAddResourcePoliciesRequest\022\034\n\021resource_" - + "policies\030\341\234\314\n \003(\t\"B\n\"DisksRemoveResource" - + "PoliciesRequest\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\017DisksScope" - + "dList\022/\n\005disks\030\366\314\312- \003(\0132\035.google.cloud.c" - + "ompute.v1.Disk\0229\n\007warning\030\234\337\226\030 \001(\0132 .goo" - + "gle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_wa" - + "rning\"B\n\rDisplayDevice\022\036\n\016enable_display" - + "\030\206\344\346\006 \001(\010H\000\210\001\001B\021\n\017_enable_display\"\351\001\n\022Di" - + "stributionPolicy\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" - + ".compute.v1.DistributionPolicyZoneConfig" - + "uration\"S\n\013TargetShape\022\032\n\026UNDEFINED_TARG" - + "ET_SHAPE\020\000\022\t\n\003ANY\020\314\373\003\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\"u\n\006Errors" - + "\022\024\n\004code\030\355\333\272\001 \001(\tH\000\210\001\001\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\025Exchan" - + "gedPeeringRoute\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_h" - + "op_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\024STATIC_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_importedB\022\n\020_next_hop_regionB" - + "\013\n\t_priorityB\007\n\005_type\"\274\002\n\032ExchangedPeeri" - + "ngRoutesList\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.Excha" - + "ngedPeeringRoute\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\"\263\002\n\"ExpandIpCidrRan" - + "geSubnetworkRequest\022!\n\007project\030\231\226\301l \001(\tB" + + "\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\"\270\001" + + "\n#DeleteRegionTargetHttpsProxyRequest\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\022target_https_proxy\030\354\260\372\030" + + " \001(\tB\003\340A\002B\r\n\013_request_id\"\244\001\n\031DeleteRegio" + + "nUrlMapRequest\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\030\n\007url_ma" + + "p\030\214\225\201\257\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\242\001\n\030Dele" + + "teReservationRequest\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\013reservation\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" + + "\033DeleteResourcePolicyRequest\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\002B\r\n" + + "\013_request_id\"y\n\022DeleteRouteRequest\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\025\n\005route\030\311\344\3523 \001(\tB\003\340A\002" + + "B\r\n\013_request_id\"\234\001\n\023DeleteRouterRequest\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\026\n\006router\030\311\256\356F \001(\tB\003\340A\002B" + + "\r\n\013_request_id\"\214\001\n\033DeleteSecurityPolicyR" + + "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\037\n\017securit" + + "y_policy\030\221\206\312Q \001(\tB\003\340A\002B\r\n\013_request_id\"\264\001" + + "\n\036DeleteServiceAttachmentRequest\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#\n\022service_attachment\030\355\251\320\241\001 \001(\t" + + "B\003\340A\002B\r\n\013_request_id\"\261\001\n&DeleteSignedUrl" + + "KeyBackendBucketRequest\022\036\n\016backend_bucke" + + "t\030\365\343\335+ \001(\tB\003\340A\002\022\031\n\010key_name\030\353\360\356\356\001 \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" + + "\"\264\001\n\'DeleteSignedUrlKeyBackendServiceReq" + + "uest\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\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\"\200\001\n\025DeleteSnapsh" + + "otRequest\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\031\n\010snap" + + "shot\030\304\253\353\207\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\214\001\n\033D" + + "eleteSslCertificateRequest\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\017ssl_certificate\030\344\327\222\026 \001(\tB\003\340" + + "A\002B\r\n\013_request_id\"\203\001\n\026DeleteSslPolicyReq" + + "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\033\n\nssl_polic" + + "y\030\305\375\340\214\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\245\001\n\027Dele" + + "teSubnetworkRequest\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\ns" - + "ubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\022\200\001\n1subnetworks" - + "_expand_ip_cidr_range_request_resource\030\336" - + "\320\272\343\001 \001(\0132<.google.cloud.compute.v1.Subne" - + "tworksExpandIpCidrRangeRequestB\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\3204 " - + "\001(\tH\003\210\001\001B\016\n\014_descriptionB\r\n\013_expressionB" - + "\013\n\t_locationB\010\n\006_title\"\310\005\n\022ExternalVpnGa" - + "teway\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.googl" - + "e.cloud.compute.v1.ExternalVpnGatewayInt" - + "erface\022\024\n\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022!\n\021label_fi" - + "ngerprint\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.ExternalVp" - + "nGateway.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\t" - + "self_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\032-\n\013LabelsEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\217\001\n\016Redu" - + "ndancyType\022\035\n\031UNDEFINED_REDUNDANCY_TYPE\020" - + "\000\022\033\n\023FOUR_IPS_REDUNDANCY\020\351\322\377\367\001\022%\n\036SINGLE" - + "_IP_INTERNALLY_REDUNDANT\020\371\301\355?\022\032\n\022TWO_IPS" - + "_REDUNDANCY\020\243\367\202\257\001B\025\n\023_creation_timestamp" - + "B\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\024\n\022_lab" - + "el_fingerprintB\007\n\005_nameB\022\n\020_redundancy_t" - + "ypeB\014\n\n_self_link\"b\n\033ExternalVpnGatewayI" - + "nterface\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\001B\005\n\003_idB\r\n\013_ip_address\"\324\002" - + "\n\026ExternalVpnGatewayList\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" - + "(\0132+.google.cloud.compute.v1.ExternalVpn" - + "Gateway\022\024\n\004kind\030\224\367\310\001 \001(\tH\002\210\001\001\022\037\n\017next_pa" - + "ge_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.compute.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_s" - + "elf_linkB\n\n\010_warning\"\262\001\n\021FileContentBuff" - + "er\022\030\n\007content\030\371\350\334\305\001 \001(\tH\000\210\001\001\022\032\n\tfile_typ" - + "e\030\235\300\255\214\001 \001(\tH\001\210\001\001\"M\n\010FileType\022\027\n\023UNDEFINE" - + "D_FILE_TYPE\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_typ" - + "e\"\320\006\n\010Firewall\0224\n\007allowed\030\250\203\270M \003(\0132 .goo" - + "gle.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.google.cloud.compute.v1.Denied\022\034\n" - + "\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\036\n\022destinati" - + "on_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\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.cloud.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\010pri" - + "ority\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\027so" - + "urce_service_accounts\030\324\353\2162 \003(\t\022\027\n\013source" - + "_tags\030\275\273\321\327\001 \003(\t\022#\n\027target_service_accoun" - + "ts\030\236\216\234\332\001 \003(\t\022\026\n\013target_tags\030\207\234\377\035 \003(\t\"E\n\t" - + "Direction\022\027\n\023UNDEFINED_DIRECTION\020\000\022\016\n\006EG" - + "RESS\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_direction" - + "B\013\n\t_disabledB\005\n\003_idB\007\n\005_kindB\r\n\013_log_co" - + "nfigB\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!.google.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\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\"\275\001\n\021FirewallLog" - + "Config\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022\030\n\010metad" - + "ata\030\257\366\265) \001(\tH\001\210\001\001\"]\n\010Metadata\022\026\n\022UNDEFIN" - + "ED_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_ena" - + "bleB\013\n\t_metadata\"\227\001\n(FirewallPoliciesLis" - + "tAssociationsResponse\022L\n\014associations\030\222\350" - + "\312\362\001 \003(\01322.google.cloud.compute.v1.Firewa" - + "llPolicyAssociation\022\024\n\004kind\030\224\367\310\001 \001(\tH\000\210\001" - + "\001B\007\n\005_kind\"\243\005\n\016FirewallPolicy\022L\n\014associa" - + "tions\030\222\350\312\362\001 \003(\01322.google.cloud.compute.v" - + "1.FirewallPolicyAssociation\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\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!" - + "\n\020rule_tuple_count\030\225\302\226\271\001 \001(\005H\010\210\001\001\022=\n\005rul" - + "es\030\367\221\3653 \003(\0132+.google.cloud.compute.v1.Fi" - + "rewallPolicyRule\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" - + "\033\n\nshort_name\030\356\270\320\352\001 \001(\tH\013\210\001\001B\025\n\023_creatio" - + "n_timestampB\016\n\014_descriptionB\017\n\r_display_" - + "nameB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB\007\n\005" - + "_nameB\t\n\007_parentB\023\n\021_rule_tuple_countB\014\n" - + "\n_self_linkB\024\n\022_self_link_with_idB\r\n\013_sh" - + "ort_name\"\212\002\n\031FirewallPolicyAssociation\022!" - + "\n\021attachment_target\030\255\260\350S \001(\tH\000\210\001\001\022\034\n\014dis" - + "play_name\030\350\207\221\002 \001(\tH\001\210\001\001\022#\n\022firewall_poli" - + "cy_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_atta" - + "chment_targetB\017\n\r_display_nameB\025\n\023_firew" - + "all_policy_idB\007\n\005_nameB\r\n\013_short_name\"\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.compute." - + "v1.FirewallPolicy\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\0229\n\007warn" - + "ing\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.W" - + "arningH\003\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_pag" - + "e_tokenB\n\n\010_warning\"\310\004\n\022FirewallPolicyRu" - + "le\022\026\n\006action\030\266\374\275Y \001(\tH\000\210\001\001\022\034\n\013descriptio" - + "n\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(\t" - + "H\005\210\001\001\022I\n\005match\030\305\263\2671 \001(\01322.google.cloud.c" - + "ompute.v1.FirewallPolicyRuleMatcherH\006\210\001\001" - + "\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\007\210\001\001\022!\n\020rule_tupl" - + "e_count\030\225\302\226\271\001 \001(\005H\010\210\001\001\022\034\n\020target_resourc" - + "es\030\367\321\360\373\001 \003(\t\022#\n\027target_service_accounts\030" - + "\236\216\234\332\001 \003(\t\"E\n\tDirection\022\027\n\023UNDEFINED_DIRE" - + "CTION\020\000\022\016\n\006EGRESS\020\365\366\264\316\001\022\017\n\007INGRESS\020\225\375\276\366\001" - + "B\t\n\007_actionB\016\n\014_descriptionB\014\n\n_directio" - + "nB\013\n\t_disabledB\021\n\017_enable_loggingB\007\n\005_ki" - + "ndB\010\n\006_matchB\013\n\t_priorityB\023\n\021_rule_tuple" - + "_count\"\256\001\n\031FirewallPolicyRuleMatcher\022\032\n\016" - + "dest_ip_ranges\030\221\327\356\240\001 \003(\t\022Z\n\016layer4_confi" - + "gs\030\265\334\216\262\001 \003(\0132>.google.cloud.compute.v1.F" - + "irewallPolicyRuleMatcherLayer4Config\022\031\n\r" - + "src_ip_ranges\030\323\200\207\316\001 \003(\t\"g\n%FirewallPolic" - + "yRuleMatcherLayer4Config\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\"\203\001\n\016FixedOrPercent\022\033\n\ncalculate" - + "d\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_calculated" - + "B\010\n\006_fixedB\n\n\010_percent\"\363\021\n\016ForwardingRul" - + "e\022\033\n\013I_p_address\030\257\215\277\024 \001(\tH\000\210\001\001\022\035\n\014I_p_pr" - + "otocol\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\017backend_service\030\212\300\256\222\001 \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\033\n\013fingerpri" - + "nt\030\344\321\363o \001(\tH\007\210\001\001\022\020\n\002id\030\233\032 \001(\004H\010\210\001\001\022\033\n\nip" - + "_version\030\300\363\322\214\001 \001(\tH\t\210\001\001\022&\n\026is_mirroring_" - + "collector\030\374\340\3568 \001(\010H\n\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\t" - + "H\013\210\001\001\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\014\210\001\001" - + "\022G\n\006labels\030\377\277\301\356\001 \003(\01323.google.cloud.comp" - + "ute.v1.ForwardingRule.LabelsEntry\022&\n\025loa" - + "d_balancing_scheme\030\304\214\302\255\001 \001(\tH\r\210\001\001\022E\n\020met" - + "adata_filters\030\353\315\314\335\001 \003(\0132\'.google.cloud.c" - + "ompute.v1.MetadataFilter\022\024\n\004name\030\213\365\315\001 \001(" - + "\tH\016\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\017\210\001\001\022\035\n\014netwo" - + "rk_tier\030\323\272\333\366\001 \001(\tH\020\210\001\001\022\032\n\nport_range\030\377\237\334" - + "g \001(\tH\021\210\001\001\022\020\n\005ports\030\222\360\3712 \003(\t\022\"\n\021psc_conn" - + "ection_id\030\335\245\243\213\001 \001(\004H\022\210\001\001\022%\n\025psc_connecti", - "on_status\030\264\311\347W \001(\tH\023\210\001\001\022\026\n\006region\030\364\315\240B \001" - + "(\tH\024\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\025\210\001\001\022o\n\037s" - + "ervice_directory_registrations\030\376\261\314j \003(\0132" - + "C.google.cloud.compute.v1.ForwardingRule" - + "ServiceDirectoryRegistration\022\036\n\rservice_" - + "label\030\352\231\354\306\001 \001(\tH\026\210\001\001\022\035\n\014service_name\030\325\253\315" - + "\253\001 \001(\tH\027\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\030\210\001\001" - + "\022\026\n\006target\030\221\343\371[ \001(\tH\031\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\016IPPr" - + "otocolEnum\022\037\n\033UNDEFINED_I_P_PROTOCOL_ENU" - + "M\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\n" - + "L3_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_" - + "VERSION\020\000\022\013\n\004IPV4\020\205\314\211\001\022\013\n\004IPV6\020\207\314\211\001\022\032\n\023U" - + "NSPECIFIED_VERSION\020\220\317\265\n\"\277\001\n\023LoadBalancin" - + "gScheme\022#\n\037UNDEFINED_LOAD_BALANCING_SCHE" - + "ME\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\030\n\020EXTERNAL_MANAGE" - + "D\020\213\266\222\364\001\022\020\n\010INTERNAL\020\275\355\226\205\001\022\027\n\020INTERNAL_MA" - + "NAGED\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\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\001\"\227\001\n\023PscConnectionStatus\022#\n\037UNDEFINED" - + "_PSC_CONNECTION_STATUS\020\000\022\017\n\010ACCEPTED\020\247\237\322" - + "u\022\016\n\006CLOSED\020\354\252\243\265\001\022\016\n\007PENDING\020\367\252\360\020\022\017\n\010REJ" - + "ECTED\020\376\210\204S\022\031\n\022STATUS_UNSPECIFIED\020\312\314\213\024B\016\n" - + "\014_I_p_addressB\017\n\r_I_p_protocolB\014\n\n_all_p" - + "ortsB\026\n\024_allow_global_accessB\022\n\020_backend" - + "_serviceB\025\n\023_creation_timestampB\016\n\014_desc" - + "riptionB\016\n\014_fingerprintB\005\n\003_idB\r\n\013_ip_ve" - + "rsionB\031\n\027_is_mirroring_collectorB\007\n\005_kin" - + "dB\024\n\022_label_fingerprintB\030\n\026_load_balanci" - + "ng_schemeB\007\n\005_nameB\n\n\010_networkB\017\n\r_netwo" - + "rk_tierB\r\n\013_port_rangeB\024\n\022_psc_connectio" - + "n_idB\030\n\026_psc_connection_statusB\t\n\007_regio" - + "nB\014\n\n_self_linkB\020\n\016_service_labelB\017\n\r_se" - + "rvice_nameB\r\n\013_subnetworkB\t\n\007_target\"\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@.google.cloud" - + ".compute.v1.ForwardingRuleAggregatedList" - + ".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\032`\n\nItemsEntry\022\013\n\003key\030" - + "\001 \001(\t\022A\n\005value\030\002 \001(\01322.google.cloud.comp" - + "ute.v1.ForwardingRulesScopedList:\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\"\255\002\n\022ForwardingRuleLis" - + "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.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.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\"O\n\027ForwardingRuleReference\022 \n\017forward" - + "ing_rule\030\376\245\335\200\001 \001(\tH\000\210\001\001B\022\n\020_forwarding_r" - + "ule\"\302\001\n*ForwardingRuleServiceDirectoryRe" - + "gistration\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\030service_direc" - + "tory_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\020forwar" - + "ding_rules\030\265\232\314\226\001 \003(\0132\'.google.cloud.comp" - + "ute.v1.ForwardingRule\0229\n\007warning\030\234\337\226\030 \001(" - + "\0132 .google.cloud.compute.v1.WarningH\000\210\001\001" - + "B\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\022" - + "port_specification\030\305\353\314\030 \001(\tH\003\210\001\001\"~\n\021Port" - + "Specification\022 \n\034UNDEFINED_PORT_SPECIFIC" - + "ATION\020\000\022\025\n\016USE_FIXED_PORT\020\344\210\333Z\022\026\n\016USE_NA" - + "MED_PORT\020\277\317\307\246\001\022\030\n\020USE_SERVING_PORT\020\314\321\365\254\001" - + "B\024\n\022_grpc_service_nameB\007\n\005_portB\014\n\n_port" - + "_nameB\025\n\023_port_specification\"l\n\031GetAccel" - + "eratorTypeRequest\022 \n\020accelerator_type\030\216\341" - + "\350A \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\024\n\004" - + "zone\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\301" - + "l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\tB\003\340A\002\"f\n#Ge" - + "tAssociationFirewallPolicyRequest\022 \n\017fir" - + "ewall_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\"b\n\024GetAutoscalerReque" - + "st\022\033\n\nautoscaler\030\327\375\322\366\001 \001(\tB\003\340A\002\022\027\n\007proje" - + "ct\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\027GetBackendBucketRequest\022\036\n\016backend_buc" - + "ket\030\365\343\335+ \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340" - + "A\002\"U\n\030GetBackendServiceRequest\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\"Z\n!GetDiagnosticsInterconnectR" - + "equest\022\034\n\014interconnect\030\216\311\214k \001(\tB\003\340A\002\022\027\n\007" - + "project\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\022GetDiskT" - + "ypeRequest\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\024\n\004zone\030\254\307\344\001 \001(\tB" - + "\003\340A\002\"\223\001\n$GetEffectiveFirewallsInstanceRe" - + "quest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\"\n\021netwo" - + "rk_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\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"W\n#Ge" - + "tEffectiveFirewallsNetworkRequest\022\027\n\007net" - + "work\030\256\264\205o \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003" - + "\340A\002\"]\n\034GetExternalVpnGatewayRequest\022$\n\024e" - + "xternal_vpn_gateway\030\205\327\2634 \001(\tB\003\340A\002\022\027\n\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\"<\n\030GetFirewallPolicyR" - + "equest\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\030Ge" - + "tForwardingRuleRequest\022 \n\017forwarding_rul" - + "e\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\031GetFromFami" - + "lyImageRequest\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\027GetGlobalAdd" - + "ressRequest\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\036GetGlobalForwa" - + "rdingRuleRequest\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$G" - + "etGlobalNetworkEndpointGroupRequest\022\'\n\026n" - + "etwork_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\027\n\007" - + "project\030\231\226\301l \001(\tB\003\340A\002\"V\n\031GetGlobalOperat" - + "ionRequest\022 \n\toperation\030\347\252\353\030 \001(\tB\n\340A\002\372G\004" - + "name\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"s\n%GetGlob" - + "alOrganizationOperationRequest\022 \n\toperat" - + "ion\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&GetGlobalP" - + "ublicDelegatedPrefixeRequest\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\"\307\001\n!GetGuestAttributesIns" - + "tanceRequest\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\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\036GetHealthBackendSer" - + "viceRequest\022 \n\017backend_service\030\212\300\256\222\001 \001(\t" - + "B\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022b\n!resour" - + "ce_group_reference_resource\030\323\376\3555 \001(\0132/.g" - + "oogle.cloud.compute.v1.ResourceGroupRefe" - + "renceB\003\340A\002\"O\n\025GetHealthCheckRequest\022\035\n\014h" - + "ealth_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$GetHealthRegionBackendSe" - + "rviceRequest\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\006regio" - + "n\030\364\315\240B \001(\tB\003\340A\002\022b\n!resource_group_refere" - + "nce_resource\030\323\376\3555 \001(\0132/.google.cloud.com" - + "pute.v1.ResourceGroupReferenceB\003\340A\002\"\304\001\n\032" - + "GetHealthTargetPoolRequest\022X\n\033instance_r" - + "eference_resource\030\354\344\326\213\001 \001(\0132*.google.clo" - + "ud.compute.v1.InstanceReferenceB\003\340A\002\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\"\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\"\247\001\n\032" - + "GetIamPolicyLicenseRequest\0221\n options_re" + + "ubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002B\r\n\013_request_id\"" + + "\217\001\n\034DeleteTargetGrpcProxyRequest\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!\n\021target_grpc_proxy\030\373\264\262" + + "\002 \001(\tB\003\340A\002B\r\n\013_request_id\"\217\001\n\034DeleteTarg" + + "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\022!\n\021target_http_proxy\030\345\276\322b \001(\tB\003\340A\002B\r\n\013" + + "_request_id\"\221\001\n\035DeleteTargetHttpsProxyRe" + + "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\022target_h" + + "ttps_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"" + + "\252\001\n\033DeleteTargetInstanceRequest\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\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\"\245\001\n\027DeleteTargetPoolRequest" + + "\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\013target_pool\030\212\344\370\035 \001(\t" + + "B\003\340A\002B\r\n\013_request_id\"\216\001\n\033DeleteTargetSsl" + + "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\022!\n\020t" + + "arget_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_reque" + + "st_id\"\216\001\n\033DeleteTargetTcpProxyRequest\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!\n\020target_tcp_proxy" + + "\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\263\001\n\035Delet" + + "eTargetVpnGatewayRequest\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_vpn_gateway\030\313\200\366\375\001 \001(\tB\003\340A\002B\r\n" + + "\013_request_id\"}\n\023DeleteUrlMapRequest\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\030\n\007url_map\030\214\225\201\257\001 \001(\tB" + + "\003\340A\002B\r\n\013_request_id\"\246\001\n\027DeleteVpnGateway" + + "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\034\n\013vpn_gateway\030\371" + + "\203\366\301\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\243\001\n\026DeleteV" + + "pnTunnelRequest\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\032\n\nvpn_t" + + "unnel\030\223\224\312D \001(\tB\003\340A\002B\r\n\013_request_id\"f\n\032De" + + "leteZoneOperationRequest\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\004" + + "zone\030\254\307\344\001 \001(\tB\003\340A\002\"\035\n\033DeleteZoneOperatio" + + "nResponse\"J\n\006Denied\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_pro" + + "tocol\"\326\001\n\025DeprecateImageRequest\022X\n\033depre" + + "cation_status_resource\030\360\211\345\236\001 \001(\0132*.googl" + + "e.cloud.compute.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\007project\022\032\n\nrequest_id\030\313\201\331\021 \001" + + "(\tH\000\210\001\001B\r\n\013_request_id\"\277\002\n\021DeprecationSt" + + "atus\022\030\n\007deleted\030\231\340\250\343\001 \001(\tH\000\210\001\001\022\033\n\ndeprec" + + "ated\030\263\313\321\365\001 \001(\tH\001\210\001\001\022\031\n\010obsolete\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\005" + + "state\030\221\211\2534 \001(\tH\004\210\001\001\"a\n\005State\022\023\n\017UNDEFINE" + + "D_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\016\n\007DELETED\020\371\367\326" + + "9\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_deprecatedB\013\n\t_obsoleteB\016" + + "\n\014_replacementB\010\n\006_state\"\275\001\n\031DetachDiskI" + + "nstanceRequest\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\004zon" + + "eB\r\n\013_request_id\"\317\002\n7DetachNetworkEndpoi" + + "ntsGlobalNetworkEndpointGroupRequest\022\234\001\n" + + "@global_network_endpoint_groups_detach_e" + + "ndpoints_request_resource\030\335\215\237\004 \001(\0132J.goo" + + "gle.cloud.compute.v1.GlobalNetworkEndpoi" + + "ntGroupsDetachEndpointsRequestB\003\340A\002\022\'\n\026n" + + "etwork_endpoint_group\030\206\313\363\316\001 \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\001B\r\n\013_request_id\"\332\002\n1D" + + "etachNetworkEndpointsNetworkEndpointGrou" + + "pRequest\022\'\n\026network_endpoint_group\030\206\313\363\316\001" + + " \001(\tB\003\340A\002\022\220\001\n9network_endpoint_groups_de" + + "tach_endpoints_request_resource\030\371\240\356\365\001 \001(" + + "\0132D.google.cloud.compute.v1.NetworkEndpo" + + "intGroupsDetachEndpointsRequestB\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\"l\n\034DisableXpnHos" + + "tProjectRequest\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 DisableXpnResourceProj" + + "ectRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pr" + + "oject\022z\n.projects_disable_xpn_resource_r" + + "equest_resource\030\252\324\334c \001(\0132:.google.cloud." + + "compute.v1.ProjectsDisableXpnResourceReq" + + "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\"\353\017\n\004Disk\022\"\n\022creation_timest" + + "amp\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\022T\n\023disk_encryption_key\030\205\355\304\201\001 \001(\013" + + "2..google.cloud.compute.v1.CustomerEncry" + + "ptionKeyH\002\210\001\001\022E\n\021guest_os_features\030\321\340\347% " + + "\003(\0132\'.google.cloud.compute.v1.GuestOsFea" + + "ture\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\022" + + "=\n\006labels\030\377\277\301\356\001 \003(\0132).google.cloud.compu" + + "te.v1.Disk.LabelsEntry\022%\n\025last_attach_ti" + + "mestamp\030\245\234\215\024 \001(\tH\006\210\001\001\022%\n\025last_detach_tim" + + "estamp\030\363\333\366\032 \001(\tH\007\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\010\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\t\210" + + "\001\001\022\030\n\007options\030\236\215\232\254\001 \001(\tH\n\210\001\001\022*\n\031physical" + + "_block_size_bytes\030\207\240\243\310\001 \001(\003H\013\210\001\001\022 \n\020prov" + + "isioned_iops\030\324\275\207Y \001(\003H\014\210\001\001\022\026\n\006region\030\364\315\240" + + "B \001(\tH\r\210\001\001\022\030\n\rreplica_zones\030\200\270\214\027 \003(\t\022\034\n\021" + + "resource_policies\030\341\234\314\n \003(\t\022\036\n\rsatisfies_" + + "pzs\030\253\335\253\345\001 \001(\010H\016\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(" + + "\tH\017\210\001\001\022\030\n\007size_gb\030\331\213\200\354\001 \001(\003H\020\210\001\001\022\034\n\013sour" + + "ce_disk\030\301\356\264\327\001 \001(\tH\021\210\001\001\022\037\n\016source_disk_id" + + "\030\331\315\311\330\001 \001(\tH\022\210\001\001\022\034\n\014source_image\030\267\350\206\030 \001(\t" + + "H\023\210\001\001\022\\\n\033source_image_encryption_key\030\253\221\365" + + "\265\001 \001(\0132..google.cloud.compute.v1.Custome" + + "rEncryptionKeyH\024\210\001\001\022\037\n\017source_image_id\030\243" + + "\374\260\032 \001(\tH\025\210\001\001\022\037\n\017source_snapshot\030\350\232\216< \001(\t" + + "H\026\210\001\001\022_\n\036source_snapshot_encryption_key\030" + + "\332\216\347\220\001 \001(\0132..google.cloud.compute.v1.Cust" + + "omerEncryptionKeyH\027\210\001\001\022\"\n\022source_snapsho" + + "t_id\030\322\226\230/ \001(\tH\030\210\001\001\022%\n\025source_storage_obj" + + "ect\030\247\264\220o \001(\tH\031\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\032\210\001" + + "\001\022\024\n\004type\030\272\236\332\001 \001(\tH\033\210\001\001\022\020\n\005users\030\210\234\2325 \003(" + + "\t\022\024\n\004zone\030\254\307\344\001 \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\"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\005RE" + + "ADY\020\203\303\217%\022\021\n\tRESTORING\020\253\247\342\300\001B\025\n\023_creation" + + "_timestampB\016\n\014_descriptionB\026\n\024_disk_encr" + + "yption_keyB\005\n\003_idB\007\n\005_kindB\024\n\022_label_fin" + + "gerprintB\030\n\026_last_attach_timestampB\030\n\026_l" + + "ast_detach_timestampB\020\n\016_location_hintB\007" + + "\n\005_nameB\n\n\010_optionsB\034\n\032_physical_block_s" + + "ize_bytesB\023\n\021_provisioned_iopsB\t\n\007_regio" + + "nB\020\n\016_satisfies_pzsB\014\n\n_self_linkB\n\n\010_si" + + "ze_gbB\016\n\014_source_diskB\021\n\017_source_disk_id" + + "B\017\n\r_source_imageB\036\n\034_source_image_encry" + + "ption_keyB\022\n\020_source_image_idB\022\n\020_source" + + "_snapshotB!\n\037_source_snapshot_encryption" + + "_keyB\025\n\023_source_snapshot_idB\030\n\026_source_s" + + "torage_objectB\t\n\007_statusB\007\n\005_typeB\007\n\005_zo" + + "ne\"\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.com" + + "pute.v1.DiskAggregatedList.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\032V\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0227\n\005value" + + "\030\002 \001(\0132(.google.cloud.compute.v1.DisksSc" + + "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\"\244\003\n\027D" + + "iskInstantiationConfig\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\013device_name\030\324\265\232 \001(\tH\002\210\001\001\022!\n\020insta" + + "ntiate_from\030\337\237\312\273\001 \001(\tH\003\210\001\001\"\306\001\n\017Instantia" + + "teFrom\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\016D" + + "O_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_del" + + "eteB\017\n\r_custom_imageB\016\n\014_device_nameB\023\n\021" + + "_instantiate_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.clou" + + "d.compute.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(\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\"u\n\017DiskMoveRequest" + + "\022 \n\020destination_zone\030\275\342\357> \001(\tH\000\210\001\001\022\033\n\013ta" + + "rget_disk\030\213\317\342\035 \001(\tH\001\210\001\001B\023\n\021_destination_" + + "zoneB\016\n\014_target_disk\"\204\004\n\010DiskType\022\"\n\022cre" + + "ation_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\ndeprecat" + + "ed\030\263\313\321\365\001 \001(\0132*.google.cloud.compute.v1.D" + + "eprecationStatusH\002\210\001\001\022\034\n\013description\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\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\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 \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_times" + + "tampB\027\n\025_default_disk_size_gbB\r\n\013_deprec" + + "atedB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\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\026DiskTypeAggregat" + + "edList\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.DiskTypeAgg" + + "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\032Z\n\nItemsEn" + + "try\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_kindB\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!.g" + + "oogle.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\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\"\226\001\n\023" + + "DiskTypesScopedList\0228\n\ndisk_types\030\327\276\355^ \003" + + "(\0132!.google.cloud.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\037DisksAdd" + + "ResourcePoliciesRequest\022\034\n\021resource_poli" + + "cies\030\341\234\314\n \003(\t\"B\n\"DisksRemoveResourcePoli" + + "ciesRequest\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\017DisksScopedLis" + + "t\022/\n\005disks\030\366\314\312- \003(\0132\035.google.cloud.compu" + + "te.v1.Disk\0229\n\007warning\030\234\337\226\030 \001(\0132 .google." + + "cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warnin" + + "g\"B\n\rDisplayDevice\022\036\n\016enable_display\030\206\344\346" + + "\006 \001(\010H\000\210\001\001B\021\n\017_enable_display\"\351\001\n\022Distri" + + "butionPolicy\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.com" + + "pute.v1.DistributionPolicyZoneConfigurat" + + "ion\"S\n\013TargetShape\022\032\n\026UNDEFINED_TARGET_S" + + "HAPE\020\000\022\t\n\003ANY\020\314\373\003\022\020\n\010BALANCED\020\210\272\255\337\001\022\013\n\004E" + + "VEN\020\232\322\202\001B\017\n\r_target_shape\"D\n#Distributio" + + "nPolicyZoneConfiguration\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\357" + + "1 \001(\005H\000\210\001\001\022\030\n\007seconds\030\377\224\265\253\001 \001(\003H\001\210\001\001B\010\n\006" + + "_nanosB\n\n\010_seconds\"k\n\033EnableXpnHostProje" + + "ctRequest\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\"\352\001\n\037EnableXpnResourceProjectRequ" + + "est\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022y" + + "\n-projects_enable_xpn_resource_request_r" + + "esource\030\257\320\233\311\001 \001(\01329.google.cloud.compute" + + ".v1.ProjectsEnableXpnResourceRequestB\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\"<\n\005Error\0223\n\006errors\030\353\336\325\226\001 \003(\0132\037.goog" + + "le.cloud.compute.v1.Errors\"u\n\006Errors\022\024\n\004" + + "code\030\355\333\272\001 \001(\tH\000\210\001\001\022\031\n\010location\030\265\277\276\212\001 \001(\t" + + "H\001\210\001\001\022\030\n\007message\030\207\200\254\307\001 \001(\tH\002\210\001\001B\007\n\005_code" + + "B\013\n\t_locationB\n\n\010_message\"\335\002\n\025ExchangedP" + + "eeringRoute\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_r" + + "egion\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\016" + + "UNDEFINED_TYPE\020\000\022\035\n\025DYNAMIC_PEERING_ROUT" + + "E\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_dest_ran" + + "geB\013\n\t_importedB\022\n\020_next_hop_regionB\013\n\t_" + + "priorityB\007\n\005_type\"\274\002\n\032ExchangedPeeringRo" + + "utesList\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.Exchanged" + + "PeeringRoute\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\"\263\002\n\"ExpandIpCidrRangeSu" + + "bnetworkRequest\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\033\n\nsubne" + + "twork\030\356\247\344\222\001 \001(\tB\003\340A\002\022\200\001\n1subnetworks_exp" + + "and_ip_cidr_range_request_resource\030\336\320\272\343\001" + + " \001(\0132<.google.cloud.compute.v1.Subnetwor" + + "ksExpandIpCidrRangeRequestB\003\340A\002B\r\n\013_requ" + + "est_id\"\251\001\n\004Expr\022\034\n\013description\030\374\207\326\311\001 \001(\t" + + "H\000\210\001\001\022\033\n\nexpression\030\230\245\356\247\001 \001(\tH\001\210\001\001\022\031\n\010lo" + + "cation\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_descriptionB\r\n\013_expressionB\013\n\t_" + + "locationB\010\n\006_title\"\310\005\n\022ExternalVpnGatewa" + + "y\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(\004" + + "H\002\210\001\001\022K\n\ninterfaces\030\332\364\340\005 \003(\01324.google.cl" + + "oud.compute.v1.ExternalVpnGatewayInterfa" + + "ce\022\024\n\004kind\030\224\367\310\001 \001(\tH\003\210\001\001\022!\n\021label_finger" + + "print\030\231\360\367T \001(\tH\004\210\001\001\022K\n\006labels\030\377\277\301\356\001 \003(\0132" + + "7.google.cloud.compute.v1.ExternalVpnGat" + + "eway.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\013LabelsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\217\001\n\016Redundan" + + "cyType\022\035\n\031UNDEFINED_REDUNDANCY_TYPE\020\000\022\033\n" + + "\023FOUR_IPS_REDUNDANCY\020\351\322\377\367\001\022%\n\036SINGLE_IP_" + + "INTERNALLY_REDUNDANT\020\371\301\355?\022\032\n\022TWO_IPS_RED" + + "UNDANCY\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_f" + + "ingerprintB\007\n\005_nameB\022\n\020_redundancy_typeB" + + "\014\n\n_self_link\"b\n\033ExternalVpnGatewayInter" + + "face\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\001B\005\n\003_idB\r\n\013_ip_address\"\324\002\n\026Ex" + + "ternalVpnGatewayList\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(\0132+" + + ".google.cloud.compute.v1.ExternalVpnGate" + + "way\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\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clou" + + "d.compute.v1.WarningH\005\210\001\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\"\262\001\n\021FileContentBuffer\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_FI" + + "LE_TYPE\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\010Firewall\0224\n\007allowed\030\250\203\270M \003(\0132 .google." + + "cloud.compute.v1.Allowed\022\"\n\022creation_tim" + + "estamp\030\266\217\307\016 \001(\tH\000\210\001\001\0223\n\006denied\030\233\367\235\203\001 \003(\013" + + "2\037.google.cloud.compute.v1.Denied\022\034\n\013des" + + "cription\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\036\n\022destination_r" + + "anges\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\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_con" + + "fig\030\235\321\301\247\001 \001(\0132*.google.cloud.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\010priorit" + + "y\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_tag" + + "s\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\tDire" + + "ction\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_tim" + + "estampB\016\n\014_descriptionB\014\n\n_directionB\013\n\t" + + "_disabledB\005\n\003_idB\007\n\005_kindB\r\n\013_log_config" + + "B\007\n\005_nameB\n\n\010_networkB\013\n\t_priorityB\014\n\n_s" + + "elf_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!.google.cloud.com" + + "pute.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\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\"\275\001\n\021FirewallLogConf" + + "ig\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_M" + + "ETADATA\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(FirewallPoliciesListAss" + + "ociationsResponse\022L\n\014associations\030\222\350\312\362\001 " + + "\003(\01322.google.cloud.compute.v1.FirewallPo" + + "licyAssociation\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\014association" + + "s\030\222\350\312\362\001 \003(\01322.google.cloud.compute.v1.Fi" + + "rewallPolicyAssociation\022\"\n\022creation_time" + + "stamp\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\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\006re" + + "gion\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\t" + + "self_link\030\215\222\305\331\001 \001(\tH\n\210\001\001\022!\n\021self_link_wi" + + "th_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_desc" + + "riptionB\017\n\r_display_nameB\016\n\014_fingerprint" + + "B\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_parentB\t\n\007" + + "_regionB\023\n\021_rule_tuple_countB\014\n\n_self_li" + + "nkB\024\n\022_self_link_with_idB\r\n\013_short_name\"" + + "\212\002\n\031FirewallPolicyAssociation\022!\n\021attachm" + + "ent_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\022firewall_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\nsho" + + "rt_name\030\356\270\320\352\001 \001(\tH\004\210\001\001B\024\n\022_attachment_ta" + + "rgetB\017\n\r_display_nameB\025\n\023_firewall_polic" + + "y_idB\007\n\005_nameB\r\n\013_short_name\"\203\002\n\022Firewal" + + "lPolicyList\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.Firewa" + + "llPolicy\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\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\"\307\005\n\022FirewallPolicyRule\022\026\n\006act" + + "ion\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\010di" + + "sabled\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\005" + + "match\030\305\263\2671 \001(\01322.google.cloud.compute.v1" + + ".FirewallPolicyRuleMatcherH\006\210\001\001\022\031\n\010prior" + + "ity\030\244\363\241\324\001 \001(\005H\007\210\001\001\022\031\n\trule_name\030\356\263\256\032 \001(\t" + + "H\010\210\001\001\022!\n\020rule_tuple_count\030\225\302\226\271\001 \001(\005H\t\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.co" + + "mpute.v1.FirewallPolicyRuleSecureTag\022#\n\027" + + "target_service_accounts\030\236\216\234\332\001 \003(\t\"E\n\tDir" + + "ection\022\027\n\023UNDEFINED_DIRECTION\020\000\022\016\n\006EGRES" + + "S\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_disabledB\021" + + "\n\017_enable_loggingB\007\n\005_kindB\010\n\006_matchB\013\n\t" + + "_priorityB\014\n\n_rule_nameB\023\n\021_rule_tuple_c" + + "ount\"\201\002\n\031FirewallPolicyRuleMatcher\022\032\n\016de" + + "st_ip_ranges\030\221\327\356\240\001 \003(\t\022Z\n\016layer4_configs" + + "\030\265\334\216\262\001 \003(\0132>.google.cloud.compute.v1.Fir" + + "ewallPolicyRuleMatcherLayer4Config\022\031\n\rsr" + + "c_ip_ranges\030\323\200\207\316\001 \003(\t\022Q\n\017src_secure_tags" + + "\030\206\224\316\362\001 \003(\01324.google.cloud.compute.v1.Fir" + + "ewallPolicyRuleSecureTag\"g\n%FirewallPoli" + + "cyRuleMatcherLayer4Config\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\033FirewallPolicyRuleSecureTa" + + "g\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\017UNDEFINED_STATE\020\000\022\020\n\t" + + "EFFECTIVE\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\ncal" + + "culated\030\276\323\215\341\001 \001(\005H\000\210\001\001\022\025\n\005fixed\030\364\316\273. \001(\005" + + "H\001\210\001\001\022\030\n\007percent\030\305\310\241\274\001 \001(\005H\002\210\001\001B\r\n\013_calc" + + "ulatedB\010\n\006_fixedB\n\n\010_percent\"\363\021\n\016Forward" + + "ingRule\022\033\n\013I_p_address\030\257\215\277\024 \001(\tH\000\210\001\001\022\035\n\014" + + "I_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_global_access\030\212" + + "\306\221\356\001 \001(\010H\003\210\001\001\022 \n\017backend_service\030\212\300\256\222\001 \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\033\n\013fin" + + "gerprint\030\344\321\363o \001(\tH\007\210\001\001\022\020\n\002id\030\233\032 \001(\004H\010\210\001\001" + + "\022\033\n\nip_version\030\300\363\322\214\001 \001(\tH\t\210\001\001\022&\n\026is_mirr" + + "oring_collector\030\374\340\3568 \001(\010H\n\210\001\001\022\024\n\004kind\030\224\367" + + "\310\001 \001(\tH\013\210\001\001\022!\n\021label_fingerprint\030\231\360\367T \001(" + + "\tH\014\210\001\001\022G\n\006labels\030\377\277\301\356\001 \003(\01323.google.clou" + + "d.compute.v1.ForwardingRule.LabelsEntry\022" + + "&\n\025load_balancing_scheme\030\304\214\302\255\001 \001(\tH\r\210\001\001\022" + + "E\n\020metadata_filters\030\353\315\314\335\001 \003(\0132\'.google.c" + + "loud.compute.v1.MetadataFilter\022\024\n\004name\030\213" + + "\365\315\001 \001(\tH\016\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\017\210\001\001\022\035\n" + + "\014network_tier\030\323\272\333\366\001 \001(\tH\020\210\001\001\022\032\n\nport_ran" + + "ge\030\377\237\334g \001(\tH\021\210\001\001\022\020\n\005ports\030\222\360\3712 \003(\t\022\"\n\021ps" + + "c_connection_id\030\335\245\243\213\001 \001(\004H\022\210\001\001\022%\n\025psc_co" + + "nnection_status\030\264\311\347W \001(\tH\023\210\001\001\022\026\n\006region\030" + + "\364\315\240B \001(\tH\024\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\025\210\001" + + "\001\022o\n\037service_directory_registrations\030\376\261\314" + + "j \003(\0132C.google.cloud.compute.v1.Forwardi" + + "ngRuleServiceDirectoryRegistration\022\036\n\rse" + + "rvice_label\030\352\231\354\306\001 \001(\tH\026\210\001\001\022\035\n\014service_na" + + "me\030\325\253\315\253\001 \001(\tH\027\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(" + + "\tH\030\210\001\001\022\026\n\006target\030\221\343\371[ \001(\tH\031\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\"\210\001" + + "\n\016IPProtocolEnum\022\037\n\033UNDEFINED_I_P_PROTOC" + + "OL_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\003TC" + + "P\020\301\207\005\022\t\n\003UDP\020\241\217\005\"[\n\tIpVersion\022\030\n\024UNDEFIN" + + "ED_IP_VERSION\020\000\022\013\n\004IPV4\020\205\314\211\001\022\013\n\004IPV6\020\207\314\211" + + "\001\022\032\n\023UNSPECIFIED_VERSION\020\220\317\265\n\"\277\001\n\023LoadBa" + + "lancingScheme\022#\n\037UNDEFINED_LOAD_BALANCIN" + + "G_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\020INTER" + + "NAL_MANAGED\020\375\327\347\021\022\034\n\025INTERNAL_SELF_MANAGE" + + "D\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_STA" + + "NDARD\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_STAND" + + "ARD\020\302\207\221\336\001\"\227\001\n\023PscConnectionStatus\022#\n\037UND" + + "EFINED_PSC_CONNECTION_STATUS\020\000\022\017\n\010ACCEPT" + + "ED\020\247\237\322u\022\016\n\006CLOSED\020\354\252\243\265\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\016\n\014_I_p_addressB\017\n\r_I_p_protocolB\014\n\n" + + "_all_portsB\026\n\024_allow_global_accessB\022\n\020_b" + + "ackend_serviceB\025\n\023_creation_timestampB\016\n" + + "\014_descriptionB\016\n\014_fingerprintB\005\n\003_idB\r\n\013" + + "_ip_versionB\031\n\027_is_mirroring_collectorB\007" + + "\n\005_kindB\024\n\022_label_fingerprintB\030\n\026_load_b" + + "alancing_schemeB\007\n\005_nameB\n\n\010_networkB\017\n\r" + + "_network_tierB\r\n\013_port_rangeB\024\n\022_psc_con" + + "nection_idB\030\n\026_psc_connection_statusB\t\n\007" + + "_regionB\014\n\n_self_linkB\020\n\016_service_labelB" + + "\017\n\r_service_nameB\r\n\013_subnetworkB\t\n\007_targ" + + "et\"\313\003\n\034ForwardingRuleAggregatedList\022\020\n\002i" + + "d\030\233\032 \001(\tH\000\210\001\001\022R\n\005items\030\300\317\367/ \003(\0132@.google" + + ".cloud.compute.v1.ForwardingRuleAggregat" + + "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\022A\n\005value\030\002 \001(\01322.google.clou" + + "d.compute.v1.ForwardingRulesScopedList:\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\"\255\002\n\022ForwardingR" + + "uleList\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.Forwarding" + + "Rule\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\"O\n\027ForwardingRuleReference\022 \n\017f" + + "orwarding_rule\030\376\245\335\200\001 \001(\tH\000\210\001\001B\022\n\020_forwar" + + "ding_rule\"\302\001\n*ForwardingRuleServiceDirec" + + "toryRegistration\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\030service" + + "_directory_region\030\320\272\246# \001(\tH\002\210\001\001B\014\n\n_name" + + "spaceB\n\n\010_serviceB\033\n\031_service_directory_" + + "region\"\251\001\n\031ForwardingRulesScopedList\022E\n\020" + + "forwarding_rules\030\265\232\314\226\001 \003(\0132\'.google.clou" + + "d.compute.v1.ForwardingRule\0229\n\007warning\030\234" + + "\337\226\030 \001(\0132 .google.cloud.compute.v1.Warnin" + + "gH\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\004por" + + "t\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\"~" + + "\n\021PortSpecification\022 \n\034UNDEFINED_PORT_SP" + + "ECIFICATION\020\000\022\025\n\016USE_FIXED_PORT\020\344\210\333Z\022\026\n\016" + + "USE_NAMED_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\031Ge" + + "tAcceleratorTypeRequest\022 \n\020accelerator_t" + + "ype\030\216\341\350A \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\021GetAddressRe" + + "quest\022\030\n\007address\030\364\267\336\334\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" + + "\"f\n#GetAssociationFirewallPolicyRequest\022" + + " \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\024\n\004nam" + + "e\030\213\365\315\001 \001(\tH\000\210\001\001B\007\n\005_name\"\206\001\n*GetAssociat" + + "ionNetworkFirewallPolicyRequest\022 \n\017firew" + + "all_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_nam" + + "e\"\244\001\n0GetAssociationRegionNetworkFirewal" + + "lPolicyRequest\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\007projec" + + "t\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_name\"b\n\024GetAutoscalerRequest\022\033\n\nauto" + + "scaler\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\027GetBacke" + + "ndBucketRequest\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\030GetB" + + "ackendServiceRequest\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!GetDiagnosticsInterconnectRequest\022\034\n\014" + + "interconnect\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\004" + + "zone\030\254\307\344\001 \001(\tB\003\340A\002\"^\n\022GetDiskTypeRequest" + + "\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\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\223\001\n$G" + + "etEffectiveFirewallsInstanceRequest\022\030\n\010i" + + "nstance\030\225\251\332\010 \001(\tB\003\340A\002\022\"\n\021network_interfa" + + "ce\030\350\300\235\256\001 \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\"W\n#GetEffective" + + "FirewallsNetworkRequest\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\n7Ge" + + "tEffectiveFirewallsRegionNetworkFirewall" + + "PolicyRequest\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\240B \001" + + "(\tB\003\340A\002\"]\n\034GetExternalVpnGatewayRequest\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\030GetFirewallPol" + + "icyRequest\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\030GetForwardingRuleRequest\022 \n\017forwarding" + + "_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\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\"M\n\031GetFrom" + + "FamilyImageRequest\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\027GetGloba" + + "lAddressRequest\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\036GetGlobalF" + + "orwardingRuleRequest\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$GetGlobalNetworkEndpointGroupRequest\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\031GetGlobalOp" + + "erationRequest\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%Get" + + "GlobalOrganizationOperationRequest\022 \n\top" + + "eration\030\347\252\353\030 \001(\tB\n\340A\002\372G\004name\022\032\n\tparent_i" + + "d\030\320\341\232\333\001 \001(\tH\000\210\001\001B\014\n\n_parent_id\"j\n&GetGlo" + + "balPublicDelegatedPrefixeRequest\022\027\n\007proj" + + "ect\030\231\226\301l \001(\tB\003\340A\002\022\'\n\027public_delegated_pr" + + "efix\030\350\334\261a \001(\tB\003\340A\002\"\307\001\n!GetGuestAttribute" + + "sInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340" + + "A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\033\n\nquery_pat" + + "h\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_p" + + "athB\017\n\r_variable_key\"\277\001\n\036GetHealthBacken" + + "dServiceRequest\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!re" + + "source_group_reference_resource\030\323\376\3555 \001(\013" + + "2/.google.cloud.compute.v1.ResourceGroup" + + "ReferenceB\003\340A\002\"O\n\025GetHealthCheckRequest\022" + + "\035\n\014health_check\030\345\252\244\223\001 \001(\tB\003\340A\002\022\027\n\007projec" + + "t\030\231\226\301l \001(\tB\003\340A\002\"\335\001\n$GetHealthRegionBacke" + + "ndServiceRequest\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\006r" + + "egion\030\364\315\240B \001(\tB\003\340A\002\022b\n!resource_group_re" + + "ference_resource\030\323\376\3555 \001(\0132/.google.cloud" + + ".compute.v1.ResourceGroupReferenceB\003\340A\002\"" + + "\304\001\n\032GetHealthTargetPoolRequest\022X\n\033instan" + + "ce_reference_resource\030\354\344\326\213\001 \001(\0132*.google" + + ".cloud.compute.v1.InstanceReferenceB\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\"\272" + + "\001\n\027GetIamPolicyDiskRequest\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" + + "\001(\tB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_optio" + + "ns_requested_policy_version\"\225\001\n!GetIamPo" + + "licyFirewallPolicyRequest\0221\n options_req" + + "uested_policy_version\030\275\374\205\356\001 \001(\005H\000\210\001\001\022\030\n\010" + + "resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_reque" + + "sted_policy_version\"\245\001\n\030GetIamPolicyImag" + + "eRequest\0221\n options_requested_policy_ver" + + "sion\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!_optio" + + "ns_requested_policy_version\"\276\001\n\033GetIamPo" + + "licyInstanceRequest\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" + + "\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_options_requ" + + "ested_policy_version\"\260\001\n#GetIamPolicyIns" + + "tanceTemplateRequest\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\"" + + "\247\001\n\032GetIamPolicyLicenseRequest\0221\n option" + + "s_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_polic" + + "y_version\"\254\001\n\037GetIamPolicyMachineImageRe" + + "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\"\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\002B#\n!_options_requ" - + "ested_policy_version\"\277\001\n\034GetIamPolicyNod" - + "eGroupRequest\0221\n options_requested_polic" - + "y_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\004z" - + "one\030\254\307\344\001 \001(\tB\003\340A\002B#\n!_options_requested_" - + "policy_version\"\304\001\n\037GetIamPolicyNodeTempl" - + "ateRequest\0221\n options_requested_policy_v" + + "\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\"\302\001\n\035GetIamPolicyRegionDiskRequest\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\"\323" + + "\001\n.GetIamPolicyRegionNetworkFirewallPoli" + + "cyRequest\0221\n options_requested_policy_ve" + + "rsion\030\275\374\205\356\001 \001(\005H\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\030\n\010resourc" + + "e\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_requested_po" + + "licy_version\"\301\001\n\036GetIamPolicyReservation" + + "Request\0221\n options_requested_policy_vers" + + "ion\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\"\306\001\n!GetIamPolicyResourcePolicyR" + + "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\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_polic" + + "y_version\"\311\001\n$GetIamPolicyServiceAttachm" + + "entRequest\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\"\302\001\n\035GetIamPolicyRegionDisk" - + "Request\0221\n options_requested_policy_vers" - + "ion\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_poli" - + "cy_version\"\301\001\n\036GetIamPolicyReservationRe" + + "olicy_version\"\250\001\n\033GetIamPolicySnapshotRe" + "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\002\022\024\n\004zone\030\254\307\344\001" - + " \001(\tB\003\340A\002B#\n!_options_requested_policy_v" - + "ersion\"\306\001\n!GetIamPolicyResourcePolicyReq" - + "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\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$GetIamPolicyServiceAttachmen" - + "tRequest\0221\n options_requested_policy_ver" - + "sion\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_pol" - + "icy_version\"\250\001\n\033GetIamPolicySnapshotRequ" - + "est\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_re" - + "quested_policy_version\"\302\001\n\035GetIamPolicyS" - + "ubnetworkRequest\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\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\002B#\n!_options_reque" - + "sted_policy_version\"c\n\031GetImageFamilyVie" - + "wRequest\022\027\n\006family\030\344\266\341\234\001 \001(\tB\003\340A\002\022\027\n\007pro" - + "ject\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(\tB\003\340" - + "A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"w\n\036GetInstan" - + "ceGroupManagerRequest\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\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"h\n\027GetInsta" - + "nceGroupRequest\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\024\n\004zone" - + "\030\254\307\344\001 \001(\tB\003\340A\002\"]\n\022GetInstanceRequest\022\030\n\010" - + "instance\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\032GetInst" - + "anceTemplateRequest\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" - + "\"}\n GetInterconnectAttachmentRequest\022(\n\027" - + "interconnect_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\006region\030\364\315\240B \001" - + "(\tB\003\340A\002\"a\n\036GetInterconnectLocationReques" - + "t\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\"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\"\321\002\n\037GetNatMappingInfoRoutersRequest\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\001\022\026\n\006r" - + "outer\030\311\256\356F \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\"x\n\036GetNetworkEndpo" - + "intGroupRequest\022\'\n\026network_endpoint_grou" - + "p\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\"E\n\021GetNetworkReq" - + "uest\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\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"i\n\026Get" - + "NodeTemplateRequest\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\006" - + "region\030\364\315\240B \001(\tB\003\340A\002\"_\n\022GetNodeTypeReque" - + "st\022\032\n\tnode_type\030\327\226\220\336\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\n" - + "\031GetPacketMirroringRequest\022 \n\020packet_mir" - + "roring\030\314\271\321\n \001(\tB\003\340A\002\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\",\n\021GetProj" - + "ectRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"f\n!G" - + "etPublicAdvertisedPrefixeRequest\022\027\n\007proj" - + "ect\030\231\226\301l \001(\tB\003\340A\002\022(\n\030public_advertised_p" - + "refix\030\236\367\3110 \001(\tB\003\340A\002\"|\n GetPublicDelegate" - + "dPrefixeRequest\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\032GetRegionAu" - + "toscalerRequest\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\036GetRegionBackendService" - + "Request\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\240" - + "B \001(\tB\003\340A\002\"j\n\032GetRegionCommitmentRequest" - + "\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\024GetRegionDiskRequest\022\024\n\004disk\030\235\233\274\001 \001(\tB" + + "\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002B#\n!_options_" + + "requested_policy_version\"\302\001\n\035GetIamPolic" + + "ySubnetworkRequest\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_req" + + "uested_policy_version\"c\n\031GetImageFamilyV" + + "iewRequest\022\027\n\006family\030\344\266\341\234\001 \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\"A\n\017GetImageRequest\022\025\n\005image\030\333\322\352/ \001(\tB" + + "\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"w\n\036GetInst" + + "anceGroupManagerRequest\022&\n\026instance_grou" + + "p_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\"h\n\027GetIns" + + "tanceGroupRequest\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\024\n\004zo" + + "ne\030\254\307\344\001 \001(\tB\003\340A\002\"]\n\022GetInstanceRequest\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\032GetIn" + + "stanceTemplateRequest\022\"\n\021instance_templa" + + "te\030\344\201\273\223\001 \001(\tB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "A\002\"}\n GetInterconnectAttachmentRequest\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\006region\030\364\315\240B" + + " \001(\tB\003\340A\002\"a\n\036GetInterconnectLocationRequ" + + "est\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\"O\n\026GetInter" + + "connectRequest\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\"M\n\025GetLice" + + "nseCodeRequest\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\021GetLicen" + + "seRequest\022\027\n\007license\030\301\210\302O \001(\tB\003\340A\002\022\027\n\007pr" + + "oject\030\231\226\301l \001(\tB\003\340A\002\"P\n\026GetMachineImageRe" + + "quest\022\035\n\rmachine_image\030\343\376\376 \001(\tB\003\340A\002\022\027\n\007" + + "project\030\231\226\301l \001(\tB\003\340A\002\"d\n\025GetMachineTypeR" + + "equest\022\034\n\014machine_type\030\262\260\312l \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\"\321\002\n\037GetNatMappingInfoRoutersRequest\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\001\022\026\n" + + "\006router\030\311\256\356F \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\"\206\001\n$GetNetworkEd" + + "geSecurityServiceRequest\022-\n\035network_edge" + + "_security_service\030\247\237\357J \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" + + "\"x\n\036GetNetworkEndpointGroupRequest\022\'\n\026ne" + + "twork_endpoint_group\030\206\313\363\316\001 \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\"\\\n\037GetNetworkFirewallPolicyRequest\022 \n" + + "\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\027\n\007proje" + + "ct\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_g" + + "roup\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(\tB\003\340A\002\"i\n\026GetNodeTem" + + "plateRequest\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\"f\n\030GetRegionDiskTypeReques" - + "t\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_c" - + "heck\030\345\252\244\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\"|\n\"GetRegio" - + "nHealthCheckServiceRequest\022%\n\024health_che" - + "ck_service\030\333\233\335\302\001 \001(\tB\003\340A\002\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\"\177\n$Ge" - + "tRegionInstanceGroupManagerRequest\022&\n\026in" - + "stance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\027\n\007pr" + + "\364\315\240B \001(\tB\003\340A\002\"_\n\022GetNodeTypeRequest\022\032\n\tn" + + "ode_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\031GetPac" + + "ketMirroringRequest\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\021GetProjectRequ" + + "est\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"f\n!GetPubli" + + "cAdvertisedPrefixeRequest\022\027\n\007project\030\231\226\301" + + "l \001(\tB\003\340A\002\022(\n\030public_advertised_prefix\030\236" + + "\367\3110 \001(\tB\003\340A\002\"|\n GetPublicDelegatedPrefix" + + "eRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\'\n\027pub" + + "lic_delegated_prefix\030\350\334\261a \001(\tB\003\340A\002\022\026\n\006re" + + "gion\030\364\315\240B \001(\tB\003\340A\002\"j\n\032GetRegionAutoscale" + + "rRequest\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\036GetRegionBackendServiceRequest" + + "\022 \n\017backend_service\030\212\300\256\222\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\"p\n\035GetRegionInstanceGroupRequest\022\036\n\016" - + "instance_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\"\200\001" - + "\n$GetRegionNetworkEndpointGroupRequest\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\006region\030\364\315\240B " - + "\001(\tB\003\340A\002\"\177\n$GetRegionNotificationEndpoin" - + "tRequest\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\006reg" - + "ion\030\364\315\240B \001(\tB\003\340A\002\"n\n\031GetRegionOperationR" - + "equest\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\020GetRegionRequest\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\036GetRegionSslCertificateRequest\022\027\n\007proj" + + "\340A\002\"j\n\032GetRegionCommitmentRequest\022\033\n\ncom" + + "mitment\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\024GetRe" + + "gionDiskRequest\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\030GetRegionDiskTypeRequest\022\031\n\tdi" + + "sk_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\033GetReg" + + "ionHealthCheckRequest\022\035\n\014health_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\022\026\n" + + "\006region\030\364\315\240B \001(\tB\003\340A\002\"|\n\"GetRegionHealth" + + "CheckServiceRequest\022%\n\024health_check_serv" + + "ice\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$GetRegion" + + "InstanceGroupManagerRequest\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\006region\030\364\315\240B \001(\tB\003\340A\002\"p\n\035" + + "GetRegionInstanceGroupRequest\022\036\n\016instanc" + + "e_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\"\200\001\n$GetRe" + + "gionNetworkEndpointGroupRequest\022\'\n\026netwo" + + "rk_endpoint_group\030\206\313\363\316\001 \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\022\037\n\017ssl_certificate\030\344\327\222\026 \001(\tB\003\340A\002\"u\n\037Ge" - + "tRegionTargetHttpProxyRequest\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 Get" - + "RegionTargetHttpsProxyRequest\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\"c\n\026Ge" - + "tRegionUrlMapRequest\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\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\030" - + "GetResourcePolicyRequest\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\017res" - + "ource_policy\030\203\245\367K \001(\tB\003\340A\002\"A\n\017GetRouteRe" - + "quest\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\020GetRouterRequest\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\026\n\006router\030\311\256\356F \001(\tB\003\340A\002\"g\n\034GetRouterS" - + "tatusRouterRequest\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\034GetRuleFirewallPolicyRequ" - + "est\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\001B\013\n\t_priority\"\200\001" - + "\n\034GetRuleSecurityPolicyRequest\022\031\n\010priori" - + "ty\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\027\n\007project\030\231\226\301l \001(\tB\003\340" - + "A\002\022\037\n\017security_policy\030\221\206\312Q \001(\tB\003\340A\002B\013\n\t_" - + "priority\"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\030Get" - + "SecurityPolicyRequest\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\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\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" - + "_portB\010\n\006_start\"s\n\033GetServiceAttachmentR" - + "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#\n\022service_attachment\030\355\251" - + "\320\241\001 \001(\tB\003\340A\002\"u\n*GetShieldedInstanceIdent" - + "ityInstanceRequest\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\007pro" - + "ject\030\231\226\301l \001(\tB\003\340A\002\022\031\n\010snapshot\030\304\253\353\207\001 \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\"d\n" - + "\024GetSubnetworkRequest\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\nsubnet" - + "work\030\356\247\344\222\001 \001(\tB\003\340A\002\"W\n\031GetTargetGrpcProx" - + "yRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022!\n\021tar" - + "get_grpc_proxy\030\373\264\262\002 \001(\tB\003\340A\002\"W\n\031GetTarge" - + "tHttpProxyRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340" - + "A\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\030GetTargetInstanceRequest\022\027\n\007" - + "project\030\231\226\301l \001(\tB\003\340A\002\022 \n\017target_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\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\"V\n\030GetTargetSslProxy" - + "Request\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022!\n\020targ" - + "et_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002\"V\n\030GetTarget" - + "TcpProxyRequest\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\032G" - + "etTargetVpnGatewayRequest\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\022ta" - + "rget_vpn_gateway\030\313\200\366\375\001 \001(\tB\003\340A\002\"E\n\020GetUr" - + "lMapRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\007" - + "url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\"e\n\024GetVpnGatewayR" + + "\002\"z\n%GetRegionNetworkFirewallPolicyReque" + + "st\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\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\"\177\n$GetRegionNotificationEndpointRe" + + "quest\022&\n\025notification_endpoint\030\351\274\326\263\001 \001(\t" + + "B\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\031GetRegionOperationRequ" + + "est\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\020GetRegionRequest\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\036G" + + "etRegionSecurityPolicyRequest\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\036GetRe" + + "gionSslCertificateRequest\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\037\n\017ss" + + "l_certificate\030\344\327\222\026 \001(\tB\003\340A\002\"u\n\037GetRegion" + + "TargetHttpProxyRequest\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\021targe" + + "t_http_proxy\030\345\276\322b \001(\tB\003\340A\002\"w\n GetRegionT" + + "argetHttpsProxyRequest\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\022targe" + + "t_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\"c\n\026GetRegion" + + "UrlMapRequest\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\025GetReservationRequest\022\027\n\007pro" + + "ject\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\030GetReso" + + "urcePolicyRequest\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\037\n\017resource_p" + + "olicy\030\203\245\367K \001(\tB\003\340A\002\"A\n\017GetRouteRequest\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\020GetRouterRequest\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\"g\n\034GetRouterStatusRo" + + "uterRequest\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\026\n\006router\030\311\256\356F \001(\tB" + + "\003\340A\002\"h\n\034GetRuleFirewallPolicyRequest\022 \n\017" + + "firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022\031\n\010priori" + + "ty\030\244\363\241\324\001 \001(\005H\000\210\001\001B\013\n\t_priority\"\210\001\n#GetRu" + + "leNetworkFirewallPolicyRequest\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\002B\013\n\t" + + "_priority\"\246\001\n)GetRuleRegionNetworkFirewa" + + "llPolicyRequest\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\007" + + "project\030\231\226\301l \001(\tB\003\340A\002\022\026\n\006region\030\364\315\240B \001(\t" + + "B\003\340A\002B\013\n\t_priority\"\200\001\n\034GetRuleSecurityPo" + + "licyRequest\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_poli" + + "cy\030\221\206\312Q \001(\tB\003\340A\002B\013\n\t_priority\"g\n\034GetScre" + + "enshotInstanceRequest\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\030GetSecurityPolicyReque" + + "st\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\"GetSerialPortOu" + + "tputInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\t" + + "B\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\004z" + + "one\030\254\307\344\001 \001(\tB\003\340A\002B\007\n\005_portB\010\n\006_start\"s\n\033" + + "GetServiceAttachmentRequest\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\022" + + "service_attachment\030\355\251\320\241\001 \001(\tB\003\340A\002\"u\n*Get" + + "ShieldedInstanceIdentityInstanceRequest\022" + + "\030\n\010instance\030\225\251\332\010 \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\"H\n\022GetS" + + "napshotRequest\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\"T\n\030GetSslCert" + + "ificateRequest\022\027\n\007project\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\023GetS" + + "slPolicyRequest\022\027\n\007project\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\032GetStat" + + "usVpnGatewayRequest\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_gate" + + "way\030\371\203\366\301\001 \001(\tB\003\340A\002\"d\n\024GetSubnetworkReque" + + "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\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002" + + "\"W\n\031GetTargetGrpcProxyRequest\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_p" + + "roxy\030\345\276\322b \001(\tB\003\340A\002\"Y\n\032GetTargetHttpsProx" + + "yRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\"\n\022tar" + + "get_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\"k\n\030GetTarg" + + "etInstanceRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "A\002\022 \n\017target_instance\030\203\217\226\212\001 \001(\tB\003\340A\002\022\024\n\004" + + "zone\030\254\307\344\001 \001(\tB\003\340A\002\"d\n\024GetTargetPoolReque" + + "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\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340A\002" + + "\"V\n\030GetTargetSslProxyRequest\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\007" + + "project\030\231\226\301l \001(\tB\003\340A\002\022!\n\020target_tcp_prox" + + "y\030\342\326\360\357\001 \001(\tB\003\340A\002\"r\n\032GetTargetVpnGatewayR" + "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\034\n\013vpn_gateway\030\371\203\366\301\001 \001(\t" - + "B\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\030GetXpnHostP" - + "rojectRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\"\240" - + "\002\n\036GetXpnResourcesProjectsRequest\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\"j\n\027GetZoneOperationRequest\022 \n\t" - + "operation\030\347\252\353\030 \001(\tB\n\340A\002\372G\004name\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" - + "\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\"{\n1GlobalNetworkE" - + "ndpointGroupsAttachEndpointsRequest\022F\n\021n" - + "etwork_endpoints\030\255\221\272G \003(\0132(.google.cloud" - + ".compute.v1.NetworkEndpoint\"{\n1GlobalNet" - + "workEndpointGroupsDetachEndpointsRequest" - + "\022F\n\021network_endpoints\030\255\221\272G \003(\0132(.google." - + "cloud.compute.v1.NetworkEndpoint\"\277\001\n\"Glo" - + "balOrganizationSetPolicyRequest\0226\n\010bindi" - + "ngs\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.Polic" - + "yH\001\210\001\001B\007\n\005_etagB\t\n\007_policy\"\321\001\n\026GlobalSet" - + "LabelsRequest\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.cl" - + "oud.compute.v1.GlobalSetLabelsRequest.La" - + "belsEntry\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\026GlobalSetPolicyRequest\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\"\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-.go" - + "ogle.cloud.compute.v1.GuestAttributesVal" - + "ueH\002\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\034\n\014v" - + "ariable_key\030\234\204\260N \001(\tH\004\210\001\001\022\036\n\016variable_va" - + "lue\030\356\363\263; \001(\tH\005\210\001\001B\007\n\005_kindB\r\n\013_query_pat" - + "hB\016\n\014_query_valueB\014\n\n_self_linkB\017\n\r_vari" - + "able_keyB\021\n\017_variable_value\"|\n\024GuestAttr" - + "ibutesEntry\022\022\n\003key\030\337\274\006 \001(\tH\000\210\001\001\022\031\n\tnames" - + "pace\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\024Gue" - + "stAttributesValue\022?\n\005items\030\300\317\367/ \003(\0132-.go" - + "ogle.cloud.compute.v1.GuestAttributesEnt" - + "ry\"\205\002\n\016GuestOsFeature\022\024\n\004type\030\272\236\332\001 \001(\tH\000" - + "\210\001\001\"\323\001\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022 \n\030FEAT" - + "URE_TYPE_UNSPECIFIED\020\333\277\310\375\001\022\014\n\005GVNIC\020\231\225\303 " - + "\022\026\n\017MULTI_IP_SUBNET\020\317\333\257H\022\023\n\013SECURE_BOOT\020" - + "\272\335\326\263\001\022\022\n\013SEV_CAPABLE\020\221\226\303)\022\026\n\017UEFI_COMPAT" - + "IBLE\020\300\326\262]\022\035\n\026VIRTIO_SCSI_MULTIQUEUE\020\215\301\220`" - + "\022\017\n\007WINDOWS\020\343\334\354\331\001B\007\n\005_type\"\203\004\n\020HTTP2Heal" - + "thCheck\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\014pr" - + "oxy_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(\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_PO" - + "RT\020\314\321\365\254\001\"H\n\013ProxyHeader\022\032\n\026UNDEFINED_PRO" - + "XY_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_p" - + "ort_specificationB\017\n\r_proxy_headerB\017\n\r_r" - + "equest_pathB\013\n\t_response\"\202\004\n\017HTTPHealthC" - + "heck\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\022p" - + "ort_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(\tH\006\210\001\001\"~\n" - + "\021PortSpecification\022 \n\034UNDEFINED_PORT_SPE" - + "CIFICATION\020\000\022\025\n\016USE_FIXED_PORT\020\344\210\333Z\022\026\n\016U" - + "SE_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_requ" - + "est_pathB\013\n\t_response\"\203\004\n\020HTTPSHealthChe" - + "ck\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\022por" - + "t_specification\030\305\353\314\030 \001(\tH\003\210\001\001\022\034\n\014proxy_h" - + "eader\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(\tH\006\210\001\001\"~\n\021P" - + "ortSpecification\022 \n\034UNDEFINED_PORT_SPECI" - + "FICATION\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\026UNDEFINED_PROXY_HE" - + "ADER\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_s" - + "pecificationB\017\n\r_proxy_headerB\017\n\r_reques" - + "t_pathB\013\n\t_response\"\303\n\n\013HealthCheck\022#\n\022c" - + "heck_interval_sec\030\256\257\343\244\001 \001(\005H\000\210\001\001\022\"\n\022crea" - + "tion_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013descript" - + "ion\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.GRPCH" - + "ealthCheckH\003\210\001\001\022\"\n\021healthy_threshold\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.HTTP2Health" - + "CheckH\005\210\001\001\022L\n\021http_health_check\030\274\247\336\304\001 \001(" - + "\0132(.google.cloud.compute.v1.HTTPHealthCh" - + "eckH\006\210\001\001\022N\n\022https_health_check\030\271\230\366\317\001 \001(\013" - + "2).google.cloud.compute.v1.HTTPSHealthCh" - + "eckH\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-.googl" - + "e.cloud.compute.v1.HealthCheckLogConfigH" - + "\n\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\013\210\001\001\022\026\n\006region\030\364\315\240" - + "B \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.cl" - + "oud.compute.v1.SSLHealthCheckH\016\210\001\001\022J\n\020tc" - + "p_health_check\030\203\252\215\340\001 \001(\0132\'.google.cloud." - + "compute.v1.TCPHealthCheckH\017\210\001\001\022\033\n\013timeou" - + "t_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\005HTTPS\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_creation_time" - + "stampB\016\n\014_descriptionB\024\n\022_grpc_health_ch" - + "eckB\024\n\022_healthy_thresholdB\025\n\023_http2_heal" - + "th_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_co" - + "nfigB\007\n\005_nameB\t\n\007_regionB\014\n\n_self_linkB\023" - + "\n\021_ssl_health_checkB\023\n\021_tcp_health_check" - + "B\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$.google.cloud" - + ".compute.v1.HealthCheck\022\024\n\004kind\030\224\367\310\001 \001(\t" + + "n\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\007proj" + + "ect\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\013" + + "vpn_gateway\030\371\203\366\301\001 \001(\tB\003\340A\002\"b\n\023GetVpnTunn" + + "elRequest\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\032\n\nvpn_tunnel\030\223\224\312D \001(" + + "\tB\003\340A\002\"3\n\030GetXpnHostProjectRequest\022\027\n\007pr" + + "oject\030\231\226\301l \001(\tB\003\340A\002\"\240\002\n\036GetXpnResourcesP" + + "rojectsRequest\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\"j\n\027GetZon" + + "eOperationRequest\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\004" + + "zone\030\254\307\344\001 \001(\tB\003\340A\002\"?\n\016GetZoneRequest\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\"{\n1GlobalNetworkEndpointGroupsAttach" + + "EndpointsRequest\022F\n\021network_endpoints\030\255\221" + + "\272G \003(\0132(.google.cloud.compute.v1.Network" + + "Endpoint\"{\n1GlobalNetworkEndpointGroupsD" + + "etachEndpointsRequest\022F\n\021network_endpoin" + + "ts\030\255\221\272G \003(\0132(.google.cloud.compute.v1.Ne" + + "tworkEndpoint\"\277\001\n\"GlobalOrganizationSetP" + + "olicyRequest\0226\n\010bindings\030\216\305\244\300\001 \003(\0132 .goo" + + "gle.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.c" + + "loud.compute.v1.PolicyH\001\210\001\001B\007\n\005_etagB\t\n\007" + + "_policy\"\321\001\n\026GlobalSetLabelsRequest\022!\n\021la" + + "bel_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022O\n\006labels\030" + + "\377\277\301\356\001 \003(\0132;.google.cloud.compute.v1.Glob" + + "alSetLabelsRequest.LabelsEntry\032-\n\013Labels" + + "Entry\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\026GlobalSetPolicyR" + + "equest\0226\n\010bindings\030\216\305\244\300\001 \003(\0132 .google.cl" + + "oud.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.c" + + "ompute.v1.PolicyH\001\210\001\001B\007\n\005_etagB\t\n\007_polic" + + "y\"\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\013quer" + + "y_value\030\272\256\221K \001(\0132-.google.cloud.compute." + + "v1.GuestAttributesValueH\002\210\001\001\022\032\n\tself_lin" + + "k\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\034\n\014variable_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_keyB\021\n\017_variab" + + "le_value\"|\n\024GuestAttributesEntry\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_names" + + "paceB\010\n\006_value\"W\n\024GuestAttributesValue\022?" + + "\n\005items\030\300\317\367/ \003(\0132-.google.cloud.compute." + + "v1.GuestAttributesEntry\"\205\002\n\016GuestOsFeatu" + + "re\022\024\n\004type\030\272\236\332\001 \001(\tH\000\210\001\001\"\323\001\n\004Type\022\022\n\016UND" + + "EFINED_TYPE\020\000\022 \n\030FEATURE_TYPE_UNSPECIFIE" + + "D\020\333\277\310\375\001\022\014\n\005GVNIC\020\231\225\303 \022\026\n\017MULTI_IP_SUBNET" + + "\020\317\333\257H\022\023\n\013SECURE_BOOT\020\272\335\326\263\001\022\022\n\013SEV_CAPABL" + + "E\020\221\226\303)\022\026\n\017UEFI_COMPATIBLE\020\300\326\262]\022\035\n\026VIRTIO" + + "_SCSI_MULTIQUEUE\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_specificatio" + + "n\030\305\353\314\030 \001(\tH\003\210\001\001\022\034\n\014proxy_header\030\376\272\274L \001(\t" + + "H\004\210\001\001\022\034\n\014request_path\030\325\327\261m \001(\tH\005\210\001\001\022\030\n\010r" + + "esponse\030\301\250\334] \001(\tH\006\210\001\001\"~\n\021PortSpecificati" + + "on\022 \n\034UNDEFINED_PORT_SPECIFICATION\020\000\022\025\n\016" + + "USE_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\013ProxyHe" + + "ader\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_por" + + "tB\014\n\n_port_nameB\025\n\023_port_specificationB\017" + + "\n\r_proxy_headerB\017\n\r_request_pathB\013\n\t_res" + + "ponse\"\202\004\n\017HTTPHealthCheck\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_na" + + "me\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\010resp" + + "onse\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_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_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_respon" + + "se\"\203\004\n\020HTTPSHealthCheck\022\024\n\004host\030\250\353\303\001 \001(\t" + + "H\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_path\030\325\327\261m \001(\tH\005\210\001\001\022\030\n\010respon" + + "se\030\301\250\334] \001(\tH\006\210\001\001\"~\n\021PortSpecification\022 \n" + + "\034UNDEFINED_PORT_SPECIFICATION\020\000\022\025\n\016USE_F" + + "IXED_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\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_pr" + + "oxy_headerB\017\n\r_request_pathB\013\n\t_response" + + "\"\303\n\n\013HealthCheck\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\022" + + "K\n\021grpc_health_check\030\346\247\344( \001(\0132(.google.c" + + "loud.compute.v1.GRPCHealthCheckH\003\210\001\001\022\"\n\021" + + "healthy_threshold\030\311\220\242\300\001 \001(\005H\004\210\001\001\022M\n\022http" + + "2_health_check\030\332\265\265\005 \001(\0132).google.cloud.c" + + "ompute.v1.HTTP2HealthCheckH\005\210\001\001\022L\n\021http_" + + "health_check\030\274\247\336\304\001 \001(\0132(.google.cloud.co" + + "mpute.v1.HTTPHealthCheckH\006\210\001\001\022N\n\022https_h" + + "ealth_check\030\271\230\366\317\001 \001(\0132).google.cloud.com" + + "pute.v1.HTTPSHealthCheckH\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_con" + + "fig\030\235\321\301\247\001 \001(\0132-.google.cloud.compute.v1." + + "HealthCheckLogConfigH\n\210\001\001\022\024\n\004name\030\213\365\315\001 \001" + + "(\tH\013\210\001\001\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\022J\n\020ssl_health_check\030" + + "\270\351\303\205\001 \001(\0132\'.google.cloud.compute.v1.SSLH" + + "ealthCheckH\016\210\001\001\022J\n\020tcp_health_check\030\203\252\215\340" + + "\001 \001(\0132\'.google.cloud.compute.v1.TCPHealt" + + "hCheckH\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_thre" + + "shold\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\005HTT" + + "P2\020\252\241\370 \022\014\n\005HTTPS\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_creation_timestampB\016\n\014_descripti" + + "onB\024\n\022_grpc_health_checkB\024\n\022_healthy_thr" + + "esholdB\025\n\023_http2_health_checkB\024\n\022_http_h" + + "ealth_checkB\025\n\023_https_health_checkB\005\n\003_i" + + "dB\007\n\005_kindB\r\n\013_log_configB\007\n\005_nameB\t\n\007_r" + + "egionB\014\n\n_self_linkB\023\n\021_ssl_health_check" + + "B\023\n\021_tcp_health_checkB\016\n\014_timeout_secB\007\n" + + "\005_typeB\026\n\024_unhealthy_threshold\"\247\002\n\017Healt" + + "hCheckList\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.HealthC" + + "heck\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\":\n\024HealthCheckLogConfig\022\027\n\006enab" + + "le\030\203\313\324\224\001 \001(\010H\000\210\001\001B\t\n\007_enable\"F\n\024HealthCh" + + "eckReference\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\022HealthCheckServ" + + "ice\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\013fingerp" + + "rint\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_polic" + + "y\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\004kin" + + "d\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_endpoint_groups\030\255\227\377\r \003(\t\022\"\n\026not" + + "ification_endpoints\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\035HealthStatusAggregationPolicy\022.\n*UN" + + "DEFINED_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_timestampB\016\n\014_descriptionB\016\n\014" + + "_fingerprintB#\n!_health_status_aggregati" + + "on_policyB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_r" + + "egionB\014\n\n_self_link\"]\n\033HealthCheckServic" + + "eReference\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\027H" + + "ealthCheckServicesList\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.HealthCheckService\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\0229\n\007warning\030\234\337" + "\226\030 \001(\0132 .google.cloud.compute.v1.Warning" + "H\004\210\001\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\":\n\024HealthChe" - + "ckLogConfig\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\014healt" - + "h_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_times" - + "tamp\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_statu" - + "s_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\004na" - + "me\030\213\365\315\001 \001(\tH\006\210\001\001\022\"\n\027network_endpoint_gro" - + "ups\030\255\227\377\r \003(\t\022\"\n\026notification_endpoints\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\035HealthStatusAggr" - + "egationPolicy\022.\n*UNDEFINED_HEALTH_STATUS" - + "_AGGREGATION_POLICY\020\000\022\t\n\003AND\020\267\373\003\022\026\n\016NO_A" - + "GGREGATION\020\304\222\254\313\001B\025\n\023_creation_timestampB" - + "\016\n\014_descriptionB\016\n\014_fingerprintB#\n!_heal" - + "th_status_aggregation_policyB\005\n\003_idB\007\n\005_" - + "kindB\007\n\005_nameB\t\n\007_regionB\014\n\n_self_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\027HealthCheckServicesLis" - + "t\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.HealthCheckServi" - + "ce\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\"\304\003\n\032HealthChecksAggregatedList\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.HealthChecksAggregat" - + "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.HealthChecksScopedList:\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\026HealthChecksSc" - + "opedList\022?\n\rhealth_checks\030\256\257\346\325\001 \003(\0132$.go" - + "ogle.cloud.compute.v1.HealthCheck\0229\n\007war" - + "ning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1." - + "WarningH\000\210\001\001B\n\n\010_warning\"\325\005\n\014HealthStatu" - + "s\022N\n\013annotations\030\244\366\2655 \003(\01326.google.cloud" - + ".compute.v1.HealthStatus.AnnotationsEntr" - + "y\022 \n\017forwarding_rule\030\376\245\335\200\001 \001(\tH\000\210\001\001\022\"\n\022f" - + "orwarding_rule_ip\030\210\254\221R \001(\tH\001\210\001\001\022\035\n\014healt" - + "h_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\020A" - + "nnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " - + "\001(\t:\0028\001\"M\n\013HealthState\022\032\n\026UNDEFINED_HEAL" - + "TH_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\026UNDEFINED_WEIG" - + "HT_ERROR\020\000\022\026\n\016INVALID_WEIGHT\020\340\213\373\266\001\022\026\n\016MI" - + "SSING_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_forwardi" - + "ng_ruleB\025\n\023_forwarding_rule_ipB\017\n\r_healt" - + "h_stateB\013\n\t_instanceB\r\n\013_ip_addressB\007\n\005_" - + "portB\t\n\007_weightB\017\n\r_weight_error\"\347\004\n\036Hea" - + "lthStatusForNetworkEndpoint\022R\n\017backend_s" - + "ervice\030\212\300\256\222\001 \001(\01320.google.cloud.compute." - + "v1.BackendServiceReferenceH\000\210\001\001\022R\n\017forwa" - + "rding_rule\030\376\245\335\200\001 \001(\01320.google.cloud.comp" - + "ute.v1.ForwardingRuleReferenceH\001\210\001\001\022L\n\014h" - + "ealth_check\030\345\252\244\223\001 \001(\0132-.google.cloud.com" - + "pute.v1.HealthCheckReferenceH\002\210\001\001\022[\n\024hea" - + "lth_check_service\030\333\233\335\302\001 \001(\01324.google.clo" - + "ud.compute.v1.HealthCheckServiceReferenc" - + "eH\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_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\tU" - + "NHEALTHY\020\304\271\255\334\001\022\017\n\007UNKNOWN\020\252\360\304\316\001B\022\n\020_back" - + "end_serviceB\022\n\020_forwarding_ruleB\017\n\r_heal" - + "th_checkB\027\n\025_health_check_serviceB\017\n\r_he" - + "alth_state\"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_m" - + "atcher\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\267" - + "H \001(\001H\001\210\001\001B\016\n\014_http_statusB\r\n\013_percentag" - + "e\"\214\001\n\016HttpFaultDelay\022?\n\013fixed_delay\030\370\271\226\227" - + "\001 \001(\0132!.google.cloud.compute.v1.Duration" - + "H\000\210\001\001\022\032\n\npercentage\030\232\345\267H \001(\001H\001\210\001\001B\016\n\014_fi" - + "xed_delayB\r\n\013_percentage\"\250\001\n\022HttpFaultIn" - + "jection\022>\n\005abort\030\260\306\224, \001(\0132\'.google.cloud" - + ".compute.v1.HttpFaultAbortH\000\210\001\001\022>\n\005delay" - + "\030\203\363\302- \001(\0132\'.google.cloud.compute.v1.Http" - + "FaultDelayH\001\210\001\001B\010\n\006_abortB\010\n\006_delay\"\374\001\n\020" - + "HttpHeaderAction\022L\n\026request_headers_to_a" - + "dd\030\346\256\261\" \003(\0132).google.cloud.compute.v1.Ht" - + "tpHeaderOption\022$\n\031request_headers_to_rem" - + "ove\030\237\317\223h \003(\t\022M\n\027response_headers_to_add\030" - + "\364\266\251\017 \003(\0132).google.cloud.compute.v1.HttpH" - + "eaderOption\022%\n\032response_headers_to_remov" - + "e\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\014prefix_match\030\330\363\374z \001(\tH\003\210\001\001\022\035\n\rpresen" - + "t_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.Int64Ran" - + "geMatchH\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_exa" - + "ct_matchB\016\n\014_header_nameB\017\n\r_invert_matc" - + "hB\017\n\r_prefix_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_nam" - + "e\030\375\301\3074 \001(\tH\000\210\001\001\022\034\n\014header_value\030\277\362\353` \001(\t" - + "H\001\210\001\001\022\027\n\007replace\030\264\345\362\t \001(\010H\002\210\001\001B\016\n\014_heade" - + "r_nameB\017\n\r_header_valueB\n\n\010_replace\"\304\001\n\027" - + "HttpQueryParameterMatch\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\rp" - + "resent_match\030\301\372\223 \001(\010H\002\210\001\001\022\033\n\013regex_matc" - + "h\030\315\267\2323 \001(\tH\003\210\001\001B\016\n\014_exact_matchB\007\n\005_name" - + "B\020\n\016_present_matchB\016\n\014_regex_match\"\214\004\n\022H" - + "ttpRedirectAction\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\rpath_redirect\030\266\275\356\201\001 \001(\tH\002\210\001\001\022 \n\017pref" - + "ix_redirect\030\351\365\340\324\001 \001(\tH\003\210\001\001\022\'\n\026redirect_r" - + "esponse_code\030\210\330\236\320\001 \001(\tH\004\210\001\001\022\033\n\013strip_que" - + "ry\030\341\231\367\030 \001(\010H\005\210\001\001\"\270\001\n\024RedirectResponseCod" - + "e\022$\n UNDEFINED_REDIRECT_RESPONSE_CODE\020\000\022" - + "\014\n\005FOUND\020\342\276\376\037\022!\n\031MOVED_PERMANENTLY_DEFAU" - + "LT\020\321\231\262\270\001\022\032\n\022PERMANENT_REDIRECT\020\355\350\223\266\001\022\021\n\t" - + "SEE_OTHER\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_redirect" - + "B\020\n\016_path_redirectB\022\n\020_prefix_redirectB\031" - + "\n\027_redirect_response_codeB\016\n\014_strip_quer" - + "y\"\264\001\n\017HttpRetryPolicy\022\033\n\013num_retries\030\215\253\201" - + "x \001(\rH\000\210\001\001\022C\n\017per_try_timeout\030\273\255\304\205\001 \001(\0132" - + "!.google.cloud.compute.v1.DurationH\001\210\001\001\022" - + "\033\n\020retry_conditions\030\257\341\336\r \003(\tB\016\n\014_num_ret" - + "riesB\022\n\020_per_try_timeout\"\361\005\n\017HttpRouteAc" - + "tion\022A\n\013cors_policy\030\204\314\235\276\001 \001(\0132#.google.c" - + "loud.compute.v1.CorsPolicyH\000\210\001\001\022T\n\026fault" - + "_injection_policy\030\227\224\352\304\001 \001(\0132+.google.clo" - + "ud.compute.v1.HttpFaultInjectionH\001\210\001\001\022F\n" - + "\023max_stream_duration\030\230\245\245\035 \001(\0132!.google.c" - + "loud.compute.v1.DurationH\002\210\001\001\022S\n\025request" - + "_mirror_policy\030\202\340\377h \001(\0132,.google.cloud.c" - + "ompute.v1.RequestMirrorPolicyH\003\210\001\001\022F\n\014re" - + "try_policy\030\251\345\212\033 \001(\0132(.google.cloud.compu" - + "te.v1.HttpRetryPolicyH\004\210\001\001\022;\n\007timeout\030\341\232" - + "\275\215\001 \001(\0132!.google.cloud.compute.v1.Durati" - + "onH\005\210\001\001\022A\n\013url_rewrite\030\274\375\252\202\001 \001(\0132#.googl" - + "e.cloud.compute.v1.UrlRewriteH\006\210\001\001\022V\n\031we" - + "ighted_backend_services\030\321\307\332\240\001 \003(\0132/.goog" - + "le.cloud.compute.v1.WeightedBackendServi" - + "ceB\016\n\014_cors_policyB\031\n\027_fault_injection_p" - + "olicyB\026\n\024_max_stream_durationB\030\n\026_reques" - + "t_mirror_policyB\017\n\r_retry_policyB\n\n\010_tim" - + "eoutB\016\n\014_url_rewrite\"\345\003\n\rHttpRouteRule\022\034" - + "\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022I\n\rheader_a" - + "ction\030\250\240\270\234\001 \001(\0132).google.cloud.compute.v" - + "1.HttpHeaderActionH\001\210\001\001\022D\n\013match_rules\030\375" - + "\273\261\263\001 \003(\0132+.google.cloud.compute.v1.HttpR" - + "outeRuleMatch\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.clou" - + "d.compute.v1.HttpRouteActionH\003\210\001\001\022\030\n\007ser" - + "vice\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.HttpRedi" - + "rectActionH\005\210\001\001B\016\n\014_descriptionB\020\n\016_head" - + "er_actionB\013\n\t_priorityB\017\n\r_route_actionB" - + "\n\n\010_serviceB\017\n\r_url_redirect\"\267\003\n\022HttpRou" - + "teRuleMatch\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(.googl" - + "e.cloud.compute.v1.HttpHeaderMatch\022\034\n\013ig" - + "nore_case\030\375\222\264\335\001 \001(\010H\001\210\001\001\022E\n\020metadata_fil" - + "ters\030\353\315\314\335\001 \003(\0132\'.google.cloud.compute.v1" - + ".MetadataFilter\022\034\n\014prefix_match\030\330\363\374z \001(\t" - + "H\002\210\001\001\022U\n\027query_parameter_matches\030\346\225\276\210\001 \003" - + "(\01320.google.cloud.compute.v1.HttpQueryPa" - + "rameterMatch\022\033\n\013regex_match\030\315\267\2323 \001(\tH\003\210\001" - + "\001B\022\n\020_full_path_matchB\016\n\014_ignore_caseB\017\n" - + "\r_prefix_matchB\016\n\014_regex_match\"\236\020\n\005Image" - + "\022#\n\022archive_size_bytes\030\312\214\334\265\001 \001(\003H\000\210\001\001\022\"\n" - + "\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022G\n\ndep" - + "recated\030\263\313\321\365\001 \001(\0132*.google.cloud.compute" - + ".v1.DeprecationStatusH\002\210\001\001\022\034\n\013descriptio" - + "n\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 \001" - + "(\003H\004\210\001\001\022\027\n\006family\030\344\266\341\234\001 \001(\tH\005\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\006\210\001" - + "\001\022U\n\024image_encryption_key\030\207\316\373\264\001 \001(\0132..go" - + "ogle.cloud.compute.v1.CustomerEncryption" - + "KeyH\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\022>\n\006labels\030\377\277\301\356" - + "\001 \003(\0132*.google.cloud.compute.v1.Image.La" - + "belsEntry\022\030\n\rlicense_codes\030\250\205\330\025 \003(\003\022\024\n\010l" - + "icenses\030\322\210\200\241\001 \003(\t\022\024\n\004name\030\213\365\315\001 \001(\tH\n\210\001\001\022" - + ";\n\010raw_disk\030\324\316\363\357\001 \001(\0132 .google.cloud.com" - + "pute.v1.RawDiskH\013\210\001\001\022\036\n\rsatisfies_pzs\030\253\335" - + "\253\345\001 \001(\010H\014\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\r\210\001\001" - + "\022\\\n\037shielded_instance_initial_state\030\203\304\334[" - + " \001(\0132+.google.cloud.compute.v1.InitialSt" - + "ateConfigH\016\210\001\001\022\034\n\013source_disk\030\301\356\264\327\001 \001(\tH" - + "\017\210\001\001\022[\n\032source_disk_encryption_key\030\341\240\270\375\001" - + " \001(\0132..google.cloud.compute.v1.CustomerE" - + "ncryptionKeyH\020\210\001\001\022\037\n\016source_disk_id\030\331\315\311\330" - + "\001 \001(\tH\021\210\001\001\022\034\n\014source_image\030\267\350\206\030 \001(\tH\022\210\001\001" - + "\022\\\n\033source_image_encryption_key\030\253\221\365\265\001 \001(" - + "\0132..google.cloud.compute.v1.CustomerEncr" - + "yptionKeyH\023\210\001\001\022\037\n\017source_image_id\030\243\374\260\032 \001" - + "(\tH\024\210\001\001\022\037\n\017source_snapshot\030\350\232\216< \001(\tH\025\210\001\001" - + "\022_\n\036source_snapshot_encryption_key\030\332\216\347\220\001" - + " \001(\0132..google.cloud.compute.v1.CustomerE" - + "ncryptionKeyH\026\210\001\001\022\"\n\022source_snapshot_id\030" - + "\322\226\230/ \001(\tH\027\210\001\001\022\034\n\013source_type\030\336\361\322\327\001 \001(\tH\030" - + "\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\031\210\001\001\022\035\n\021storage_l" - + "ocations\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\"2\n\nSourceType\022" - + "\031\n\025UNDEFINED_SOURCE_TYPE\020\000\022\t\n\003RAW\020\210\370\004\"^\n" - + "\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010DELETIN" - + "G\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\025\n\023_archive_size_bytesB\025\n\023" - + "_creation_timestampB\r\n\013_deprecatedB\016\n\014_d" - + "escriptionB\017\n\r_disk_size_gbB\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_pzsB\014\n\n_self_linkB\"\n _" - + "shielded_instance_initial_stateB\016\n\014_sour" - + "ce_diskB\035\n\033_source_disk_encryption_keyB\021" - + "\n\017_source_disk_idB\017\n\r_source_imageB\036\n\034_s" - + "ource_image_encryption_keyB\022\n\020_source_im" - + "age_idB\022\n\020_source_snapshotB!\n\037_source_sn" - + "apshot_encryption_keyB\025\n\023_source_snapsho" - + "t_idB\016\n\014_source_typeB\t\n\007_status\"R\n\017Image" - + "FamilyView\0225\n\005image\030\333\322\352/ \001(\0132\036.google.cl" - + "oud.compute.v1.ImageH\000\210\001\001B\010\n\006_image\"\233\002\n\t" - + "ImageList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0220\n\005items\030\300\317\367" - + "/ \003(\0132\036.google.cloud.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\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\"\216\002\n\022InitialStateConfig\0229\n\003dbs\030\265\207\006 \003(\0132" - + "*.google.cloud.compute.v1.FileContentBuf" - + "fer\022;\n\004dbxs\030\371\347\273\001 \003(\0132*.google.cloud.comp" - + "ute.v1.FileContentBuffer\022;\n\004keks\030\302\330\310\001 \003(" + + "nB\014\n\n_self_linkB\n\n\010_warning\"\304\003\n\032HealthCh" + + "ecksAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022P\n\005" + + "items\030\300\317\367/ \003(\0132>.google.cloud.compute.v1" + + ".HealthChecksAggregatedList.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.Warning" + + "H\004\210\001\001\032]\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022>\n\005valu" + + "e\030\002 \001(\0132/.google.cloud.compute.v1.Health" + + "ChecksScopedList:\0028\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\"\240\001\n\026HealthChecksScopedList\022?\n\rhealth_" + + "checks\030\256\257\346\325\001 \003(\0132$.google.cloud.compute." + + "v1.HealthCheck\0229\n\007warning\030\234\337\226\030 \001(\0132 .goo" + + "gle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_wa" + + "rning\"\325\005\n\014HealthStatus\022N\n\013annotations\030\244\366" + + "\2655 \003(\01326.google.cloud.compute.v1.HealthS" + + "tatus.AnnotationsEntry\022 \n\017forwarding_rul" + + "e\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_addr" + + "ess\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_erro" + + "r\030\201\373\222\371\001 \001(\tH\007\210\001\001\0322\n\020AnnotationsEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"M\n\013HealthSt" + + "ate\022\032\n\026UNDEFINED_HEALTH_STATE\020\000\022\017\n\007HEALT" + + "HY\020\375\252\333\321\001\022\021\n\tUNHEALTHY\020\304\271\255\334\001\"\212\001\n\013WeightEr" + + "ror\022\032\n\026UNDEFINED_WEIGHT_ERROR\020\000\022\026\n\016INVAL" + + "ID_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_NO" + + "NE\020\237\351\311\357\001B\022\n\020_forwarding_ruleB\025\n\023_forward" + + "ing_rule_ipB\017\n\r_health_stateB\013\n\t_instanc" + + "eB\r\n\013_ip_addressB\007\n\005_portB\t\n\007_weightB\017\n\r" + + "_weight_error\"\347\004\n\036HealthStatusForNetwork" + + "Endpoint\022R\n\017backend_service\030\212\300\256\222\001 \001(\01320." + + "google.cloud.compute.v1.BackendServiceRe" + + "ferenceH\000\210\001\001\022R\n\017forwarding_rule\030\376\245\335\200\001 \001(" + + "\01320.google.cloud.compute.v1.ForwardingRu" + + "leReferenceH\001\210\001\001\022L\n\014health_check\030\345\252\244\223\001 \001" + + "(\0132-.google.cloud.compute.v1.HealthCheck" + + "ReferenceH\002\210\001\001\022[\n\024health_check_service\030\333" + + "\233\335\302\001 \001(\01324.google.cloud.compute.v1.Healt" + + "hCheckServiceReferenceH\003\210\001\001\022\035\n\014health_st" + + "ate\030\356\351\277\232\001 \001(\tH\004\210\001\001\"p\n\013HealthState\022\032\n\026UND" + + "EFINED_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\021\n\tUNHEALTHY\020\304\271\255\334\001\022\017\n\007U" + + "NKNOWN\020\252\360\304\316\001B\022\n\020_backend_serviceB\022\n\020_for" + + "warding_ruleB\017\n\r_health_checkB\027\n\025_health" + + "_check_serviceB\017\n\r_health_state\"z\n\010HostR" + + "ule\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\020\n\005hos" + + "ts\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\016H" + + "ttpFaultAbort\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\016HttpFaultDela" + + "y\022?\n\013fixed_delay\030\370\271\226\227\001 \001(\0132!.google.clou" + + "d.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_perce" + + "ntage\"\250\001\n\022HttpFaultInjection\022>\n\005abort\030\260\306" + + "\224, \001(\0132\'.google.cloud.compute.v1.HttpFau" + + "ltAbortH\000\210\001\001\022>\n\005delay\030\203\363\302- \001(\0132\'.google." + + "cloud.compute.v1.HttpFaultDelayH\001\210\001\001B\010\n\006" + + "_abortB\010\n\006_delay\"\374\001\n\020HttpHeaderAction\022L\n" + + "\026request_headers_to_add\030\346\256\261\" \003(\0132).googl" + + "e.cloud.compute.v1.HttpHeaderOption\022$\n\031r" + + "equest_headers_to_remove\030\237\317\223h \003(\t\022M\n\027res" + + "ponse_headers_to_add\030\364\266\251\017 \003(\0132).google.c" + + "loud.compute.v1.HttpHeaderOption\022%\n\032resp", + "onse_headers_to_remove\030\321\201\373# \003(\t\"\260\003\n\017Http" + + "HeaderMatch\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\014prefix_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.clou" + + "d.compute.v1.Int64RangeMatchH\005\210\001\001\022\033\n\013reg" + + "ex_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_range_matchB\016\n\014_re" + + "gex_matchB\017\n\r_suffix_match\"\223\001\n\020HttpHeade" + + "rOption\022\033\n\013header_name\030\375\301\3074 \001(\tH\000\210\001\001\022\034\n\014" + + "header_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_v" + + "alueB\n\n\010_replace\"\304\001\n\027HttpQueryParameterM" + + "atch\022\034\n\013exact_match\030\205\231\234\332\001 \001(\tH\000\210\001\001\022\024\n\004na" + + "me\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_present_matchB" + + "\016\n\014_regex_match\"\214\004\n\022HttpRedirectAction\022\035" + + "\n\rhost_redirect\030\223\241\2343 \001(\tH\000\210\001\001\022\036\n\016https_r" + + "edirect\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_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 UNDEFINED_REDI" + + "RECT_RESPONSE_CODE\020\000\022\014\n\005FOUND\020\342\276\376\037\022!\n\031MO" + + "VED_PERMANENTLY_DEFAULT\020\321\231\262\270\001\022\032\n\022PERMANE" + + "NT_REDIRECT\020\355\350\223\266\001\022\021\n\tSEE_OTHER\020\344\357\257\324\001\022\032\n\022" + + "TEMPORARY_REDIRECT\020\252\344\267\351\001B\020\n\016_host_redire" + + "ctB\021\n\017_https_redirectB\020\n\016_path_redirectB" + + "\022\n\020_prefix_redirectB\031\n\027_redirect_respons" + + "e_codeB\016\n\014_strip_query\"\264\001\n\017HttpRetryPoli" + + "cy\022\033\n\013num_retries\030\215\253\201x \001(\rH\000\210\001\001\022C\n\017per_t" + + "ry_timeout\030\273\255\304\205\001 \001(\0132!.google.cloud.comp" + + "ute.v1.DurationH\001\210\001\001\022\033\n\020retry_conditions" + + "\030\257\341\336\r \003(\tB\016\n\014_num_retriesB\022\n\020_per_try_ti" + + "meout\"\361\005\n\017HttpRouteAction\022A\n\013cors_policy" + + "\030\204\314\235\276\001 \001(\0132#.google.cloud.compute.v1.Cor" + + "sPolicyH\000\210\001\001\022T\n\026fault_injection_policy\030\227" + + "\224\352\304\001 \001(\0132+.google.cloud.compute.v1.HttpF" + + "aultInjectionH\001\210\001\001\022F\n\023max_stream_duratio" + + "n\030\230\245\245\035 \001(\0132!.google.cloud.compute.v1.Dur" + + "ationH\002\210\001\001\022S\n\025request_mirror_policy\030\202\340\377h" + + " \001(\0132,.google.cloud.compute.v1.RequestMi" + + "rrorPolicyH\003\210\001\001\022F\n\014retry_policy\030\251\345\212\033 \001(\013" + + "2(.google.cloud.compute.v1.HttpRetryPoli" + + "cyH\004\210\001\001\022;\n\007timeout\030\341\232\275\215\001 \001(\0132!.google.cl" + + "oud.compute.v1.DurationH\005\210\001\001\022A\n\013url_rewr" + + "ite\030\274\375\252\202\001 \001(\0132#.google.cloud.compute.v1." + + "UrlRewriteH\006\210\001\001\022V\n\031weighted_backend_serv" + + "ices\030\321\307\332\240\001 \003(\0132/.google.cloud.compute.v1" + + ".WeightedBackendServiceB\016\n\014_cors_policyB" + + "\031\n\027_fault_injection_policyB\026\n\024_max_strea" + + "m_durationB\030\n\026_request_mirror_policyB\017\n\r" + + "_retry_policyB\n\n\010_timeoutB\016\n\014_url_rewrit" + + "e\"\345\003\n\rHttpRouteRule\022\034\n\013description\030\374\207\326\311\001" + + " \001(\tH\000\210\001\001\022I\n\rheader_action\030\250\240\270\234\001 \001(\0132).g" + + "oogle.cloud.compute.v1.HttpHeaderActionH" + + "\001\210\001\001\022D\n\013match_rules\030\375\273\261\263\001 \003(\0132+.google.c" + + "loud.compute.v1.HttpRouteRuleMatch\022\031\n\010pr" + + "iority\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.compute.v1.HttpRo" + + "uteActionH\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.clou" + + "d.compute.v1.HttpRedirectActionH\005\210\001\001B\016\n\014" + + "_descriptionB\020\n\016_header_actionB\013\n\t_prior" + + "ityB\017\n\r_route_actionB\n\n\010_serviceB\017\n\r_url" + + "_redirect\"\267\003\n\022HttpRouteRuleMatch\022\037\n\017full" + + "_path_match\030\333\211\252f \001(\tH\000\210\001\001\022D\n\016header_matc" + + "hes\030\201\353\310\254\001 \003(\0132(.google.cloud.compute.v1." + + "HttpHeaderMatch\022\034\n\013ignore_case\030\375\222\264\335\001 \001(\010" + + "H\001\210\001\001\022E\n\020metadata_filters\030\353\315\314\335\001 \003(\0132\'.go" + + "ogle.cloud.compute.v1.MetadataFilter\022\034\n\014" + + "prefix_match\030\330\363\374z \001(\tH\002\210\001\001\022U\n\027query_para" + + "meter_matches\030\346\225\276\210\001 \003(\01320.google.cloud.c" + + "ompute.v1.HttpQueryParameterMatch\022\033\n\013reg" + + "ex_match\030\315\267\2323 \001(\tH\003\210\001\001B\022\n\020_full_path_mat" + + "chB\016\n\014_ignore_caseB\017\n\r_prefix_matchB\016\n\014_" + + "regex_match\"\236\020\n\005Image\022#\n\022archive_size_by" + + "tes\030\312\214\334\265\001 \001(\003H\000\210\001\001\022\"\n\022creation_timestamp" + + "\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.DeprecationStat" + + "usH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\035\n" + + "\014disk_size_gb\030\267\232\347\226\001 \001(\003H\004\210\001\001\022\027\n\006family\030\344" + + "\266\341\234\001 \001(\tH\005\210\001\001\022E\n\021guest_os_features\030\321\340\347% " + + "\003(\0132\'.google.cloud.compute.v1.GuestOsFea" + + "ture\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022U\n\024image_encrypti" + + "on_key\030\207\316\373\264\001 \001(\0132..google.cloud.compute." + + "v1.CustomerEncryptionKeyH\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\022>\n\006labels\030\377\277\301\356\001 \003(\0132*.google.clou" + + "d.compute.v1.Image.LabelsEntry\022\030\n\rlicens" + + "e_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\n\210\001\001\022;\n\010raw_disk\030\324\316\363\357\001 \001" + + "(\0132 .google.cloud.compute.v1.RawDiskH\013\210\001" + + "\001\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H\014\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\r\210\001\001\022\\\n\037shielded_instan" + + "ce_initial_state\030\203\304\334[ \001(\0132+.google.cloud" + + ".compute.v1.InitialStateConfigH\016\210\001\001\022\034\n\013s" + + "ource_disk\030\301\356\264\327\001 \001(\tH\017\210\001\001\022[\n\032source_disk" + + "_encryption_key\030\341\240\270\375\001 \001(\0132..google.cloud" + + ".compute.v1.CustomerEncryptionKeyH\020\210\001\001\022\037" + + "\n\016source_disk_id\030\331\315\311\330\001 \001(\tH\021\210\001\001\022\034\n\014sourc" + + "e_image\030\267\350\206\030 \001(\tH\022\210\001\001\022\\\n\033source_image_en" + + "cryption_key\030\253\221\365\265\001 \001(\0132..google.cloud.co" + + "mpute.v1.CustomerEncryptionKeyH\023\210\001\001\022\037\n\017s" + + "ource_image_id\030\243\374\260\032 \001(\tH\024\210\001\001\022\037\n\017source_s" + + "napshot\030\350\232\216< \001(\tH\025\210\001\001\022_\n\036source_snapshot" + + "_encryption_key\030\332\216\347\220\001 \001(\0132..google.cloud" + + ".compute.v1.CustomerEncryptionKeyH\026\210\001\001\022\"" + + "\n\022source_snapshot_id\030\322\226\230/ \001(\tH\027\210\001\001\022\034\n\013so" + + "urce_type\030\336\361\322\327\001 \001(\tH\030\210\001\001\022\026\n\006status\030\362\237\267V " + + "\001(\tH\031\210\001\001\022\035\n\021storage_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\"2\n\nSourceType\022\031\n\025UNDEFINED_SOURCE" + + "_TYPE\020\000\022\t\n\003RAW\020\210\370\004\"^\n\006Status\022\024\n\020UNDEFINE" + + "D_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\025\n\023_a" + + "rchive_size_bytesB\025\n\023_creation_timestamp" + + "B\r\n\013_deprecatedB\016\n\014_descriptionB\017\n\r_disk" + + "_size_gbB\t\n\007_familyB\005\n\003_idB\027\n\025_image_enc" + + "ryption_keyB\007\n\005_kindB\024\n\022_label_fingerpri" + + "ntB\007\n\005_nameB\013\n\t_raw_diskB\020\n\016_satisfies_p" + + "zsB\014\n\n_self_linkB\"\n _shielded_instance_i" + + "nitial_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_encrypt" + + "ion_keyB\022\n\020_source_image_idB\022\n\020_source_s" + + "napshotB!\n\037_source_snapshot_encryption_k" + + "eyB\025\n\023_source_snapshot_idB\016\n\014_source_typ" + + "eB\t\n\007_status\"R\n\017ImageFamilyView\0225\n\005image" + + "\030\333\322\352/ \001(\0132\036.google.cloud.compute.v1.Imag" + + "eH\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.clou" + + "d.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\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\"\216\002\n\022InitialStateC" + + "onfig\0229\n\003dbs\030\265\207\006 \003(\0132*.google.cloud.comp" + + "ute.v1.FileContentBuffer\022;\n\004dbxs\030\371\347\273\001 \003(" + "\0132*.google.cloud.compute.v1.FileContentB" - + "uffer\022<\n\002pk\030\373\033 \001(\0132*.google.cloud.comput" - + "e.v1.FileContentBufferH\000\210\001\001B\005\n\003_pk\"\312\001\n\024I" - + "nsertAddressRequest\022C\n\020address_resource\030" - + "\371\227\336\346\001 \001(\0132 .google.cloud.compute.v1.Addr" - + "essB\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\"" - + "\316\001\n\027InsertAutoscalerRequest\022H\n\023autoscale" - + "r_resource\030\366\360\377b \001(\0132#.google.cloud.compu" - + "te.v1.AutoscalerB\003\340A\002\022!\n\007project\030\231\226\301l \001(" + + "uffer\022;\n\004keks\030\302\330\310\001 \003(\0132*.google.cloud.co" + + "mpute.v1.FileContentBuffer\022<\n\002pk\030\373\033 \001(\0132" + + "*.google.cloud.compute.v1.FileContentBuf" + + "ferH\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." + + "cloud.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(\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\"\316\001\n\027InsertAutoscale" + + "rRequest\022H\n\023autoscaler_resource\030\366\360\377b \001(\013" + + "2#.google.cloud.compute.v1.AutoscalerB\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\"\274\001\n\032Insert" + + "BackendBucketRequest\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\"\277\001\n\033InsertBackendSe" + + "rviceRequest\022R\n\030backend_service_resource" + + "\030\243\201\337\245\001 \001(\0132\'.google.cloud.compute.v1.Bac" + + "kendServiceB\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\r" + + "disk_resource\030\360\320\253\014 \001(\0132\035.google.cloud.co" + + "mpute.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\037InsertExternalVpnGatewa" + + "yRequest\022[\n\035external_vpn_gateway_resourc" + + "e\030\210\337\220\350\001 \001(\0132+.google.cloud.compute.v1.Ex" + + "ternalVpnGatewayB\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\"\274\001\n\032InsertBackendBucketRequest\022" - + "P\n\027backend_bucket_resource\030\230\316\307\265\001 \001(\0132&.g" - + "oogle.cloud.compute.v1.BackendBucketB\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\001\n\033InsertBackendServiceRequest\022R\n\030backe" - + "nd_service_resource\030\243\201\337\245\001 \001(\0132\'.google.c" - + "loud.compute.v1.BackendServiceB\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\"\353\001\n\021In" - + "sertDiskRequest\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\032\n\nrequ" - + "est_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\037Inse" - + "rtExternalVpnGatewayRequest\022[\n\035external_" - + "vpn_gateway_resource\030\210\337\220\350\001 \001(\0132+.google." - + "cloud.compute.v1.ExternalVpnGatewayB\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\"\324" - + "\001\n\033InsertFirewallPolicyRequest\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\tpa" - + "rent_id\030\320\341\232\333\001 \001(\tB\014\362G\tparent_idH\000\210\001\001\022\032\n\n" - + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001B\014\n\n_parent_idB\r" - + "\n\013_request_id\"\253\001\n\025InsertFirewallRequest\022" - + "D\n\021firewall_resource\030\355\260\340\023 \001(\0132!.google.c" - + "loud.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\"\340\001\n\033InsertFo" - + "rwardingRuleRequest\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\"\257\001\n\032InsertGlobalAddressRe" - + "quest\022C\n\020address_resource\030\371\227\336\346\001 \001(\0132 .go" - + "ogle.cloud.compute.v1.AddressB\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\"\305\001\n!Ins" - + "ertGlobalForwardingRuleRequest\022R\n\030forwar" - + "ding_rule_resource\030\257\300\320\217\001 \001(\0132\'.google.cl" - + "oud.compute.v1.ForwardingRuleB\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\"\330\001\n\'Ins" - + "ertGlobalNetworkEndpointGroupRequest\022_\n\037" - + "network_endpoint_group_resource\030\247\315\333\372\001 \001(" - + "\0132-.google.cloud.compute.v1.NetworkEndpo" - + "intGroupB\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)InsertGlobalPublicDelega" - + "tedPrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340" - + "A\002\362G\007project\022`\n public_delegated_prefix_" - + "resource\030\205\370\330\026 \001(\0132..google.cloud.compute" - + ".v1.PublicDelegatedPrefixB\003\340A\002\022\032\n\nreques" - + "t_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\265\001\n\030In" - + "sertHealthCheckRequest\022K\n\025health_check_r" - + "esource\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\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210" - + "\001\001B\r\n\013_request_id\"\322\001\n\022InsertImageRequest" - + "\022\034\n\014force_create\030\320\211\244^ \001(\010H\000\210\001\001\022?\n\016image_" - + "resource\030\362\304\376\260\001 \001(\0132\036.google.cloud.comput" - + "e.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!Inser" - + "tInstanceGroupManagerRequest\022^\n\037instance" - + "_group_manager_resource\030\212\212\276| \001(\0132-.googl" - + "e.cloud.compute.v1.InstanceGroupManagerB" + + "\000\210\001\001B\r\n\013_request_id\"\324\001\n\033InsertFirewallPo" + + "licyRequest\022R\n\030firewall_policy_resource\030" + + "\274\266\207\354\001 \001(\0132\'.google.cloud.compute.v1.Fire" + + "wallPolicyB\003\340A\002\022(\n\tparent_id\030\320\341\232\333\001 \001(\tB\014" + + "\362G\tparent_idH\000\210\001\001\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" + + "H\001\210\001\001B\014\n\n_parent_idB\r\n\013_request_id\"\253\001\n\025I" + + "nsertFirewallRequest\022D\n\021firewall_resourc" + + "e\030\355\260\340\023 \001(\0132!.google.cloud.compute.v1.Fir" + + "ewallB\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\"\340\001\n\033InsertForwardingRuleRequest" + + "\022R\n\030forwarding_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\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\032Inse" - + "rtInstanceGroupRequest\022P\n\027instance_group" - + "_resource\030\270\265\325\210\001 \001(\0132&.google.cloud.compu" - + "te.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\022D\n" - + "\021instance_resource\030\370\360\376f \001(\0132!.google.clo" - + "ud.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\004zone" - + "B\r\n\013_request_idB\033\n\031_source_instance_temp" - + "lateB\027\n\025_source_machine_image\"\304\001\n\035Insert" - + "InstanceTemplateRequest\022U\n\032instance_temp" - + "late_resource\030\211\352\213\005 \001(\0132).google.cloud.co" - + "mpute.v1.InstanceTemplateB\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\001B\r\n\013_request_id\"\250\002\n#InsertI" - + "nterconnectAttachmentRequest\022a\n intercon" - + "nect_attachment_resource\030\371\244\240e \001(\0132/.goog" - + "le.cloud.compute.v1.InterconnectAttachme" - + "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\001\022\035\n\rvalidate_only" - + "\030\265\372\337s \001(\010H\001\210\001\001B\r\n\013_request_idB\020\n\016_valida" - + "te_only\"\270\001\n\031InsertInterconnectRequest\022M\n" - + "\025interconnect_resource\030\237\241\314\275\001 \001(\0132%.googl" - + "e.cloud.compute.v1.InterconnectB\003\340A\002\022!\n\007" + + "\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\"\257\001\n\032" + + "InsertGlobalAddressRequest\022C\n\020address_re" + + "source\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\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r" + + "\n\013_request_id\"\305\001\n!InsertGlobalForwarding" + + "RuleRequest\022R\n\030forwarding_rule_resource\030" + + "\257\300\320\217\001 \001(\0132\'.google.cloud.compute.v1.Forw" + + "ardingRuleB\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\001\n\'InsertGlobalNetworkEnd" + + "pointGroupRequest\022_\n\037network_endpoint_gr" + + "oup_resource\030\247\315\333\372\001 \001(\0132-.google.cloud.co" + + "mpute.v1.NetworkEndpointGroupB\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\"\333\001\n)Ins" + + "ertGlobalPublicDelegatedPrefixeRequest\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\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B" + + "\r\n\013_request_id\"\265\001\n\030InsertHealthCheckRequ" + + "est\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\032\n\nr" + + "equest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\322" + + "\001\n\022InsertImageRequest\022\034\n\014force_create\030\320\211" + + "\244^ \001(\010H\000\210\001\001\022?\n\016image_resource\030\362\304\376\260\001 \001(\0132" + + "\036.google.cloud.compute.v1.ImageB\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\"\251\001\n\024I" - + "nsertLicenseRequest\022C\n\020license_resource\030" - + "\314\324\352\320\001 \001(\0132 .google.cloud.compute.v1.Lice" - + "nseB\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\"\356\001\n\031InsertMachineImageRequest\022M\n\026" - + "machine_image_resource\030\352\252\373\034 \001(\0132%.google" - + ".cloud.compute.v1.MachineImageB\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 \n\017source_instance\030\271\230" - + "\375\274\001 \001(\tH\001\210\001\001B\r\n\013_request_idB\022\n\020_source_i" - + "nstance\"\357\001\n!InsertNetworkEndpointGroupRe" - + "quest\022_\n\037network_endpoint_group_resource" - + "\030\247\315\333\372\001 \001(\0132-.google.cloud.compute.v1.Net" - + "workEndpointGroupB\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\"\250\001\n\024InsertNetworkRequest\022B\n\020ne" - + "twork_resource\030\377\335\234: \001(\0132 .google.cloud.c" - + "ompute.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(\t" - + "H\000\210\001\001B\r\n\013_request_id\"\361\001\n\026InsertNodeGroup" - + "Request\022\"\n\022initial_node_count\030\355\310\247\" \001(\005B\003" - + "\340A\002\022H\n\023node_group_resource\030\253\263\372\360\001 \001(\0132\".g" - + "oogle.cloud.compute.v1.NodeGroupB\003\340A\002\022!\n" + + "st_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!InsertInstanceGroupManag" + + "erRequest\022^\n\037instance_group_manager_reso" + + "urce\030\212\212\276| \001(\0132-.google.cloud.compute.v1." + + "InstanceGroupManagerB\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\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n" + + "\013_request_id\"\331\001\n\032InsertInstanceGroupRequ" + + "est\022P\n\027instance_group_resource\030\270\265\325\210\001 \001(\013" + + "2&.google.cloud.compute.v1.InstanceGroup" + + "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\"\317\002\n\025Ins" + + "ertInstanceRequest\022D\n\021instance_resource\030" + + "\370\360\376f \001(\0132!.google.cloud.compute.v1.Insta" + + "nceB\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\030sourc" + + "e_instance_template\030\300\303\301\236\001 \001(\tH\001\210\001\001\022$\n\024so" + + "urce_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\004zoneB\r\n\013_request_idB\033\n\031" + + "_source_instance_templateB\027\n\025_source_mac" + + "hine_image\"\304\001\n\035InsertInstanceTemplateReq" + + "uest\022U\n\032instance_template_resource\030\211\352\213\005 " + + "\001(\0132).google.cloud.compute.v1.InstanceTe" + + "mplateB\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\"\250\002\n#InsertInterconnectAttachme" + + "ntRequest\022a\n interconnect_attachment_res" + + "ource\030\371\244\240e \001(\0132/.google.cloud.compute.v1" + + ".InterconnectAttachmentB\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_" + + "request_idB\020\n\016_validate_only\"\270\001\n\031InsertI" + + "nterconnectRequest\022M\n\025interconnect_resou" + + "rce\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\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\"\251\001\n\024InsertLicenseRequest" + + "\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_id\"\356\001\n\031InsertMa" + + "chineImageRequest\022M\n\026machine_image_resou" + + "rce\030\352\252\373\034 \001(\0132%.google.cloud.compute.v1.M" + + "achineImageB\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\001B\r\n\013_re" + + "quest_idB\022\n\020_source_instance\"\267\002\n\'InsertN" + + "etworkEdgeSecurityServiceRequest\022l\n&netw" + + "ork_edge_security_service_resource\030\246\243\333\343\001" + + " \001(\01323.google.cloud.compute.v1.NetworkEd" + + "geSecurityServiceB\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_reques" + + "t_idB\020\n\016_validate_only\"\357\001\n!InsertNetwork" + + "EndpointGroupRequest\022_\n\037network_endpoint" + + "_group_resource\030\247\315\333\372\001 \001(\0132-.google.cloud" + + ".compute.v1.NetworkEndpointGroupB\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\"\331\001\n\031InsertNodeT" - + "emplateRequest\022M\n\026node_template_resource" - + "\030\266\332\335< \001(\0132%.google.cloud.compute.v1.Node" - + "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\"\343\001\n\034InsertPacketMirroringRequest\022T\n" - + "\031packet_mirroring_resource\030\241\374\250\353\001 \001(\0132(.g" - + "oogle.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\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\330\001\n$I" - + "nsertPublicAdvertisedPrefixeRequest\022!\n\007p" - + "roject\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022b\n!public" - + "_advertised_prefix_resource\030\217\327\262o \001(\0132/.g" - + "oogle.cloud.compute.v1.PublicAdvertisedP" - + "refixB\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#InsertPublicDelegatedP" - + "refixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G" - + "\007project\022`\n public_delegated_prefix_reso" - + "urce\030\205\370\330\026 \001(\0132..google.cloud.compute.v1." - + "PublicDelegatedPrefixB\003\340A\002\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\"\330\001\n\035InsertRegionA" - + "utoscalerRequest\022H\n\023autoscaler_resource\030" - + "\366\360\377b \001(\0132#.google.cloud.compute.v1.Autos" - + "calerB\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\"\346\001\n!InsertRegionBackendServiceRequest\022" - + "R\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\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\"\330\001\n\035I" - + "nsertRegionCommitmentRequest\022H\n\023commitme" - + "nt_resource\030\370\243\273t \001(\0132#.google.cloud.comp" - + "ute.v1.CommitmentB\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\"\365\001\n\027InsertRegionDiskReques" - + "t\022<\n\rdisk_resource\030\360\320\253\014 \001(\0132\035.google.clo" - + "ud.compute.v1.DiskB\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\001\022" - + "\034\n\014source_image\030\267\350\206\030 \001(\tH\001\210\001\001B\r\n\013_reques" - + "t_idB\017\n\r_source_image\"\334\001\n\036InsertRegionHe" - + "althCheckRequest\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\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\"\363\001\n%InsertRegionHealthCheckServiceR" - + "equest\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" + + "A\002\362G\004zoneB\r\n\013_request_id\"\306\001\n\"InsertNetwo" + + "rkFirewallPolicyRequest\022R\n\030firewall_poli" + + "cy_resource\030\274\266\207\354\001 \001(\0132\'.google.cloud.com" + + "pute.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\024InsertNetw" + + "orkRequest\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\nreq" + + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\361\001\n" + + "\026InsertNodeGroupRequest\022\"\n\022initial_node_" + + "count\030\355\310\247\" \001(\005B\003\340A\002\022H\n\023node_group_resour" + + "ce\030\253\263\372\360\001 \001(\0132\".google.cloud.compute.v1.N" + + "odeGroupB\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\031InsertNodeTemplateRequest\022M\n\026node_t" + + "emplate_resource\030\266\332\335< \001(\0132%.google.cloud" + + ".compute.v1.NodeTemplateB\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\"\343\001\n\034InsertPacketMir" + + "roringRequest\022T\n\031packet_mirroring_resour" + + "ce\030\241\374\250\353\001 \001(\0132(.google.cloud.compute.v1.P" + + "acketMirroringB\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\'InsertRegionInstanceGroup" - + "ManagerRequest\022^\n\037instance_group_manager" - + "_resource\030\212\212\276| \001(\0132-.google.cloud.comput" - + "e.v1.InstanceGroupManagerB\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\"\371\001\n\'InsertRegionNe" - + "tworkEndpointGroupRequest\022_\n\037network_end" - + "point_group_resource\030\247\315\333\372\001 \001(\0132-.google." - + "cloud.compute.v1.NetworkEndpointGroupB\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\"\370\001\n\'In" - + "sertRegionNotificationEndpointRequest\022^\n" - + "\036notification_endpoint_resource\030\244\372\261\241\001 \001(" - + "\0132-.google.cloud.compute.v1.Notification" - + "EndpointB\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\"\345\001\n!InsertRegionSslCertificateReque" - + "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\022Q\n\030ssl_certificate_re" - + "source\030\211\324\225V \001(\0132\'.google.cloud.compute.v" - + "1.SslCertificateB\003\340A\002B\r\n\013_request_id\"\351\001\n" - + "\"InsertRegionTargetHttpProxyRequest\022!\n\007p" + + "request_id\"\330\001\n$InsertPublicAdvertisedPre" + + "fixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007p" + + "roject\022b\n!public_advertised_prefix_resou" + + "rce\030\217\327\262o \001(\0132/.google.cloud.compute.v1.P" + + "ublicAdvertisedPrefixB\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#Insert" + + "PublicDelegatedPrefixeRequest\022!\n\007project" + + "\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022`\n public_deleg" + + "ated_prefix_resource\030\205\370\330\026 \001(\0132..google.c" + + "loud.compute.v1.PublicDelegatedPrefixB\003\340" + + "A\002\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\"\330" + + "\001\n\035InsertRegionAutoscalerRequest\022H\n\023auto" + + "scaler_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\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\"\346\001\n!InsertRegionBacken" + + "dServiceRequest\022R\n\030backend_service_resou" + + "rce\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\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\035InsertRegionCommitmentReq" + + "uest\022H\n\023commitment_resource\030\370\243\273t \001(\0132#.g" + + "oogle.cloud.compute.v1.CommitmentB\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\"\365\001\n\027Insert" + + "RegionDiskRequest\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\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\034\n\014source_image\030\267\350\206\030 \001(\t" + + "H\001\210\001\001B\r\n\013_request_idB\017\n\r_source_image\"\334\001" + + "\n\036InsertRegionHealthCheckRequest\022K\n\025heal" + + "th_check_resource\030\250\303\244` \001(\0132$.google.clou" + + "d.compute.v1.HealthCheckB\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\"\363\001\n%InsertRegionHea" + + "lthCheckServiceRequest\022[\n\035health_check_s" + + "ervice_resource\030\362\233\320\343\001 \001(\0132+.google.cloud" + + ".compute.v1.HealthCheckServiceB\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\022T\n\032target_http_proxy_resourc" - + "e\030\250\257\343\013 \001(\0132(.google.cloud.compute.v1.Tar" - + "getHttpProxyB\003\340A\002B\r\n\013_request_id\"\355\001\n#Ins" - + "ertRegionTargetHttpsProxyRequest\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\022W\n\033target_https_proxy_resource\030" - + "\201\255\344\316\001 \001(\0132).google.cloud.compute.v1.Targ" - + "etHttpsProxyB\003\340A\002B\r\n\013_request_id\"\315\001\n\031Ins" - + "ertRegionUrlMapRequest\022!\n\007project\030\231\226\301l \001" + + "\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\370\001\n\'InsertReg" + + "ionInstanceGroupManagerRequest\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\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\"\371\001" + + "\n\'InsertRegionNetworkEndpointGroupReques" + + "t\022_\n\037network_endpoint_group_resource\030\247\315\333" + + "\372\001 \001(\0132-.google.cloud.compute.v1.Network" + + "EndpointGroupB\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\"\355\001\n(InsertRegionNetworkFirewal" + + "lPolicyRequest\022R\n\030firewall_policy_resour" + + "ce\030\274\266\207\354\001 \001(\0132\'.google.cloud.compute.v1.F" + + "irewallPolicyB\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\"\370\001\n\'InsertRegionNotificationEn" + + "dpointRequest\022^\n\036notification_endpoint_r" + + "esource\030\244\372\261\241\001 \001(\0132-.google.cloud.compute" + + ".v1.NotificationEndpointB\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\"\226\002\n!InsertRegionSec" + + "urityPolicyRequest\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\022Q\n\030se" + + "curity_policy_resource\030\374\252\211g \001(\0132\'.google" + + ".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_request" + + "_idB\020\n\016_validate_only\"\345\001\n!InsertRegionSs" + + "lCertificateRequest\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\030s" + + "sl_certificate_resource\030\211\324\225V \001(\0132\'.googl" + + "e.cloud.compute.v1.SslCertificateB\003\340A\002B\r" + + "\n\013_request_id\"\351\001\n\"InsertRegionTargetHttp" + + "ProxyRequest\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\022T\n\032target_h" + + "ttp_proxy_resource\030\250\257\343\013 \001(\0132(.google.clo" + + "ud.compute.v1.TargetHttpProxyB\003\340A\002B\r\n\013_r" + + "equest_id\"\355\001\n#InsertRegionTargetHttpsPro" + + "xyRequest\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\022W\n\033target_http" + + "s_proxy_resource\030\201\255\344\316\001 \001(\0132).google.clou" + + "d.compute.v1.TargetHttpsProxyB\003\340A\002B\r\n\013_r" + + "equest_id\"\315\001\n\031InsertRegionUrlMapRequest\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\022A\n\020url_map_resource\030\341\220\267P" + + " \001(\0132\037.google.cloud.compute.v1.UrlMapB\003\340" + + "A\002B\r\n\013_request_id\"\322\001\n\030InsertReservationR" + + "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\022K\n\024reserva" + + "tion_resource\030\241\356\364\207\001 \001(\0132$.google.cloud.c" + + "ompute.v1.ReservationB\003\340A\002\022\033\n\004zone\030\254\307\344\001 " + + "\001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\337\001\n\033Inser" + + "tResourcePolicyRequest\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\022A" - + "\n\020url_map_resource\030\341\220\267P \001(\0132\037.google.clo" - + "ud.compute.v1.UrlMapB\003\340A\002B\r\n\013_request_id" - + "\"\322\001\n\030InsertReservationRequest\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\024reservation_resource\030\241\356\364" - + "\207\001 \001(\0132$.google.cloud.compute.v1.Reserva" - + "tionB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r" - + "\n\013_request_id\"\337\001\n\033InsertResourcePolicyRe" + + "\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\'.go" + + "ogle.cloud.compute.v1.ResourcePolicyB\003\340A" + + "\002B\r\n\013_request_id\"\242\001\n\022InsertRouteRequest\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>\n\016route_resource" + + "\030\304\212\277k \001(\0132\036.google.cloud.compute.v1.Rout" + + "eB\003\340A\002B\r\n\013_request_id\"\306\001\n\023InsertRouterRe" + "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\022Q\n\030resource_policy" - + "_resource\030\312\214\321$ \001(\0132\'.google.cloud.comput" - + "e.v1.ResourcePolicyB\003\340A\002B\r\n\013_request_id\"" - + "\242\001\n\022InsertRouteRequest\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\016route_resource\030\304\212\277k \001(\0132\036.googl" - + "e.cloud.compute.v1.RouteB\003\340A\002B\r\n\013_reques" - + "t_id\"\306\001\n\023InsertRouterRequest\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\017router_resource\030\304\200\202J \001(\0132\037.googl" - + "e.cloud.compute.v1.RouterB\003\340A\002B\r\n\013_reque" - + "st_id\"\276\001\n\033InsertSecurityPolicyRequest\022!\n" + + "uest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022@\n\017router_resource" + + "\030\304\200\202J \001(\0132\037.google.cloud.compute.v1.Rout" + + "erB\003\340A\002B\r\n\013_request_id\"\276\001\n\033InsertSecurit" + + "yPolicyRequest\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\022Q\n" + + "\030security_policy_resource\030\374\252\211g \001(\0132\'.goo" + + "gle.cloud.compute.v1.SecurityPolicyB\003\340A\002" + + "B\r\n\013_request_id\"\351\001\n\036InsertServiceAttachm" + + "entRequest\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\022X\n\033service_at" + + "tachment_resource\030\240\266\304\341\001 \001(\0132*.google.clo" + + "ud.compute.v1.ServiceAttachmentB\003\340A\002B\r\n\013" + + "_request_id\"\254\001\n\025InsertSnapshotRequest\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\022Q\n\030security_policy_" - + "resource\030\374\252\211g \001(\0132\'.google.cloud.compute" - + ".v1.SecurityPolicyB\003\340A\002B\r\n\013_request_id\"\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\027InsertSubnetwo" - + "rkRequest\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\023subnetwork_" - + "resource\030\277\332\221\024 \001(\0132#.google.cloud.compute" - + ".v1.SubnetworkB\003\340A\002B\r\n\013_request_id\"\303\001\n\034I" - + "nsertTargetGrpcProxyRequest\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\022U\n\032target_grpc_proxy_resource" - + "\030\322\352\353\234\001 \001(\0132(.google.cloud.compute.v1.Tar" - + "getGrpcProxyB\003\340A\002B\r\n\013_request_id\"\302\001\n\034Ins" - + "ertTargetHttpProxyRequest\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\022T\n\032target_http_proxy_resource\030\250" - + "\257\343\013 \001(\0132(.google.cloud.compute.v1.Target" - + "HttpProxyB\003\340A\002B\r\n\013_request_id\"\306\001\n\035Insert" - + "TargetHttpsProxyRequest\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\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\"\334\001\n\033Inser" - + "tTargetInstanceRequest\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\022R\n\030target_instance_resource\030\312\342\240\315\001 " - + "\001(\0132\'.google.cloud.compute.v1.TargetInst" - + "anceB\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\027InsertTargetPoolReques" - + "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\022I\n\024target_pool_resourc" - + "e\030\243\335\2450 \001(\0132#.google.cloud.compute.v1.Tar" - + "getPoolB\003\340A\002B\r\n\013_request_id\"\277\001\n\033InsertTa" - + "rgetSslProxyRequest\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_ssl_proxy_resource\030\300\375\333C \001(\013" - + "2\'.google.cloud.compute.v1.TargetSslProx" - + "yB\003\340A\002B\r\n\013_request_id\"\277\001\n\033InsertTargetTc" - + "pProxyRequest\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\031" - + "target_tcp_proxy_resource\030\313\360\311E \001(\0132\'.goo" - + "gle.cloud.compute.v1.TargetTcpProxyB\003\340A\002" - + "B\r\n\013_request_id\"\345\001\n\035InsertTargetVpnGatew" - + "ayRequest\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\022U\n\033target_vpn_" - + "gateway_resource\030\202\263\036 \001(\0132).google.cloud." - + "compute.v1.TargetVpnGatewayB\003\340A\002B\r\n\013_req" - + "uest_id\"\246\001\n\023InsertUrlMapRequest\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\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\"\323\001\n\027InsertVpnGatewayReq" + + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001\022E\n\021snapshot_resourc" + + "e\030\251\270\301\345\001 \001(\0132!.google.cloud.compute.v1.Sn" + + "apshotB\003\340A\002B\r\n\013_request_id\"\276\001\n\033InsertSsl" + + "CertificateRequest\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\030ssl_certificate_resource\030\211\324\225V \001(\0132\'" + + ".google.cloud.compute.v1.SslCertificateB" + + "\003\340A\002B\r\n\013_request_id\"\260\001\n\026InsertSslPolicyR" + + "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\022H\n\023ssl_pol" + + "icy_resource\030\310\210\212\203\001 \001(\0132\".google.cloud.co" + + "mpute.v1.SslPolicyB\003\340A\002B\r\n\013_request_id\"\322" + + "\001\n\027InsertSubnetworkRequest\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\022H\n\023subnetwork_resource\030\277\332\221\024 \001(\0132#.goo" + + "gle.cloud.compute.v1.SubnetworkB\003\340A\002B\r\n\013" + + "_request_id\"\303\001\n\034InsertTargetGrpcProxyReq" + "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\022I\n\024vpn_gateway_reso" - + "urce\030\224\267\216W \001(\0132#.google.cloud.compute.v1." - + "VpnGatewayB\003\340A\002B\r\n\013_request_id\"\320\001\n\026Inser" - + "tVpnTunnelRequest\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\022G\n\023vpn" - + "_tunnel_resource\030\272\241\264) \001(\0132\".google.cloud" - + ".compute.v1.VpnTunnelB\003\340A\002B\r\n\013_request_i" - + "d\"\273\031\n\010Instance\022\\\n\031advanced_machine_featu" - + "res\030\262\347\252\303\001 \001(\01320.google.cloud.compute.v1." - + "AdvancedMachineFeaturesH\000\210\001\001\022\037\n\016can_ip_f" - + "orward\030\374\206\204\337\001 \001(\010H\001\210\001\001\022b\n\034confidential_in" - + "stance_config\030\365\222\372\351\001 \001(\01323.google.cloud.c" - + "ompute.v1.ConfidentialInstanceConfigH\002\210\001" - + "\001\022\035\n\014cpu_platform\030\252\352\321\303\001 \001(\tH\003\210\001\001\022\"\n\022crea" - + "tion_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\013descriptio" - + "n\030\374\207\326\311\001 \001(\tH\006\210\001\001\0227\n\005disks\030\366\314\312- \003(\0132%.goo" - + "gle.cloud.compute.v1.AttachedDisk\022F\n\016dis" - + "play_device\030\363\210\274{ \001(\0132&.google.cloud.comp" - + "ute.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.Acceler" - + "atorConfig\022\030\n\010hostname\030\263\270\205q \001(\tH\t\210\001\001\022\020\n\002" - + "id\030\233\032 \001(\004H\n\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\013\210\001\001\022!\n\021" - + "label_fingerprint\030\231\360\367T \001(\tH\014\210\001\001\022A\n\006label" - + "s\030\377\277\301\356\001 \003(\0132-.google.cloud.compute.v1.In" - + "stance.LabelsEntry\022%\n\024last_start_timesta" - + "mp\030\320\243\321\323\001 \001(\tH\r\210\001\001\022$\n\023last_stop_timestamp" - + "\030\342\333\354\304\001 \001(\tH\016\210\001\001\022)\n\030last_suspended_timest" - + "amp\030\211\251\361\251\001 \001(\tH\017\210\001\001\022\034\n\014machine_type\030\262\260\312l " - + "\001(\tH\020\210\001\001\022;\n\010metadata\030\257\366\265) \001(\0132!.google.c" - + "loud.compute.v1.MetadataH\021\210\001\001\022 \n\020min_cpu" - + "_platform\030\367\233\352s \001(\tH\022\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\t" - + "H\023\210\001\001\022H\n\022network_interfaces\030\213\332\222\031 \003(\0132).g" - + "oogle.cloud.compute.v1.NetworkInterface\022" - + "^\n\032network_performance_config\030\342\227\370\275\001 \001(\0132" - + "1.google.cloud.compute.v1.NetworkPerform" - + "anceConfigH\024\210\001\001\022*\n\032private_ipv6_google_a" - + "ccess\030\216\314\202\027 \001(\tH\025\210\001\001\022R\n\024reservation_affin" - + "ity\030\273\270\242K \001(\0132,.google.cloud.compute.v1.R" - + "eservationAffinityH\026\210\001\001\022\034\n\021resource_poli" - + "cies\030\341\234\314\n \003(\t\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010" - + "H\027\210\001\001\022@\n\nscheduling\030\224\313\261\270\001 \001(\0132#.google.c" - + "loud.compute.v1.SchedulingH\030\210\001\001\022\032\n\tself_" - + "link\030\215\222\305\331\001 \001(\tH\031\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\032\210\001\001\022l\n\"shielded_instan" - + "ce_integrity_policy\030\227\242\207N \001(\01328.google.cl" - + "oud.compute.v1.ShieldedInstanceIntegrity" - + "PolicyH\033\210\001\001\022$\n\024source_machine_image\030\277\334\260\n" - + " \001(\tH\034\210\001\001\022c\n#source_machine_image_encryp" - + "tion_key\030\243\373\371[ \001(\0132..google.cloud.compute" - + ".v1.CustomerEncryptionKeyH\035\210\001\001\022 \n\020start_" - + "restricted\030\330\320\375: \001(\010H\036\210\001\001\022\026\n\006status\030\362\237\267V " - + "\001(\tH\037\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.comput" - + "e.v1.TagsH!\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\"\210\001\001\032-\n\013" - + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" - + "\0028\001\"\300\001\n\027PrivateIpv6GoogleAccess\022(\n$UNDEF" - + "INED_PRIVATE_IPV6_GOOGLE_ACCESS\020\000\022-\n%ENA" - + "BLE_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\016DEPRO" - + "VISIONING\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\007STAG" - + "ING\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_machi" - + "ne_featuresB\021\n\017_can_ip_forwardB\037\n\035_confi" - + "dential_instance_configB\017\n\r_cpu_platform" - + "B\025\n\023_creation_timestampB\026\n\024_deletion_pro" - + "tectionB\016\n\014_descriptionB\021\n\017_display_devi" - + "ceB\016\n\014_fingerprintB\013\n\t_hostnameB\005\n\003_idB\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\035" - + "\n\033_private_ipv6_google_accessB\027\n\025_reserv" - + "ation_affinityB\020\n\016_satisfies_pzsB\r\n\013_sch" - + "edulingB\014\n\n_self_linkB\033\n\031_shielded_insta" - + "nce_configB%\n#_shielded_instance_integri" - + "ty_policyB\027\n\025_source_machine_imageB&\n$_s" - + "ource_machine_image_encryption_keyB\023\n\021_s" - + "tart_restrictedB\t\n\007_statusB\021\n\017_status_me" - + "ssageB\007\n\005_tagsB\007\n\005_zone\"\271\003\n\026InstanceAggr" - + "egatedList\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.Instanc" - + "eAggregatedList.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\032Z\n\nIte" - + "msEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.go" - + "ogle.cloud.compute.v1.InstancesScopedLis" - + "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\"\225\004\n\rInstance" - + "Group\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\013finge" - + "rprint\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.clo" - + "ud.compute.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\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_timestampB\016\n\014" - + "_descriptionB\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\007\n\005_sizeB\r\n\013_subnetworkB\007\n\005_z" - + "one\"\310\003\n\033InstanceGroupAggregatedList\022\020\n\002i" - + "d\030\233\032 \001(\tH\000\210\001\001\022Q\n\005items\030\300\317\367/ \003(\0132?.google" - + ".cloud.compute.v1.InstanceGroupAggregate" - + "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(\01321.google.cloud" - + ".compute.v1.InstanceGroupsScopedList:\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\"\253\002\n\021InstanceGroup" - + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0228\n\005items\030\300\317\367/ \003(\013" - + "2&.google.cloud.compute.v1.InstanceGroup" - + "\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\"\311\n\n\024InstanceGroupManager\022a\n\025auto_he" - + "aling_policies\030\205\347\350\331\001 \003(\0132>.google.cloud." - + "compute.v1.InstanceGroupManagerAutoHeali" - + "ngPolicy\022#\n\022base_instance_name\030\207\226\305\271\001 \001(\t" - + "H\000\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001" - + "\001\022\\\n\017current_actions\030\267\310\234N \001(\0132;.google.c" - + "loud.compute.v1.InstanceGroupManagerActi" - + "onsSummaryH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\t" - + "H\003\210\001\001\022Q\n\023distribution_policy\030\315\356\362\376\001 \001(\0132+" - + ".google.cloud.compute.v1.DistributionPol" - + "icyH\004\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\tH\005\210\001\001\022\020\n" - + "\002id\030\233\032 \001(\004H\006\210\001\001\022\036\n\016instance_group\030\325\324\325& \001" - + "(\tH\007\210\001\001\022\"\n\021instance_template\030\344\201\273\223\001 \001(\tH\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\013named_ports\030\214\307\362\313\001 \003(\0132\".googl" - + "e.cloud.compute.v1.NamedPort\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" - + "\022H\n\017stateful_policy\030\205\303\325\026 \001(\0132\'.google.cl" - + "oud.compute.v1.StatefulPolicyH\r\210\001\001\022K\n\006st" - + "atus\030\362\237\267V \001(\01323.google.cloud.compute.v1." - + "InstanceGroupManagerStatusH\016\210\001\001\022\030\n\014targe" - + "t_pools\030\251\237\240\240\001 \003(\t\022\033\n\013target_size\030\357\363\375\035 \001(" - + "\005H\017\210\001\001\022X\n\rupdate_policy\030\350\312\352S \001(\01329.googl" - + "e.cloud.compute.v1.InstanceGroupManagerU" - + "pdatePolicyH\020\210\001\001\022I\n\010versions\030\233\375\271M \003(\01324." - + "google.cloud.compute.v1.InstanceGroupMan" - + "agerVersion\022\024\n\004zone\030\254\307\344\001 \001(\tH\021\210\001\001B\025\n\023_ba" - + "se_instance_nameB\025\n\023_creation_timestampB" - + "\022\n\020_current_actionsB\016\n\014_descriptionB\026\n\024_" - + "distribution_policyB\016\n\014_fingerprintB\005\n\003_" - + "idB\021\n\017_instance_groupB\024\n\022_instance_templ" - + "ateB\007\n\005_kindB\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\"\220" - + "\001\n%InstanceGroupManagerAutoHealingPolicy" - + "\022\035\n\014health_check\030\345\252\244\223\001 \001(\tH\000\210\001\001\022!\n\021initi" - + "al_delay_sec\030\332\360\300} \001(\005H\001\210\001\001B\017\n\r_health_ch" - + "eckB\024\n\022_initial_delay_sec\"\271\002\n\030InstanceGr" - + "oupManagerList\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" - + "tanceGroupManager\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\"\313\002\n\032InstanceGroupM" - + "anagerStatus\022\033\n\nautoscaler\030\327\375\322\366\001 \001(\tH\000\210\001" - + "\001\022\031\n\tis_stable\030\360\357\3303 \001(\010H\001\210\001\001\022U\n\010stateful" - + "\030\314\346\310t \001(\0132;.google.cloud.compute.v1.Inst" - + "anceGroupManagerStatusStatefulH\002\210\001\001\022a\n\016v" - + "ersion_target\030\330\335\376\211\001 \001(\0132@.google.cloud.c" - + "ompute.v1.InstanceGroupManagerStatusVers" - + "ionTargetH\003\210\001\001B\r\n\013_autoscalerB\014\n\n_is_sta" - + "bleB\013\n\t_statefulB\021\n\017_version_target\"\360\001\n\"" - + "InstanceGroupManagerStatusStateful\022#\n\023ha" - + "s_stateful_config\030\360\347\3264 \001(\010H\000\210\001\001\022t\n\024per_i" - + "nstance_configs\030\251\325\370\372\001 \001(\0132M.google.cloud" - + ".compute.v1.InstanceGroupManagerStatusSt" - + "atefulPerInstanceConfigsH\001\210\001\001B\026\n\024_has_st" - + "ateful_configB\027\n\025_per_instance_configs\"h" - + "\n4InstanceGroupManagerStatusStatefulPerI" - + "nstanceConfigs\022\036\n\rall_effective\030\211\221\247\366\001 \001(" - + "\010H\000\210\001\001B\020\n\016_all_effective\"U\n\'InstanceGrou" - + "pManagerStatusVersionTarget\022\033\n\nis_reache" - + "d\030\275\376\310\316\001 \001(\010H\000\210\001\001B\r\n\013_is_reached\"\206\004\n Inst" - + "anceGroupManagerUpdatePolicy\022-\n\034instance" - + "_redistribution_type\030\230\337\304\213\001 \001(\tH\000\210\001\001\022C\n\tm" - + "ax_surge\030\223\311\243\220\001 \001(\0132\'.google.cloud.comput" - + "e.v1.FixedOrPercentH\001\210\001\001\022I\n\017max_unavaila" - + "ble\030\365\313\213\301\001 \001(\0132\'.google.cloud.compute.v1." - + "FixedOrPercentH\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_meth" - + "od\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\001B" - + "\037\n\035_instance_redistribution_typeB\014\n\n_max" - + "_surgeB\022\n\020_max_unavailableB\021\n\017_minimal_a" - + "ctionB!\n\037_most_disruptive_allowed_action" - + "B\025\n\023_replacement_methodB\007\n\005_type\"\314\001\n\033Ins" - + "tanceGroupManagerVersion\022\"\n\021instance_tem" - + "plate\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\'.google.clou" - + "d.compute.v1.FixedOrPercentH\002\210\001\001B\024\n\022_ins" - + "tance_templateB\007\n\005_nameB\016\n\014_target_size\"" - + "D\n,InstanceGroupManagersAbandonInstances" - + "Request\022\024\n\tinstances\030\376\374\357\r \003(\t\"\371\001\n(Instan" - + "ceGroupManagersApplyUpdatesRequest\022\036\n\ral" - + "l_instances\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\001B\020\n\016_all_instancesB\021\n\017_minimal_" - + "actionB!\n\037_most_disruptive_allowed_actio" - + "n\"o\n+InstanceGroupManagersCreateInstance" - + "sRequest\022@\n\tinstances\030\376\374\357\r \003(\0132*.google." - + "cloud.compute.v1.PerInstanceConfig\"\236\001\n+I" - + "nstanceGroupManagersDeleteInstancesReque" - + "st\022\024\n\tinstances\030\376\374\357\r \003(\t\0222\n\"skip_instanc" - + "es_on_validation_error\030\241\366\257\023 \001(\010H\000\210\001\001B%\n#" - + "_skip_instances_on_validation_error\"D\n0I" - + "nstanceGroupManagersDeletePerInstanceCon" - + "figsReq\022\020\n\005names\030\310\256\3571 \003(\t\"\244\001\n\'InstanceGr" - + "oupManagersListErrorsResponse\022D\n\005items\030\300" - + "\317\367/ \003(\01322.google.cloud.compute.v1.Instan" - + "ceManagedByIgmError\022\037\n\017next_page_token\030\225" - + "\272\206& \001(\tH\000\210\001\001B\022\n\020_next_page_token\"\261\001\n1Ins" - + "tanceGroupManagersListManagedInstancesRe" - + "sponse\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_nex" - + "t_page_token\"\353\001\n/InstanceGroupManagersLi" - + "stPerInstanceConfigsResp\022<\n\005items\030\300\317\367/ \003" - + "(\0132*.google.cloud.compute.v1.PerInstance" - + "Config\022\037\n\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001\022" - + "9\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.compu" - + "te.v1.WarningH\001\210\001\001B\022\n\020_next_page_tokenB\n" - + "\n\010_warning\"\177\n/InstanceGroupManagersPatch" - + "PerInstanceConfigsReq\022L\n\024per_instance_co" - + "nfigs\030\251\325\370\372\001 \003(\0132*.google.cloud.compute.v" - + "1.PerInstanceConfig\"E\n-InstanceGroupMana" - + "gersRecreateInstancesRequest\022\024\n\tinstance" - + "s\030\376\374\357\r \003(\t\"\273\001\n\037InstanceGroupManagersScop" - + "edList\022Q\n\027instance_group_managers\030\220\372\211f \003" - + "(\0132-.google.cloud.compute.v1.InstanceGro" - + "upManager\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.c" - + "loud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning" - + "\"k\n/InstanceGroupManagersSetInstanceTemp" - + "lateRequest\022\"\n\021instance_template\030\344\201\273\223\001 \001" - + "(\tH\000\210\001\001B\024\n\022_instance_template\"s\n*Instanc" - + "eGroupManagersSetTargetPoolsRequest\022\033\n\013f" - + "ingerprint\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\n0InstanceG" - + "roupManagersUpdatePerInstanceConfigsReq\022" - + "L\n\024per_instance_configs\030\251\325\370\372\001 \003(\0132*.goog" - + "le.cloud.compute.v1.PerInstanceConfig\"e\n" - + "!InstanceGroupsAddInstancesRequest\022@\n\tin" - + "stances\030\376\374\357\r \003(\0132*.google.cloud.compute." - + "v1.InstanceReference\"\276\002\n\033InstanceGroupsL" - + "istInstances\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.Insta" - + "nceWithNamedPorts\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\"\241\001\n\"InstanceGroups" - + "ListInstancesRequest\022\036\n\016instance_state\030\347" - + "\360\374+ \001(\tH\000\210\001\001\"H\n\rInstanceState\022\034\n\030UNDEFIN" - + "ED_INSTANCE_STATE\020\000\022\t\n\003ALL\020\201\373\003\022\016\n\007RUNNIN" - + "G\020\237\303\3529B\021\n\017_instance_state\"h\n$InstanceGro" - + "upsRemoveInstancesRequest\022@\n\tinstances\030\376" - + "\374\357\r \003(\0132*.google.cloud.compute.v1.Instan" - + "ceReference\"\246\001\n\030InstanceGroupsScopedList" - + "\022C\n\017instance_groups\030\276\301\337\256\001 \003(\0132&.google.c" - + "loud.compute.v1.InstanceGroup\0229\n\007warning" - + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" - + "ingH\000\210\001\001B\n\n\010_warning\"\216\001\n\"InstanceGroupsS" - + "etNamedPortsRequest\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\".goog" - + "le.cloud.compute.v1.NamedPortB\016\n\014_finger" - + "print\"\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.comput" - + "e.v1.Instance\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017n" + + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022U\n\032target_gr" + + "pc_proxy_resource\030\322\352\353\234\001 \001(\0132(.google.clo" + + "ud.compute.v1.TargetGrpcProxyB\003\340A\002B\r\n\013_r" + + "equest_id\"\302\001\n\034InsertTargetHttpProxyReque" + + "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\022T\n\032target_http" + + "_proxy_resource\030\250\257\343\013 \001(\0132(.google.cloud." + + "compute.v1.TargetHttpProxyB\003\340A\002B\r\n\013_requ" + + "est_id\"\306\001\n\035InsertTargetHttpsProxyRequest" + + "\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\022W\n\033target_https_" + + "proxy_resource\030\201\255\344\316\001 \001(\0132).google.cloud." + + "compute.v1.TargetHttpsProxyB\003\340A\002B\r\n\013_req" + + "uest_id\"\334\001\n\033InsertTargetInstanceRequest\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\022R\n\030target_instanc" + + "e_resource\030\312\342\240\315\001 \001(\0132\'.google.cloud.comp" + + "ute.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\027Inser" + + "tTargetPoolRequest\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\022I\n\024ta" + + "rget_pool_resource\030\243\335\2450 \001(\0132#.google.clo" + + "ud.compute.v1.TargetPoolB\003\340A\002B\r\n\013_reques" + + "t_id\"\277\001\n\033InsertTargetSslProxyRequest\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\022R\n\031target_ssl_proxy_" + + "resource\030\300\375\333C \001(\0132\'.google.cloud.compute" + + ".v1.TargetSslProxyB\003\340A\002B\r\n\013_request_id\"\277" + + "\001\n\033InsertTargetTcpProxyRequest\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\022R\n\031target_tcp_proxy_resour" + + "ce\030\313\360\311E \001(\0132\'.google.cloud.compute.v1.Ta" + + "rgetTcpProxyB\003\340A\002B\r\n\013_request_id\"\345\001\n\035Ins" + + "ertTargetVpnGatewayRequest\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\022U\n\033target_vpn_gateway_resource\030\202\263\036 \001(" + + "\0132).google.cloud.compute.v1.TargetVpnGat" + + "ewayB\003\340A\002B\r\n\013_request_id\"\246\001\n\023InsertUrlMa" + + "pRequest\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\022A\n\020url_m" + + "ap_resource\030\341\220\267P \001(\0132\037.google.cloud.comp" + + "ute.v1.UrlMapB\003\340A\002B\r\n\013_request_id\"\323\001\n\027In" + + "sertVpnGatewayRequest\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\022I\n" + + "\024vpn_gateway_resource\030\224\267\216W \001(\0132#.google." + + "cloud.compute.v1.VpnGatewayB\003\340A\002B\r\n\013_req" + + "uest_id\"\320\001\n\026InsertVpnTunnelRequest\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\022G\n\023vpn_tunnel_resource\030\272\241\264) \001" + + "(\0132\".google.cloud.compute.v1.VpnTunnelB\003" + + "\340A\002B\r\n\013_request_id\"\207\032\n\010Instance\022\\\n\031advan" + + "ced_machine_features\030\262\347\252\303\001 \001(\01320.google." + + "cloud.compute.v1.AdvancedMachineFeatures" + + "H\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(\013" + + "23.google.cloud.compute.v1.ConfidentialI" + + "nstanceConfigH\002\210\001\001\022\035\n\014cpu_platform\030\252\352\321\303\001" + + " \001(\tH\003\210\001\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\t" + + "H\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\005dis" + + "ks\030\366\314\312- \003(\0132%.google.cloud.compute.v1.At" + + "tachedDisk\022F\n\016display_device\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.c" + + "ompute.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\022\024\n\004kind\030" + + "\224\367\310\001 \001(\tH\013\210\001\001\022!\n\021label_fingerprint\030\231\360\367T " + + "\001(\tH\014\210\001\001\022A\n\006labels\030\377\277\301\356\001 \003(\0132-.google.cl" + + "oud.compute.v1.Instance.LabelsEntry\022%\n\024l" + + "ast_start_timestamp\030\320\243\321\323\001 \001(\tH\r\210\001\001\022$\n\023la" + + "st_stop_timestamp\030\342\333\354\304\001 \001(\tH\016\210\001\001\022)\n\030last" + + "_suspended_timestamp\030\211\251\361\251\001 \001(\tH\017\210\001\001\022\034\n\014m" + + "achine_type\030\262\260\312l \001(\tH\020\210\001\001\022;\n\010metadata\030\257\366" + + "\265) \001(\0132!.google.cloud.compute.v1.Metadat" + + "aH\021\210\001\001\022 \n\020min_cpu_platform\030\367\233\352s \001(\tH\022\210\001\001" + + "\022\024\n\004name\030\213\365\315\001 \001(\tH\023\210\001\001\022H\n\022network_interf" + + "aces\030\213\332\222\031 \003(\0132).google.cloud.compute.v1." + + "NetworkInterface\022^\n\032network_performance_" + + "config\030\342\227\370\275\001 \001(\01321.google.cloud.compute." + + "v1.NetworkPerformanceConfigH\024\210\001\001\022?\n\006para" + + "ms\030\206\363\253% \001(\0132\'.google.cloud.compute.v1.In" + + "stanceParamsH\025\210\001\001\022*\n\032private_ipv6_google" + + "_access\030\216\314\202\027 \001(\tH\026\210\001\001\022R\n\024reservation_aff" + + "inity\030\273\270\242K \001(\0132,.google.cloud.compute.v1" + + ".ReservationAffinityH\027\210\001\001\022\034\n\021resource_po" + + "licies\030\341\234\314\n \003(\t\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001" + + "(\010H\030\210\001\001\022@\n\nscheduling\030\224\313\261\270\001 \001(\0132#.google" + + ".cloud.compute.v1.SchedulingH\031\210\001\001\022\032\n\tsel" + + "f_link\030\215\222\305\331\001 \001(\tH\032\210\001\001\022E\n\020service_account" + + "s\030\260\304\253\204\001 \003(\0132\'.google.cloud.compute.v1.Se" + + "rviceAccount\022Y\n\030shielded_instance_config" + + "\030\265\213\221\006 \001(\0132/.google.cloud.compute.v1.Shie" + + "ldedInstanceConfigH\033\210\001\001\022l\n\"shielded_inst" + + "ance_integrity_policy\030\227\242\207N \001(\01328.google." + + "cloud.compute.v1.ShieldedInstanceIntegri" + + "tyPolicyH\034\210\001\001\022$\n\024source_machine_image\030\277\334" + + "\260\n \001(\tH\035\210\001\001\022c\n#source_machine_image_encr" + + "yption_key\030\243\373\371[ \001(\0132..google.cloud.compu" + + "te.v1.CustomerEncryptionKeyH\036\210\001\001\022 \n\020star" + + "t_restricted\030\330\320\375: \001(\010H\037\210\001\001\022\026\n\006status\030\362\237\267" + + "V \001(\tH \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.comp" + + "ute.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\"\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" + + "\"\334\001\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\026\n\016DEP" + + "ROVISIONING\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\007ST" + + "AGING\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_mac" + + "hine_featuresB\021\n\017_can_ip_forwardB\037\n\035_con" + + "fidential_instance_configB\017\n\r_cpu_platfo" + + "rmB\025\n\023_creation_timestampB\026\n\024_deletion_p" + + "rotectionB\016\n\014_descriptionB\021\n\017_display_de" + + "viceB\016\n\014_fingerprintB\013\n\t_hostnameB\005\n\003_id" + + "B\007\n\005_kindB\024\n\022_label_fingerprintB\027\n\025_last" + + "_start_timestampB\026\n\024_last_stop_timestamp" + + "B\033\n\031_last_suspended_timestampB\017\n\r_machin" + + "e_typeB\013\n\t_metadataB\023\n\021_min_cpu_platform" + + "B\007\n\005_nameB\035\n\033_network_performance_config" + + "B\t\n\007_paramsB\035\n\033_private_ipv6_google_acce" + + "ssB\027\n\025_reservation_affinityB\020\n\016_satisfie" + + "s_pzsB\r\n\013_schedulingB\014\n\n_self_linkB\033\n\031_s" + + "hielded_instance_configB%\n#_shielded_ins" + + "tance_integrity_policyB\027\n\025_source_machin" + + "e_imageB&\n$_source_machine_image_encrypt" + + "ion_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" + + "\026InstanceAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001" + + "\001\022L\n\005items\030\300\317\367/ \003(\0132:.google.cloud.compu" + + "te.v1.InstanceAggregatedList.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\032Z\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022;\n\005val" + + "ue\030\002 \001(\0132,.google.cloud.compute.v1.Insta" + + "ncesScopedList:\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" + + "\"\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\004nam" + + "e\030\213\365\315\001 \001(\tH\005\210\001\001\022;\n\013named_ports\030\214\307\362\313\001 \003(\013" + + "2\".google.cloud.compute.v1.NamedPort\022\027\n\007" + + "network\030\256\264\205o \001(\tH\006\210\001\001\022\026\n\006region\030\364\315\240B \001(\t" + + "H\007\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\024\n\004siz" + + "e\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_" + + "timestampB\016\n\014_descriptionB\016\n\014_fingerprin" + + "tB\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_sub" + + "networkB\007\n\005_zone\"\310\003\n\033InstanceGroupAggreg" + + "atedList\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.InstanceG" + + "roupAggregatedList.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\014unre" + + "achables\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\n" + + "ItemsEntry\022\013\n\003key\030\001 \001(\t\022@\n\005value\030\002 \001(\01321" + + ".google.cloud.compute.v1.InstanceGroupsS" + + "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\"\253\002\n\021" + + "InstanceGroupList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0228\n\005i" + + "tems\030\300\317\367/ \003(\0132&.google.cloud.compute.v1." + + "InstanceGroup\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\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" + "oogle.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\"\253\002\n\025InstanceListReferr" - + "ers\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.Reference\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\"" - + "\274\002\n\031InstanceManagedByIgmError\022]\n\005error\030\210" - + "\244\223. \001(\0132F.google.cloud.compute.v1.Instan" - + "ceManagedByIgmErrorManagedInstanceErrorH" - + "\000\210\001\001\022q\n\027instance_action_details\030\243\374\253\213\001 \001(" - + "\0132G.google.cloud.compute.v1.InstanceMana" - + "gedByIgmErrorInstanceActionDetailsH\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.InstanceManagedByIgmErrorInstanceActi" - + "onDetails\022\026\n\006action\030\266\374\275Y \001(\tH\000\210\001\001\022\030\n\010ins" - + "tance\030\225\251\332\010 \001(\tH\001\210\001\001\022I\n\007version\030\330\271\324\247\001 \001(\013" - + "2/.google.cloud.compute.v1.ManagedInstan" - + "ceVersionH\002\210\001\001\"\234\002\n\006Action\022\024\n\020UNDEFINED_A" - + "CTION\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\nRECREA" - + "TING\020\354\213\376\210\001\022\021\n\nREFRESHING\020\247\376\354M\022\022\n\nRESTART" - + "ING\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_ins" - + "tanceB\n\n\010_version\"t\n-InstanceManagedByIg" - + "mErrorManagedInstanceError\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_c" - + "odeB\n\n\010_message\"\202\001\n\023InstanceMoveRequest\022" - + " \n\020destination_zone\030\275\342\357> \001(\tH\000\210\001\001\022 \n\017tar" - + "get_instance\030\203\217\226\212\001 \001(\tH\001\210\001\001B\023\n\021_destinat" - + "ion_zoneB\022\n\020_target_instance\"\375\016\n\022Instanc" - + "eProperties\022\\\n\031advanced_machine_features" - + "\030\262\347\252\303\001 \001(\01320.google.cloud.compute.v1.Adv" - + "ancedMachineFeaturesH\000\210\001\001\022\037\n\016can_ip_forw" - + "ard\030\374\206\204\337\001 \001(\010H\001\210\001\001\022b\n\034confidential_insta" - + "nce_config\030\365\222\372\351\001 \001(\01323.google.cloud.comp" - + "ute.v1.ConfidentialInstanceConfigH\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.cloud.compute.v1.Attache" - + "dDisk\022J\n\022guest_accelerators\030\357\314\207\335\001 \003(\0132*." - + "google.cloud.compute.v1.AcceleratorConfi" - + "g\022K\n\006labels\030\377\277\301\356\001 \003(\01327.google.cloud.com" - + "pute.v1.InstanceProperties.LabelsEntry\022\034" - + "\n\014machine_type\030\262\260\312l \001(\tH\004\210\001\001\022;\n\010metadata" - + "\030\257\366\265) \001(\0132!.google.cloud.compute.v1.Meta" - + "dataH\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).goo" - + "gle.cloud.compute.v1.NetworkInterface\022^\n" - + "\032network_performance_config\030\342\227\370\275\001 \001(\01321." - + "google.cloud.compute.v1.NetworkPerforman" - + "ceConfigH\007\210\001\001\022*\n\032private_ipv6_google_acc" - + "ess\030\216\314\202\027 \001(\tH\010\210\001\001\022R\n\024reservation_affinit" - + "y\030\273\270\242K \001(\0132,.google.cloud.compute.v1.Res" - + "ervationAffinityH\t\210\001\001\022g\n\025resource_manage" - + "r_tags\030\374\233\213\264\001 \003(\0132D.google.cloud.compute." - + "v1.InstanceProperties.ResourceManagerTag" - + "sEntry\022\034\n\021resource_policies\030\341\234\314\n \003(\t\022@\n\n" - + "scheduling\030\224\313\261\270\001 \001(\0132#.google.cloud.comp" - + "ute.v1.SchedulingH\n\210\001\001\022E\n\020service_accoun" - + "ts\030\260\304\253\204\001 \003(\0132\'.google.cloud.compute.v1.S" - + "erviceAccount\022Y\n\030shielded_instance_confi" - + "g\030\265\213\221\006 \001(\0132/.google.cloud.compute.v1.Shi" - + "eldedInstanceConfigH\013\210\001\001\0223\n\004tags\030\231\350\330\001 \001(" - + "\0132\035.google.cloud.compute.v1.TagsH\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\030ResourceManagerTagsEntry\022\013\n\003key\030" - + "\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\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\001B\034\n\032_advanced_machine" - + "_featuresB\021\n\017_can_ip_forwardB\037\n\035_confide" - + "ntial_instance_configB\016\n\014_descriptionB\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\":\n\021Instance" - + "Reference\022\030\n\010instance\030\225\251\332\010 \001(\tH\000\210\001\001B\013\n\t_" - + "instance\"\374\003\n\020InstanceTemplate\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\020\n\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n\004kin" - + "d\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.comp" - + "ute.v1.InstancePropertiesH\005\210\001\001\022\032\n\tself_l" - + "ink\030\215\222\305\331\001 \001(\tH\006\210\001\001\022 \n\017source_instance\030\271\230" - + "\375\274\001 \001(\tH\007\210\001\001\022U\n\026source_instance_params\030\314" - + "\320\304@ \001(\0132-.google.cloud.compute.v1.Source" - + "InstanceParamsH\010\210\001\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_propertiesB\014\n\n_self_linkB\022\n\020_sou" - + "rce_instanceB\031\n\027_source_instance_params\"" - + "\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).google.cloud.comp" - + "ute.v1.InstanceTemplate\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\0229\n\007warning\030\234\337" + + "_linkB\n\n\010_warning\"\311\n\n\024InstanceGroupManag" + + "er\022a\n\025auto_healing_policies\030\205\347\350\331\001 \003(\0132>." + + "google.cloud.compute.v1.InstanceGroupMan" + + "agerAutoHealingPolicy\022#\n\022base_instance_n" + + "ame\030\207\226\305\271\001 \001(\tH\000\210\001\001\022\"\n\022creation_timestamp" + + "\030\266\217\307\016 \001(\tH\001\210\001\001\022\\\n\017current_actions\030\267\310\234N \001" + + "(\0132;.google.cloud.compute.v1.InstanceGro" + + "upManagerActionsSummaryH\002\210\001\001\022\034\n\013descript" + + "ion\030\374\207\326\311\001 \001(\tH\003\210\001\001\022Q\n\023distribution_polic" + + "y\030\315\356\362\376\001 \001(\0132+.google.cloud.compute.v1.Di" + + "stributionPolicyH\004\210\001\001\022\033\n\013fingerprint\030\344\321\363" + + "o \001(\tH\005\210\001\001\022\020\n\002id\030\233\032 \001(\004H\006\210\001\001\022\036\n\016instance" + + "_group\030\325\324\325& \001(\tH\007\210\001\001\022\"\n\021instance_templat" + + "e\030\344\201\273\223\001 \001(\tH\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\013named_ports\030\214\307\362\313" + + "\001 \003(\0132\".google.cloud.compute.v1.NamedPor" + + "t\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\022H\n\017stateful_policy\030\205\303\325\026 \001(" + + "\0132\'.google.cloud.compute.v1.StatefulPoli" + + "cyH\r\210\001\001\022K\n\006status\030\362\237\267V \001(\01323.google.clou" + + "d.compute.v1.InstanceGroupManagerStatusH" + + "\016\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\017\210\001\001\022X\n\rupdate_policy\030\350\312\352" + + "S \001(\01329.google.cloud.compute.v1.Instance" + + "GroupManagerUpdatePolicyH\020\210\001\001\022I\n\010version" + + "s\030\233\375\271M \003(\01324.google.cloud.compute.v1.Ins" + + "tanceGroupManagerVersion\022\024\n\004zone\030\254\307\344\001 \001(" + + "\tH\021\210\001\001B\025\n\023_base_instance_nameB\025\n\023_creati" + + "on_timestampB\022\n\020_current_actionsB\016\n\014_des" + + "criptionB\026\n\024_distribution_policyB\016\n\014_fin" + + "gerprintB\005\n\003_idB\021\n\017_instance_groupB\024\n\022_i" + + "nstance_templateB\007\n\005_kindB\007\n\005_nameB\t\n\007_r" + + "egionB\014\n\n_self_linkB\022\n\020_stateful_policyB" + + "\t\n\007_statusB\016\n\014_target_sizeB\020\n\016_update_po" + + "licyB\007\n\005_zone\"\323\004\n\"InstanceGroupManagerAc" + + "tionsSummary\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_retries\030\311\366\261\260\001 \001(\005H\002\210\001\001\022\031\n\010deleti" + + "ng\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\nrefreshi" + + "ng\030\247\246\305f \001(\005H\006\210\001\001\022\033\n\nrestarting\030\363\226\304\261\001 \001(\005" + + "H\007\210\001\001\022\030\n\010resuming\030\252\233\362_ \001(\005H\010\210\001\001\022\030\n\010start" + + "ing\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\nsuspending\030\246\374\360\r \001(\005H\013\210\001\001\022\032\n\tverif" + + "ying\030\311\241\254\327\001 \001(\005H\014\210\001\001B\r\n\013_abandoningB\013\n\t_c" + + "reatingB\033\n\031_creating_without_retriesB\013\n\t" + + "_deletingB\007\n\005_noneB\r\n\013_recreatingB\r\n\013_re" + + "freshingB\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\"InstanceGroupManagerAggr" + + "egatedList\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.Instanc" + + "eGroupManagerAggregatedList.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.Warning" - + "H\004\210\001\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\"\376\002\n\026Instance" - + "WithNamedPorts\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(\t" - + "H\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\010STO" - + "PPING\020\364\320\242\247\001\022\020\n\tSUSPENDED\020\273\273\266\030\022\022\n\nSUSPEND" - + "ING\020\246\324\230\365\001\022\021\n\nTERMINATED\020\243\364\233wB\013\n\t_instanc" - + "eB\t\n\007_status\"C\n#InstancesAddResourcePoli" - + "ciesRequest\022\034\n\021resource_policies\030\341\234\314\n \003(" - + "\t\"\330\001\n&InstancesGetEffectiveFirewallsResp" - + "onse\022t\n\020firewall_policys\030\302\312\374\303\001 \003(\0132V.goo" - + "gle.cloud.compute.v1.InstancesGetEffecti" - + "veFirewallsResponseEffectiveFirewallPoli" - + "cy\0228\n\tfirewalls\030\363\306\350\201\001 \003(\0132!.google.cloud" - + ".compute.v1.Firewall\"\332\002\n=InstancesGetEff" - + "ectiveFirewallsResponseEffectiveFirewall" - + "Policy\022\034\n\014display_name\030\350\207\221\002 \001(\tH\000\210\001\001\022\024\n\004" - + "name\030\213\365\315\001 \001(\tH\001\210\001\001\022=\n\005rules\030\367\221\3653 \003(\0132+.g" - + "oogle.cloud.compute.v1.FirewallPolicyRul" - + "e\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\"A\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000" - + "\022\020\n\tHIERARCHY\020\225\304\252!\022\023\n\013UNSPECIFIED\020\227\276\230\373\001B" - + "\017\n\r_display_nameB\007\n\005_nameB\r\n\013_short_name" - + "B\007\n\005_type\"F\n&InstancesRemoveResourcePoli" - + "ciesRequest\022\034\n\021resource_policies\030\341\234\314\n \003(" - + "\t\"\225\001\n\023InstancesScopedList\0227\n\tinstances\030\376" - + "\374\357\r \003(\0132!.google.cloud.compute.v1.Instan" - + "ce\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.co" - + "mpute.v1.WarningH\000\210\001\001B\n\n\010_warning\"\327\001\n\031In" - + "stancesSetLabelsRequest\022!\n\021label_fingerp" - + "rint\030\231\360\367T \001(\tH\000\210\001\001\022R\n\006labels\030\377\277\301\356\001 \003(\0132>" - + ".google.cloud.compute.v1.InstancesSetLab" - + "elsRequest.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\"q\n#InstancesSetMachineResour" - + "cesRequest\022J\n\022guest_accelerators\030\357\314\207\335\001 \003" - + "(\0132*.google.cloud.compute.v1.Accelerator" - + "Config\"O\n\036InstancesSetMachineTypeRequest" - + "\022\034\n\014machine_type\030\262\260\312l \001(\tH\000\210\001\001B\017\n\r_machi" - + "ne_type\"Z\n!InstancesSetMinCpuPlatformReq" - + "uest\022 \n\020min_cpu_platform\030\367\233\352s \001(\tH\000\210\001\001B\023" - + "\n\021_min_cpu_platform\"W\n!InstancesSetServi" - + "ceAccountRequest\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&Instance" - + "sStartWithEncryptionKeyRequest\022M\n\005disks\030" - + "\366\314\312- \003(\0132;.google.cloud.compute.v1.Custo" - + "merEncryptionKeyProtectedDisk\"h\n\017Int64Ra" - + "ngeMatch\022\032\n\trange_end\030\331\225\340\231\001 \001(\003H\000\210\001\001\022\033\n\013" - + "range_start\030\340\375\2421 \001(\003H\001\210\001\001B\014\n\n_range_endB", - "\016\n\014_range_start\"\244\014\n\014Interconnect\022\036\n\radmi" - + "n_enabled\030\321\354\301\324\001 \001(\010H\000\210\001\001\022J\n\rcircuit_info" - + "s\030\257\203\315N \003(\01320.google.cloud.compute.v1.Int" - + "erconnectCircuitInfo\022\"\n\022creation_timesta" - + "mp\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.google.clou" - + "d.compute.v1.InterconnectOutageNotificat" - + "ion\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_attachme" - + "nts\030\377\322\353\312\001 \003(\t\022\"\n\021interconnect_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\032\n\tlink_" - + "type\030\337\210\276\371\001 \001(\tH\t\210\001\001\022\031\n\010location\030\265\277\276\212\001 \001(" - + "\tH\n\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\013\210\001\001\022!\n\021noc_cont" - + "act_email\030\200\370\332\006 \001(\tH\014\210\001\001\022\"\n\022operational_s" - + "tatus\030\377\261\360_ \001(\tH\r\210\001\001\022\037\n\017peer_ip_address\030\331" - + "\227\207c \001(\tH\016\210\001\001\022\'\n\026provisioned_link_count\030\365" - + "\322\366\303\001 \001(\005H\017\210\001\001\022$\n\024requested_link_count\030\373\333" - + "\275\025 \001(\005H\020\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H\021" - + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\022\210\001\001\022\025\n\005state" - + "\030\221\211\2534 \001(\tH\023\210\001\001\"j\n\020InterconnectType\022\037\n\033UN" - + "DEFINED_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\032LINK_TYPE_ETHERNET_100G_LR\020\347\362\201\241\001\022 \n\031L" - + "INK_TYPE_ETHERNET_10G_LR\020\245\271\361p\"`\n\021Operati" - + "onalStatus\022 \n\034UNDEFINED_OPERATIONAL_STAT" - + "US\020\000\022\020\n\tOS_ACTIVE\020\301\373\310\032\022\027\n\020OS_UNPROVISION" - + "ED\020\300\301\252r\"C\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\016\n" - + "\006ACTIVE\020\206\346\211\226\001\022\025\n\rUNPROVISIONED\020\333\307\327\366\001B\020\n\016" - + "_admin_enabledB\025\n\023_creation_timestampB\020\n" - + "\016_customer_nameB\016\n\014_descriptionB\024\n\022_goog" - + "le_ip_addressB\026\n\024_google_reference_idB\005\n" - + "\003_idB\024\n\022_interconnect_typeB\007\n\005_kindB\014\n\n_" - + "link_typeB\013\n\t_locationB\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_co" - + "untB\027\n\025_requested_link_countB\020\n\016_satisfi" - + "es_pzsB\014\n\n_self_linkB\010\n\006_state\"\232\026\n\026Inter" - + "connectAttachment\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\026" - + "candidate_ipv6_subnets\030\232\217\332! \003(\t\022\034\n\021candi" - + "date_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_router_" - + "ipv6_address\030\310\223\277\327\001 \001(\tH\003\210\001\001\022/\n\036cloud_rou" - + "ter_ipv6_interface_id\030\215\311\310\370\001 \001(\tH\004\210\001\001\022\"\n\022" - + "creation_timestamp\030\266\217\307\016 \001(\tH\005\210\001\001\022+\n\032cust" - + "omer_router_ip_address\030\361\332\304\236\001 \001(\tH\006\210\001\001\022-\n" - + "\034customer_router_ipv6_address\030\361\371\253\212\001 \001(\tH" - + "\007\210\001\001\0222\n!customer_router_ipv6_interface_i" - + "d\030\204\206\326\265\001 \001(\tH\010\210\001\001\022!\n\021dataplane_version\030\213\255" - + "\323\020 \001(\005H\t\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\n\210\001" - + "\001\022(\n\030edge_availability_domain\030\246\225\377! \001(\tH\013" - + "\210\001\001\022\032\n\nencryption\030\203\237\334. \001(\tH\014\210\001\001\022$\n\023googl" - + "e_reference_id\030\325\265\212\377\001 \001(\tH\r\210\001\001\022\020\n\002id\030\233\032 \001" - + "(\004H\016\210\001\001\022\034\n\014interconnect\030\216\311\214k \001(\tH\017\210\001\001\022$\n" - + "\030ipsec_internal_addresses\030\265\362\260\302\001 \003(\t\022\024\n\004k" - + "ind\030\224\367\310\001 \001(\tH\020\210\001\001\022\022\n\003mtu\030\256\317\006 \001(\005H\021\210\001\001\022\024\n" - + "\004name\030\213\365\315\001 \001(\tH\022\210\001\001\022\"\n\022operational_statu" - + "s\030\377\261\360_ \001(\tH\023\210\001\001\022\034\n\013pairing_key\030\350\360\324\321\001 \001(\t" - + "H\024\210\001\001\022\034\n\013partner_asn\030\205\305\367\320\001 \001(\003H\025\210\001\001\022`\n\020p" - + "artner_metadata\030\306\341\266\037 \001(\0132>.google.cloud." - + "compute.v1.InterconnectAttachmentPartner" - + "MetadataH\026\210\001\001\022e\n\031private_interconnect_in" - + "fo\030\203\354\221q \001(\0132:.google.cloud.compute.v1.In" - + "terconnectAttachmentPrivateInfoH\027\210\001\001\022\026\n\006" - + "region\030\364\315\240B \001(\tH\030\210\001\001\022\026\n\006router\030\311\256\356F \001(\tH" - + "\031\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H\032\210\001\001\022\032\n\t" - + "self_link\030\215\222\305\331\001 \001(\tH\033\210\001\001\022\033\n\nstack_type\030\221" - + "\265\213\313\001 \001(\tH\034\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\035\210\001\001\022\024\n\004" - + "type\030\272\236\332\001 \001(\tH\036\210\001\001\022\035\n\rvlan_tag8021q\030\234\350\2279" - + " \001(\005H\037\210\001\001\"\355\001\n\tBandwidth\022\027\n\023UNDEFINED_BAN" - + "DWIDTH\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\007B" - + "PS_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_EDGE_AVAILABILITY_DOMAIN\020\000\022\035\n\025" - + "AVAILABILITY_DOMAIN_1\020\332\373\326\246\001\022\035\n\025AVAILABIL" - + "ITY_DOMAIN_2\020\333\373\326\246\001\022\037\n\027AVAILABILITY_DOMAI" - + "N_ANY\020\265\352\367\262\001\"A\n\nEncryption\022\030\n\024UNDEFINED_E" - + "NCRYPTION\020\000\022\014\n\005IPSEC\020\252\243\251!\022\013\n\004NONE\020\270\316\222\001\"`" - + "\n\021OperationalStatus\022 \n\034UNDEFINED_OPERATI" - + "ONAL_STATUS\020\000\022\020\n\tOS_ACTIVE\020\301\373\310\032\022\027\n\020OS_UN" - + "PROVISIONED\020\300\301\252r\"I\n\tStackType\022\030\n\024UNDEFIN" - + "ED_STACK_TYPE\020\000\022\020\n\tIPV4_IPV6\020\201\350\312\n\022\020\n\tIPV" - + "4_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\030PA" - + "RTNER_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_UNSPECIFIED\020\311\320\274\340\001\022\025\n\rUNPROVISION" - + "ED\020\333\307\327\366\001\"W\n\004Type\022\022\n\016UNDEFINED_TYPE\020\000\022\020\n\t" - + "DEDICATED\020\317\233\234{\022\017\n\007PARTNER\020\250\321\241\334\001\022\030\n\020PARTN" - + "ER_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_router_ipv6_addressB!\n\037_cloud_ro" - + "uter_ipv6_interface_idB\025\n\023_creation_time" - + "stampB\035\n\033_customer_router_ip_addressB\037\n\035" - + "_customer_router_ipv6_addressB$\n\"_custom" - + "er_router_ipv6_interface_idB\024\n\022_dataplan" - + "e_versionB\016\n\014_descriptionB\033\n\031_edge_avail" - + "ability_domainB\r\n\013_encryptionB\026\n\024_google" - + "_reference_idB\005\n\003_idB\017\n\r_interconnectB\007\n" - + "\005_kindB\006\n\004_mtuB\007\n\005_nameB\025\n\023_operational_" - + "statusB\016\n\014_pairing_keyB\016\n\014_partner_asnB\023" - + "\n\021_partner_metadataB\034\n\032_private_intercon" - + "nect_infoB\t\n\007_regionB\t\n\007_routerB\020\n\016_sati" - + "sfies_pzsB\014\n\n_self_linkB\r\n\013_stack_typeB\010" - + "\n\006_stateB\007\n\005_typeB\020\n\016_vlan_tag8021q\"\343\003\n$" - + "InterconnectAttachmentAggregatedList\022\020\n\002" - + "id\030\233\032 \001(\tH\000\210\001\001\022Z\n\005items\030\300\317\367/ \003(\0132H.googl" + + "H\004\210\001\001\032f\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022G\n\005valu" + + "e\030\002 \001(\01328.google.cloud.compute.v1.Instan" + + "ceGroupManagersScopedList:\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\"\220\001\n%InstanceGroupManagerAuto" + + "HealingPolicy\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_sec\"\271" + + "\002\n\030InstanceGroupManagerList\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.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(\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\"\313\002\n\032I" + + "nstanceGroupManagerStatus\022\033\n\nautoscaler\030" + + "\327\375\322\366\001 \001(\tH\000\210\001\001\022\031\n\tis_stable\030\360\357\3303 \001(\010H\001\210\001" + + "\001\022U\n\010stateful\030\314\346\310t \001(\0132;.google.cloud.co" + + "mpute.v1.InstanceGroupManagerStatusState" + + "fulH\002\210\001\001\022a\n\016version_target\030\330\335\376\211\001 \001(\0132@.g" + + "oogle.cloud.compute.v1.InstanceGroupMana" + + "gerStatusVersionTargetH\003\210\001\001B\r\n\013_autoscal" + + "erB\014\n\n_is_stableB\013\n\t_statefulB\021\n\017_versio" + + "n_target\"\360\001\n\"InstanceGroupManagerStatusS" + + "tateful\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(\0132M" + + ".google.cloud.compute.v1.InstanceGroupMa" + + "nagerStatusStatefulPerInstanceConfigsH\001\210" + + "\001\001B\026\n\024_has_stateful_configB\027\n\025_per_insta" + + "nce_configs\"h\n4InstanceGroupManagerStatu" + + "sStatefulPerInstanceConfigs\022\036\n\rall_effec" + + "tive\030\211\221\247\366\001 \001(\010H\000\210\001\001B\020\n\016_all_effective\"U\n" + + "\'InstanceGroupManagerStatusVersionTarget" + + "\022\033\n\nis_reached\030\275\376\310\316\001 \001(\010H\000\210\001\001B\r\n\013_is_rea" + + "ched\"\334\006\n InstanceGroupManagerUpdatePolic" + + "y\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\'.google" + + ".cloud.compute.v1.FixedOrPercentH\001\210\001\001\022I\n" + + "\017max_unavailable\030\365\313\213\301\001 \001(\0132\'.google.clou" + + "d.compute.v1.FixedOrPercentH\002\210\001\001\022\037\n\016mini" + + "mal_action\030\224\215\202\201\001 \001(\tH\003\210\001\001\022.\n\036most_disrup" + + "tive_allowed_action\030\215\316\302\037 \001(\tH\004\210\001\001\022#\n\022rep" + + "lacement_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\032InstanceRedistributionTy" + + "pe\022*\n&UNDEFINED_INSTANCE_REDISTRIBUTION_" + + "TYPE\020\000\"-\n\rMinimalAction\022\034\n\030UNDEFINED_MIN" + + "IMAL_ACTION\020\000\"K\n\033MostDisruptiveAllowedAc" + + "tion\022,\n(UNDEFINED_MOST_DISRUPTIVE_ALLOWE" + + "D_ACTION\020\000\"[\n\021ReplacementMethod\022 \n\034UNDEF" + + "INED_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\016UNDEF" + + "INED_TYPE\020\000\022\025\n\rOPPORTUNISTIC\020\351\267\350\314\001B\037\n\035_i" + + "nstance_redistribution_typeB\014\n\n_max_surg" + + "eB\022\n\020_max_unavailableB\021\n\017_minimal_action" + + "B!\n\037_most_disruptive_allowed_actionB\025\n\023_" + + "replacement_methodB\007\n\005_type\"\314\001\n\033Instance" + + "GroupManagerVersion\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\001\022D\n" + + "\013target_size\030\357\363\375\035 \001(\0132\'.google.cloud.com" + + "pute.v1.FixedOrPercentH\002\210\001\001B\024\n\022_instance" + + "_templateB\007\n\005_nameB\016\n\014_target_size\"D\n,In" + + "stanceGroupManagersAbandonInstancesReque" + + "st\022\024\n\tinstances\030\376\374\357\r \003(\t\"\365\002\n(InstanceGro" + + "upManagersApplyUpdatesRequest\022\036\n\rall_ins" + + "tances\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\036" + + "most_disruptive_allowed_action\030\215\316\302\037 \001(\tH" + + "\002\210\001\001\"-\n\rMinimalAction\022\034\n\030UNDEFINED_MINIM" + + "AL_ACTION\020\000\"K\n\033MostDisruptiveAllowedActi" + + "on\022,\n(UNDEFINED_MOST_DISRUPTIVE_ALLOWED_" + + "ACTION\020\000B\020\n\016_all_instancesB\021\n\017_minimal_a" + + "ctionB!\n\037_most_disruptive_allowed_action" + + "\"o\n+InstanceGroupManagersCreateInstances" + + "Request\022@\n\tinstances\030\376\374\357\r \003(\0132*.google.c" + + "loud.compute.v1.PerInstanceConfig\"\236\001\n+In" + + "stanceGroupManagersDeleteInstancesReques" + + "t\022\024\n\tinstances\030\376\374\357\r \003(\t\0222\n\"skip_instance" + + "s_on_validation_error\030\241\366\257\023 \001(\010H\000\210\001\001B%\n#_" + + "skip_instances_on_validation_error\"D\n0In" + + "stanceGroupManagersDeletePerInstanceConf" + + "igsReq\022\020\n\005names\030\310\256\3571 \003(\t\"\244\001\n\'InstanceGro" + + "upManagersListErrorsResponse\022D\n\005items\030\300\317" + + "\367/ \003(\01322.google.cloud.compute.v1.Instanc" + + "eManagedByIgmError\022\037\n\017next_page_token\030\225\272" + + "\206& \001(\tH\000\210\001\001B\022\n\020_next_page_token\"\261\001\n1Inst" + + "anceGroupManagersListManagedInstancesRes" + + "ponse\022G\n\021managed_instances\030\336\233\251\240\001 \003(\0132(.g" + + "oogle.cloud.compute.v1.ManagedInstance\022\037" + + "\n\017next_page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n\020_next" + + "_page_token\"\353\001\n/InstanceGroupManagersLis" + + "tPerInstanceConfigsResp\022<\n\005items\030\300\317\367/ \003(" + + "\0132*.google.cloud.compute.v1.PerInstanceC" + + "onfig\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.comput" + + "e.v1.WarningH\001\210\001\001B\022\n\020_next_page_tokenB\n\n", + "\010_warning\"\177\n/InstanceGroupManagersPatchP" + + "erInstanceConfigsReq\022L\n\024per_instance_con" + + "figs\030\251\325\370\372\001 \003(\0132*.google.cloud.compute.v1" + + ".PerInstanceConfig\"E\n-InstanceGroupManag" + + "ersRecreateInstancesRequest\022\024\n\tinstances" + + "\030\376\374\357\r \003(\t\"\273\001\n\037InstanceGroupManagersScope" + + "dList\022Q\n\027instance_group_managers\030\220\372\211f \003(" + + "\0132-.google.cloud.compute.v1.InstanceGrou" + + "pManager\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cl" + + "oud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"" + + "k\n/InstanceGroupManagersSetInstanceTempl" + + "ateRequest\022\"\n\021instance_template\030\344\201\273\223\001 \001(" + + "\tH\000\210\001\001B\024\n\022_instance_template\"s\n*Instance" + + "GroupManagersSetTargetPoolsRequest\022\033\n\013fi" + + "ngerprint\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\n0InstanceGr" + + "oupManagersUpdatePerInstanceConfigsReq\022L" + + "\n\024per_instance_configs\030\251\325\370\372\001 \003(\0132*.googl" + + "e.cloud.compute.v1.PerInstanceConfig\"e\n!" + + "InstanceGroupsAddInstancesRequest\022@\n\tins" + + "tances\030\376\374\357\r \003(\0132*.google.cloud.compute.v" + + "1.InstanceReference\"\276\002\n\033InstanceGroupsLi" + + "stInstances\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.Instan" + + "ceWithNamedPorts\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\"\241\001\n\"InstanceGroupsL" + + "istInstancesRequest\022\036\n\016instance_state\030\347\360" + + "\374+ \001(\tH\000\210\001\001\"H\n\rInstanceState\022\034\n\030UNDEFINE" + + "D_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$InstanceGrou" + + "psRemoveInstancesRequest\022@\n\tinstances\030\376\374" + + "\357\r \003(\0132*.google.cloud.compute.v1.Instanc" + + "eReference\"\246\001\n\030InstanceGroupsScopedList\022" + + "C\n\017instance_groups\030\276\301\337\256\001 \003(\0132&.google.cl" + + "oud.compute.v1.InstanceGroup\0229\n\007warning\030" + + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" + + "ngH\000\210\001\001B\n\n\010_warning\"\216\001\n\"InstanceGroupsSe" + + "tNamedPortsRequest\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\".googl" + + "e.cloud.compute.v1.NamedPortB\016\n\014_fingerp" + + "rint\"\241\002\n\014InstanceList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022" + + "3\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\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\"\253\002\n\025InstanceListReferre" + + "rs\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.Reference\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\"\274" + + "\002\n\031InstanceManagedByIgmError\022]\n\005error\030\210\244" + + "\223. \001(\0132F.google.cloud.compute.v1.Instanc" + + "eManagedByIgmErrorManagedInstanceErrorH\000" + + "\210\001\001\022q\n\027instance_action_details\030\243\374\253\213\001 \001(\013" + + "2G.google.cloud.compute.v1.InstanceManag" + + "edByIgmErrorInstanceActionDetailsH\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.InstanceManagedByIgmErrorInstanceActio" + + "nDetails\022\026\n\006action\030\266\374\275Y \001(\tH\000\210\001\001\022\030\n\010inst" + + "ance\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.ManagedInstanc" + + "eVersionH\002\210\001\001\"\234\002\n\006Action\022\024\n\020UNDEFINED_AC" + + "TION\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\nRECREAT" + + "ING\020\354\213\376\210\001\022\021\n\nREFRESHING\020\247\376\354M\022\022\n\nRESTARTI" + + "NG\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_inst" + + "anceB\n\n\010_version\"t\n-InstanceManagedByIgm" + + "ErrorManagedInstanceError\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_co" + + "deB\n\n\010_message\"\202\001\n\023InstanceMoveRequest\022 " + + "\n\020destination_zone\030\275\342\357> \001(\tH\000\210\001\001\022 \n\017targ" + + "et_instance\030\203\217\226\212\001 \001(\tH\001\210\001\001B\023\n\021_destinati" + + "on_zoneB\022\n\020_target_instance\"\261\001\n\016Instance" + + "Params\022c\n\025resource_manager_tags\030\374\233\213\264\001 \003(" + + "\0132@.google.cloud.compute.v1.InstancePara" + + "ms.ResourceManagerTagsEntry\032:\n\030ResourceM" + + "anagerTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 " + + "\001(\t:\0028\001\"\375\016\n\022InstanceProperties\022\\\n\031advanc" + + "ed_machine_features\030\262\347\252\303\001 \001(\01320.google.c" + + "loud.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" + + "\034confidential_instance_config\030\365\222\372\351\001 \001(\0132" + + "3.google.cloud.compute.v1.ConfidentialIn" + + "stanceConfigH\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.cloud" + + ".compute.v1.AttachedDisk\022J\n\022guest_accele" + + "rators\030\357\314\207\335\001 \003(\0132*.google.cloud.compute." + + "v1.AcceleratorConfig\022K\n\006labels\030\377\277\301\356\001 \003(\013" + + "27.google.cloud.compute.v1.InstancePrope" + + "rties.LabelsEntry\022\034\n\014machine_type\030\262\260\312l \001" + + "(\tH\004\210\001\001\022;\n\010metadata\030\257\366\265) \001(\0132!.google.cl" + + "oud.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_interf" + + "aces\030\213\332\222\031 \003(\0132).google.cloud.compute.v1." + + "NetworkInterface\022^\n\032network_performance_" + + "config\030\342\227\370\275\001 \001(\01321.google.cloud.compute." + + "v1.NetworkPerformanceConfigH\007\210\001\001\022*\n\032priv" + + "ate_ipv6_google_access\030\216\314\202\027 \001(\tH\010\210\001\001\022R\n\024" + + "reservation_affinity\030\273\270\242K \001(\0132,.google.c" + + "loud.compute.v1.ReservationAffinityH\t\210\001\001" + + "\022g\n\025resource_manager_tags\030\374\233\213\264\001 \003(\0132D.go" + + "ogle.cloud.compute.v1.InstanceProperties" + + ".ResourceManagerTagsEntry\022\034\n\021resource_po" + + "licies\030\341\234\314\n \003(\t\022@\n\nscheduling\030\224\313\261\270\001 \001(\0132" + + "#.google.cloud.compute.v1.SchedulingH\n\210\001" + + "\001\022E\n\020service_accounts\030\260\304\253\204\001 \003(\0132\'.google" + + ".cloud.compute.v1.ServiceAccount\022Y\n\030shie" + + "lded_instance_config\030\265\213\221\006 \001(\0132/.google.c" + + "loud.compute.v1.ShieldedInstanceConfigH\013" + + "\210\001\001\0223\n\004tags\030\231\350\330\001 \001(\0132\035.google.cloud.comp" + + "ute.v1.TagsH\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\030ResourceManag" + + "erTagsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"\300\001\n\027PrivateIpv6GoogleAccess\022(\n$UNDEF" + + "INED_PRIVATE_IPV6_GOOGLE_ACCESS\020\000\022-\n%ENA" + + "BLE_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\001B\034" + + "\n\032_advanced_machine_featuresB\021\n\017_can_ip_" + + "forwardB\037\n\035_confidential_instance_config" + + "B\016\n\014_descriptionB\017\n\r_machine_typeB\013\n\t_me" + + "tadataB\023\n\021_min_cpu_platformB\035\n\033_network_" + + "performance_configB\035\n\033_private_ipv6_goog" + + "le_accessB\027\n\025_reservation_affinityB\r\n\013_s" + + "chedulingB\033\n\031_shielded_instance_configB\007" + + "\n\005_tags\":\n\021InstanceReference\022\030\n\010instance" + + "\030\225\251\332\010 \001(\tH\000\210\001\001B\013\n\t_instance\"\374\003\n\020Instance" + + "Template\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\004na" + + "me\030\213\365\315\001 \001(\tH\004\210\001\001\022G\n\nproperties\030\263\232\266F \001(\0132" + + "+.google.cloud.compute.v1.InstanceProper" + + "tiesH\005\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\006\210\001\001\022 \n" + + "\017source_instance\030\271\230\375\274\001 \001(\tH\007\210\001\001\022U\n\026sourc" + + "e_instance_params\030\314\320\304@ \001(\0132-.google.clou" + + "d.compute.v1.SourceInstanceParamsH\010\210\001\001B\025" + + "\n\023_creation_timestampB\016\n\014_descriptionB\005\n" + + "\003_idB\007\n\005_kindB\007\n\005_nameB\r\n\013_propertiesB\014\n" + + "\n_self_linkB\022\n\020_source_instanceB\031\n\027_sour" + + "ce_instance_params\"\261\002\n\024InstanceTemplateL" + + "ist\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.InstanceTempla" + + "te\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\"\376\002\n\026InstanceWithNamedPorts\022\030\n\010ins" + + "tance\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\020U" + + "NDEFINED_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\007S" + + "TOPPED\020\255\273\354\323\001\022\020\n\010STOPPING\020\364\320\242\247\001\022\020\n\tSUSPEN" + + "DED\020\273\273\266\030\022\022\n\nSUSPENDING\020\246\324\230\365\001\022\021\n\nTERMINAT" + + "ED\020\243\364\233wB\013\n\t_instanceB\t\n\007_status\"C\n#Insta" + + "ncesAddResourcePoliciesRequest\022\034\n\021resour" + + "ce_policies\030\341\234\314\n \003(\t\"\330\001\n&InstancesGetEff" + + "ectiveFirewallsResponse\022t\n\020firewall_poli" + + "cys\030\302\312\374\303\001 \003(\0132V.google.cloud.compute.v1." + + "InstancesGetEffectiveFirewallsResponseEf" + + "fectiveFirewallPolicy\0228\n\tfirewalls\030\363\306\350\201\001" + + " \003(\0132!.google.cloud.compute.v1.Firewall\"" + + "\204\003\n=InstancesGetEffectiveFirewallsRespon" + + "seEffectiveFirewallPolicy\022\034\n\014display_nam" + + "e\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.v" + + "1.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&Instan" + + "cesRemoveResourcePoliciesRequest\022\034\n\021reso" + + "urce_policies\030\341\234\314\n \003(\t\"\225\001\n\023InstancesScop" + + "edList\0227\n\tinstances\030\376\374\357\r \003(\0132!.google.cl" + + "oud.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\031InstancesSetLabelsReq" + + "uest\022!\n\021label_fingerprint\030\231\360\367T \001(\tH\000\210\001\001\022" + + "R\n\006labels\030\377\277\301\356\001 \003(\0132>.google.cloud.compu" + + "te.v1.InstancesSetLabelsRequest.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\"q\n#Inst" + + "ancesSetMachineResourcesRequest\022J\n\022guest" + + "_accelerators\030\357\314\207\335\001 \003(\0132*.google.cloud.c" + + "ompute.v1.AcceleratorConfig\"O\n\036Instances" + + "SetMachineTypeRequest\022\034\n\014machine_type\030\262\260" + + "\312l \001(\tH\000\210\001\001B\017\n\r_machine_type\"Z\n!Instance" + + "sSetMinCpuPlatformRequest\022 \n\020min_cpu_pla" + + "tform\030\367\233\352s \001(\tH\000\210\001\001B\023\n\021_min_cpu_platform" + + "\"W\n!InstancesSetServiceAccountRequest\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&InstancesStartWithEncryptio" + + "nKeyRequest\022M\n\005disks\030\366\314\312- \003(\0132;.google.c" + + "loud.compute.v1.CustomerEncryptionKeyPro" + + "tectedDisk\"h\n\017Int64RangeMatch\022\032\n\trange_e" + + "nd\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_start\"\244\014\n" + + "\014Interconnect\022\036\n\radmin_enabled\030\321\354\301\324\001 \001(\010" + + "H\000\210\001\001\022J\n\rcircuit_infos\030\257\203\315N \003(\01320.google" + + ".cloud.compute.v1.InterconnectCircuitInf" + + "o\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\013descript" + + "ion\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.Interc" + + "onnectOutageNotification\022\"\n\021google_ip_ad" + + "dress\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\030" + + "interconnect_attachments\030\377\322\353\312\001 \003(\t\022\"\n\021in" + + "terconnect_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\032\n\tlink_type\030\337\210\276\371\001 \001(\tH\t\210\001\001" + + "\022\031\n\010location\030\265\277\276\212\001 \001(\tH\n\210\001\001\022\024\n\004name\030\213\365\315\001" + + " \001(\tH\013\210\001\001\022!\n\021noc_contact_email\030\200\370\332\006 \001(\tH" + + "\014\210\001\001\022\"\n\022operational_status\030\377\261\360_ \001(\tH\r\210\001\001" + + "\022\037\n\017peer_ip_address\030\331\227\207c \001(\tH\016\210\001\001\022\'\n\026pro" + + "visioned_link_count\030\365\322\366\303\001 \001(\005H\017\210\001\001\022$\n\024re" + + "quested_link_count\030\373\333\275\025 \001(\005H\020\210\001\001\022\036\n\rsati" + + "sfies_pzs\030\253\335\253\345\001 \001(\010H\021\210\001\001\022\032\n\tself_link\030\215\222" + + "\305\331\001 \001(\tH\022\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\023\210\001\001\"j\n\020I" + + "nterconnectType\022\037\n\033UNDEFINED_INTERCONNEC" + + "T_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\023U" + + "NDEFINED_LINK_TYPE\020\000\022\"\n\032LINK_TYPE_ETHERN" + + "ET_100G_LR\020\347\362\201\241\001\022 \n\031LINK_TYPE_ETHERNET_1" + + "0G_LR\020\245\271\361p\"`\n\021OperationalStatus\022 \n\034UNDEF" + + "INED_OPERATIONAL_STATUS\020\000\022\020\n\tOS_ACTIVE\020\301" + + "\373\310\032\022\027\n\020OS_UNPROVISIONED\020\300\301\252r\"C\n\005State\022\023\n" + + "\017UNDEFINED_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\025\n\rUN" + + "PROVISIONED\020\333\307\327\366\001B\020\n\016_admin_enabledB\025\n\023_" + + "creation_timestampB\020\n\016_customer_nameB\016\n\014" + + "_descriptionB\024\n\022_google_ip_addressB\026\n\024_g" + + "oogle_reference_idB\005\n\003_idB\024\n\022_interconne" + + "ct_typeB\007\n\005_kindB\014\n\n_link_typeB\013\n\t_locat" + + "ionB\007\n\005_nameB\024\n\022_noc_contact_emailB\025\n\023_o" + + "perational_statusB\022\n\020_peer_ip_addressB\031\n" + + "\027_provisioned_link_countB\027\n\025_requested_l" + + "ink_countB\020\n\016_satisfies_pzsB\014\n\n_self_lin" + + "kB\010\n\006_state\"\232\026\n\026InterconnectAttachment\022\036" + + "\n\radmin_enabled\030\321\354\301\324\001 \001(\010H\000\210\001\001\022\031\n\tbandwi" + + "dth\030\261\201\323V \001(\tH\001\210\001\001\022!\n\026candidate_ipv6_subn" + + "ets\030\232\217\332! \003(\t\022\034\n\021candidate_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_router_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\"\n\022creation_timestamp\030" + + "\266\217\307\016 \001(\tH\005\210\001\001\022+\n\032customer_router_ip_addr" + + "ess\030\361\332\304\236\001 \001(\tH\006\210\001\001\022-\n\034customer_router_ip" + + "v6_address\030\361\371\253\212\001 \001(\tH\007\210\001\001\0222\n!customer_ro" + + "uter_ipv6_interface_id\030\204\206\326\265\001 \001(\tH\010\210\001\001\022!\n" + + "\021dataplane_version\030\213\255\323\020 \001(\005H\t\210\001\001\022\034\n\013desc" + + "ription\030\374\207\326\311\001 \001(\tH\n\210\001\001\022(\n\030edge_availabil" + + "ity_domain\030\246\225\377! \001(\tH\013\210\001\001\022\032\n\nencryption\030\203" + + "\237\334. \001(\tH\014\210\001\001\022$\n\023google_reference_id\030\325\265\212\377" + + "\001 \001(\tH\r\210\001\001\022\020\n\002id\030\233\032 \001(\004H\016\210\001\001\022\034\n\014intercon" + + "nect\030\216\311\214k \001(\tH\017\210\001\001\022$\n\030ipsec_internal_add" + + "resses\030\265\362\260\302\001 \003(\t\022\024\n\004kind\030\224\367\310\001 \001(\tH\020\210\001\001\022\022" + + "\n\003mtu\030\256\317\006 \001(\005H\021\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\022\210\001\001" + + "\022\"\n\022operational_status\030\377\261\360_ \001(\tH\023\210\001\001\022\034\n\013" + + "pairing_key\030\350\360\324\321\001 \001(\tH\024\210\001\001\022\034\n\013partner_as" + + "n\030\205\305\367\320\001 \001(\003H\025\210\001\001\022`\n\020partner_metadata\030\306\341\266" + + "\037 \001(\0132>.google.cloud.compute.v1.Intercon" + + "nectAttachmentPartnerMetadataH\026\210\001\001\022e\n\031pr" + + "ivate_interconnect_info\030\203\354\221q \001(\0132:.googl" + "e.cloud.compute.v1.InterconnectAttachmen" - + "tAggregatedList.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\032h\n\nIte" - + "msEntry\022\013\n\003key\030\001 \001(\t\022I\n\005value\030\002 \001(\0132:.go" - + "ogle.cloud.compute.v1.InterconnectAttach" - + "mentsScopedList:\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\"\275\002\n\032InterconnectAttachmentList\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.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.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\"\274\001\n%InterconnectAttachmentPartnerMetad" - + "ata\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_interconnect_name" - + "B\017\n\r_partner_nameB\r\n\013_portal_url\"K\n!Inte" - + "rconnectAttachmentPrivateInfo\022\031\n\010tag8021" - + "q\030\300\321\316\201\001 \001(\rH\000\210\001\001B\013\n\t_tag8021q\"\301\001\n!Interc" - + "onnectAttachmentsScopedList\022U\n\030interconn" - + "ect_attachments\030\377\322\353\312\001 \003(\0132/.google.cloud" - + ".compute.v1.InterconnectAttachment\0229\n\007wa" - + "rning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1" - + ".WarningH\000\210\001\001B\n\n\010_warning\"\305\001\n\027Interconne" - + "ctCircuitInfo\022\"\n\022customer_demarc_id\030\223\214\334\r" - + " \001(\tH\000\210\001\001\022!\n\021google_circuit_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_circui" - + "t_idB\023\n\021_google_demarc_id\"\347\001\n\027Interconne" - + "ctDiagnostics\022P\n\narp_caches\030\221\326\330\305\001 \003(\01328." - + "google.cloud.compute.v1.InterconnectDiag" - + "nosticsARPEntry\022L\n\005links\030\271\237\2151 \003(\0132:.goog" - + "le.cloud.compute.v1.InterconnectDiagnost" - + "icsLinkStatus\022\034\n\013mac_address\030\204\322\310\236\001 \001(\tH\000" - + "\210\001\001B\016\n\014_mac_address\"{\n\037InterconnectDiagn" - + "osticsARPEntry\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%Interconnec" - + "tDiagnosticsLinkLACPStatus\022 \n\020google_sys" - + "tem_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\005state\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\241gB\023\n\021_google_syste" - + "m_idB\025\n\023_neighbor_system_idB\010\n\006_state\"\343\001" - + "\n\'InterconnectDiagnosticsLinkOpticalPowe" - + "r\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\"\323\004\n!Intercon" - + "nectDiagnosticsLinkStatus\022P\n\narp_caches\030" - + "\221\326\330\305\001 \003(\01328.google.cloud.compute.v1.Inte" - + "rconnectDiagnosticsARPEntry\022\032\n\ncircuit_i" - + "d\030\261\372\257k \001(\tH\000\210\001\001\022\034\n\rgoogle_demarc\030\214\217\003 \001(\t" - + "H\001\210\001\001\022\\\n\013lacp_status\030\257\304\236\254\001 \001(\0132>.google." + + "tPrivateInfoH\027\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\030\210\001" + + "\001\022\026\n\006router\030\311\256\356F \001(\tH\031\210\001\001\022\036\n\rsatisfies_p" + + "zs\030\253\335\253\345\001 \001(\010H\032\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" + + "H\033\210\001\001\022\033\n\nstack_type\030\221\265\213\313\001 \001(\tH\034\210\001\001\022\025\n\005st" + + "ate\030\221\211\2534 \001(\tH\035\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\036\210\001\001\022" + + "\035\n\rvlan_tag8021q\030\234\350\2279 \001(\005H\037\210\001\001\"\355\001\n\tBandw" + + "idth\022\027\n\023UNDEFINED_BANDWIDTH\020\000\022\017\n\010BPS_100" + + "M\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\026EdgeA" + + "vailabilityDomain\022&\n\"UNDEFINED_EDGE_AVAI" + + "LABILITY_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\nEncr" + + "yption\022\030\n\024UNDEFINED_ENCRYPTION\020\000\022\014\n\005IPSE" + + "C\020\252\243\251!\022\013\n\004NONE\020\270\316\222\001\"`\n\021OperationalStatus" + + "\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\t" + + "IPV4_IPV6\020\201\350\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\n\"\302\001\n\005Sta" + + "te\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_RECEI" + + "VED\020\350\360\362\364\001\022\027\n\020PENDING_CUSTOMER\020\246\203\357O\022\027\n\017PE" + + "NDING_PARTNER\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" + + "\016UNDEFINED_TYPE\020\000\022\020\n\tDEDICATED\020\317\233\234{\022\017\n\007P" + + "ARTNER\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_router_ipv6" + + "_addressB!\n\037_cloud_router_ipv6_interface" + + "_idB\025\n\023_creation_timestampB\035\n\033_customer_" + + "router_ip_addressB\037\n\035_customer_router_ip" + + "v6_addressB$\n\"_customer_router_ipv6_inte" + + "rface_idB\024\n\022_dataplane_versionB\016\n\014_descr" + + "iptionB\033\n\031_edge_availability_domainB\r\n\013_" + + "encryptionB\026\n\024_google_reference_idB\005\n\003_i" + + "dB\017\n\r_interconnectB\007\n\005_kindB\006\n\004_mtuB\007\n\005_" + + "nameB\025\n\023_operational_statusB\016\n\014_pairing_" + + "keyB\016\n\014_partner_asnB\023\n\021_partner_metadata" + + "B\034\n\032_private_interconnect_infoB\t\n\007_regio" + + "nB\t\n\007_routerB\020\n\016_satisfies_pzsB\014\n\n_self_" + + "linkB\r\n\013_stack_typeB\010\n\006_stateB\007\n\005_typeB\020" + + "\n\016_vlan_tag8021q\"\343\003\n$InterconnectAttachm" + + "entAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022Z\n\005i" + + "tems\030\300\317\367/ \003(\0132H.google.cloud.compute.v1." + + "InterconnectAttachmentAggregatedList.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\032h\n\nItemsEntry\022\013\n\003key\030\001 \001(" + + "\t\022I\n\005value\030\002 \001(\0132:.google.cloud.compute." + + "v1.InterconnectAttachmentsScopedList:\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\"\275\002\n\032InterconnectA" + + "ttachmentList\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.Inte" + + "rconnectAttachment\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\"\274\001\n%InterconnectA" + + "ttachmentPartnerMetadata\022\"\n\021interconnect" + + "_name\030\234\357\306\365\001 \001(\tH\000\210\001\001\022\034\n\014partner_name\030\242\247\220" + + "M \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_interconnect_nameB\017\n\r_partner_nameB\r" + + "\n\013_portal_url\"K\n!InterconnectAttachmentP" + + "rivateInfo\022\031\n\010tag8021q\030\300\321\316\201\001 \001(\rH\000\210\001\001B\013\n" + + "\t_tag8021q\"\301\001\n!InterconnectAttachmentsSc" + + "opedList\022U\n\030interconnect_attachments\030\377\322\353" + + "\312\001 \003(\0132/.google.cloud.compute.v1.Interco" + + "nnectAttachment\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\"\305\001\n\027InterconnectCircuitInfo\022\"\n\022cu" + + "stomer_demarc_id\030\223\214\334\r \001(\tH\000\210\001\001\022!\n\021google" + + "_circuit_id\030\367\215\370| \001(\tH\001\210\001\001\022!\n\020google_dema" + + "rc_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_dem" + + "arc_id\"\347\001\n\027InterconnectDiagnostics\022P\n\nar" + + "p_caches\030\221\326\330\305\001 \003(\01328.google.cloud.comput" + + "e.v1.InterconnectDiagnosticsARPEntry\022L\n\005" + + "links\030\271\237\2151 \003(\0132:.google.cloud.compute.v1" + + ".InterconnectDiagnosticsLinkStatus\022\034\n\013ma" + + "c_address\030\204\322\310\236\001 \001(\tH\000\210\001\001B\016\n\014_mac_address" + + "\"{\n\037InterconnectDiagnosticsARPEntry\022\033\n\ni" + + "p_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_ad" + + "dress\"\372\001\n%InterconnectDiagnosticsLinkLAC" + + "PStatus\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\005state\030\221\211\2534 \001(\tH\002\210\001\001\"=\n\005State\022\023\n\017UNDEFI" + + "NED_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\017\n\010DETACHED\020" + + "\362\366\241gB\023\n\021_google_system_idB\025\n\023_neighbor_s" + + "ystem_idB\010\n\006_state\"\343\001\n\'InterconnectDiagn" + + "osticsLinkOpticalPower\022\025\n\005state\030\221\211\2534 \001(\t" + + "H\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\"\323\004\n!InterconnectDiagnosticsLink" + + "Status\022P\n\narp_caches\030\221\326\330\305\001 \003(\01328.google." + "cloud.compute.v1.InterconnectDiagnostics" - + "LinkLACPStatusH\002\210\001\001\022i\n\027receiving_optical" - + "_power\030\337\255\330t \001(\0132@.google.cloud.compute.v" - + "1.InterconnectDiagnosticsLinkOpticalPowe" - + "rH\003\210\001\001\022m\n\032transmitting_optical_power\030\235\272\211" - + "\333\001 \001(\0132@.google.cloud.compute.v1.Interco" - + "nnectDiagnosticsLinkOpticalPowerH\004\210\001\001B\r\n" - + "\013_circuit_idB\020\n\016_google_demarcB\016\n\014_lacp_" - + "statusB\032\n\030_receiving_optical_powerB\035\n\033_t" - + "ransmitting_optical_power\"\251\002\n\020Interconne" - + "ctList\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.Interconnec" - + "t\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\"\311\010\n\024InterconnectLocation\022\030\n\007addres" - + "s\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\024\n\004city\030\353\262\272\001 \001(\tH\002\210\001\001\022\031\n\tcon" - + "tinent\030\264\333\320? \001(\tH\003\210\001\001\022\"\n\022creation_timesta" - + "mp\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\025peeri" - + "ngdb_facility_id\030\266\272\355\377\001 \001(\tH\013\210\001\001\022Q\n\014regio" - + "n_infos\030\372\350\356\224\001 \003(\01327.google.cloud.compute" - + ".v1.InterconnectLocationRegionInfo\022\032\n\tse" - + "lf_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\"\352\001\n" - + "\tContinent\022\027\n\023UNDEFINED_CONTINENT\020\000\022\016\n\006A" - + "FRICA\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_NORTH_AMERICA\020\230\233\273\203\001\022\027\n\017C_SOUTH_A" - + "MERICA\020\340\214\260\275\001\022\016\n\006EUROPE\020\242\323\312\324\001\022\025\n\rNORTH_AM" - + "ERICA\020\224\331\320\325\001\022\024\n\rSOUTH_AMERICA\020\334\312\305\017\"A\n\006Sta" - + "tus\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_addressB\024\n\022_ava" - + "ilability_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_peeringdb_facility_idB\014\n\n_self_linkB\t\n" - + "\007_statusB\017\n\r_supports_pzs\"\271\002\n\030Interconne" - + "ctLocationList\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.Int" - + "erconnectLocation\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\"\272\002\n\036InterconnectLo" - + "cationRegionInfo\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(\t" - + "H\001\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\002\210\001\001\"\205\001\n\020Locati" - + "onPresence\022\037\n\033UNDEFINED_LOCATION_PRESENC" - + "E\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_REGION\020" - + "\303\332\375\350\001B\022\n\020_expected_rtt_msB\024\n\022_location_p" - + "resenceB\t\n\007_region\"\205\005\n\036InterconnectOutag" - + "eNotification\022\034\n\021affected_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\nstart_time\030\212\351\356\021 \001(\003H\005\210" - + "\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\006\210\001\001\"w\n\tIssueType\022\030" - + "\n\024UNDEFINED_ISSUE_TYPE\020\000\022\020\n\tIT_OUTAGE\020\205\341" - + "\350S\022\030\n\021IT_PARTIAL_OUTAGE\020\243\312\365+\022\r\n\006OUTAGE\020\361" - + "\245\217]\022\025\n\016PARTIAL_OUTAGE\020\217\267\217F\"C\n\006Source\022\024\n\020" - + "UNDEFINED_SOURCE\020\000\022\016\n\006GOOGLE\020\271\244\231\355\001\022\023\n\013NS" - + "RC_GOOGLE\020\342\377\272\363\001\"x\n\005State\022\023\n\017UNDEFINED_ST" - + "ATE\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\013" - + "NS_CANCELED\020\323\223\307\361\001B\016\n\014_descriptionB\013\n\t_en" - + "d_timeB\r\n\013_issue_typeB\007\n\005_nameB\t\n\007_sourc" - + "eB\r\n\013_start_timeB\010\n\006_state\"z\n#Interconne" - + "ctsGetDiagnosticsResponse\022H\n\006result\030\235\220\267B" - + " \001(\01320.google.cloud.compute.v1.Interconn" - + "ectDiagnosticsH\000\210\001\001B\t\n\007_result\"\351\001\n\034Inval" - + "idateCacheUrlMapRequest\022a\n cache_invalid" - + "ation_rule_resource\030\255\303\223\225\001 \001(\0132..google.c" - + "loud.compute.v1.CacheInvalidationRuleB\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\030\n\007url_map\030\214\225\201" - + "\257\001 \001(\tB\003\340A\002B\r\n\013_request_id\"D\n\005Items\022\022\n\003k" - + "ey\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\017charges_" - + "use_fee\030\316\241\312\261\001 \001(\010H\000\210\001\001\022\"\n\022creation_times" - + "tamp\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_requirem" - + "ents\030\241\262\227f \001(\01324.google.cloud.compute.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\014transferable\030\305\277\211" - + "\002 \001(\010H\t\210\001\001B\022\n\020_charges_use_feeB\025\n\023_creat" - + "ion_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_reso" - + "urce_requirementsB\014\n\n_self_linkB\017\n\r_tran" - + "sferable\"\224\004\n\013LicenseCode\022\"\n\022creation_tim" - + "estamp\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.g" - + "oogle.cloud.compute.v1.LicenseCodeLicens" - + "eAlias\022\024\n\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022\032\n\tself_lin" - + "k\030\215\222\305\331\001 \001(\tH\005\210\001\001\022\025\n\005state\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\nRESTRICTED\020\333\350\333|\022\031\n\021STAT" - + "E_UNSPECIFIED\020\311\320\274\340\001\022\021\n\nTERMINATED\020\243\364\233wB\025" - + "\n\023_creation_timestampB\016\n\014_descriptionB\005\n" - + "\003_idB\007\n\005_kindB\007\n\005_nameB\014\n\n_self_linkB\010\n\006" - + "_stateB\017\n\r_transferable\"q\n\027LicenseCodeLi" - + "censeAlias\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_descrip" - + "tionB\014\n\n_self_link\"\234\001\n\031LicenseResourceCo" - + "mmitment\022\026\n\006amount\030\330\240\351] \001(\003H\000\210\001\001\022!\n\021core" - + "s_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_amountB\024\n\022_cores_per_li" - + "censeB\n\n\010_license\"\215\001\n\033LicenseResourceReq" - + "uirements\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(\005H\001\210\001\001B" - + "\026\n\024_min_guest_cpu_countB\020\n\016_min_memory_m" - + "b\"\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.cloud.co" - + "mpute.v1.License\022\037\n\017next_page_token\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.compute" - + ".v1.WarningH\003\210\001\001B\005\n\003_idB\022\n\020_next_page_to" - + "kenB\014\n\n_self_linkB\n\n\010_warning\"\263\002\n\033ListAc" - + "celeratorTypesRequest\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\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\"\256\002\n\024ListAddressesReq" - + "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\"]\n%ListAssociationsFirewallPolicyRe" - + "quest\022 \n\017target_resource\030\374\355\352\336\001 \001(\tH\000\210\001\001B" - + "\022\n\020_target_resource\"\256\002\n\026ListAutoscalersR" - + "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\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340" - + "A\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_suc" - + "cess\"\251\002\n\'ListAvailableFeaturesSslPolicie" - + "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\"\233\002\n\031ListBackend" - + "BucketsRequest\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\"\234\002\n\032ListB" - + "ackendServicesRequest\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\"\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\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\001\022\024\n\004" - + "zone\030\254\307\344\001 \001(\tB\003\340A\002B\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\"\250\002\n\020ListDisksReques" - + "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\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\"" - + "\346\002\n&ListErrorsInstanceGroupManagersReque" - + "st\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_resul" + + "ARPEntry\022\032\n\ncircuit_id\030\261\372\257k \001(\tH\000\210\001\001\022\034\n\r" + + "google_demarc\030\214\217\003 \001(\tH\001\210\001\001\022\\\n\013lacp_statu" + + "s\030\257\304\236\254\001 \001(\0132>.google.cloud.compute.v1.In" + + "terconnectDiagnosticsLinkLACPStatusH\002\210\001\001" + + "\022i\n\027receiving_optical_power\030\337\255\330t \001(\0132@.g" + + "oogle.cloud.compute.v1.InterconnectDiagn" + + "osticsLinkOpticalPowerH\003\210\001\001\022m\n\032transmitt" + + "ing_optical_power\030\235\272\211\333\001 \001(\0132@.google.clo" + + "ud.compute.v1.InterconnectDiagnosticsLin" + + "kOpticalPowerH\004\210\001\001B\r\n\013_circuit_idB\020\n\016_go" + + "ogle_demarcB\016\n\014_lacp_statusB\032\n\030_receivin" + + "g_optical_powerB\035\n\033_transmitting_optical" + + "_power\"\251\002\n\020InterconnectList\022\020\n\002id\030\233\032 \001(\t" + + "H\000\210\001\001\0227\n\005items\030\300\317\367/ \003(\0132%.google.cloud.c" + + "ompute.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_token" + + "B\014\n\n_self_linkB\n\n\010_warning\"\311\010\n\024Interconn" + + "ectLocation\022\030\n\007address\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\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\021facility_" + + "provider\030\215\240\246\376\001 \001(\tH\006\210\001\001\022-\n\035facility_prov" + + "ider_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_facility_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.InterconnectLoc" + + "ationRegionInfo\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\014supports_" + + "pzs\030\356\366\205( \001(\010H\016\210\001\001\"\352\001\n\tContinent\022\027\n\023UNDEF" + + "INED_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_NORTH_AMERI" + + "CA\020\230\233\273\203\001\022\027\n\017C_SOUTH_AMERICA\020\340\214\260\275\001\022\016\n\006EUR" + + "OPE\020\242\323\312\324\001\022\025\n\rNORTH_AMERICA\020\224\331\320\325\001\022\024\n\rSOUT" + + "H_AMERICA\020\334\312\305\017\"A\n\006Status\022\024\n\020UNDEFINED_ST" + + "ATUS\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\024\n\022_availability_zoneB\007\n\005_" + + "cityB\014\n\n_continentB\025\n\023_creation_timestam" + + "pB\016\n\014_descriptionB\024\n\022_facility_providerB" + + " \n\036_facility_provider_facility_idB\005\n\003_id" + + "B\007\n\005_kindB\007\n\005_nameB\030\n\026_peeringdb_facilit" + + "y_idB\014\n\n_self_linkB\t\n\007_statusB\017\n\r_suppor" + + "ts_pzs\"\271\002\n\030InterconnectLocationList\022\020\n\002i" + + "d\030\233\032 \001(\tH\000\210\001\001\022?\n\005items\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\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\"\272\002\n\036InterconnectLocationRegionInfo\022 \n" + + "\017expected_rtt_ms\030\372\203\276\311\001 \001(\003H\000\210\001\001\022!\n\021locat" + + "ion_presence\030\305\224\2640 \001(\tH\001\210\001\001\022\026\n\006region\030\364\315\240" + + "B \001(\tH\002\210\001\001\"\205\001\n\020LocationPresence\022\037\n\033UNDEF" + + "INED_LOCATION_PRESENCE\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_REGION\020\303\332\375\350\001B\022\n\020_expected_" + + "rtt_msB\024\n\022_location_presenceB\t\n\007_region\"" + + "\205\005\n\036InterconnectOutageNotification\022\034\n\021af" + + "fected_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\ns" + + "tart_time\030\212\351\356\021 \001(\003H\005\210\001\001\022\025\n\005state\030\221\211\2534 \001(" + + "\tH\006\210\001\001\"w\n\tIssueType\022\030\n\024UNDEFINED_ISSUE_T" + + "YPE\020\000\022\020\n\tIT_OUTAGE\020\205\341\350S\022\030\n\021IT_PARTIAL_OU" + + "TAGE\020\243\312\365+\022\r\n\006OUTAGE\020\361\245\217]\022\025\n\016PARTIAL_OUTA" + + "GE\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\005" + + "State\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_ty" + + "peB\007\n\005_nameB\t\n\007_sourceB\r\n\013_start_timeB\010\n" + + "\006_state\"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\"\351\001\n\034InvalidateCacheUrlMapReq" + + "uest\022a\n cache_invalidation_rule_resource" + + "\030\255\303\223\225\001 \001(\0132..google.cloud.compute.v1.Cac" + + "heInvalidationRuleB\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_req" + + "uest_id\"D\n\005Items\022\022\n\003key\030\337\274\006 \001(\tH\000\210\001\001\022\025\n\005" + + "value\030\361\242\2625 \001(\tH\001\210\001\001B\006\n\004_keyB\010\n\006_value\"\375\003" + + "\n\007License\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" + + "(\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_requirements\030\241\262\227f \001(\01324.goo" + + "gle.cloud.compute.v1.LicenseResourceRequ" + + "irementsH\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_char" + + "ges_use_feeB\025\n\023_creation_timestampB\016\n\014_d" + + "escriptionB\005\n\003_idB\007\n\005_kindB\017\n\r_license_c" + + "odeB\007\n\005_nameB\030\n\026_resource_requirementsB\014" + + "\n\n_self_linkB\017\n\r_transferable\"\224\004\n\013Licens" + + "eCode\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\rlicen" + + "se_alias\030\322\221\342\024 \003(\01320.google.cloud.compute" + + ".v1.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" + + "\005state\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\nRE" + + "STRICTED\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_timesta" + + "mpB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_n" + + "ameB\014\n\n_self_linkB\010\n\006_stateB\017\n\r_transfer" + + "able\"q\n\027LicenseCodeLicenseAlias\022\034\n\013descr" + + "iption\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_am" + + "ountB\024\n\022_cores_per_licenseB\n\n\010_license\"\215" + + "\001\n\033LicenseResourceRequirements\022$\n\023min_gu" + + "est_cpu_count\030\244\324\364\343\001 \001(\005H\000\210\001\001\022\036\n\rmin_memo" + + "ry_mb\030\346\327\331\360\001 \001(\005H\001\210\001\001B\026\n\024_min_guest_cpu_c" + + "ountB\020\n\016_min_memory_mb\"\211\002\n\024LicensesListR" + + "esponse\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" + + "\017next_page_token\030\225\272\206& \001(\tH\001\210\001\001\022\032\n\tself_l" + + "ink\030\215\222\305\331\001 \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\022\n\020_next_page_tokenB\014\n\n_self_linkB\n" + + "\n\010_warning\"\263\002\n\033ListAcceleratorTypesReque" + + "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\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" - + "\"\356\002\n,ListErrorsRegionInstanceGroupManage" - + "rsRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026in" - + "stance_group_manager\030\303\367\363v \001(\tB\003\340A\002\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\"\240\002\n\036ListExternalVpnGatewaysReq" - + "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\"\256\002\n\033ListFirewallPol" - + "iciesRequest\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_p" - + "artial_success\030\266\244\317\366\001 \001(\010H\005\210\001\001B\t\n\007_filter" - + "B\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page_t" - + "okenB\014\n\n_parent_idB\031\n\027_return_partial_su", - "ccess\"\226\002\n\024ListFirewallsRequest\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\"\264\002\n\032ListForwardingRulesRequest\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\"\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_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\"\242\002\n ListGlobalForwardingRulesReques" - + "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\"\250\002\n&ListGlobalNetworkE" - + "ndpointGroupsRequest\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\"\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_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\"\272\002\n\'ListGlobalOrganizationOperation" - + "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\032\n\t" - + "parent_id\030\320\341\232\333\001 \001(\tH\004\210\001\001\022\'\n\026return_parti" - + "al_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_token" - + "B\014\n\n_parent_idB\031\n\027_return_partial_succes" - + "s\"\252\002\n(ListGlobalPublicDelegatedPrefixesR" - + "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\"\231\002\n\027ListHealthChe" - + "cksRequest\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\"\223\002\n\021ListImage" - + "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\"\270\002\n ListInstanc" - + "eGroupManagersRequest\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\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\"\261\002\n\031ListInstanceGrou" - + "psRequest\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\001\022\024\n\004zone\030\254\307\344\001 \001(\t" - + "B\003\340A\002B\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\"\236\002\n\034ListInstanceTemplatesRequest" - + "\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_result" - + "sB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return" - + "_partial_success\"\331\003\n\"ListInstancesInstan" - + "ceGroupsRequest\022\027\n\006filter\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/inst" - + "ance_groups_list_instances_request_resou" - + "rce\030\237\250\214\343\001 \001(\0132;.google.cloud.compute.v1." - + "InstanceGroupsListInstancesRequestB\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_pa" - + "rtial_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_par" - + "tial_success\"\356\003\n(ListInstancesRegionInst" - + "anceGroupsRequest\022\027\n\006filter\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\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\211\001\n6region_instance_groups_list_i" - + "nstances_request_resource\030\324\251\200\027 \001(\0132A.goo" - + "gle.cloud.compute.v1.RegionInstanceGroup" - + "sListInstancesRequestB\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\"\254\002\n\024ListIn" - + "stancesRequest\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\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_par" - + "tial_success\"\274\002\n\"ListInterconnectAttachm" - + "entsRequest\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\026\n\006region\030\364\315\240B " + + "\"\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\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\"]\n%ListAssocia" + + "tionsFirewallPolicyRequest\022 \n\017target_res" + + "ource\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_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\"\251\002\n\'ListAvaila" + + "bleFeaturesSslPoliciesRequest\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\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\"\233\002\n\031ListBackendBucketsRequest\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\"\242\002\n ListInterconnectLocation" - + "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\"\232\002\n\030ListInterco" - + "nnectsRequest\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\"\225\002\n\023ListLi" - + "censesRequest\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\"\232\002\n\030ListMa" - + "chineImagesRequest\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\"\257\002\n\027L" - + "istMachineTypesRequest\022\027\n\006filter\030\370\226\243\240\001 \001" + + "ial_success\"\234\002\n\032ListBackendServicesReque" + + "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\"\254\002\n\024ListDiskTypesRequ" + + "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\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_succes" + + "s\"\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\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\001\022\024\n\004" + "zone\030\254\307\344\001 \001(\tB\003\340A\002B\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\"\360\002\n0ListManagedInst" - + "ancesInstanceGroupManagersRequest\022\027\n\006fil" - + "ter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026instance_group_man" - + "ager\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\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\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\"\370\002\n6List" - + "ManagedInstancesRegionInstanceGroupManag" - + "ersRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026i" - + "nstance_group_manager\030\303\367\363v \001(\tB\003\340A\002\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\"\270\002\n ListNetworkEndpointGroups" - + "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\"\341\002\n6ListNetworkEndpointsGlobalNetw" - + "orkEndpointGroupsRequest\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\'" - + "\n\026network_endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022" + + "turn_partial_success\"\346\002\n&ListErrorsInsta" + + "nceGroupManagersRequest\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\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\"\356\002\n,ListErrorsRegi" + + "onInstanceGroupManagersRequest\022\027\n\006filter" + + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026instance_group_manage" + + "r\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_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\"\240\002\n\036ListE" + + "xternalVpnGatewaysRequest\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_succes" - + "s\"\377\003\n0ListNetworkEndpointsNetworkEndpoin" - + "tGroupsRequest\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\'\n\026network_" - + "endpoint_group\030\206\313\363\316\001 \001(\tB\003\340A\002\022\213\001\n7networ" - + "k_endpoint_groups_list_endpoints_request" - + "_resource\030\216\230\257\034 \001(\0132B.google.cloud.comput" - + "e.v1.NetworkEndpointGroupsListEndpointsR" - + "equestB\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\'\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\"\225\002\n\023" - + "ListNetworksRequest\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\"\255\002\n\025" - + "ListNodeGroupsRequest\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\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\"\262\002\n\030ListNodeTemplate" - + "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\024ListNodeTypesRequest\022\027\n\006fil" + + "s\"\256\002\n\033ListFirewallPoliciesRequest\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\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\"\317\002\n\032List" - + "NodesNodeGroupsRequest\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\n" - + "node_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022\030\n\010order_by\030\350\375" + + "e_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_byB\r\n\013_page_tokenB\014\n\n_parent_idB" + + "\031\n\027_return_partial_success\"\226\002\n\024ListFirew" + + "allsRequest\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\"\265\002\n\033ListPacketMirroringsReques" + + "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\"\264\002\n\032ListForw" + + "ardingRulesRequest\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\"\234\002\n\032ListGlobalAddress" + + "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\"\242\002\n ListGlobal" + + "ForwardingRulesRequest\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\"\250" + + "\002\n&ListGlobalNetworkEndpointGroupsReques" + "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\"\200\004\n ListPeeringRoutesNetworksRequest\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\307" - + "L \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_DIRECTION\020\000\022\020\n\010" - + "INCOMING\020\246\320\267\241\001\022\020\n\010OUTGOING\020\354\306\314\222\001B\014\n\n_dir" - + "ectionB\t\n\007_filterB\016\n\014_max_resultsB\013\n\t_or" - + "der_byB\r\n\013_page_tokenB\017\n\r_peering_nameB\t" - + "\n\007_regionB\031\n\027_return_partial_success\"\362\002\n" - + "2ListPerInstanceConfigsInstanceGroupMana" - + "gersRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026" - + "instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\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\"\372\002\n8ListPerInstanceConfigsRegi" - + "onInstanceGroupManagersRequest\022\027\n\006filter" - + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026instance_group_manage" - + "r\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_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\"\270\002\n6ListP" - + "reconfiguredExpressionSetsSecurityPolici" - + "esRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\033\n\013ma" + + "\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\033ListGlobalOperatio" + + "nsRequest\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\"\245\002\n#ListPublic" - + "AdvertisedPrefixesRequest\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_succes" - + "s\"\274\002\n\"ListPublicDelegatedPrefixesRequest" - + "\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\027_return_partial_success\"\272\002\n\'ListGlobal" + + "OrganizationOperationsRequest\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\032\n\tparent_id\030\320\341\232\333\001 \001(\t" + + "H\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_or" + + "der_byB\r\n\013_page_tokenB\014\n\n_parent_idB\031\n\027_" + + "return_partial_success\"\252\002\n(ListGlobalPub" + + "licDelegatedPrefixesRequest\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" + + "\001B\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\"\231\002\n\027ListHealthChecksRequest\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\"\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_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\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\"\270\002\n ListInstanceGroupManagersReque" + + "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\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" - + "\"\317\002\n\035ListReferrersInstancesRequest\022\027\n\006fi" - + "lter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\030\n\010instance\030\225\251\332\010 \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\"\266\002\n\034ListRegionAutosca" - + "lersRequest\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\026\n\006region\030\364\315\240B " + + "\"\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_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\"\236\002\n\034ListIns" + + "tanceTemplatesRequest\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\"\331\003" + + "\n\"ListInstancesInstanceGroupsRequest\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}\n/instance_groups_list_in" + + "stances_request_resource\030\237\250\214\343\001 \001(\0132;.goo" + + "gle.cloud.compute.v1.InstanceGroupsListI" + + "nstancesRequestB\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\'\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\"\272\002\n ListRegionBackendService" - + "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\"\266\002\n\034ListRegionCommitmentsReques" - + "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\"\264\002\n\032ListRegionDiskTypesRequest\022\027\n\006filt" + + " \001(\010H\004\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002B\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\"\356\003\n(Li" + + "stInstancesRegionInstanceGroupsRequest\022\027" + + "\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\036\n\016instance_grou" + + "p\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_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\211\001\n6region_i" + + "nstance_groups_list_instances_request_re" + + "source\030\324\251\200\027 \001(\0132A.google.cloud.compute.v" + + "1.RegionInstanceGroupsListInstancesReque" + + "stB\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\"\254\002\n\024ListInstancesRequest\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" + + "erB\016\n\014_max_resultsB\013\n\t_order_byB\r\n\013_page" + + "_tokenB\031\n\027_return_partial_success\"\274\002\n\"Li" + + "stInterconnectAttachmentsRequest\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\"\260\002\n\026Lis" - + "tRegionDisksRequest\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\026\n\006regi" - + "on\030\364\315\240B \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\"\276\002\n$ListRegionHealth" - + "CheckServicesRequest\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\"\267\002\n\035ListRegionHealt" - + "hChecksRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\210\001\001\022" + + "tokenB\031\n\027_return_partial_success\"\242\002\n Lis" + + "tInterconnectLocationsRequest\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\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\"\232\002\n\030ListInterconnectsRequest\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\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\"\225\002\n\023ListLicensesRequest\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\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\"\232\002\n\030ListMachineImagesRequest\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\"\257\002\n\027ListMachineTypesRequ" + + "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\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_succes" + + "s\"\360\002\n0ListManagedInstancesInstanceGroupM" + + "anagersRequest\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\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\"\300\002\n&ListRegionInstanceGro" - + "upManagersRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000\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\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_par" + + "tial_success\"\370\002\n6ListManagedInstancesReg" + + "ionInstanceGroupManagersRequest\022\027\n\006filte" + + "r\030\370\226\243\240\001 \001(\tH\000\210\001\001\022&\n\026instance_group_manag" + + "er\030\303\367\363v \001(\tB\003\340A\002\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\"\270\002\n List" + + "NetworkEndpointGroupsRequest\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\"\341\002\n6ListNetwo" + + "rkEndpointsGlobalNetworkEndpointGroupsRe" + + "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\'\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\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\"\377\003\n0ListNetworkEn" + + "dpointsNetworkEndpointGroupsRequest\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\'\n\026network_endpoint_group\030\206\313\363\316" + + "\001 \001(\tB\003\340A\002\022\213\001\n7network_endpoint_groups_l" + + "ist_endpoints_request_resource\030\216\230\257\034 \001(\0132" + + "B.google.cloud.compute.v1.NetworkEndpoin" + + "tGroupsListEndpointsRequestB\003\340A\002\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\"\244\002\n\"ListNetworkFirewall" + + "PoliciesRequest\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\"\225\002\n\023List" + + "NetworksRequest\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\"\255\002\n\025List" + + "NodeGroupsRequest\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\"\271\002\n\037ListRegionInstance" - + "GroupsRequest\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\"\300\002\n&ListRegionNetworkEndpo" - + "intGroupsRequest\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_result" - + "sB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return" - + "_partial_success\"\300\002\n&ListRegionNotificat" - + "ionEndpointsRequest\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\026\n\006regi" - + "on\030\364\315\240B \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\"\265\002\n\033ListRegionOperat" - + "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\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_part" - + "ial_success\"\272\002\n ListRegionSslCertificate" - + "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\"\274\002\n\"ListRegionTargetHttpProxies" + + "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\"\262\002\n\030ListNodeTemplatesReq" + + "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\"\254\002\n\024ListNodeTypesRequest\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\"\317\002\n\032ListNode" + + "sNodeGroupsRequest\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\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\"\265\002\n\033ListPacketMirroringsRequest\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\"\200\004" + + "\n ListPeeringRoutesNetworksRequest\022\031\n\tdi" + + "rection\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\007n" + + "etwork\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\014pe" + + "ering_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\026ret" + + "urn_partial_success\030\266\244\317\366\001 \001(\010H\007\210\001\001\"H\n\tDi" + + "rection\022\027\n\023UNDEFINED_DIRECTION\020\000\022\020\n\010INCO" + + "MING\020\246\320\267\241\001\022\020\n\010OUTGOING\020\354\306\314\222\001B\014\n\n_directi" + + "onB\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_r" + + "egionB\031\n\027_return_partial_success\"\362\002\n2Lis" + + "tPerInstanceConfigsInstanceGroupManagers" + + "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\'\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\"\372\002\n8ListPerInstanceConfigsRegionIn" + + "stanceGroupManagersRequest\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" + + "\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\"\270\002\n6ListPreco" + + "nfiguredExpressionSetsSecurityPoliciesRe" + + "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\"\245\002\n#ListPublicAdve" + + "rtisedPrefixesRequest\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\"\274\002" + + "\n\"ListPublicDelegatedPrefixesRequest\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\"\317\002\n" + + "\035ListReferrersInstancesRequest\022\027\n\006filter" + + "\030\370\226\243\240\001 \001(\tH\000\210\001\001\022\030\n\010instance\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\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\"\266\002\n\034ListRegionAutoscalers" + "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" @@ -9517,7 +9878,110 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\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\"\275\002\n#ListRegionTargetHttpsProxies" + + "success\"\272\002\n ListRegionBackendServicesReq" + + "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\"\266\002\n\034ListRegionCommitmentsRequest\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\"\264\002" + + "\n\032ListRegionDiskTypesRequest\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\"\260\002\n\026ListReg" + + "ionDisksRequest\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\"\276\002\n$ListRegionHealthChec" + + "kServicesRequest\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_result" + + "sB\013\n\t_order_byB\r\n\013_page_tokenB\031\n\027_return" + + "_partial_success\"\267\002\n\035ListRegionHealthChe" + + "cksRequest\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\"\300\002\n&ListRegionInstanceGroupMa" + + "nagersRequest\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\"\271\002\n\037ListRegionInstanceGrou" + + "psRequest\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\"\300\002\n&ListRegionNetworkEndpointG" + + "roupsRequest\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\"\302\002\n(ListRegionNetworkFirewa" + + "llPoliciesRequest\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\"\300\002\n&ListRegionNotifica" + + "tionEndpointsRequest\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\"\265\002\n\033ListRegionOpera" + + "tionsRequest\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\"\273\002\n!ListRegionSecurityPolic" + + "iesRequest\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\"\272\002\n ListRegionSslCertificates" + "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" @@ -9525,5882 +9989,6138 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\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\"\262\002\n\030ListRegionUrlMapsRequest\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\"\224\002\n" - + "\022ListRegionsRequest\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" + + "success\"\274\002\n\"ListRegionTargetHttpProxiesR" + + "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\"\275\002\n#ListRegionTargetHttpsProxiesR" + + "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\"\262\002\n\030ListRegionUrlMapsRequest\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\"\257\002\n\027" - + "ListReservationsRequest\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\"\265\002\n\033ListResourcePo" - + "liciesRequest\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\"\254\002\n\022ListRoutersRequest\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\"\223\002\n" - + "\021ListRoutesRequest\022\027\n\006filter\030\370\226\243\240\001 \001(\tH\000" + + "ge_tokenB\031\n\027_return_partial_success\"\224\002\n\022" + + "ListRegionsRequest\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\"\235\002\n\033L" - + "istSecurityPoliciesRequest\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\"\267\002\n\035ListServiceAttachmentsRequest\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" + + "e_tokenB\031\n\027_return_partial_success\"\257\002\n\027L" + + "istReservationsRequest\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\001\022\024\n\004" + + "zone\030\254\307\344\001 \001(\tB\003\340A\002B\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\"\265\002\n\033ListResourcePol" + + "iciesRequest\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\"\254\002\n\022ListRoutersRequest\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\"\223\002\n\021" + + "ListRoutesRequest\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\"\235\002\n\033Li" + + "stSecurityPoliciesRequest\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_succes" + + "s\"\267\002\n\035ListServiceAttachmentsRequest\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\"\226\002\n\024" + + "ListSnapshotsRequest\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\"\226\002\n" - + "\024ListSnapshotsRequest\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\"\234\002" - + "\n\032ListSslCertificatesRequest\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\"\230\002\n\026ListSslPoliciesRequest\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\"\260\002\n\026ListSubnetworksRequest\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\"\236\002\n\034L" - + "istTargetGrpcProxiesRequest\022\027\n\006filter\030\370\226" + + "age_tokenB\031\n\027_return_partial_success\"\234\002\n" + + "\032ListSslCertificatesRequest\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" + "\001B\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\"\236\002\n\034ListTargetHttpProxiesRequest\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\"\237\002\n\035ListTargetHttpsProxiesR" - + "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\"\262\002\n\032ListTargetIns" - + "tancesRequest\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\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\"\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_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\"\235" - + "\002\n\033ListTargetSslProxiesRequest\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\"\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_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\"\266\002\n\034ListTargetVpnGateways" - + "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\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\"\224\002\n\022ListUrlMapsRequest\022\027\n\006filter" + + "ess\"\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_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\"\236\002\n\034ListUsableSubnetworksRequest\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\"\260\002\n\026ListVpnGatewaysReque" - + "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\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\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\"\257\002\n\025ListVpnTunnelsRequest\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\"\215\003\n\033ListXpn" - + "HostsProjectsRequest\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\022n\n(pro" - + "jects_list_xpn_hosts_request_resource\030\227\320" - + "\316q \001(\01324.google.cloud.compute.v1.Project" - + "sListXpnHostsRequestB\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\"\261\002\n\031ListZon" - + "eOperationsRequest\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\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\"\222\002\n\020ListZonesRequest\022\027\n" + + "\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\026ListSubnetworksRequest\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" + + "stTargetGrpcProxiesRequest\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\"\236\002\n\034ListTargetHttpProxiesRequest\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\"\237\002\n\035ListTargetHttpsProxiesRe" + + "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\"\262\002\n\032ListTargetInst" + + "ancesRequest\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\"\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_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\"\235\002" + + "\n\033ListTargetSslProxiesRequest\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\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\"\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_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\"\217\001\n\tLocalDisk\022\032\n\ndisk_coun" - + "t\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_di" - + "sk_countB\017\n\r_disk_size_gbB\014\n\n_disk_type\"" - + "\302\001\n\016LocationPolicy\022M\n\tlocations\030\336\256\221\305\001 \003(" - + "\01326.google.cloud.compute.v1.LocationPoli" - + "cy.LocationsEntry\032a\n\016LocationsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022>\n\005value\030\002 \001(\0132/.google.cloud.c" - + "ompute.v1.LocationPolicyLocation:\0028\001\"\245\001\n" - + "\026LocationPolicyLocation\022\032\n\npreference\030\333\371" - + "\362G \001(\tH\000\210\001\001\"`\n\nPreference\022\030\n\024UNDEFINED_P" - + "REFERENCE\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\r\n\013_prefer" - + "ence\"\251\002\n\tLogConfig\022Q\n\013cloud_audit\030\321\302\356\304\001 " - + "\001(\01323.google.cloud.compute.v1.LogConfigC" - + "loudAuditOptionsH\000\210\001\001\022J\n\007counter\030\374\253\335\310\001 \001" - + "(\01320.google.cloud.compute.v1.LogConfigCo" - + "unterOptionsH\001\210\001\001\022Q\n\013data_access\030\231\337\326\210\001 \001" - + "(\01323.google.cloud.compute.v1.LogConfigDa" - + "taAccessOptionsH\002\210\001\001B\016\n\014_cloud_auditB\n\n\010" - + "_counterB\016\n\014_data_access\"\270\002\n\032LogConfigCl" - + "oudAuditOptions\022c\n\035authorization_logging" - + "_options\030\370\233\361g \001(\01324.google.cloud.compute" - + ".v1.AuthorizationLoggingOptionsH\000\210\001\001\022\031\n\010" - + "log_name\030\246\365\217\300\001 \001(\tH\001\210\001\001\"k\n\007LogName\022\026\n\022UN" - + "DEFINED_LOG_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_LO" - + "G_NAME\020\356\355\337\303\001B \n\036_authorization_logging_o" - + "ptionsB\013\n\t_log_name\"\265\001\n\027LogConfigCounter" - + "Options\022U\n\rcustom_fields\030\307\276\205w \003(\0132;.goog" - + "le.cloud.compute.v1.LogConfigCounterOpti" - + "onsCustomField\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_met" - + "ric\"d\n\"LogConfigCounterOptionsCustomFiel" - + "d\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\032LogConfigD" - + "ataAccessOptions\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_UNSP" - + "ECIFIED\020\266\364\204*B\013\n\t_log_mode\"\203\t\n\014MachineIma" - + "ge\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_fl" - + "ush\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\023" - + "instance_properties\030\235\236\330f \001(\0132+.google.cl" - + "oud.compute.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_en" - + "cryption_key\030\377\377\347\373\001 \001(\0132..google.cloud.co" - + "mpute.v1.CustomerEncryptionKeyH\006\210\001\001\022\024\n\004n" - + "ame\030\213\365\315\001 \001(\tH\007\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253\345\001" - + " \001(\010H\010\210\001\001\022;\n\013saved_disks\030\276\355\300\275\001 \003(\0132\".goo" - + "gle.cloud.compute.v1.SavedDisk\022\032\n\tself_l" - + "ink\030\215\222\305\331\001 \001(\tH\t\210\001\001\022Y\n\033source_disk_encryp" - + "tion_keys\030\262\370\317\260\001 \003(\01320.google.cloud.compu" - + "te.v1.SourceDiskEncryptionKey\022 \n\017source_" - + "instance\030\271\230\375\274\001 \001(\tH\n\210\001\001\022^\n\032source_instan" - + "ce_properties\030\371\321\313\342\001 \001(\01321.google.cloud.c" - + "ompute.v1.SourceInstancePropertiesH\013\210\001\001\022" - + "\026\n\006status\030\362\237\267V \001(\tH\014\210\001\001\022\035\n\021storage_locat" - + "ions\030\232\355\263\234\001 \003(\t\022#\n\023total_storage_bytes\030\354\207" - + "\204\' \001(\003H\r\210\001\001\"s\n\006Status\022\024\n\020UNDEFINED_STATU" - + "S\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\tUPLOAD" - + "ING\020\241\234\315\177B\025\n\023_creation_timestampB\016\n\014_desc" - + "riptionB\016\n\014_guest_flushB\005\n\003_idB\026\n\024_insta" - + "nce_propertiesB\007\n\005_kindB\037\n\035_machine_imag" - + "e_encryption_keyB\007\n\005_nameB\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" + + "rtial_success\"\266\002\n\034ListTargetVpnGatewaysR" + + "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\"\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\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\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\034ListUsableSubnetworksRequest\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\"\260\002\n\026ListVpnGatewaysReques" + + "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\"\257\002\n\025ListVpnTunnelsRequest\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\"\215\003\n\033ListXpnH" + + "ostsProjectsRequest\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\022n\n(proj" + + "ects_list_xpn_hosts_request_resource\030\227\320\316" + + "q \001(\01324.google.cloud.compute.v1.Projects" + + "ListXpnHostsRequestB\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\"\261\002\n\031ListZone" + + "OperationsRequest\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\"\222\002\n\020ListZonesRequest\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\"\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(\005" + + "H\001\210\001\001\022\031\n\tdisk_type\030\234\351\254, \001(\tH\002\210\001\001B\r\n\013_dis" + + "k_countB\017\n\r_disk_size_gbB\014\n\n_disk_type\"\302" + + "\001\n\016LocationPolicy\022M\n\tlocations\030\336\256\221\305\001 \003(\013" + + "26.google.cloud.compute.v1.LocationPolic" + + "y.LocationsEntry\032a\n\016LocationsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022>\n\005value\030\002 \001(\0132/.google.cloud.co" + + "mpute.v1.LocationPolicyLocation:\0028\001\"\245\001\n\026" + + "LocationPolicyLocation\022\032\n\npreference\030\333\371\362" + + "G \001(\tH\000\210\001\001\"`\n\nPreference\022\030\n\024UNDEFINED_PR" + + "EFERENCE\020\000\022\014\n\005ALLOW\020\251\326\336\035\022\n\n\004DENY\020\214\354\177\022\036\n\026" + + "PREFERENCE_UNSPECIFIED\020\263\353\316\354\001B\r\n\013_prefere" + + "nce\"\251\002\n\tLogConfig\022Q\n\013cloud_audit\030\321\302\356\304\001 \001" + + "(\01323.google.cloud.compute.v1.LogConfigCl" + + "oudAuditOptionsH\000\210\001\001\022J\n\007counter\030\374\253\335\310\001 \001(" + + "\01320.google.cloud.compute.v1.LogConfigCou" + + "nterOptionsH\001\210\001\001\022Q\n\013data_access\030\231\337\326\210\001 \001(" + + "\01323.google.cloud.compute.v1.LogConfigDat" + + "aAccessOptionsH\002\210\001\001B\016\n\014_cloud_auditB\n\n\010_" + + "counterB\016\n\014_data_access\"\270\002\n\032LogConfigClo" + + "udAuditOptions\022c\n\035authorization_logging_" + + "options\030\370\233\361g \001(\01324.google.cloud.compute." + + "v1.AuthorizationLoggingOptionsH\000\210\001\001\022\031\n\010l" + + "og_name\030\246\365\217\300\001 \001(\tH\001\210\001\001\"k\n\007LogName\022\026\n\022UND" + + "EFINED_LOG_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_op" + + "tionsB\013\n\t_log_name\"\265\001\n\027LogConfigCounterO" + + "ptions\022U\n\rcustom_fields\030\307\276\205w \003(\0132;.googl" + + "e.cloud.compute.v1.LogConfigCounterOptio" + + "nsCustomField\022\025\n\005field\030\372\301\272. \001(\tH\000\210\001\001\022\027\n\006" + + "metric\030\260\353\227\376\001 \001(\tH\001\210\001\001B\010\n\006_fieldB\t\n\007_metr" + + "ic\"d\n\"LogConfigCounterOptionsCustomField" + + "\022\024\n\004name\030\213\365\315\001 \001(\tH\000\210\001\001\022\025\n\005value\030\361\242\2625 \001(\t" + + "H\001\210\001\001B\007\n\005_nameB\010\n\006_value\"\235\001\n\032LogConfigDa" + + "taAccessOptions\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_UNSPE" + + "CIFIED\020\266\364\204*B\013\n\t_log_mode\"\203\t\n\014MachineImag" + + "e\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_flu" + + "sh\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\023i" + + "nstance_properties\030\235\236\330f \001(\0132+.google.clo" + + "ud.compute.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_enc" + + "ryption_key\030\377\377\347\373\001 \001(\0132..google.cloud.com" + + "pute.v1.CustomerEncryptionKeyH\006\210\001\001\022\024\n\004na" + + "me\030\213\365\315\001 \001(\tH\007\210\001\001\022\036\n\rsatisfies_pzs\030\253\335\253\345\001 " + + "\001(\010H\010\210\001\001\022;\n\013saved_disks\030\276\355\300\275\001 \003(\0132\".goog" + + "le.cloud.compute.v1.SavedDisk\022\032\n\tself_li" + + "nk\030\215\222\305\331\001 \001(\tH\t\210\001\001\022Y\n\033source_disk_encrypt" + + "ion_keys\030\262\370\317\260\001 \003(\01320.google.cloud.comput" + + "e.v1.SourceDiskEncryptionKey\022 \n\017source_i" + + "nstance\030\271\230\375\274\001 \001(\tH\n\210\001\001\022^\n\032source_instanc" + + "e_properties\030\371\321\313\342\001 \001(\01321.google.cloud.co" + + "mpute.v1.SourceInstancePropertiesH\013\210\001\001\022\026" + + "\n\006status\030\362\237\267V \001(\tH\014\210\001\001\022\035\n\021storage_locati" + + "ons\030\232\355\263\234\001 \003(\t\022#\n\023total_storage_bytes\030\354\207\204" + + "\' \001(\003H\r\210\001\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\017" + + "\n\007INVALID\020\327\373\355\374\001\022\014\n\005READY\020\203\303\217%\022\020\n\tUPLOADI" + + "NG\020\241\234\315\177B\025\n\023_creation_timestampB\016\n\014_descr" + + "iptionB\016\n\014_guest_flushB\005\n\003_idB\026\n\024_instan" + + "ce_propertiesB\007\n\005_kindB\037\n\035_machine_image" + + "_encryption_keyB\007\n\005_nameB\020\n\016_satisfies_p" + + "zsB\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\020MachineImageL" + + "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.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.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\"\312\006\n\013MachineType\022?\n\014accelerators\030\350\326\305\200\001" + + " \003(\0132%.google.cloud.compute.v1.Accelerat" + + "ors\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022" + + "G\n\ndeprecated\030\263\313\321\365\001 \001(\0132*.google.cloud.c" + + "ompute.v1.DeprecationStatusH\001\210\001\001\022\034\n\013desc" + + "ription\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_s" + + "pace_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\030m" + + "aximum_persistent_disks\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_mb\030\223\223\2507 \001(\005H\n\210\001\001\022\024\n\004n" + + "ame\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.ScratchDi" + + "sks\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_cp" + + "usB\005\n\003_idB\021\n\017_image_space_gbB\020\n\016_is_shar" + + "ed_cpuB\007\n\005_kindB\033\n\031_maximum_persistent_d" + + "isksB#\n!_maximum_persistent_disks_size_g" + + "bB\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=.goog" + + "le.cloud.compute.v1.MachineTypeAggregate" + + "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.MachineTypesScopedList:\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\"\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$.g" + + "oogle.cloud.compute.v1.MachineType\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\"\237" + + "\001\n\026MachineTypesScopedList\022>\n\rmachine_typ" + + "es\030\201\335\201& \003(\0132$.google.cloud.compute.v1.Ma" + + "chineType\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.c" + + "loud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning" + + "\"\257\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\010instan" + + "ce\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.ManagedI" + + "nstanceInstanceHealth\022\037\n\017instance_status" + + "\030\334\255\237S \001(\tH\003\210\001\001\022R\n\014last_attempt\030\244\254\250\317\001 \001(\013" + + "23.google.cloud.compute.v1.ManagedInstan" + + "ceLastAttemptH\004\210\001\001\022T\n\033preserved_state_fr" + + "om_config\030\342\353\205/ \001(\0132\'.google.cloud.comput" + + "e.v1.PreservedStateH\005\210\001\001\022U\n\033preserved_st" + + "ate_from_policy\030\322\257\276\340\001 \001(\0132\'.google.cloud" + + ".compute.v1.PreservedStateH\006\210\001\001\022I\n\007versi" + + "on\030\330\271\324\247\001 \001(\0132/.google.cloud.compute.v1.M" + + "anagedInstanceVersionH\007\210\001\001\"\205\002\n\rCurrentAc" + + "tion\022\034\n\030UNDEFINED_CURRENT_ACTION\020\000\022\022\n\nAB" + + "ANDONING\020\315\312\220\271\001\022\020\n\010CREATING\020\271\275\235\331\001\022 \n\030CREA" + + "TING_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\010" + + "RESUMING\020\252\373\211\325\001\022\020\n\010STARTING\020\300\240\213\351\001\022\020\n\tVERI" + + "FYING\020\251\301\214\010\"\355\001\n\016InstanceStatus\022\035\n\031UNDEFIN" + + "ED_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\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\tSUS" + + "PENDED\020\273\273\266\030\022\022\n\nSUSPENDING\020\246\324\230\365\001\022\021\n\nTERMI" + + "NATED\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_a" + + "ttemptB\036\n\034_preserved_state_from_configB\036" + + "\n\034_preserved_state_from_policyB\n\n\010_versi" + + "on\"\246\002\n\035ManagedInstanceInstanceHealth\022&\n\025" + + "detailed_health_state\030\235\320\264\363\001 \001(\tH\000\210\001\001\022\035\n\014" + + "health_check\030\345\252\244\223\001 \001(\tH\001\210\001\001\"\222\001\n\023Detailed" + + "HealthState\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\007TIMEOUT\020\301\262\353\343\001\022\021\n\tUNHEALTHY\020\304\271\255\334\001\022" + + "\017\n\007UNKNOWN\020\252\360\304\316\001B\030\n\026_detailed_health_sta" + + "teB\017\n\r_health_check\"a\n\032ManagedInstanceLa" + + "stAttempt\0228\n\006errors\030\353\336\325\226\001 \001(\0132\037.google.c" + + "loud.compute.v1.ErrorsH\000\210\001\001B\t\n\007_errors\"q" + + "\n\026ManagedInstanceVersion\022\"\n\021instance_tem" + + "plate\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\010Me" + + "tadata\022\033\n\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\0220\n\005i" + + "tems\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_fingerpr" + + "intB\007\n\005_kind\"\217\002\n\016MetadataFilter\022L\n\rfilte" + + "r_labels\030\246\365\350\222\001 \003(\01321.google.cloud.comput" + + "e.v1.MetadataFilterLabelMatch\022%\n\025filter_" + + "match_criteria\030\300\320\266r \001(\tH\000\210\001\001\"n\n\023FilterMa" + + "tchCriteria\022#\n\037UNDEFINED_FILTER_MATCH_CR" + + "ITERIA\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_filter_match_cr" + + "iteria\"Z\n\030MetadataFilterLabelMatch\022\024\n\004na" + + "me\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\"\275\001\n\026MoveDiskProjectRe" + + "quest\022U\n\032disk_move_request_resource\030\312\302\240\225" + + "\001 \001(\0132(.google.cloud.compute.v1.DiskMove" + + "RequestB\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\"\240\001\n\031MoveFirewallPolicyRequest" + + "\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022(\n\tpa" + + "rent_id\030\320\341\232\333\001 \001(\tB\014\362G\tparent_idH\000\210\001\001\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001B\014\n\n_parent_idB\r" + + "\n\013_request_id\"\311\001\n\032MoveInstanceProjectReq" + + "uest\022]\n\036instance_move_request_resource\030\302" + + "\274\316\224\001 \001(\0132,.google.cloud.compute.v1.Insta" + + "nceMoveRequestB\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_n" + + "ameB\007\n\005_port\"\267\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\035\n\rgateway_i_pv4\030\335\330\231U \001(\tH\005\210\001\001\022\020\n\002id" + + "\030\233\032 \001(\004H\006\210\001\001\022$\n\023internal_ipv6_range\030\247\317\246\204" + + "\001 \001(\tH\007\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\010\210\001\001\022\022\n\003mtu\030" + + "\256\317\006 \001(\005H\t\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\n\210\001\001\0229\n)ne" + + "twork_firewall_policy_enforcement_order\030" + + "\320\202\215\003 \001(\tH\013\210\001\001\022<\n\010peerings\030\263\252\251! \003(\0132\'.goo" + + "gle.cloud.compute.v1.NetworkPeering\022N\n\016r" + + "outing_config\030\333\251\323\371\001 \001(\0132-.google.cloud.c" + + "ompute.v1.NetworkRoutingConfigH\014\210\001\001\022\032\n\ts" + + "elf_link\030\215\222\305\331\001 \001(\tH\r\210\001\001\022!\n\021self_link_wit" + + "h_id\030\202\254\235\025 \001(\tH\016\210\001\001\022\027\n\013subnetworks\030\305\324\245\306\001 " + + "\003(\t\"\240\001\n%NetworkFirewallPolicyEnforcement" + + "Order\0227\n3UNDEFINED_NETWORK_FIREWALL_POLI" + + "CY_ENFORCEMENT_ORDER\020\000\022\035\n\026AFTER_CLASSIC_" + + "FIREWALL\020\320\374\332I\022\037\n\027BEFORE_CLASSIC_FIREWALL" + + "\020\355\355\261\241\001B\016\n\014_I_pv4_rangeB\032\n\030_auto_create_s" + + "ubnetworksB\025\n\023_creation_timestampB\016\n\014_de" + + "scriptionB\033\n\031_enable_ula_internal_ipv6B\020" + + "\n\016_gateway_i_pv4B\005\n\003_idB\026\n\024_internal_ipv" + + "6_rangeB\007\n\005_kindB\006\n\004_mtuB\007\n\005_nameB,\n*_ne" + + "twork_firewall_policy_enforcement_orderB" + + "\021\n\017_routing_configB\014\n\n_self_linkB\024\n\022_sel" + + "f_link_with_id\"\304\003\n\032NetworkEdgeSecuritySe" + + "rvice\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\013finge" + + "rprint\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\006region\030\364\315\240B \001(\tH\006\210\001\001\022\037\n\017security_p" + + "olicy\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_creation_timestampB\016\n\014_descriptio" + + "nB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB\007\n\005_na" + + "meB\t\n\007_regionB\022\n\020_security_policyB\014\n\n_se" + + "lf_linkB\024\n\022_self_link_with_id\"\216\004\n(Networ" + + "kEdgeSecurityServiceAggregatedList\022\024\n\004et" + + "ag\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\005it" + + "ems\030\300\317\367/ \003(\0132L.google.cloud.compute.v1.N" + + "etworkEdgeSecurityServiceAggregatedList." + + "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\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\"\213\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\022T\n\033preserved_state_f" - + "rom_config\030\342\353\205/ \001(\0132\'.google.cloud.compu" - + "te.v1.PreservedStateH\005\210\001\001\022U\n\033preserved_s" - + "tate_from_policy\030\322\257\276\340\001 \001(\0132\'.google.clou" - + "d.compute.v1.PreservedStateH\006\210\001\001\022I\n\007vers" - + "ion\030\330\271\324\247\001 \001(\0132/.google.cloud.compute.v1." - + "ManagedInstanceVersionH\007\210\001\001\"\341\001\n\rCurrentA" - + "ction\022\034\n\030UNDEFINED_CURRENT_ACTION\020\000\022\022\n\nA" - + "BANDONING\020\315\312\220\271\001\022\020\n\010CREATING\020\271\275\235\331\001\022 \n\030CRE" - + "ATING_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" - + "\tVERIFYING\020\251\301\214\010\"\355\001\n\016InstanceStatus\022\035\n\031UN" - + "DEFINED_INSTANCE_STATUS\020\000\022\026\n\016DEPROVISION" - + "ING\020\356\223\304\314\001\022\024\n\014PROVISIONING\020\355\365\332\212\001\022\021\n\tREPAI" - + "RING\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\nSUSPENDING\020\246\324\230\365\001\022\021\n\n" - + "TERMINATED\020\243\364\233wB\021\n\017_current_actionB\005\n\003_i" - + "dB\013\n\t_instanceB\022\n\020_instance_statusB\017\n\r_l" - + "ast_attemptB\036\n\034_preserved_state_from_con" - + "figB\036\n\034_preserved_state_from_policyB\n\n\010_", - "version\"\246\002\n\035ManagedInstanceInstanceHealt" - + "h\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\023Det" - + "ailedHealthState\022#\n\037UNDEFINED_DETAILED_H" - + "EALTH_STATE\020\000\022\020\n\010DRAINING\020\352\325\214\345\001\022\017\n\007HEALT" - + "HY\020\375\252\333\321\001\022\017\n\007TIMEOUT\020\301\262\353\343\001\022\021\n\tUNHEALTHY\020\304" - + "\271\255\334\001\022\017\n\007UNKNOWN\020\252\360\304\316\001B\030\n\026_detailed_healt" - + "h_stateB\017\n\r_health_check\"a\n\032ManagedInsta" - + "nceLastAttempt\0228\n\006errors\030\353\336\325\226\001 \001(\0132\037.goo" - + "gle.cloud.compute.v1.ErrorsH\000\210\001\001B\t\n\007_err" - + "ors\"q\n\026ManagedInstanceVersion\022\"\n\021instanc" - + "e_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.comput" - + "e.v1.Items\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001B\016\n\014_fin" - + "gerprintB\007\n\005_kind\"\217\002\n\016MetadataFilter\022L\n\r" - + "filter_labels\030\246\365\350\222\001 \003(\01321.google.cloud.c" - + "ompute.v1.MetadataFilterLabelMatch\022%\n\025fi" - + "lter_match_criteria\030\300\320\266r \001(\tH\000\210\001\001\"n\n\023Fil" - + "terMatchCriteria\022#\n\037UNDEFINED_FILTER_MAT" - + "CH_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_filter_mat" - + "ch_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_nameB\010\n\006_value\"\275\001\n\026MoveDiskProj" - + "ectRequest\022U\n\032disk_move_request_resource" - + "\030\312\302\240\225\001 \001(\0132(.google.cloud.compute.v1.Dis" - + "kMoveRequestB\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\"\240\001\n\031MoveFirewallPolicyRe" - + "quest\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022" - + "(\n\tparent_id\030\320\341\232\333\001 \001(\tB\014\362G\tparent_idH\000\210\001" - + "\001\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\014\n\n_parent" - + "_idB\r\n\013_request_id\"\311\001\n\032MoveInstanceProje" - + "ctRequest\022]\n\036instance_move_request_resou" - + "rce\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\004n" - + "ame\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\"\354\004\n\007Network\022\033\n\013I_pv4_r" - + "ange\030\266\260\237\034 \001(\tH\000\210\001\001\022\'\n\027auto_create_subnet" - + "works\030\222\310\222z \001(\010H\001\210\001\001\022\"\n\022creation_timestam" - + "p\030\266\217\307\016 \001(\tH\002\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\t" - + "H\003\210\001\001\022\035\n\rgateway_i_pv4\030\335\330\231U \001(\tH\004\210\001\001\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\022\022\n\003" - + "mtu\030\256\317\006 \001(\005H\007\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\010\210\001\001\022<" - + "\n\010peerings\030\263\252\251! \003(\0132\'.google.cloud.compu" - + "te.v1.NetworkPeering\022N\n\016routing_config\030\333" - + "\251\323\371\001 \001(\0132-.google.cloud.compute.v1.Netwo" - + "rkRoutingConfigH\t\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 " - + "\001(\tH\n\210\001\001\022\027\n\013subnetworks\030\305\324\245\306\001 \003(\tB\016\n\014_I_" - + "pv4_rangeB\032\n\030_auto_create_subnetworksB\025\n" - + "\023_creation_timestampB\016\n\014_descriptionB\020\n\016" - + "_gateway_i_pv4B\005\n\003_idB\007\n\005_kindB\006\n\004_mtuB\007" - + "\n\005_nameB\021\n\017_routing_configB\014\n\n_self_link" - + "\"\251\002\n\017NetworkEndpoint\022Q\n\013annotations\030\244\366\2655" - + " \003(\01329.google.cloud.compute.v1.NetworkEn" - + "dpoint.AnnotationsEntry\022\024\n\004fqdn\030\225\245\300\001 \001(\t" - + "H\000\210\001\001\022\030\n\010instance\030\225\251\332\010 \001(\tH\001\210\001\001\022\033\n\nip_ad" - + "dress\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\005v" - + "alue\030\002 \001(\t:\0028\001B\007\n\005_fqdnB\013\n\t_instanceB\r\n\013" - + "_ip_addressB\007\n\005_port\"\222\n\n\024NetworkEndpoint" - + "Group\022V\n\013annotations\030\244\366\2655 \003(\0132>.google.c" - + "loud.compute.v1.NetworkEndpointGroup.Ann" - + "otationsEntry\022S\n\napp_engine\030\240\214\300\242\001 \001(\01326." - + "google.cloud.compute.v1.NetworkEndpointG" - + "roupAppEngineH\000\210\001\001\022[\n\016cloud_function\030\242\345\363" - + "\367\001 \001(\0132:.google.cloud.compute.v1.Network" - + "EndpointGroupCloudFunctionH\001\210\001\001\022P\n\tcloud" - + "_run\030\201\313\3724 \001(\01325.google.cloud.compute.v1." - + "NetworkEndpointGroupCloudRunH\002\210\001\001\022\"\n\022cre" - + "ation_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\007netw" - + "ork\030\256\264\205o \001(\tH\t\210\001\001\022%\n\025network_endpoint_ty" - + "pe\030\323\306\2648 \001(\tH\n\210\001\001\022#\n\022psc_target_service\030\346" - + "\302\252\200\001 \001(\tH\013\210\001\001\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\024\n\004size\030\201\300\327\001 \001" - + "(\005H\016\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\017\210\001\001\022\024\n\004" - + "zone\030\254\307\344\001 \001(\tH\020\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\023Netwo" - + "rkEndpointType\022#\n\037UNDEFINED_NETWORK_ENDP" - + "OINT_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_" - + "PRIVATE_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_ap" - + "p_engineB\021\n\017_cloud_functionB\014\n\n_cloud_ru" - + "nB\025\n\023_creation_timestampB\017\n\r_default_por" - + "tB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_na" - + "meB\n\n\010_networkB\030\n\026_network_endpoint_type" - + "B\025\n\023_psc_target_serviceB\t\n\007_regionB\014\n\n_s" - + "elf_linkB\007\n\005_sizeB\r\n\013_subnetworkB\007\n\005_zon" - + "e\"\335\003\n\"NetworkEndpointGroupAggregatedList" - + "\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022X\n\005items\030\300\317\367/ \003(\0132F.g" + + "e.v1.WarningH\005\210\001\001\032l\n\nItemsEntry\022\013\n\003key\030\001" + + " \001(\t\022M\n\005value\030\002 \001(\0132>.google.cloud.compu" + + "te.v1.NetworkEdgeSecurityServicesScopedL" + + "ist:\0028\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\"\316" + + "\001\n%NetworkEdgeSecurityServicesScopedList" + + "\022^\n\036network_edge_security_services\030\254\313\370\020 " + + "\003(\01323.google.cloud.compute.v1.NetworkEdg" + + "eSecurityService\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" + + "oogle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_" + + "warning\"\251\002\n\017NetworkEndpoint\022Q\n\013annotatio" + + "ns\030\244\366\2655 \003(\01329.google.cloud.compute.v1.Ne" + + "tworkEndpoint.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_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_fqdnB\013\n\t_insta" + + "nceB\r\n\013_ip_addressB\007\n\005_port\"\222\n\n\024NetworkE" + + "ndpointGroup\022V\n\013annotations\030\244\366\2655 \003(\0132>.g" + "oogle.cloud.compute.v1.NetworkEndpointGr" - + "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\032f\n\nI" - + "temsEntry\022\013\n\003key\030\001 \001(\t\022G\n\005value\030\002 \001(\01328." - + "google.cloud.compute.v1.NetworkEndpointG" - + "roupsScopedList:\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\"\222\001\n\035NetworkEndpointGroupAppEngine\022\030\n\007s" - + "ervice\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_se" - + "rviceB\013\n\t_url_maskB\n\n\010_version\"r\n!Networ" - + "kEndpointGroupCloudFunction\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\001" - + "B\013\n\t_functionB\013\n\t_url_mask\"\207\001\n\034NetworkEn" - + "dpointGroupCloudRun\022\030\n\007service\030\265\215\217\262\001 \001(\t" - + "H\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\030NetworkEndpointGroupList\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.NetworkEndpointGroup\022\024\n\004" + + "oup.AnnotationsEntry\022S\n\napp_engine\030\240\214\300\242\001" + + " \001(\01326.google.cloud.compute.v1.NetworkEn" + + "dpointGroupAppEngineH\000\210\001\001\022[\n\016cloud_funct" + + "ion\030\242\345\363\367\001 \001(\0132:.google.cloud.compute.v1." + + "NetworkEndpointGroupCloudFunctionH\001\210\001\001\022P" + + "\n\tcloud_run\030\201\313\3724 \001(\01325.google.cloud.comp" + + "ute.v1.NetworkEndpointGroupCloudRunH\002\210\001\001" + + "\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\003\210\001\001\022\035\n\014" + + "default_port\030\277\367\360\311\001 \001(\005H\004\210\001\001\022\034\n\013descripti" + + "on\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\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" + + "\027\n\007network\030\256\264\205o \001(\tH\t\210\001\001\022%\n\025network_endp" + + "oint_type\030\323\306\2648 \001(\tH\n\210\001\001\022#\n\022psc_target_se" + + "rvice\030\346\302\252\200\001 \001(\tH\013\210\001\001\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\024\n\004size" + + "\030\201\300\327\001 \001(\005H\016\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\017" + + "\210\001\001\022\024\n\004zone\030\254\307\344\001 \001(\tH\020\210\001\001\0322\n\020Annotations" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\360\001" + + "\n\023NetworkEndpointType\022#\n\037UNDEFINED_NETWO" + + "RK_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\022INTERNET_FQDN_P" + + "ORT\020\355\320\333\300\001\022\030\n\020INTERNET_IP_PORT\020\233\333\345\343\001\022\037\n\027N" + + "ON_GCP_PRIVATE_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\001" + + "B\r\n\013_app_engineB\021\n\017_cloud_functionB\014\n\n_c" + + "loud_runB\025\n\023_creation_timestampB\017\n\r_defa" + + "ult_portB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kind" + + "B\007\n\005_nameB\n\n\010_networkB\030\n\026_network_endpoi" + + "nt_typeB\025\n\023_psc_target_serviceB\t\n\007_regio" + + "nB\014\n\n_self_linkB\007\n\005_sizeB\r\n\013_subnetworkB" + + "\007\n\005_zone\"\335\003\n\"NetworkEndpointGroupAggrega" + + "tedList\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.NetworkEnd" + + "pointGroupAggregatedList.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\032f\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022G\n\005value\030\002" + + " \001(\01328.google.cloud.compute.v1.NetworkEn" + + "dpointGroupsScopedList:\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\"\222\001\n\035NetworkEndpointGroupAppEngi" + + "ne\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\001" + + "B\n\n\010_serviceB\013\n\t_url_maskB\n\n\010_version\"r\n" + + "!NetworkEndpointGroupCloudFunction\022\031\n\010fu" + + "nction\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\034Ne" + + "tworkEndpointGroupCloudRun\022\030\n\007service\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\030NetworkEndpointGroupList" + + "\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.NetworkEndpointGr", + "oup\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\"u\n+NetworkEndpointGroupsAttachEn" + + "dpointsRequest\022F\n\021network_endpoints\030\255\221\272G" + + " \003(\0132(.google.cloud.compute.v1.NetworkEn" + + "dpoint\"u\n+NetworkEndpointGroupsDetachEnd" + + "pointsRequest\022F\n\021network_endpoints\030\255\221\272G " + + "\003(\0132(.google.cloud.compute.v1.NetworkEnd" + + "point\"\244\001\n)NetworkEndpointGroupsListEndpo" + + "intsRequest\022\036\n\rhealth_status\030\265\326\272\265\001 \001(\tH\000" + + "\210\001\001\"E\n\014HealthStatus\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_h" + + "ealth_status\"\253\002\n)NetworkEndpointGroupsLi" + + "stNetworkEndpoints\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022J\n\005" + + "items\030\300\317\367/ \003(\01328.google.cloud.compute.v1" + + ".NetworkEndpointWithHealthStatus\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\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clo" + + "ud.compute.v1.WarningH\003\210\001\001B\005\n\003_idB\007\n\005_ki" + + "ndB\022\n\020_next_page_tokenB\n\n\010_warning\"\273\001\n\037N" + + "etworkEndpointGroupsScopedList\022Q\n\027networ" + + "k_endpoint_groups\030\255\227\377\r \003(\0132-.google.clou" + + "d.compute.v1.NetworkEndpointGroup\0229\n\007war" + + "ning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1." + + "WarningH\000\210\001\001B\n\n\010_warning\"\317\001\n\037NetworkEndp" + + "ointWithHealthStatus\022K\n\007healths\030\227\223\255{ \003(\013" + + "27.google.cloud.compute.v1.HealthStatusF" + + "orNetworkEndpoint\022J\n\020network_endpoint\030\206\221" + + "\212\033 \001(\0132(.google.cloud.compute.v1.Network" + + "EndpointH\000\210\001\001B\023\n\021_network_endpoint\"\306\010\n\020N" + + "etworkInterface\022@\n\016access_configs\030\226\273\3724 \003" + + "(\0132%.google.cloud.compute.v1.AccessConfi" + + "g\022A\n\017alias_ip_ranges\030\277\203\334N \003(\0132%.google.c" + + "loud.compute.v1.AliasIpRange\022\033\n\013fingerpr" + + "int\030\344\321\363o \001(\tH\000\210\001\001\022+\n\033internal_ipv6_prefi" + + "x_length\030\235\203\231a \001(\005H\001\210\001\001\022F\n\023ipv6_access_co" + + "nfigs\030\356\345\304\346\001 \003(\0132%.google.cloud.compute.v" + + "1.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\033\n\013network" + + "_i_p\030\211\261\345b \001(\tH\007\210\001\001\022\030\n\010nic_type\030\221\306\302\034 \001(\tH" + + "\010\210\001\001\022\034\n\013queue_count\030\341\370\227\360\001 \001(\005H\t\210\001\001\022\033\n\nst" + + "ack_type\030\221\265\213\313\001 \001(\tH\n\210\001\001\022\033\n\nsubnetwork\030\356\247" + + "\344\222\001 \001(\tH\013\210\001\001\"y\n\016Ipv6AccessType\022\036\n\032UNDEFI" + + "NED_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_AC" + + "CESS_TYPE\020\245\366\244\225\001\"`\n\007NicType\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\nVIRTIO_NET\020\331\266\313\327\001\"i\n\tSta" + + "ckType\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\026UNSPECIF" + + "IED_STACK_TYPE\020\331\321\221\216\001B\016\n\014_fingerprintB\036\n\034" + + "_internal_ipv6_prefix_lengthB\023\n\021_ipv6_ac" + + "cess_typeB\017\n\r_ipv6_addressB\007\n\005_kindB\007\n\005_" + + "nameB\n\n\010_networkB\016\n\014_network_i_pB\013\n\t_nic" + + "_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(\t" + + "H\000\210\001\001\0222\n\005items\030\300\317\367/ \003(\0132 .google.cloud.c" + + "ompute.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(\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\"\303\005\n\016NetworkPeering" + + "\022\"\n\022auto_create_routes\030\335\342\262\033 \001(\010H\000\210\001\001\022&\n\026" + + "exchange_subnet_routes\030\320\312\306\014 \001(\010H\001\210\001\001\022$\n\024" + + "export_custom_routes\030\215\245\337\034 \001(\010H\002\210\001\001\0223\n#ex" + + "port_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(\010" + + "H\004\210\001\001\0223\n#import_subnet_routes_with_publi" + + "c_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\025\n\005state\030\221\211\2534 \001(\tH\t\210\001\001\022\035\n\rst" + + "ate_details\030\224\371\310- \001(\tH\n\210\001\001\">\n\005State\022\023\n\017UN" + + "DEFINED_STATE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\020\n\010INACT" + + "IVE\020\353\230\371\200\001B\025\n\023_auto_create_routesB\031\n\027_exc" + + "hange_subnet_routesB\027\n\025_export_custom_ro" + + "utesB&\n$_export_subnet_routes_with_publi" + + "c_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\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." + + "google.cloud.compute.v1.NodeTemplateAggr" + + "egatedList.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\t" + + "self_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.c" + + "loud.compute.v1.WarningH\004\210\001\001\032^\n\nItemsEnt" + + "ry\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_token" + + "B\014\n\n_self_linkB\n\n\010_warning\"\251\002\n\020NodeTempl" + + "ateList\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.NodeTempla" + + "te\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\"\216\001\n\037NodeTemplateNodeTypeFlexibili" + + "ty\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\006memory\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\027Node" + + "TemplatesScopedList\022A\n\016node_templates\030\274\242" + + "\355\250\001 \003(\0132%.google.cloud.compute.v1.NodeTe" + + "mplate\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\004" + + "\n\010NodeType\022\035\n\014cpu_platform\030\252\352\321\303\001 \001(\tH\000\210\001" + + "\001\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022G\n" + + "\ndeprecated\030\263\313\321\365\001 \001(\0132*.google.cloud.com" + + "pute.v1.DeprecationStatusH\002\210\001\001\022\034\n\013descri" + + "ption\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\014local_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\tself_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_timestampB\r\n\013_deprecatedB\016\n\014_d" + + "escriptionB\r\n\013_guest_cpusB\005\n\003_idB\007\n\005_kin" + + "dB\017\n\r_local_ssd_gbB\014\n\n_memory_mbB\007\n\005_nam" + + "eB\014\n\n_self_linkB\007\n\005_zone\"\271\003\n\026NodeTypeAgg" + + "regatedList\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.NodeTy" + + "peAggregatedList.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\032Z\n\nIt" + + "emsEntry\022\013\n\003key\030\001 \001(\t\022;\n\005value\030\002 \001(\0132,.g" + + "oogle.cloud.compute.v1.NodeTypesScopedLi" + + "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\"\241\002\n\014NodeTyp" + + "eList\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\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" - + "\"u\n+NetworkEndpointGroupsAttachEndpoints" - + "Request\022F\n\021network_endpoints\030\255\221\272G \003(\0132(." - + "google.cloud.compute.v1.NetworkEndpoint\"" - + "u\n+NetworkEndpointGroupsDetachEndpointsR" - + "equest\022F\n\021network_endpoints\030\255\221\272G \003(\0132(.g" - + "oogle.cloud.compute.v1.NetworkEndpoint\"\244" - + "\001\n)NetworkEndpointGroupsListEndpointsReq" - + "uest\022\036\n\rhealth_status\030\265\326\272\265\001 \001(\tH\000\210\001\001\"E\n\014" - + "HealthStatus\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_s" - + "tatus\"\253\002\n)NetworkEndpointGroupsListNetwo" - + "rkEndpoints\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022J\n\005items\030\300" - + "\317\367/ \003(\01328.google.cloud.compute.v1.Networ" - + "kEndpointWithHealthStatus\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" - + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" - + "ute.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\037NetworkE" - + "ndpointGroupsScopedList\022Q\n\027network_endpo" - + "int_groups\030\255\227\377\r \003(\0132-.google.cloud.compu" - + "te.v1.NetworkEndpointGroup\0229\n\007warning\030\234\337" + + "\"\227\001\n\023NodeTypesScopedList\0229\n\nnode_types\030\374" + + "\277\365\345\001 \003(\0132!.google.cloud.compute.v1.NodeT" + + "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\"\220\003\n\024N" + + "otificationEndpoint\022\"\n\022creation_timestam" + + "p\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\t" + + "H\001\210\001\001\022Y\n\rgrpc_settings\030\244\306\300\331\001 \001(\01329.googl" + + "e.cloud.compute.v1.NotificationEndpointG" + + "rpcSettingsH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\024\n\004ki" + + "nd\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_creation_timestampB\016\n\014_de" + + "scriptionB\020\n\016_grpc_settingsB\005\n\003_idB\007\n\005_k" + + "indB\007\n\005_nameB\t\n\007_regionB\014\n\n_self_link\"\267\002" + + "\n NotificationEndpointGrpcSettings\022\032\n\tau" + + "thority\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\014payload_name\030\234\265\234\217\001 \001(\tH\002\210\001\001\022" + + "C\n\017resend_interval\030\311\270\210\344\001 \001(\0132!.google.cl" + + "oud.compute.v1.DurationH\003\210\001\001\022\"\n\022retry_du" + + "ration_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_retry_duration_sec\"\271\002\n\030Noti" + + "ficationEndpointList\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.NotificationEndpoint\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\0229\n\007warning\030\234\337" + + "\226\030 \001(\0132 .google.cloud.compute.v1.Warning" + + "H\004\210\001\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\"\333\t\n\tOperatio" + + "n\022$\n\023client_operation_id\030\347\215\336\215\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\013d" + + "escription\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.c" + + "loud.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_erro" + + "r_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\013insert_time\030\223\251\350\316\001 \001(\tH\010\210\001" + + "\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\t\210\001\001\022\031\n\004name\030\213\365\315\001 \001(\t" + + "B\003\350G\001H\n\210\001\001\022\"\n\022operation_group_id\030\263\355\223\023 \001(" + + "\tH\013\210\001\001\022\036\n\016operation_type\030\222\366\332T \001(\tH\014\210\001\001\022\030" + + "\n\010progress\030\255\204\323\" \001(\005H\r\210\001\001\022\026\n\006region\030\364\315\240B " + + "\001(\tH\016\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\017\210\001\001\022\032\n\n" + + "start_time\030\212\351\356\021 \001(\tH\020\210\001\001\022F\n\006status\030\362\237\267V " + + "\001(\0162).google.cloud.compute.v1.Operation." + + "StatusB\003\350G\002H\021\210\001\001\022\037\n\016status_message\030\272\311\351\215\001" + + " \001(\tH\022\210\001\001\022\031\n\ttarget_id\030\211\225\215{ \001(\004H\023\210\001\001\022\033\n\013" + + "target_link\030\350\223\361\035 \001(\tH\024\210\001\001\022\024\n\004user\030\313\327\333\001 \001" + + "(\tH\025\210\001\001\0227\n\010warnings\030\327\210\301\355\001 \003(\0132!.google.c" + + "loud.compute.v1.Warnings\022\024\n\004zone\030\254\307\344\001 \001(" + + "\tH\026\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_creation" + + "_timestampB\016\n\014_descriptionB\013\n\t_end_timeB" + + "\010\n\006_errorB\025\n\023_http_error_messageB\031\n\027_htt" + + "p_error_status_codeB\005\n\003_idB\016\n\014_insert_ti" + + "meB\007\n\005_kindB\007\n\005_nameB\025\n\023_operation_group" + + "_idB\021\n\017_operation_typeB\013\n\t_progressB\t\n\007_" + + "regionB\014\n\n_self_linkB\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\027Op" + + "erationAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022" + + "M\n\005items\030\300\317\367/ \003(\0132;.google.cloud.compute" + + ".v1.OperationAggregatedList.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.Warning" - + "H\000\210\001\001B\n\n\010_warning\"\317\001\n\037NetworkEndpointWit" - + "hHealthStatus\022K\n\007healths\030\227\223\255{ \003(\01327.goog" - + "le.cloud.compute.v1.HealthStatusForNetwo" - + "rkEndpoint\022J\n\020network_endpoint\030\206\221\212\033 \001(\0132" - + "(.google.cloud.compute.v1.NetworkEndpoin" - + "tH\000\210\001\001B\023\n\021_network_endpoint\"\347\007\n\020NetworkI" - + "nterface\022@\n\016access_configs\030\226\273\3724 \003(\0132%.go" - + "ogle.cloud.compute.v1.AccessConfig\022A\n\017al" - + "ias_ip_ranges\030\277\203\334N \003(\0132%.google.cloud.co" - + "mpute.v1.AliasIpRange\022\033\n\013fingerprint\030\344\321\363" - + "o \001(\tH\000\210\001\001\022F\n\023ipv6_access_configs\030\356\345\304\346\001 " - + "\003(\0132%.google.cloud.compute.v1.AccessConf" - + "ig\022!\n\020ipv6_access_type\030\335\365\321\360\001 \001(\tH\001\210\001\001\022\035\n" - + "\014ipv6_address\030\234\263\357\242\001 \001(\tH\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\027\n\007netw" - + "ork\030\256\264\205o \001(\tH\005\210\001\001\022\033\n\013network_i_p\030\211\261\345b \001(" - + "\tH\006\210\001\001\022\030\n\010nic_type\030\221\306\302\034 \001(\tH\007\210\001\001\022\034\n\013queu" - + "e_count\030\341\370\227\360\001 \001(\005H\010\210\001\001\022\033\n\nstack_type\030\221\265\213" - + "\313\001 \001(\tH\t\210\001\001\022\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tH\n\210\001\001" - + "\"g\n\016Ipv6AccessType\022\036\n\032UNDEFINED_IPV6_ACC" - + "ESS_TYPE\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022$\n\034UNSPECIFI" - + "ED_IPV6_ACCESS_TYPE\020\245\366\244\225\001\"`\n\007NicType\022\026\n\022" - + "UNDEFINED_NIC_TYPE\020\000\022\014\n\005GVNIC\020\231\225\303 \022\033\n\024UN" - + "SPECIFIED_NIC_TYPE\020\331\276\222 \022\022\n\nVIRTIO_NET\020\331\266" - + "\313\327\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\n\022\036" - + "\n\026UNSPECIFIED_STACK_TYPE\020\331\321\221\216\001B\016\n\014_finge" - + "rprintB\023\n\021_ipv6_access_typeB\017\n\r_ipv6_add" - + "ressB\007\n\005_kindB\007\n\005_nameB\n\n\010_networkB\016\n\014_n" - + "etwork_i_pB\013\n\t_nic_typeB\016\n\014_queue_countB" - + "\r\n\013_stack_typeB\r\n\013_subnetwork\"\237\002\n\013Networ" - + "kList\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\004k" + + "H\004\210\001\001\032[\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022<\n\005valu" + + "e\030\002 \001(\0132-.google.cloud.compute.v1.Operat" + + "ionsScopedList:\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" + + "\"\243\002\n\rOperationList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0224\n\005" + + "items\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_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\"\230\001\n\024OperationsScopedList\022" + + "9\n\noperations\030\354\257\377\001 \003(\0132\".google.cloud.co" + + "mpute.v1.Operation\0229\n\007warning\030\234\337\226\030 \001(\0132 " + + ".google.cloud.compute.v1.WarningH\000\210\001\001B\n\n" + + "\010_warning\"\332\006\n\020OutlierDetection\022E\n\022base_e" + + "jection_time\030\207\327\317& \001(\0132!.google.cloud.com" + + "pute.v1.DurationH\000\210\001\001\022#\n\022consecutive_err" + + "ors\030\240\263\320\270\001 \001(\005H\001\210\001\001\022,\n\033consecutive_gatewa" + + "y_failure\030\372\267\212\307\001 \001(\005H\002\210\001\001\022,\n\034enforcing_co" + + "nsecutive_errors\030\300\323\320e \001(\005H\003\210\001\001\0226\n%enforc" + + "ing_consecutive_gateway_failure\030\332\337\212\274\001 \001(" + + "\005H\004\210\001\001\022&\n\026enforcing_success_rate\030\274\357\337\\ \001(" + + "\005H\005\210\001\001\022;\n\010interval\030\305\311\377\017 \001(\0132!.google.clo" + + "ud.compute.v1.DurationH\006\210\001\001\022$\n\024max_eject" + + "ion_percent\030\230\246\345\010 \001(\005H\007\210\001\001\022+\n\032success_rat" + + "e_minimum_hosts\030\367\241\332\372\001 \001(\005H\010\210\001\001\022,\n\033succes" + + "s_rate_request_volume\030\315\353\230\206\001 \001(\005H\t\210\001\001\022)\n\031" + + "success_rate_stdev_factor\030\235\203\251S \001(\005H\n\210\001\001B" + + "\025\n\023_base_ejection_timeB\025\n\023_consecutive_e" + + "rrorsB\036\n\034_consecutive_gateway_failureB\037\n" + + "\035_enforcing_consecutive_errorsB(\n&_enfor", + "cing_consecutive_gateway_failureB\031\n\027_enf" + + "orcing_success_rateB\013\n\t_intervalB\027\n\025_max" + + "_ejection_percentB\035\n\033_success_rate_minim" + + "um_hostsB\036\n\034_success_rate_request_volume" + + "B\034\n\032_success_rate_stdev_factor\"\306\003\n\017Packe" + + "tIntervals\022\026\n\006avg_ms\030\263\334\324a \001(\003H\000\210\001\001\022\030\n\010du" + + "ration\030\224\233\221J \001(\tH\001\210\001\001\022\027\n\006max_ms\030\341\304\274\374\001 \001(\003" + + "H\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_in" + + "tervals\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\022UNDEFINED_DURATION\020\000\022" + + "\034\n\024DURATION_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\016" + + "UNDEFINED_TYPE\020\000\022\020\n\010LOOPBACK\020\213\223\353\251\001\022\016\n\007RE" + + "CEIVE\020\303\375\267Z\022\020\n\010TRANSMIT\020\260\205\373\327\001\022\030\n\020TYPE_UNS" + + "PECIFIED\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" + + ".PacketMirroringForwardingRuleInfoH\000\210\001\001\022" + + "\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013d" + + "escription\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.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\022mirrored_resources\030\304\237\302; \001(\0132<.goo" + + "gle.cloud.compute.v1.PacketMirroringMirr" + + "oredResourceInfoH\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.c" + + "ompute.v1.PacketMirroringNetworkInfoH\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_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\005FALS" + + "E\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_m" + + "irrored_resourcesB\007\n\005_nameB\n\n\010_networkB\013" + + "\n\t_priorityB\t\n\007_regionB\014\n\n_self_link\"\316\003\n" + + "\035PacketMirroringAggregatedList\022\020\n\002id\030\233\032 " + + "\001(\tH\000\210\001\001\022S\n\005items\030\300\317\367/ \003(\0132A.google.clou" + + "d.compute.v1.PacketMirroringAggregatedLi" + + "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\032a\n\nItemsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022B\n\005value\030\002 \001(\01323.google.cloud.co" + + "mpute.v1.PacketMirroringsScopedList:\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\025PacketMirrorin" + + "gFilter\022\030\n\rI_p_protocols\030\326\331\376. \003(\t\022\027\n\013cid" + + "r_ranges\030\201\224\323\350\001 \003(\t\022\031\n\tdirection\030\377\216\2005 \001(\t" + + "H\000\210\001\001\"Q\n\tDirection\022\027\n\023UNDEFINED_DIRECTIO" + + "N\020\000\022\n\n\004BOTH\020\201\347|\022\016\n\006EGRESS\020\365\366\264\316\001\022\017\n\007INGRE" + + "SS\020\225\375\276\366\001B\014\n\n_direction\"q\n!PacketMirrorin" + + "gForwardingRuleInfo\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_cano" + + "nical_urlB\006\n\004_url\"\257\002\n\023PacketMirroringLis" + + "t\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.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(\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\"\367\001\n#PacketMirroringMirroredResourceI" + + "nfo\022^\n\tinstances\030\376\374\357\r \003(\0132H.google.cloud" + + ".compute.v1.PacketMirroringMirroredResou" + + "rceInfoInstanceInfo\022_\n\013subnetworks\030\305\324\245\306\001" + + " \003(\0132F.google.cloud.compute.v1.PacketMir" + + "roringMirroredResourceInfoSubnetInfo\022\017\n\004" + + "tags\030\231\350\330\001 \003(\t\"\177\n/PacketMirroringMirrored" + + "ResourceInfoInstanceInfo\022\036\n\rcanonical_ur" + + "l\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-PacketMirrorin" + + "gMirroredResourceInfoSubnetInfo\022\036\n\rcanon" + + "ical_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\032PacketM" + + "irroringNetworkInfo\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_cano" + + "nical_urlB\006\n\004_url\"\253\001\n\032PacketMirroringsSc" + + "opedList\022F\n\021packet_mirrorings\030\247\372\334I \003(\0132(" + + ".google.cloud.compute.v1.PacketMirroring" + + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" + + "ute.v1.WarningH\000\210\001\001B\n\n\010_warning\"\371\001\n\026Patc" + + "hAutoscalerRequest\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\032\n\n" + + "request_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\"\333\001\n\031PatchBackendBucketRequest\022\036\n\016bac" + + "kend_bucket\030\365\343\335+ \001(\tB\003\340A\002\022P\n\027backend_buc" + + "ket_resource\030\230\316\307\265\001 \001(\0132&.google.cloud.co" + + "mpute.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\"\340\001\n\032PatchBacke" + + "ndServiceRequest\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.Backe" + + "ndServiceB\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\001B\r\n" + + "\013_request_id\"\275\001\n\032PatchFirewallPolicyRequ" + + "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" + + "\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_reques" + + "t_id\"\305\001\n\024PatchFirewallRequest\022\031\n\010firewal" + + "l\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.Firewal" + + "lB\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\"\201\002\n\032PatchForwardingRuleRequest\022 \n\017f" + + "orwarding_rule\030\376\245\335\200\001 \001(\tB\003\340A\002\022R\n\030forward" + + "ing_rule_resource\030\257\300\320\217\001 \001(\0132\'.google.clo" + + "ud.compute.v1.ForwardingRuleB\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\"\346\001\n PatchGlobal" + + "ForwardingRuleRequest\022 \n\017forwarding_rule" + + "\030\376\245\335\200\001 \001(\tB\003\340A\002\022R\n\030forwarding_rule_resou" + + "rce\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\nrequest_id\030\313\201\331\021 \001(\tH\000\210" + + "\001\001B\r\n\013_request_id\"\203\002\n(PatchGlobalPublicD" + + "elegatedPrefixeRequest\022!\n\007project\030\231\226\301l \001" + + "(\tB\r\340A\002\362G\007project\022\'\n\027public_delegated_pr" + + "efix\030\350\334\261a \001(\tB\003\340A\002\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\"" + + "\323\001\n\027PatchHealthCheckRequest\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\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\005i" + + "mage\030\333\322\352/ \001(\tB\003\340A\002\022?\n\016image_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_i" + + "d\"\225\002\n PatchInstanceGroupManagerRequest\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.InstanceGro" + + "upManagerB\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\"\240\002\n\"PatchInterconnectAttachmentRequest" + + "\022(\n\027interconnect_attachment\030\364\212\367\222\001 \001(\tB\003\340" + + "A\002\022a\n interconnect_attachment_resource\030\371" + + "\244\240e \001(\0132/.google.cloud.compute.v1.Interc" + + "onnectAttachmentB\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\"\325\001\n\030PatchInterconnectReques" + + "t\022\034\n\014interconnect\030\216\311\214k \001(\tB\003\340A\002\022M\n\025inter" + + "connect_resource\030\237\241\314\275\001 \001(\0132%.google.clou" + + "d.compute.v1.InterconnectB\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\001B\r\n\013_request_id\"\203\003\n&PatchNe" + + "tworkEdgeSecurityServiceRequest\022-\n\035netwo" + + "rk_edge_security_service\030\247\237\357J \001(\tB\003\340A\002\022l" + + "\n&network_edge_security_service_resource" + + "\030\246\243\333\343\001 \001(\01323.google.cloud.compute.v1.Net" + + "workEdgeSecurityServiceB\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\"\347\001\n!PatchNetworkFirew" + + "allPolicyRequest\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.Firew" + + "allPolicyB\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\001B\r\n" + + "\013_request_id\"\300\001\n\023PatchNetworkRequest\022\027\n\007" + + "network\030\256\264\205o \001(\tB\003\340A\002\022B\n\020network_resourc" + + "e\030\377\335\234: \001(\0132 .google.cloud.compute.v1.Net" + + "workB\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\"\351\001\n\025PatchNodeGroupRequest\022\033\n\nnod" + + "e_group\030\202\374\213\340\001 \001(\tB\003\340A\002\022H\n\023node_group_res" + + "ource\030\253\263\372\360\001 \001(\0132\".google.cloud.compute.v" + + "1.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\"\204\002\n\033PatchPacketMirroringRequest\022 \n\020p" + + "acket_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.cl" + + "oud.compute.v1.PacketMirroringB\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\"\344\002\n2PatchPerI" + + "nstanceConfigsInstanceGroupManagerReques" + + "t\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(\0132" + + "H.google.cloud.compute.v1.InstanceGroupM" + + "anagersPatchPerInstanceConfigsReqB\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\"\357\002\n8PatchPerIn" + + "stanceConfigsRegionInstanceGroupManagerR" + + "equest\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\007projec" + + "t\022\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\233\001\n@r" + + "egion_instance_group_manager_patch_insta" + + "nce_config_req_resource\030\312\315\241^ \001(\0132I.googl" + + "e.cloud.compute.v1.RegionInstanceGroupMa" + + "nagerPatchInstanceConfigReqB\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\"\201\002\n#" + + "PatchPublicAdvertisedPrefixeRequest\022!\n\007p" + + "roject\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!publ" + + "ic_advertised_prefix_resource\030\217\327\262o \001(\0132/" + + ".google.cloud.compute.v1.PublicAdvertise" + + "dPrefixB\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\"\236\002\n\"PatchPublicDelegated" + + "PrefixeRequest\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362" + + "G\007project\022\'\n\027public_delegated_prefix\030\350\334\261" + + "a \001(\tB\003\340A\002\022`\n public_delegated_prefix_re" + + "source\030\205\370\330\026 \001(\0132..google.cloud.compute.v" + + "1.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\034PatchRegion" + + "AutoscalerRequest\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\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\001B\r\n\013_autoscalerB\r\n\013_requ" + + "est_id\"\207\002\n PatchRegionBackendServiceRequ" + + "est\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\'.go" + + "ogle.cloud.compute.v1.BackendServiceB\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\"\372\001\n\035Pat" + + "chRegionHealthCheckRequest\022\035\n\014health_che" + + "ck\030\345\252\244\223\001 \001(\tB\003\340A\002\022K\n\025health_check_resour" + + "ce\030\250\303\244` \001(\0132$.google.cloud.compute.v1.He" + + "althCheckB\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\"\231\002\n$PatchRegionHealthCheckServiceR" + + "equest\022%\n\024health_check_service\030\333\233\335\302\001 \001(\t" + + "B\003\340A\002\022[\n\035health_check_service_resource\030\362" + + "\233\320\343\001 \001(\0132+.google.cloud.compute.v1.Healt" + + "hCheckServiceB\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\"\237\002\n&PatchRegionInstanceGroupMa" + + "nagerRequest\022&\n\026instance_group_manager\030\303" + + "\367\363v \001(\tB\003\340A\002\022^\n\037instance_group_manager_r" + + "esource\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(\tH" + + "\000\210\001\001B\r\n\013_request_id\"\216\002\n\'PatchRegionNetwo" + + "rkFirewallPolicyRequest\022 \n\017firewall_poli" + + "cy\030\321\212\306\355\001 \001(\tB\003\340A\002\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\"\205\002\n PatchRegionSecurityPoli" + + "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\022\037\n\017security_po" + + "licy\030\221\206\312Q \001(\tB\003\340A\002\022Q\n\030security_policy_re" + + "source\030\374\252\211g \001(\0132\'.google.cloud.compute.v" + + "1.SecurityPolicyB\003\340A\002B\r\n\013_request_id\"\220\002\n" + + "\"PatchRegionTargetHttpsProxyRequest\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\"\n\022target_https_proxy\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.compute.v1.Targe" + + "tHttpsProxyB\003\340A\002B\r\n\013_request_id\"\346\001\n\030Patc" + + "hRegionUrlMapRequest\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\001\022\030\n\007" + + "url_map\030\214\225\201\257\001 \001(\tB\003\340A\002\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\"\335\001\n\022PatchRouter" + + "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\026\n\006router\030\311\256\356F \001" + + "(\tB\003\340A\002\022@\n\017router_resource\030\304\200\202J \001(\0132\037.go" + + "ogle.cloud.compute.v1.RouterB\003\340A\002B\r\n\013_re" + + "quest_id\"\361\001\n\036PatchRuleFirewallPolicyRequ" + + "est\022 \n\017firewall_policy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n" + + "\035firewall_policy_rule_resource\030\203\337\272w \001(\0132" + + "+.google.cloud.compute.v1.FirewallPolicy" + + "RuleB\003\340A\002\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022\032\n\n" + + "request_id\030\313\201\331\021 \001(\tH\001\210\001\001B\013\n\t_priorityB\r\n" + + "\013_request_id\"\233\002\n%PatchRuleNetworkFirewal" + + "lPolicyRequest\022 \n\017firewall_policy\030\321\212\306\355\001 " + + "\001(\tB\003\340A\002\022Z\n\035firewall_policy_rule_resourc" + + "e\030\203\337\272w \001(\0132+.google.cloud.compute.v1.Fir" + + "ewallPolicyRuleB\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\007proje" + + "ct\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\013\n\t_prior" + + "ityB\r\n\013_request_id\"\302\002\n+PatchRuleRegionNe" + + "tworkFirewallPolicyRequest\022 \n\017firewall_p" + + "olicy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035firewall_policy_" + + "rule_resource\030\203\337\272w \001(\0132+.google.cloud.co" + + "mpute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n\010prio" + + "rity\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\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\013\n\t_" + + "priorityB\r\n\013_request_id\"\351\001\n\036PatchRuleSec" + + "urityPolicyRequest\022\031\n\010priority\030\244\363\241\324\001 \001(\005" + + "H\000\210\001\001\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project" + + "\022\037\n\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022[\n\035sec" + + "urity_policy_rule_resource\030\303\272\202\300\001 \001(\0132+.g" + + "oogle.cloud.compute.v1.SecurityPolicyRul" + + "eB\003\340A\002B\013\n\t_priority\"\336\001\n\032PatchSecurityPol" + + "icyRequest\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\037\n\017sec" + + "urity_policy\030\221\206\312Q \001(\tB\003\340A\002\022Q\n\030security_p" + + "olicy_resource\030\374\252\211g \001(\0132\'.google.cloud.c" + + "ompute.v1.SecurityPolicyB\003\340A\002B\r\n\013_reques" + + "t_id\"\215\002\n\035PatchServiceAttachmentRequest\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#\n\022service_attachment\030\355\251\320" + + "\241\001 \001(\tB\003\340A\002\022X\n\033service_attachment_resour" + + "ce\030\240\266\304\341\001 \001(\0132*.google.cloud.compute.v1.S" + + "erviceAttachmentB\003\340A\002B\r\n\013_request_id\"\314\001\n" + + "\025PatchSslPolicyRequest\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\nssl_policy\030\305\375\340\214\001 \001(\tB\003\340A\002\022H\n\023ss" + + "l_policy_resource\030\310\210\212\203\001 \001(\0132\".google.clo" + + "ud.compute.v1.SslPolicyB\003\340A\002B\r\n\013_request" + + "_id\"\260\002\n\026PatchSubnetworkRequest\022&\n\025drain_" + + "timeout_seconds\030\332\332\310\252\001 \001(\005H\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\033\n\nsubnetwork\030\356\247\344\222\001 \001(\tB\003\340A\002\022H\n\023s" + + "ubnetwork_resource\030\277\332\221\024 \001(\0132#.google.clo" + + "ud.compute.v1.SubnetworkB\003\340A\002B\030\n\026_drain_" + + "timeout_secondsB\r\n\013_request_id\"\345\001\n\033Patch" + + "TargetGrpcProxyRequest\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\021target_grpc_proxy\030\373\264\262\002 \001(\tB\003\340A\002" + + "\022U\n\032target_grpc_proxy_resource\030\322\352\353\234\001 \001(\013" + + "2(.google.cloud.compute.v1.TargetGrpcPro" + + "xyB\003\340A\002B\r\n\013_request_id\"\344\001\n\033PatchTargetHt" + + "tpProxyRequest\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_http_proxy\030\345\276\322b \001(\tB\003\340A\002\022T\n\032targ" + + "et_http_proxy_resource\030\250\257\343\013 \001(\0132(.google" + + ".cloud.compute.v1.TargetHttpProxyB\003\340A\002B\r" + + "\n\013_request_id\"\351\001\n\034PatchTargetHttpsProxyR" + + "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\022target_" + + "https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022W\n\033target_http" + + "s_proxy_resource\030\201\255\344\316\001 \001(\0132).google.clou" + + "d.compute.v1.TargetHttpsProxyB\003\340A\002B\r\n\013_r" + + "equest_id\"\277\001\n\022PatchUrlMapRequest\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\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\024default_route_act" + + "ion\030\252\264\327\264\001 \001(\0132(.google.cloud.compute.v1." + + "HttpRouteActionH\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(\0132+.google.cloud.compute.v1.HttpR" + + "edirectActionH\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).go" + + "ogle.cloud.compute.v1.HttpHeaderActionH\004" + + "\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\0228\n\npath_rules\030" + + "\335\300\3461 \003(\0132!.google.cloud.compute.v1.PathR" + + "ule\022?\n\013route_rules\030\201\207\267\263\001 \003(\0132&.google.cl" + + "oud.compute.v1.HttpRouteRuleB\027\n\025_default" + + "_route_actionB\022\n\020_default_serviceB\027\n\025_de" + + "fault_url_redirectB\016\n\014_descriptionB\020\n\016_h" + + "eader_actionB\007\n\005_name\"\371\001\n\010PathRule\022\020\n\005pa" + + "ths\030\356\301\3402 \003(\t\022G\n\014route_action\030\354\251\271\312\001 \001(\0132(" + + ".google.cloud.compute.v1.HttpRouteAction" + + "H\000\210\001\001\022\030\n\007service\030\265\215\217\262\001 \001(\tH\001\210\001\001\022J\n\014url_r" + + "edirect\030\254\241\230\301\001 \001(\0132+.google.cloud.compute" + + ".v1.HttpRedirectActionH\002\210\001\001B\017\n\r_route_ac" + + "tionB\n\n\010_serviceB\017\n\r_url_redirect\"\363\002\n\021Pe" + + "rInstanceConfig\022\033\n\013fingerprint\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\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" + + "\010APPLYING\020\264\313\354\247\001\022\020\n\010DELETING\020\250\247\207\374\001\022\020\n\tEFF" + + "ECTIVE\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\022UNAPPLIED_DELETION\020\211\264\332\225\001B\016\n\014_fing" + + "erprintB\007\n\005_nameB\022\n\020_preserved_stateB\t\n\007" + + "_status\"\241\002\n\006Policy\022?\n\raudit_configs\030\215\272\270\234" + + "\001 \003(\0132$.google.cloud.compute.v1.AuditCon" + + "fig\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\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.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_ia" + + "m_ownedB\n\n\010_version\"]\n\023PreconfiguredWafS" + + "et\022F\n\017expression_sets\030\230\253\203\342\001 \003(\0132).google" + + ".cloud.compute.v1.WafExpressionSet\"\267\002\n\016P" + + "reservedState\022D\n\005disks\030\366\314\312- \003(\01322.google" + + ".cloud.compute.v1.PreservedState.DisksEn" + + "try\022J\n\010metadata\030\257\366\265) \003(\01325.google.cloud." + + "compute.v1.PreservedState.MetadataEntry\032" + + "b\n\nDisksEntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 \001(" + + "\01324.google.cloud.compute.v1.PreservedSta" + + "tePreservedDisk:\0028\001\032/\n\rMetadataEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\254\002\n\033Preserv" + + "edStatePreservedDisk\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\006sour" + + "ce\030\233\320\301T \001(\tH\002\210\001\001\"\\\n\nAutoDelete\022\031\n\025UNDEFI" + + "NED_AUTO_DELETE\020\000\022\014\n\005NEVER\020\354\244\257#\022%\n\036ON_PE" + + "RMANENT_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\n" + + "READ_WRITE\020\326\227\344RB\016\n\014_auto_deleteB\007\n\005_mode" + + "B\t\n\007_source\"\241\001\n\024PreviewRouterRequest\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\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\"\353\007\n\007Project\022K\n\030common_in" + + "stance_metadata\030\305\374\313X \001(\0132!.google.cloud." + + "compute.v1.MetadataH\000\210\001\001\022\"\n\022creation_tim" + + "estamp\030\266\217\307\016 \001(\tH\001\210\001\001\022%\n\024default_network_" + + "tier\030\221\305\371\340\001 \001(\tH\002\210\001\001\022(\n\027default_service_a" + + "ccount\030\245\371\267\216\001 \001(\tH\003\210\001\001\022\034\n\013description\030\374\207\326" + + "\311\001 \001(\tH\004\210\001\001\022\034\n\020enabled_features\030\373\306\322\337\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\022\024\n\004name\030\213\365\315\001 \001(\tH\007\210\001\001\0221\n\006quotas\030\373\241\342; \003" + + "(\0132\036.google.cloud.compute.v1.Quota\022\032\n\tse" + + "lf_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022T\n\025usage_export_l" + + "ocation\030\302\262\334\245\001 \001(\0132,.google.cloud.compute" + + ".v1.UsageExportLocationH\t\210\001\001\022\"\n\022xpn_proj" + + "ect_status\030\301\315\365l \001(\tH\n\210\001\001\"\236\001\n\022DefaultNetw" + + "orkTier\022\"\n\036UNDEFINED_DEFAULT_NETWORK_TIE" + + "R\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_OVERR" + + "IDES_FIXED_STANDARD\020\302\207\221\336\001\"i\n\020XpnProjectS" + + "tatus\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\033\n\031_common_instance_metadat" + + "aB\025\n\023_creation_timestampB\027\n\025_default_net" + + "work_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\025" + + "\n\023_xpn_project_status\"z\n!ProjectsDisable" + + "XpnResourceRequest\022D\n\014xpn_resource\030\267\223\315? " + + "\001(\0132&.google.cloud.compute.v1.XpnResourc" + + "eIdH\000\210\001\001B\017\n\r_xpn_resource\"y\n ProjectsEna" + + "bleXpnResourceRequest\022D\n\014xpn_resource\030\267\223" + + "\315? \001(\0132&.google.cloud.compute.v1.XpnReso" + + "urceIdH\000\210\001\001B\017\n\r_xpn_resource\"\253\001\n\027Project" + + "sGetXpnResources\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\tresou" + + "rces\030\245\374\262N \003(\0132&.google.cloud.compute.v1." + + "XpnResourceIdB\007\n\005_kindB\022\n\020_next_page_tok" + + "en\"L\n\033ProjectsListXpnHostsRequest\022\034\n\014org" + + "anization\030\263\332\2232 \001(\tH\000\210\001\001B\017\n\r_organization" + + "\"\350\001\n$ProjectsSetDefaultNetworkTierReques" + + "t\022\035\n\014network_tier\030\323\272\333\366\001 \001(\tH\000\210\001\001\"\217\001\n\013Net" + + "workTier\022\032\n\026UNDEFINED_NETWORK_TIER\020\000\022\026\n\016" + + "FIXED_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_FI" + + "XED_STANDARD\020\302\207\221\336\001B\017\n\r_network_tier\"\322\006\n\026" + + "PublicAdvertisedPrefix\022\"\n\022creation_times" + + "tamp\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\023dns_verification_ip\030\265\225\366r \001(\t" + + "H\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\035\n\rip_cidr_range\030\312\315\344. \001(\tH\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\022j\n\030public_delegated_prefixs\030\213\276\205\313" + + "\001 \003(\0132D.google.cloud.compute.v1.PublicAd" + + "vertisedPrefixPublicDelegatedPrefix\022\032\n\ts" + + "elf_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\036\n\rshared_secret" + + "\030\312\247\217\266\001 \001(\tH\t\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\n\210\001\001\"" + + "\361\001\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\017\n\007INIT" + + "IAL\020\244\306\263\367\001\022%\n\035PREFIX_CONFIGURATION_COMPLE" + + "TE\020\317\225\247\345\001\022(\n PREFIX_CONFIGURATION_IN_PROG" + + "RESS\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!\n\031REVERS" + + "E_DNS_LOOKUP_FAILED\020\257\273\203\215\001\022\020\n\tVALIDATED\020\356" + + "\263\310\037B\025\n\023_creation_timestampB\016\n\014_descripti" + + "onB\026\n\024_dns_verification_ipB\016\n\014_fingerpri" + + "ntB\005\n\003_idB\020\n\016_ip_cidr_rangeB\007\n\005_kindB\007\n\005" + + "_nameB\014\n\n_self_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/.go" + + "ogle.cloud.compute.v1.PublicAdvertisedPr" + + "efix\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\"\336\001\n+PublicAdvertisedPrefixPubli" + + "cDelegatedPrefix\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\006sta" + + "tus\030\362\237\267V \001(\tH\004\210\001\001B\013\n\t_ip_rangeB\007\n\005_nameB" + + "\n\n\010_projectB\t\n\007_regionB\t\n\007_status\"\366\005\n\025Pu" + + "blicDelegatedPrefix\022\"\n\022creation_timestam" + + "p\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\t" + + "H\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\035\n\rip_cidr_range\030\312\315\344. \001(\tH\004" + + "\210\001\001\022\"\n\021is_live_migration\030\360\237\207\364\001 \001(\010H\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\035\n\rparent_prefix\030\307\347\241\007 \001(\tH\010\210\001\001\022o\n\034pu" + + "blic_delegated_sub_prefixs\030\214\376\213Z \003(\0132F.go" + + "ogle.cloud.compute.v1.PublicDelegatedPre" + + "fixPublicDelegatedSubPrefix\022\026\n\006region\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" + + "\026\n\006status\030\362\237\267V \001(\tH\013\210\001\001\"s\n\006Status\022\024\n\020UND" + + "EFINED_STATUS\020\000\022\021\n\tANNOUNCED\020\373\221\214\256\001\022\020\n\010DE" + + "LETING\020\250\247\207\374\001\022\024\n\014INITIALIZING\020\315\330\230\222\001\022\030\n\021RE" + + "ADY_TO_ANNOUNCE\020\361\261\351\036B\025\n\023_creation_timest" + + "ampB\016\n\014_descriptionB\016\n\014_fingerprintB\005\n\003_" + + "idB\020\n\016_ip_cidr_rangeB\024\n\022_is_live_migrati" + + "onB\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#P" + + "ublicDelegatedPrefixAggregatedList\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.PublicDelegatedPrefixAg" + + "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\032h\n\nItemsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022I\n\005value\030\002 \001(\0132:.googl" + + "e.cloud.compute.v1.PublicDelegatedPrefix" + + "esScopedList:\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\"\273" + + "\002\n\031PublicDelegatedPrefixList\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.PublicDelegatedPrefix\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\"\233\003\n" + + "-PublicDelegatedPrefixPublicDelegatedSub" + + "Prefix\022\"\n\021delegatee_project\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_c" + + "idr_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\006re" + + "gion\030\364\315\240B \001(\tH\005\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\006\210" + + "\001\001\"@\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\016\n\006AC" + + "TIVE\020\206\346\211\226\001\022\020\n\010INACTIVE\020\353\230\371\200\001B\024\n\022_delegat" + + "ee_projectB\016\n\014_descriptionB\020\n\016_ip_cidr_r" + + "angeB\r\n\013_is_addressB\007\n\005_nameB\t\n\007_regionB" + + "\t\n\007_status\"\301\001\n!PublicDelegatedPrefixesSc" + + "opedList\022U\n\031public_delegated_prefixes\030\226\202" + + "\252\226\001 \003(\0132..google.cloud.compute.v1.Public" + + "DelegatedPrefix\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\"\362\035\n\005Quota\022\025\n\005limit\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\"\341\034\n\006Metri" + + "c\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_CPUS\020\365\377\250\362\001\022\017\n\007C2_C" + + "PUS\020\273\353\270\227\001\022\017\n\007C3_CPUS\020\332\234\214\245\001\022\023\n\013COMMITMENT" + + "S\020\336\327\300\331\001\022\030\n\021COMMITTED_A2_CPUS\020\326\242\245\034\022\032\n\022COM" + + "MITTED_C2D_CPUS\020\370\342\323\206\001\022\030\n\021COMMITTED_C2_CP" + + "US\020\330\217\327j\022\030\n\021COMMITTED_C3_CPUS\020\367\300\252x\022\026\n\016COM" + + "MITTED_CPUS\020\316\255\266\213\001\022\031\n\021COMMITTED_E2_CPUS\020\332" + + "\374\210\271\001\022\032\n\022COMMITTED_LICENSES\020\325\313\302\252\001\022$\n\034COMM" + + "ITTED_LOCAL_SSD_TOTAL_GB\020\210\354\206\223\001\022\027\n\021COMMIT" + + "TED_M3_CPUS\020\201\342#\022\'\n\037COMMITTED_MEMORY_OPTI" + + "MIZED_CPUS\020\336\334\231\351\001\022\031\n\022COMMITTED_N2A_CPUS\020\260" + + "\252\215\023\022\031\n\022COMMITTED_N2D_CPUS\020\215\276\207<\022\031\n\021COMMIT" + + "TED_N2_CPUS\020\243\247\351\231\001\022\"\n\032COMMITTED_NVIDIA_A1" + + "00_GPUS\020\225\375\230\263\001\022 \n\031COMMITTED_NVIDIA_K80_GP" + + "US\020\244\266\353\001\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\030" + + "COMMITTED_NVIDIA_T4_GPUS\020\205\210\331B\022 \n\032COMMITT" + + "ED_NVIDIA_V100_GPUS\020\252\263\r\022\032\n\022COMMITTED_T2A" + + "_CPUS\020\352\304\251\215\001\022\032\n\022COMMITTED_T2D_CPUS\020\307\330\243\266\001\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!EXTERNAL_MANAGED_FORWARDING_RULES\020\311\277\363G" + + "\022,\n$EXTERNAL_NETWORK_LB_FORWARDING_RULES" + + "\020\231\255\275\262\001\022)\n\"EXTERNAL_PROTOCOL_FORWARDING_R" + + "ULES\020\350\270\242\036\022\035\n\025EXTERNAL_VPN_GATEWAYS\020\256\273\365\201\001" + + "\022\021\n\tFIREWALLS\020\323\346\310\262\001\022\030\n\020FORWARDING_RULES\020" + + "\225\202\250\316\001\0220\n(GLOBAL_EXTERNAL_MANAGED_FORWARD" + + "ING_RULES\020\255\354\233\234\001\022 \n\031GLOBAL_INTERNAL_ADDRE" + + "SSES\020\234\305\260\024\022\027\n\020GPUS_ALL_REGIONS\020\251\200\344\022\022\025\n\rHE" + + "ALTH_CHECKS\020\256\257\374\211\001\022\r\n\006IMAGES\020\370\354\265\007\022\020\n\tINST" + + "ANCES\020\336\234\320>\022\027\n\017INSTANCE_GROUPS\020\276\311\333\251\001\022\036\n\027I" + + "NSTANCE_GROUP_MANAGERS\020\260\242\3050\022\031\n\022INSTANCE_" + + "TEMPLATES\020\357\267\355k\022\025\n\rINTERCONNECTS\020\205\213\376\305\001\022*\n" + + "#INTERCONNECT_ATTACHMENTS_PER_REGION\020\326\326\243" + + "L\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_T" + + "RAFFIC_DIRECTOR_FORWARDING_RULES\020\204\351\205\177\022\031\n" + + "\022IN_PLACE_SNAPSHOTS\020\235\235\226H\022\030\n\020IN_USE_ADDRE" + + "SSES\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" + + "\022LOCAL_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\016MAC" + + "HINE_IMAGES\020\220\363\221\325\001\022\017\n\010N2A_CPUS\020\255\307\342~\022\020\n\010N2" + + "D_CPUS\020\212\333\334\247\001\022\017\n\007N2_CPUS\020\206\203\313\306\001\022\020\n\010NETWORK" + + "S\020\205\270\277\347\001\022\036\n\027NETWORK_ENDPOINT_GROUPS\020\215\267\3320\022" + + " \n\031NETWORK_FIREWALL_POLICIES\020\276\333\2330\022\022\n\013NOD" + + "E_GROUPS\020\261\375\336\013\022\026\n\016NODE_TEMPLATES\020\234\262\271\342\001\022\030\n" + + "\020NVIDIA_A100_GPUS\020\222\200\337\360\001\022\026\n\017NVIDIA_K80_GP" + + "US\020\207\354\222N\022\027\n\020NVIDIA_P100_GPUS\020\241\202\351p\022\033\n\024NVID" + + "IA_P100_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\016NVI" + + "DIA_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_" + + "MIRRORINGS\020\247\352\266\007\022(\n!PD_EXTREME_TOTAL_PROV" + + "ISIONED_IOPS\020\355\326\227!\022\027\n\020PREEMPTIBLE_CPUS\020\311\215" + + "\343w\022\037\n\030PREEMPTIBLE_LOCAL_SSD_GB\020\210\223\257|\022#\n\034P" + + "REEMPTIBLE_NVIDIA_A100_GPUS\020\220\234\351 \022#\n\033PREE" + + "MPTIBLE_NVIDIA_K80_GPUS\020\311\340\345\262\001\022$\n\034PREEMPT" + + "IBLE_NVIDIA_P100_GPUS\020\237\236\363\240\001\022(\n PREEMPTIB" + + "LE_NVIDIA_P100_VWS_GPUS\020\214\233\301\225\001\022\"\n\032PREEMPT" + + "IBLE_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_NVIDI" + + "A_T4_VWS_GPUS\020\255\370\233\025\022#\n\034PREEMPTIBLE_NVIDIA" + + "_V100_GPUS\020\245\322\335m\022=\n6PSC_ILB_CONSUMER_FORW" + + "ARDING_RULES_PER_PRODUCER_NETWORK\020\203\223\235n\022\'" + + "\n PSC_INTERNAL_LB_FORWARDING_RULES\020\373\242\313P\022" + + "\"\n\032PUBLIC_ADVERTISED_PREFIXES\020\314\241\342\340\001\022!\n\031P" + + "UBLIC_DELEGATED_PREFIXES\020\266\222\363\375\001\022\033\n\024REGION" + + "AL_AUTOSCALERS\020\274\234\200\016\022\'\n REGIONAL_INSTANCE" + + "_GROUP_MANAGERS\020\220\276\363\021\022\023\n\014RESERVATIONS\020\247\274\310" + + "\017\022\030\n\021RESOURCE_POLICIES\020\341\234\204(\022\017\n\007ROUTERS\020\252" + + "\274\213\353\001\022\016\n\006ROUTES\020\312\226\272\203\001\022\030\n\021SECURITY_POLICIE" + + "S\020\357\246\257Z\022#\n\034SECURITY_POLICIES_PER_REGION\020\306" + + "\246\340v\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" + + "C_BYOIP_ADDRESSES\020\361\212\302\203\001\022\023\n\013SUBNETWORKS\020\245" + + "\374\363\310\001\022\020\n\010T2A_CPUS\020\347\341\376\370\001\022\017\n\010T2D_CPUS\020\304\365\370!\022" + + "\033\n\024TARGET_HTTPS_PROXIES\020\312\313\326h\022\032\n\023TARGET_H" + + "TTP_PROXIES\020\243\365\240N\022\030\n\020TARGET_INSTANCES\020\260\332\325" + + "\207\001\022\024\n\014TARGET_POOLS\020\211\227\210\246\001\022\031\n\022TARGET_SSL_P" + + "ROXIES\020\353\344\365K\022\031\n\022TARGET_TCP_PROXIES\020\300\236\363V\022\032" + + "\n\023TARGET_VPN_GATEWAYS\020\250\273\343#\022\020\n\010URL_MAPS\020\207" + + "\317\307\264\001\022\023\n\014VPN_GATEWAYS\020\272\213\376\020\022\022\n\013VPN_TUNNELS" + + "\020\200\321\3371\022\033\n\024XPN_SERVICE_PROJECTS\020\255\207\262-B\010\n\006_l" + + "imitB\t\n\007_metricB\010\n\006_ownerB\010\n\006_usage\"\314\001\n\007" + + "RawDisk\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\006sour" + + "ce\030\233\320\301T \001(\tH\002\210\001\001\"8\n\rContainerType\022\034\n\030UND" + + "EFINED_CONTAINER_TYPE\020\000\022\t\n\003TAR\020\205\207\005B\021\n\017_c" + + "ontainer_typeB\020\n\016_sha1_checksumB\t\n\007_sour" + + "ce\"\327\002\n,RecreateInstancesInstanceGroupMan" + + "agerRequest\022&\n\026instance_group_manager\030\303\367" + + "\363v \001(\tB\003\340A\002\022\223\001\n;instance_group_managers_" + + "recreate_instances_request_resource\030\200\302\232\n" + + " \001(\0132F.google.cloud.compute.v1.InstanceG" + + "roupManagersRecreateInstancesRequestB\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\"\333\002\n2Recreat" + + "eInstancesRegionInstanceGroupManagerRequ" + + "est\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\215\001\n8regi" + + "on_instance_group_managers_recreate_requ" + + "est_resource\030\224\374\304Q \001(\0132C.google.cloud.com" + + "pute.v1.RegionInstanceGroupManagersRecre" + + "ateRequestB\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\tReference\022\024\n\004kind" + + "\030\224\367\310\001 \001(\tH\000\210\001\001\022\036\n\016reference_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\006tar" + + "get\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(\tH\000\210\001\001\022G\n\n" + + "deprecated\030\263\313\321\365\001 \001(\0132*.google.cloud.comp" + + "ute.v1.DeprecationStatusH\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\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.cloud.comp" + + "ute.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\014supports_pzs" + + "\030\356\366\205( \001(\010H\010\210\001\001\022\020\n\005zones\030\307\244\2557 \003(\t\"4\n\006Stat" + + "us\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_timestampB\r\n\013_deprec" + + "atedB\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\017\n\r_suppo" + + "rts_pzs\"\253\002\n\024RegionAutoscalerList\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.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\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\"\247\002\n\022Region" + + "DiskTypeList\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.DiskT" + + "ype\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\"E\n%RegionDisksAddResourcePolicie" + + "sRequest\022\034\n\021resource_policies\030\341\234\314\n \003(\t\"H" + + "\n(RegionDisksRemoveResourcePoliciesReque" + + "st\022\034\n\021resource_policies\030\341\234\314\n \003(\t\"@\n\030Regi" + + "onDisksResizeRequest\022\030\n\007size_gb\030\331\213\200\354\001 \001(" + + "\003H\000\210\001\001B\n\n\010_size_gb\"\261\002\n\027RegionInstanceGro" + + "upList\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.InstanceGro" + + "up\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\"E\n1RegionInstanceGroupManagerDele" + + "teInstanceConfigReq\022\020\n\005names\030\310\256\3571 \003(\t\"\277\002" + + "\n\036RegionInstanceGroupManagerList\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.InstanceGroupManager\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\"" - + "\303\005\n\016NetworkPeering\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#export_subnet_routes_wit" - + "h_public_ip\030\342\352\331. \001(\010H\003\210\001\001\022$\n\024import_cust" - + "om_routes\030\276\361\263^ \001(\010H\004\210\001\001\0223\n#import_subnet" - + "_routes_with_public_ip\030\221\216\360\006 \001(\010H\005\210\001\001\022\024\n\004" - + "name\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\025\n\005state\030\221" - + "\211\2534 \001(\tH\t\210\001\001\022\035\n\rstate_details\030\224\371\310- \001(\tH\n" - + "\210\001\001\">\n\005State\022\023\n\017UNDEFINED_STATE\020\000\022\016\n\006ACT" - + "IVE\020\206\346\211\226\001\022\020\n\010INACTIVE\020\353\230\371\200\001B\025\n\023_auto_cre" - + "ate_routesB\031\n\027_exchange_subnet_routesB\027\n" - + "\025_export_custom_routesB&\n$_export_subnet" - + "_routes_with_public_ipB\027\n\025_import_custom" - + "_routesB&\n$_import_subnet_routes_with_pu" - + "blic_ipB\007\n\005_nameB\n\n\010_networkB\013\n\t_peer_mt" - + "uB\010\n\006_stateB\020\n\016_state_details\"\316\001\n\030Networ" - + "kPerformanceConfig\022+\n\033total_egress_bandw" - + "idth_tier\030\377\237\205> \001(\tH\000\210\001\001\"e\n\030TotalEgressBa" - + "ndwidthTier\022)\n%UNDEFINED_TOTAL_EGRESS_BA" - + "NDWIDTH_TIER\020\000\022\016\n\007DEFAULT\020\241\304\3756\022\016\n\006TIER_1" - + "\020\224\312\361\233\001B\036\n\034_total_egress_bandwidth_tier\"\222" - + "\001\n\024NetworkRoutingConfig\022\035\n\014routing_mode\030" - + "\374\272\310\342\001 \001(\tH\000\210\001\001\"J\n\013RoutingMode\022\032\n\026UNDEFIN" - + "ED_ROUTING_MODE\020\000\022\016\n\006GLOBAL\020\243\357\357\353\001\022\017\n\010REG" - + "IONAL\020\237\354\200,B\017\n\r_routing_mode\"\204\002\n\031Networks" - + "AddPeeringRequest\022\"\n\022auto_create_routes\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\017n" - + "etwork_peering\030\257\214\354\234\001 \001(\0132\'.google.cloud." - + "compute.v1.NetworkPeeringH\002\210\001\001\022\035\n\014peer_n" - + "etwork\030\321\340\333\356\001 \001(\tH\003\210\001\001B\025\n\023_auto_create_ro" - + "utesB\007\n\005_nameB\022\n\020_network_peeringB\017\n\r_pe" - + "er_network\"\326\001\n%NetworksGetEffectiveFirew" - + "allsResponse\022s\n\020firewall_policys\030\302\312\374\303\001 \003" - + "(\0132U.google.cloud.compute.v1.NetworksGet" - + "EffectiveFirewallsResponseEffectiveFirew" - + "allPolicy\0228\n\tfirewalls\030\363\306\350\201\001 \003(\0132!.googl" - + "e.cloud.compute.v1.Firewall\"\352\002\n\n\005value\030\002 \001(\0132/.google.cloud.compute" + + ".v1.ReservationsScopedList:\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\"\247\002\n\017ReservationList\022\020\n\002id\030\233" + + "\032 \001(\tH\000\210\001\001\0226\n\005items\030\300\317\367/ \003(\0132$.google.cl" + + "oud.compute.v1.Reservation\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\"\231\001\n\024NodeG" - + "roupsScopedList\022:\n\013node_groups\030\261\205\363\" \003(\0132" - + "\".google.cloud.compute.v1.NodeGroup\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\"T\n NodeGroups" - + "SetNodeTemplateRequest\022\036\n\rnode_template\030" - + "\227\344\213\232\001 \001(\tH\000\210\001\001B\020\n\016_node_template\"\251\t\n\014Nod" - + "eTemplate\022D\n\014accelerators\030\350\326\305\200\001 \003(\0132*.go" - + "ogle.cloud.compute.v1.AcceleratorConfig\022" - + "#\n\023cpu_overcommit_type\030\327\216\220v \001(\tH\000\210\001\001\022\"\n\022" - + "creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013desc" - + "ription\030\374\207\326\311\001 \001(\tH\002\210\001\001\0224\n\005disks\030\366\314\312- \003(\013" - + "2\".google.cloud.compute.v1.LocalDisk\022\020\n\002" - + "id\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\004" - + "name\030\213\365\315\001 \001(\tH\005\210\001\001\022_\n\024node_affinity_labe" - + "ls\030\271\255\323\241\001 \003(\0132=.google.cloud.compute.v1.N" - + "odeTemplate.NodeAffinityLabelsEntry\022\032\n\tn" - + "ode_type\030\327\226\220\336\001 \001(\tH\006\210\001\001\022`\n\025node_type_fle" - + "xibility\030\261\350\251\226\001 \001(\01328.google.cloud.comput" - + "e.v1.NodeTemplateNodeTypeFlexibilityH\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(\013" - + "2&.google.cloud.compute.v1.ServerBinding" - + "H\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\027NodeAffinityLa" - + "belsEntry\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\037CPU_OVERCOMMIT_TYPE" - + "_UNSPECIFIED\020\217\364\242\370\001\022\016\n\007ENABLED\020\241\256\354V\022\013\n\004NO" - + "NE\020\270\316\222\001\"a\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\007I" - + "NVALID\020\327\373\355\374\001\022\014\n\005READY\020\203\303\217%B\026\n\024_cpu_overc" - + "ommit_typeB\025\n\023_creation_timestampB\016\n\014_de" - + "scriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\014\n\n_n" - + "ode_typeB\030\n\026_node_type_flexibilityB\t\n\007_r" - + "egionB\014\n\n_self_linkB\021\n\017_server_bindingB\t" - + "\n\007_statusB\021\n\017_status_message\"\305\003\n\032NodeTem" - + "plateAggregatedList\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.v" - + "1.NodeTemplateAggregatedList.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\032^\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022?\n\005val" - + "ue\030\002 \001(\01320.google.cloud.compute.v1.NodeT" - + "emplatesScopedList:\0028\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\"\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.cloud.com" - + "pute.v1.NodeTemplate\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210" + + "okenB\014\n\n_self_linkB\n\n\010_warning\"V\n\031Reserv" + + "ationsResizeRequest\022\"\n\022specific_sku_coun" + + "t\030\240\351\317\006 \001(\003H\000\210\001\001B\025\n\023_specific_sku_count\"\237" + + "\001\n\026ReservationsScopedList\022>\n\014reservation" + + "s\030\247\354\314\276\001 \003(\0132$.google.cloud.compute.v1.Re" + + "servation\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.c" + + "loud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning" + + "\"\233\001\n\024ResetInstanceRequest\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\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\"\360" + + "\001\n\021ResizeDiskRequest\022\024\n\004disk\030\235\233\274\001 \001(\tB\003\340" + + "A\002\022Z\n\035disks_resize_request_resource\030\240\302\253%" + + " \001(\0132+.google.cloud.compute.v1.DisksResi" + + "zeRequestB\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\"\314\001\n!ResizeInstanceGroupManagerRequest\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\nre" + + "quest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\024\n\004size\030\201\300\327\001 \001(\005B" + + "\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\"\210\002\n\027ResizeRegionDiskRequest\022\024\n\004" + + "disk\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\006" + + "region\022h\n$region_disks_resize_request_re" + + "source\030\225\252\374\324\001 \001(\01321.google.cloud.compute." + + "v1.RegionDisksResizeRequestB\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\"\326\001\n\'" + + "ResizeRegionInstanceGroupManagerRequest\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\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\024\n\004size\030\201\300\327\001 \001(\005B\003\340A\002B\r\n" + + "\013_request_id\"\215\002\n\030ResizeReservationReques" + + "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\033\n\013reservation\030" + + "\314\207\325\026 \001(\tB\003\340A\002\022i\n$reservations_resize_req" + + "uest_resource\030\321\333\316\271\001 \001(\01322.google.cloud.c" + + "ompute.v1.ReservationsResizeRequestB\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\"\202\002\n\022ResourceCommitment\022 \n\020accelerat" + + "or_type\030\216\341\350A \001(\tH\000\210\001\001\022\026\n\006amount\030\330\240\351] \001(\003" + + "H\001\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\002\210\001\001\"s\n\004Type\022\022\n\016U" + + "NDEFINED_TYPE\020\000\022\023\n\013ACCELERATOR\020\313\354\371\314\001\022\021\n\t" + + "LOCAL_SSD\020\360\365\326\362\001\022\r\n\006MEMORY\020\201\342\326:\022\023\n\013UNSPEC" + + "IFIED\020\227\276\230\373\001\022\013\n\004VCPU\020\362\272\240\001B\023\n\021_accelerator" + + "_typeB\t\n\007_amountB\007\n\005_type\"9\n\026ResourceGro" + + "upReference\022\025\n\005group\030\377\354\203/ \001(\tH\000\210\001\001B\010\n\006_g" + + "roup\"\252\001\n\032ResourcePoliciesScopedList\022E\n\021r" + + "esource_policies\030\341\234\314\n \003(\0132\'.google.cloud" + + ".compute.v1.ResourcePolicy\0229\n\007warning\030\234\337" + + "\226\030 \001(\0132 .google.cloud.compute.v1.Warning" + + "H\000\210\001\001B\n\n\010_warning\"\255\007\n\016ResourcePolicy\022\"\n\022" + + "creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013desc" + + "ription\030\374\207\326\311\001 \001(\tH\001\210\001\001\022c\n\026group_placemen" + + "t_policy\030\214\233\233\005 \001(\0132;.google.cloud.compute" + + ".v1.ResourcePolicyGroupPlacementPolicyH\002" + + "\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022h\n\030instance_schedu" + + "le_policy\030\260\320\271\244\001 \001(\0132=.google.cloud.compu" + + "te.v1.ResourcePolicyInstanceSchedulePoli" + + "cyH\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\006region\030\364\315\240B \001(\tH\007\210\001\001\022V\n\017r" + + "esource_status\030\303\372\367v \001(\01325.google.cloud.c" + + "ompute.v1.ResourcePolicyResourceStatusH\010" + + "\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022g\n\030snaps" + + "hot_schedule_policy\030\337\326\201h \001(\0132=.google.cl" + + "oud.compute.v1.ResourcePolicySnapshotSch" + + "edulePolicyH\n\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\013\210\001\001" + + "\"r\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010CREA" + + "TING\020\271\275\235\331\001\022\020\n\010DELETING\020\250\247\207\374\001\022\017\n\007EXPIRED\020" + + "\205\346\210\346\001\022\017\n\007INVALID\020\327\373\355\374\001\022\014\n\005READY\020\203\303\217%B\025\n\023" + + "_creation_timestampB\016\n\014_descriptionB\031\n\027_" + + "group_placement_policyB\005\n\003_idB\033\n\031_instan" + + "ce_schedule_policyB\007\n\005_kindB\007\n\005_nameB\t\n\007" + + "_regionB\022\n\020_resource_statusB\014\n\n_self_lin" + + "kB\033\n\031_snapshot_schedule_policyB\t\n\007_statu" + + "s\"\353\003\n\034ResourcePolicyAggregatedList\022\024\n\004et" + + "ag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n\002id\030\233\032 \001(\tH\001\210\001\001\022R\n\005it" + + "ems\030\300\317\367/ \003(\0132@.google.cloud.compute.v1.R" + + "esourcePolicyAggregatedList.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.compute.v1.Warning" + + "H\005\210\001\001\032a\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022B\n\005valu" + + "e\030\002 \001(\01323.google.cloud.compute.v1.Resour" + + "cePoliciesScopedList:\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\"\236\001\n\030ResourcePolicyDailyC" + + "ycle\022\036\n\rdays_in_cycle\030\264\230\252\260\001 \001(\005H\000\210\001\001\022\030\n\010" + + "duration\030\224\233\221J \001(\tH\001\210\001\001\022\032\n\nstart_time\030\212\351\356" + + "\021 \001(\tH\002\210\001\001B\020\n\016_days_in_cycleB\013\n\t_duratio" + + "nB\r\n\013_start_time\"\240\002\n\"ResourcePolicyGroup" + + "PlacementPolicy\022)\n\031availability_domain_c" + + "ount\030\270\214\370\005 \001(\005H\000\210\001\001\022\034\n\013collocation\030\265\302\336\363\001 " + + "\001(\tH\001\210\001\001\022\030\n\010vm_count\030\207\273\326| \001(\005H\002\210\001\001\"\\\n\013Co" + + "llocation\022\031\n\025UNDEFINED_COLLOCATION\020\000\022\021\n\n" + + "COLLOCATED\020\322\253\2361\022\037\n\027UNSPECIFIED_COLLOCATI" + + "ON\020\355\217\263\335\001B\034\n\032_availability_domain_countB\016" + + "\n\014_collocationB\013\n\t_vm_count\"\241\001\n\031Resource" + + "PolicyHourlyCycle\022\030\n\010duration\030\224\233\221J \001(\tH\000" + + "\210\001\001\022\037\n\016hours_in_cycle\030\374\210\227\373\001 \001(\005H\001\210\001\001\022\032\n\n" + + "start_time\030\212\351\356\021 \001(\tH\002\210\001\001B\013\n\t_durationB\021\n" + + "\017_hours_in_cycleB\r\n\013_start_time\"\256\003\n$Reso" + + "urcePolicyInstanceSchedulePolicy\022\037\n\017expi" + + "ration_time\030\335\254\350m \001(\tH\000\210\001\001\022\032\n\nstart_time\030" + + "\212\351\356\021 \001(\tH\001\210\001\001\022\031\n\ttime_zone\030\336\203\311\021 \001(\tH\002\210\001\001" + + "\022h\n\021vm_start_schedule\030\334\220\274\010 \001(\0132E.google." + + "cloud.compute.v1.ResourcePolicyInstanceS" + + "chedulePolicyScheduleH\003\210\001\001\022h\n\020vm_stop_sc" + + "hedule\030\254\345\237\313\001 \001(\0132E.google.cloud.compute." + + "v1.ResourcePolicyInstanceSchedulePolicyS" + + "cheduleH\004\210\001\001B\022\n\020_expiration_timeB\r\n\013_sta" + + "rt_timeB\014\n\n_time_zoneB\024\n\022_vm_start_sched" + + "uleB\023\n\021_vm_stop_schedule\"V\n,ResourcePoli" + + "cyInstanceSchedulePolicySchedule\022\031\n\010sche" + + "dule\030\227\245\232\263\001 \001(\tH\000\210\001\001B\013\n\t_schedule\"\314\002\n\022Res" + + "ourcePolicyList\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\0229\n\005items\030\300\317\367/ \003(\0132\'.goog" + + "le.cloud.compute.v1.ResourcePolicy\022\024\n\004ki" + + "nd\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.compute" + + ".v1.WarningH\005\210\001\001B\007\n\005_etagB\005\n\003_idB\007\n\005_kin" + + "dB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_" + + "warning\"\271\001\n\034ResourcePolicyResourceStatus" + + "\022|\n\030instance_schedule_policy\030\260\320\271\244\001 \001(\0132Q" + + ".google.cloud.compute.v1.ResourcePolicyR" + + "esourceStatusInstanceSchedulePolicyStatu" + + "sH\000\210\001\001B\033\n\031_instance_schedule_policy\"\266\001\n8" + + "ResourcePolicyResourceStatusInstanceSche" + + "dulePolicyStatus\022$\n\023last_run_start_time\030" + + "\207\357\301\220\001 \001(\tH\000\210\001\001\022$\n\023next_run_start_time\030\212\263" + + "\370\227\001 \001(\tH\001\210\001\001B\026\n\024_last_run_start_timeB\026\n\024" + + "_next_run_start_time\"\250\003\n$ResourcePolicyS" + + "napshotSchedulePolicy\022n\n\020retention_polic" + + "y\030\363\312\334 \001(\0132L.google.cloud.compute.v1.Res" + + "ourcePolicySnapshotSchedulePolicyRetenti" + + "onPolicyH\000\210\001\001\022`\n\010schedule\030\227\245\232\263\001 \001(\0132E.go" + + "ogle.cloud.compute.v1.ResourcePolicySnap" + + "shotSchedulePolicyScheduleH\001\210\001\001\022t\n\023snaps" + + "hot_properties\030\216\225\262X \001(\0132O.google.cloud.c" + + "ompute.v1.ResourcePolicySnapshotSchedule" + + "PolicySnapshotPropertiesH\002\210\001\001B\023\n\021_retent" + + "ion_policyB\013\n\t_scheduleB\026\n\024_snapshot_pro" + + "perties\"\325\002\n3ResourcePolicySnapshotSchedu" + + "lePolicyRetentionPolicy\022#\n\022max_retention" + + "_days\030\223\302\321\232\001 \001(\005H\000\210\001\001\022&\n\025on_source_disk_d" + + "elete\030\311\315\302\231\001 \001(\tH\001\210\001\001\"\237\001\n\022OnSourceDiskDel" + + "ete\022#\n\037UNDEFINED_ON_SOURCE_DISK_DELETE\020\000" + + "\022\036\n\026APPLY_RETENTION_POLICY\020\344\224\222\377\001\022\032\n\023KEEP" + + "_AUTO_SNAPSHOTS\020\371\310\273{\022(\n!UNSPECIFIED_ON_S" + + "OURCE_DISK_DELETE\020\241\377\203rB\025\n\023_max_retention" + + "_daysB\030\n\026_on_source_disk_delete\"\347\002\n,Reso" + + "urcePolicySnapshotSchedulePolicySchedule" + + "\022Q\n\016daily_schedule\030\375\343\212) \001(\01321.google.clo" + + "ud.compute.v1.ResourcePolicyDailyCycleH\000" + + "\210\001\001\022S\n\017hourly_schedule\030\245\261\243\022 \001(\01322.google" + + ".cloud.compute.v1.ResourcePolicyHourlyCy" + + "cleH\001\210\001\001\022T\n\017weekly_schedule\030\225\211\271\253\001 \001(\01322." + + "google.cloud.compute.v1.ResourcePolicyWe" + + "eklyCycleH\002\210\001\001B\021\n\017_daily_scheduleB\022\n\020_ho" + + "urly_scheduleB\022\n\020_weekly_schedule\"\320\002\n6Re" + + "sourcePolicySnapshotSchedulePolicySnapsh" + + "otProperties\022\032\n\nchain_name\030\311\332\335 \001(\tH\000\210\001\001" + + "\022\034\n\013guest_flush\030\335\223\354\267\001 \001(\010H\001\210\001\001\022o\n\006labels" + + "\030\377\277\301\356\001 \003(\0132[.google.cloud.compute.v1.Res" + + "ourcePolicySnapshotSchedulePolicySnapsho" + + "tProperties.LabelsEntry\022\035\n\021storage_locat" + + "ions\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\001B\r\n\013_chain_nameB\016\n\014" + + "_guest_flush\"q\n\031ResourcePolicyWeeklyCycl" + + "e\022T\n\014day_of_weeks\030\332\237\373z \003(\0132;.google.clou" + + "d.compute.v1.ResourcePolicyWeeklyCycleDa" + + "yOfWeek\"\264\002\n\"ResourcePolicyWeeklyCycleDay" + + "OfWeek\022\022\n\003day\030\234\207\006 \001(\tH\000\210\001\001\022\030\n\010duration\030\224" + + "\233\221J \001(\tH\001\210\001\001\022\032\n\nstart_time\030\212\351\356\021 \001(\tH\002\210\001\001" + + "\"\237\001\n\003Day\022\021\n\rUNDEFINED_DAY\020\000\022\016\n\006FRIDAY\020\337\362" + + "\343\340\001\022\017\n\007INVALID\020\327\373\355\374\001\022\r\n\006MONDAY\020\220\312\213?\022\020\n\010S" + + "ATURDAY\020\271\217\207\205\001\022\016\n\006SUNDAY\020\320\213\322\223\001\022\017\n\010THURSDA" + + "Y\020\332\263\346b\022\017\n\007TUESDAY\020\255\354\251\204\001\022\021\n\tWEDNESDAY\020\266\316\236" + + "\311\001B\006\n\004_dayB\013\n\t_durationB\r\n\013_start_time\"\234" + + "\001\n\025ResumeInstanceRequest\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\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\"\226\t" + + "\n\005Route\0229\n\010as_paths\030\241\305\314A \003(\0132$.google.cl" + + "oud.compute.v1.RouteAsPath\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\033\n\ndest_range\030\340\262\352\265\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\027\n\007network\030\256\264\205o " + + "\001(\tH\006\210\001\001\022!\n\020next_hop_gateway\030\202\372\354\263\001 \001(\tH\007" + + "\210\001\001\022\034\n\014next_hop_ilb\030\335\272\336^ \001(\tH\010\210\001\001\022\"\n\021nex" + + "t_hop_instance\030\227\353\321\273\001 \001(\tH\t\210\001\001\022\033\n\013next_ho" + + "p_ip\030\251\257\3154 \001(\tH\n\210\001\001\022 \n\020next_hop_network\030\354" + + "\241\211} \001(\tH\013\210\001\001\022!\n\020next_hop_peering\030\376\223\344\304\001 \001" + + "(\tH\014\210\001\001\022$\n\023next_hop_vpn_tunnel\030\225\345\360\367\001 \001(\t" + + "H\r\210\001\001\022\031\n\010priority\030\244\363\241\324\001 \001(\rH\016\210\001\001\022\035\n\014rout" + + "e_status\030\250\315\262\307\001 \001(\tH\017\210\001\001\022\033\n\nroute_type\030\360\266" + + "\236\263\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\017\n\004tags\030\231\350\330\001 \003(\t\0227\n\010warnings\030\327\210\301\355\001 \003(\0132" + + "!.google.cloud.compute.v1.Warnings\"l\n\013Ro" + + "uteStatus\022\032\n\026UNDEFINED_ROUTE_STATUS\020\000\022\016\n" + + "\006ACTIVE\020\206\346\211\226\001\022\017\n\007DROPPED\020\240\347\317\354\001\022\020\n\010INACTI" + + "VE\020\353\230\371\200\001\022\016\n\007PENDING\020\367\252\360\020\"`\n\tRouteType\022\030\n" + + "\024UNDEFINED_ROUTE_TYPE\020\000\022\t\n\003BGP\020\253\201\004\022\016\n\006ST" + + "ATIC\020\356\204\203\223\001\022\016\n\006SUBNET\020\335\356\274\223\001\022\016\n\007TRANSIT\020\263\203" + + "\306YB\025\n\023_creation_timestampB\016\n\014_descriptio" + + "nB\r\n\013_dest_rangeB\005\n\003_idB\007\n\005_kindB\007\n\005_nam" + + "eB\n\n\010_networkB\023\n\021_next_hop_gatewayB\017\n\r_n" + + "ext_hop_ilbB\024\n\022_next_hop_instanceB\016\n\014_ne" + + "xt_hop_ipB\023\n\021_next_hop_networkB\023\n\021_next_" + + "hop_peeringB\026\n\024_next_hop_vpn_tunnelB\013\n\t_" + + "priorityB\017\n\r_route_statusB\r\n\013_route_type" + + "B\014\n\n_self_link\"\347\001\n\013RouteAsPath\022\023\n\010as_lis" + + "ts\030\310\312\371? \003(\r\022\"\n\021path_segment_type\030\240\265\353\364\001 \001" + + "(\tH\000\210\001\001\"\210\001\n\017PathSegmentType\022\037\n\033UNDEFINED" + + "_PATH_SEGMENT_TYPE\020\000\022\031\n\022AS_CONFED_SEQUEN" + + "CE\020\260\217\367i\022\025\n\rAS_CONFED_SET\020\363\315\255\262\001\022\022\n\013AS_SEQ" + + "UENCE\020\256\322\3622\022\016\n\006AS_SET\020\265\235\244\235\001B\024\n\022_path_segm" + + "ent_type\"\233\002\n\tRouteList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001" + + "\0220\n\005items\030\300\317\367/ \003(\0132\036.google.cloud.comput" + + "e.v1.Route\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\"\201\005\n\006Router\0226\n\003bgp\030\313\371\005 \001(\013" + + "2\".google.cloud.compute.v1.RouterBgpH\000\210\001" + + "\001\022=\n\tbgp_peers\030\335\255\356\327\001 \003(\0132&.google.cloud." + + "compute.v1.RouterBgpPeer\022\"\n\022creation_tim" + + "estamp\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\035encrypted_interconnect_rou" + + "ter\030\237\242\214\216\001 \001(\010H\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022?\n\n" + + "interfaces\030\332\364\340\005 \003(\0132(.google.cloud.compu" + + "te.v1.RouterInterface\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\0223\n\004nats\030\362\366\315\001 \003" + + "(\0132\".google.cloud.compute.v1.RouterNat\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\001B\006\n\004_" + + "bgpB\025\n\023_creation_timestampB\016\n\014_descripti" + + "onB \n\036_encrypted_interconnect_routerB\005\n\003" + + "_idB\007\n\005_kindB\007\n\005_nameB\n\n\010_networkB\t\n\007_re" + + "gionB\014\n\n_self_link\"h\n\027RouterAdvertisedIp" + + "Range\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001\001\022\025\n\005r" + + "ange\030\275\362\3203 \001(\tH\001\210\001\001B\016\n\014_descriptionB\010\n\006_r" + + "ange\"\263\003\n\024RouterAggregatedList\022\020\n\002id\030\233\032 \001" + + "(\tH\000\210\001\001\022J\n\005items\030\300\317\367/ \003(\01328.google.cloud" + + ".compute.v1.RouterAggregatedList.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\032X\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0229\n" + + "\005value\030\002 \001(\0132*.google.cloud.compute.v1.R" + + "outersScopedList:\0028\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\"\240\003\n\tRouterBgp\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\022" + + "Q\n\024advertised_ip_ranges\030\314\330\363\020 \003(\01320.googl" + + "e.cloud.compute.v1.RouterAdvertisedIpRan" + + "ge\022\022\n\003asn\030\374\364\005 \001(\rH\001\210\001\001\022#\n\022keepalive_inte" + + "rval\030\274\345\374\203\001 \001(\rH\002\210\001\001\"M\n\rAdvertiseMode\022\034\n\030" + + "UNDEFINED_ADVERTISE_MODE\020\000\022\016\n\006CUSTOM\020\361\376\245" + + "\271\001\022\016\n\007DEFAULT\020\241\304\3756\"G\n\020AdvertisedGroups\022\037" + + "\n\033UNDEFINED_ADVERTISED_GROUPS\020\000\022\022\n\013ALL_S" + + "UBNETS\020\330\217\335\001B\021\n\017_advertise_modeB\006\n\004_asnB\025" + + "\n\023_keepalive_interval\"\264\t\n\rRouterBgpPeer\022" + + "\037\n\016advertise_mode\030\273\225\353\224\001 \001(\tH\000\210\001\001\022\034\n\021adve" + + "rtised_groups\030\266\336\205\n \003(\t\022Q\n\024advertised_ip_" + + "ranges\030\314\330\363\020 \003(\01320.google.cloud.compute.v" + + "1.RouterAdvertisedIpRange\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.cloud.compute.v1.RouterBgpP" + + "eerBfdH\002\210\001\001\022\027\n\006enable\030\203\313\324\224\001 \001(\tH\003\210\001\001\022\033\n\013" + + "enable_ipv6\030\243\366\303V \001(\010H\004\210\001\001\022\037\n\016interface_n" + + "ame\030\321\303\344\320\001 \001(\tH\005\210\001\001\022\033\n\nip_address\030\334\361\334\301\001 \001" + + "(\tH\006\210\001\001\022$\n\024ipv6_nexthop_address\030\323\205\253\r \001(\t" + + "H\007\210\001\001\022\037\n\017management_type\030\266\203\352R \001(\tH\010\210\001\001\022\024" + + "\n\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\030\n\010peer_asn\030\237\264\226! \001(" + + "\rH\n\210\001\001\022\037\n\017peer_ip_address\030\331\227\207c \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\031router_appliance_instance\030\235\307\247\337\001 \001" + + "(\tH\r\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\t\n\007_enableB\016\n\014_enab" + + "le_ipv6B\021\n\017_interface_nameB\r\n\013_ip_addres" + + "sB\027\n\025_ipv6_nexthop_addressB\022\n\020_managemen" + + "t_typeB\007\n\005_nameB\013\n\t_peer_asnB\022\n\020_peer_ip" + + "_addressB\034\n\032_peer_ipv6_nexthop_addressB\034" + + "\n\032_router_appliance_instance\"\206\003\n\020RouterB" + + "gpPeerBfd\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\033s" + + "ession_initialization_mode\030\271\215\3032 \001(\tH\003\210\001\001" + + "\"y\n\031SessionInitializationMode\022)\n%UNDEFIN" + + "ED_SESSION_INITIALIZATION_MODE\020\000\022\016\n\006ACTI" + + "VE\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_tra" + + "nsmit_intervalB\r\n\013_multiplierB\036\n\034_sessio" + + "n_initialization_mode\"\250\004\n\017RouterInterfac" + + "e\022\030\n\010ip_range\030\245\340\227E \001(\tH\000\210\001\001\022/\n\036linked_in" + + "terconnect_attachment\030\316\352\367\356\001 \001(\tH\001\210\001\001\022\"\n\021" + + "linked_vpn_tunnel\030\371\277\376\247\001 \001(\tH\002\210\001\001\022\037\n\017mana" + + "gement_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_address\030\230\322\2130 \001(\tH\005" + + "\210\001\001\022$\n\023redundant_interface\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\016Manage" + + "mentType\022\035\n\031UNDEFINED_MANAGEMENT_TYPE\020\000\022" + + "\035\n\025MANAGED_BY_ATTACHMENT\020\313\322\352\332\001\022\027\n\017MANAGE" + + "D_BY_USER\020\363\213\246\227\001B\013\n\t_ip_rangeB!\n\037_linked_" + + "interconnect_attachmentB\024\n\022_linked_vpn_t" + + "unnelB\022\n\020_management_typeB\007\n\005_nameB\025\n\023_p" + + "rivate_ip_addressB\026\n\024_redundant_interfac" + + "eB\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.clo" + + "ud.compute.v1.Router\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\"\216\001\n\037NodeTemplat" - + "eNodeTypeFlexibility\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\006memory" - + "\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\027NodeTemplatesScopedList\022A\n" - + "\016node_templates\030\274\242\355\250\001 \003(\0132%.google.cloud" - + ".compute.v1.NodeTemplate\0229\n\007warning\030\234\337\226\030" - + " \001(\0132 .google.cloud.compute.v1.WarningH\000" - + "\210\001\001B\n\n\010_warning\"\240\004\n\010NodeType\022\035\n\014cpu_plat" - + "form\030\252\352\321\303\001 \001(\tH\000\210\001\001\022\"\n\022creation_timestam" - + "p\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.DeprecationSta" - + "tusH\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(\004" - + "H\005\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022\035\n\014local_ssd" - + "_gb\030\312\210\377\234\001 \001(\005H\007\210\001\001\022\031\n\tmemory_mb\030\223\223\2507 \001(\005" - + "H\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\022\024\n\004zone\030\254\307\344\001 \001(\tH\013\210\001\001B\017\n" - + "\r_cpu_platformB\025\n\023_creation_timestampB\r\n" - + "\013_deprecatedB\016\n\014_descriptionB\r\n\013_guest_c" - + "pusB\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_zo" - + "ne\"\271\003\n\026NodeTypeAggregatedList\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.NodeTypeAggregatedList.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\032Z\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022" - + ";\n\005value\030\002 \001(\0132,.google.cloud.compute.v1" - + ".NodeTypesScopedList:\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\"\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.compu" - + "te.v1.NodeType\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\"\227\001\n\023NodeTypesScopedLi" - + "st\0229\n\nnode_types\030\374\277\365\345\001 \003(\0132!.google.clou" - + "d.compute.v1.NodeType\0229\n\007warning\030\234\337\226\030 \001(" - + "\0132 .google.cloud.compute.v1.WarningH\000\210\001\001" - + "B\n\n\010_warning\"\220\003\n\024NotificationEndpoint\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\022Y\n\rgrpc_settings" - + "\030\244\306\300\331\001 \001(\01329.google.cloud.compute.v1.Not" - + "ificationEndpointGrpcSettingsH\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\004na" - + "me\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_creatio" - + "n_timestampB\016\n\014_descriptionB\020\n\016_grpc_set" - + "tingsB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_regio" - + "nB\014\n\n_self_link\"\267\002\n NotificationEndpoint" - + "GrpcSettings\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\014payload_na" - + "me\030\234\265\234\217\001 \001(\tH\002\210\001\001\022C\n\017resend_interval\030\311\270\210" - + "\344\001 \001(\0132!.google.cloud.compute.v1.Duratio" - + "nH\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_payloa" - + "d_nameB\022\n\020_resend_intervalB\025\n\023_retry_dur" - + "ation_sec\"\271\002\n\030NotificationEndpointList\022\020" - + "\n\002id\030\233\032 \001(\tH\000\210\001\001\022?\n\005items\030\300\317\367/ \003(\0132-.goo" - + "gle.cloud.compute.v1.NotificationEndpoin" - + "t\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\"\333\t\n\tOperation\022$\n\023client_operation_" - + "id\030\347\215\336\215\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\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_message\030\331\372\310` \001(\tB\003\350G\004" - + "H\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\013insert_" - + "time\030\223\251\350\316\001 \001(\tH\010\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\t\210\001" - + "\001\022\031\n\004name\030\213\365\315\001 \001(\tB\003\350G\001H\n\210\001\001\022\"\n\022operatio" - + "n_group_id\030\263\355\223\023 \001(\tH\013\210\001\001\022\036\n\016operation_ty" - + "pe\030\222\366\332T \001(\tH\014\210\001\001\022\030\n\010progress\030\255\204\323\" \001(\005H\r\210" - + "\001\001\022\026\n\006region\030\364\315\240B \001(\tH\016\210\001\001\022\032\n\tself_link\030" - + "\215\222\305\331\001 \001(\tH\017\210\001\001\022\032\n\nstart_time\030\212\351\356\021 \001(\tH\020\210" - + "\001\001\022F\n\006status\030\362\237\267V \001(\0162).google.cloud.com" - + "pute.v1.Operation.StatusB\003\350G\002H\021\210\001\001\022\037\n\016st" - + "atus_message\030\272\311\351\215\001 \001(\tH\022\210\001\001\022\031\n\ttarget_id" - + "\030\211\225\215{ \001(\004H\023\210\001\001\022\033\n\013target_link\030\350\223\361\035 \001(\tH\024" - + "\210\001\001\022\024\n\004user\030\313\327\333\001 \001(\tH\025\210\001\001\0227\n\010warnings\030\327\210" - + "\301\355\001 \003(\0132!.google.cloud.compute.v1.Warnin" - + "gs\022\024\n\004zone\030\254\307\344\001 \001(\tH\026\210\001\001\"K\n\006Status\022\024\n\020UN" - + "DEFINED_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_operati" - + "on_idB\025\n\023_creation_timestampB\016\n\014_descrip" - + "tionB\013\n\t_end_timeB\010\n\006_errorB\025\n\023_http_err" - + "or_messageB\031\n\027_http_error_status_codeB\005\n" - + "\003_idB\016\n\014_insert_timeB\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_linkB\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" + + "\n\n_self_linkB\n\n\010_warning\"\224\013\n\tRouterNat\022\031" + + "\n\rdrain_nat_ips\030\307\301\256\360\001 \003(\t\022/\n\036enable_dyna" + + "mic_port_allocation\030\242\231\335\375\001 \001(\010H\000\210\001\001\0223\n#en" + + "able_endpoint_independent_mapping\030\233\211\333{ \001" + + "(\010H\001\210\001\001\022%\n\025icmp_idle_timeout_sec\030\312\320\336\001 \001(" + + "\005H\002\210\001\001\022H\n\nlog_config\030\235\321\301\247\001 \001(\0132+.google." + + "cloud.compute.v1.RouterNatLogConfigH\003\210\001\001" + + "\022 \n\020max_ports_per_vm\030\341\311\236w \001(\005H\004\210\001\001\022 \n\020mi" + + "n_ports_per_vm\030\263\255\344X \001(\005H\005\210\001\001\022\024\n\004name\030\213\365\315" + + "\001 \001(\tH\006\210\001\001\022\'\n\026nat_ip_allocate_option\030\375\270\364" + + "\314\001 \001(\tH\007\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.compute.v1.Rout" + + "erNatRule\0222\n\"source_subnetwork_ip_ranges" + + "_to_nat\030\333\357\241x \001(\tH\010\210\001\001\022J\n\013subnetworks\030\305\324\245" + + "\306\001 \003(\01321.google.cloud.compute.v1.RouterN" + + "atSubnetworkToNat\0220\n tcp_established_idl" + + "e_timeout_sec\030\355\353\260j \001(\005H\t\210\001\001\022*\n\031tcp_time_" + + "wait_timeout_sec\030\375\273\363\364\001 \001(\005H\n\210\001\001\022/\n\037tcp_t" + + "ransitory_idle_timeout_sec\030\246\373\341a \001(\005H\013\210\001\001" + + "\022$\n\024udp_idle_timeout_sec\030\306\262\372\036 \001(\005H\014\210\001\001\"a" + + "\n\023NatIpAllocateOption\022$\n UNDEFINED_NAT_I" + + "P_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\035SourceSubnetworkIp" + + "RangesToNat\0220\n,UNDEFINED_SOURCE_SUBNETWO" + + "RK_IP_RANGES_TO_NAT\020\000\022$\n\035ALL_SUBNETWORKS" + + "_ALL_IP_RANGES\020\330\223\350U\022,\n%ALL_SUBNETWORKS_A" + + "LL_PRIMARY_IP_RANGES\020\273\303\276X\022\033\n\023LIST_OF_SUB" + + "NETWORKS\020\376\242\344\366\001B!\n\037_enable_dynamic_port_a" + + "llocationB&\n$_enable_endpoint_independen" + + "t_mappingB\030\n\026_icmp_idle_timeout_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_allocat" + + "e_optionB%\n#_source_subnetwork_ip_ranges" + + "_to_natB#\n!_tcp_established_idle_timeout" + + "_secB\034\n\032_tcp_time_wait_timeout_secB\"\n _t" + + "cp_transitory_idle_timeout_secB\027\n\025_udp_i" + + "dle_timeout_sec\"\267\001\n\022RouterNatLogConfig\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\013ERRORS_ONLY\020\200\260\317\222\001\022\031\n\021TRAN" + + "SLATIONS_ONLY\020\351\303\252\252\001B\t\n\007_enableB\t\n\007_filte" + + "r\"\335\001\n\rRouterNatRule\022D\n\006action\030\266\374\275Y \001(\0132," + + ".google.cloud.compute.v1.RouterNatRuleAc" + + "tionH\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_number\"Y\n\023RouterNatRu" + + "leAction\022 \n\025source_nat_active_ips\030\365\273\250d \003" + + "(\t\022 \n\024source_nat_drain_ips\030\243\305\301\242\001 \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_range_names\030\331\301\204~" + + " \003(\t\022#\n\027source_ip_ranges_to_nat\030\362\312\224\271\001 \003(" + + "\t\"\220\001\n\023SourceIpRangesToNat\022%\n!UNDEFINED_S" + + "OURCE_IP_RANGES_TO_NAT\020\000\022\024\n\rALL_IP_RANGE" + + "S\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.Route\022A\n\026best_" + + "routes_for_router\030\371\373\3668 \003(\0132\036.google.clou" + + "d.compute.v1.Route\022N\n\017bgp_peer_status\030\373\327" + + "\225h \003(\01322.google.cloud.compute.v1.RouterS" + + "tatusBgpPeerStatus\022E\n\nnat_status\030\320\231\213\036 \003(" + + "\0132..google.cloud.compute.v1.RouterStatus" + + "NatStatus\022\027\n\007network\030\256\264\205o \001(\tH\000\210\001\001B\n\n\010_n" + + "etwork\"\312\005\n\031RouterStatusBgpPeerStatus\022=\n\021" + + "advertised_routes\030\254\331\374\236\001 \003(\0132\036.google.clo" + + "ud.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\nip_address\030\334\361\334\301\001 \001(\tH\001\210\001\001\022\"\n\021lin" + + "ked_vpn_tunnel\030\371\277\376\247\001 \001(\tH\002\210\001\001\022\024\n\004name\030\213\365" + + "\315\001 \001(\tH\003\210\001\001\022\"\n\022num_learned_routes\030\377\325\313@ \001" + + "(\rH\004\210\001\001\022\037\n\017peer_ip_address\030\331\227\207c \001(\tH\005\210\001\001" + + "\022*\n\031router_appliance_instance\030\235\307\247\337\001 \001(\tH" + + "\006\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\007\210\001\001\022\026\n\006status\030\362\237" + + "\267V \001(\tH\010\210\001\001\022\026\n\006uptime\030\350\267\236p \001(\tH\t\210\001\001\022\036\n\016u" + + "ptime_seconds\030\250\312\3701 \001(\tH\n\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\007UNKN" + + "OWN\020\252\360\304\316\001\022\007\n\002UP\020\233\025B\r\n\013_bfd_statusB\r\n\013_ip" + + "_addressB\024\n\022_linked_vpn_tunnelB\007\n\005_nameB" + + "\025\n\023_num_learned_routesB\022\n\020_peer_ip_addre" + + "ssB\034\n\032_router_appliance_instanceB\010\n\006_sta" + + "teB\t\n\007_statusB\t\n\007_uptimeB\021\n\017_uptime_seco" + + "nds\"\367\003\n\025RouterStatusNatStatus\022\"\n\026auto_al" + + "located_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_use" + + "r_allocated_nat_ips\030\311\216\310\221\001 \003(\t\022)\n\030min_ext" + + "ra_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_stat" + + "us\030\225\305\356B \003(\0132;.google.cloud.compute.v1.Ro" + + "uterStatusNatStatusNatRuleStatus\022*\n\037user" + + "_allocated_nat_ip_resources\030\327\351\272e \003(\t\022\"\n\026" + + "user_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_v" + + "m_endpoints_with_nat_mappings\"\244\002\n\"Router" + + "StatusNatStatusNatRuleStatus\022\031\n\016active_n" + + "at_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_mappings\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#_num_vm" + + "_endpoints_with_nat_mappingsB\016\n\014_rule_nu" + + "mber\"\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.c" + + "loud.compute.v1.RouterStatusH\001\210\001\001B\007\n\005_ki" + + "ndB\t\n\007_result\"`\n\026RoutersPreviewResponse\022" + + "9\n\010resource\030\216\210\257] \001(\0132\037.google.cloud.comp" + + "ute.v1.RouterH\000\210\001\001B\013\n\t_resource\"\220\001\n\021Rout" + + "ersScopedList\0224\n\007routers\030\312\244\335\224\001 \003(\0132\037.goo" + + "gle.cloud.compute.v1.Router\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\004Rule\022\026\n\006action\030\266\374" + + "\275Y \001(\tH\000\210\001\001\0229\n\nconditions\030\270\355\220D \003(\0132\".goo" + + "gle.cloud.compute.v1.Condition\022\034\n\013descri" + + "ption\030\374\207\326\311\001 \001(\tH\001\210\001\001\022\r\n\003ins\030\356\257\006 \003(\t\022:\n\013l" + + "og_configs\030\366\326\362H \003(\0132\".google.cloud.compu" + + "te.v1.LogConfig\022\023\n\007not_ins\030\202\241\233\367\001 \003(\t\022\026\n\013" + + "permissions\030\204\351\313\034 \003(\t\"\203\001\n\006Action\022\024\n\020UNDEF" + + "INED_ACTION\020\000\022\014\n\005ALLOW\020\251\326\336\035\022\025\n\016ALLOW_WIT" + + "H_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_a" + + "ctionB\016\n\014_description\"\330\003\n\016SSLHealthCheck" + + "\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(\t" + + "H\002\210\001\001\022\034\n\014proxy_header\030\376\272\274L \001(\tH\003\210\001\001\022\027\n\007r" + + "equest\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\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_portB\014\n\n_port_nameB\025\n\023_port" + + "_specificationB\017\n\r_proxy_headerB\n\n\010_requ" + + "estB\013\n\t_response\"\217\010\n\021SavedAttachedDisk\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\022" + + "T\n\023disk_encryption_key\030\205\355\304\201\001 \001(\0132..googl" + + "e.cloud.compute.v1.CustomerEncryptionKey" + + "H\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\t" + + "disk_type\030\234\351\254, \001(\tH\005\210\001\001\022E\n\021guest_os_feat" + + "ures\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\rs" + + "torage_bytes\030\247\273\275\312\001 \001(\003H\013\210\001\001\022%\n\024storage_b" + + "ytes_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_INTER" + + "FACE\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\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\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_bo" + + "otB\016\n\014_device_nameB\026\n\024_disk_encryption_k" + + "eyB\017\n\r_disk_size_gbB\014\n\n_disk_typeB\010\n\006_in" + + "dexB\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_byt" + + "es_statusB\007\n\005_type\"\251\002\n\tSavedDisk\022\024\n\004kind" + + "\030\224\367\310\001 \001(\tH\000\210\001\001\022\034\n\013source_disk\030\301\356\264\327\001 \001(\tH" + + "\001\210\001\001\022\036\n\rstorage_bytes\030\247\273\275\312\001 \001(\003H\002\210\001\001\022%\n\024" + + "storage_bytes_status\030\212\253\200\352\001 \001(\tH\003\210\001\001\"]\n\022S" + + "torageBytesStatus\022\"\n\036UNDEFINED_STORAGE_B" + + "YTES_STATUS\020\000\022\020\n\010UPDATING\020\306\356\354\353\001\022\021\n\nUP_TO" + + "_DATE\020\316\242\2470B\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_t" + + "ime\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\005Sta" + + "te\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\005RE" + + "ADY\020\203\303\217%B\022\n\020_last_start_timeB\022\n\020_next_st" + + "art_timeB\010\n\006_state\"\261\006\n\nScheduling\022\"\n\021aut" + + "omatic_restart\030\373\267\244\247\001 \001(\010H\000\210\001\001\022+\n\033instanc" + + "e_termination_action\030\273\377\2313 \001(\tH\001\210\001\001\022\036\n\rlo" + + "cation_hint\030\321\201\222\247\001 \001(\tH\002\210\001\001\022\036\n\rmin_node_c" + + "pus\030\273\244\242\227\001 \001(\005H\003\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\004\210\001\001\022\034\n\013preemptible\030\241\345\313\232\001 \001(\010H\005" + + "\210\001\001\022!\n\022provisioning_model\030\327\226\036 \001(\tH\006\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\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(\t" + + "H\000\210\001\001\022\030\n\010operator\030\244\321\250\021 \001(\tH\001\210\001\001\022\021\n\006value" + + "s\030\242\272\226w \003(\t\"W\n\010Operator\022\026\n\022UNDEFINED_OPER" + + "ATOR\020\000\022\007\n\002IN\020\245\022\022\r\n\006NOT_IN\020\261\274\353L\022\033\n\024OPERAT" + + "OR_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" + + "_contentsB\007\n\005_kind\"\357\003\n\036SecurityPoliciesA" + + "ggregatedList\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\022\020\n\002i" + + "d\030\233\032 \001(\tH\001\210\001\001\022T\n\005items\030\300\317\367/ \003(\0132B.google" + + ".cloud.compute.v1.SecurityPoliciesAggreg" + + "atedList.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\tse" + + "lf_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.clo" + + "ud.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.cl" + + "oud.compute.v1.SecurityPoliciesScopedLis" + + "t:\0028\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\"\277\001\n" + + "7SecurityPoliciesListPreconfiguredExpres" + + "sionSetsResponse\022b\n\035preconfigured_expres" + + "sion_sets\030\372\214\327\377\001 \001(\01322.google.cloud.compu" + + "te.v1.SecurityPoliciesWafConfigH\000\210\001\001B \n\036" + + "_preconfigured_expression_sets\"\252\001\n\032Secur" + + "ityPoliciesScopedList\022E\n\021security_polici" + + "es\030\357\246\367< \003(\0132\'.google.cloud.compute.v1.Se" + + "curityPolicy\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\"r\n\031SecurityPoliciesWafConfig\022G\n\twaf_" + + "rules\030\324\303\333# \001(\0132,.google.cloud.compute.v1" + + ".PreconfiguredWafSetH\000\210\001\001B\014\n\n_waf_rules\"" + + "\245\010\n\016SecurityPolicy\022k\n\032adaptive_protectio" + + "n_config\030\337\373\321G \001(\0132?.google.cloud.compute" + + ".v1.SecurityPolicyAdaptiveProtectionConf" + + "igH\000\210\001\001\022f\n\027advanced_options_config\030\300\323\235\326\001" + + " \001(\0132<.google.cloud.compute.v1.SecurityP" + + "olicyAdvancedOptionsConfigH\001\210\001\001\022\"\n\022creat" + + "ion_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022c\n\026ddos_prot" + + "ection_config\030\315\204\377\027 \001(\0132;.google.cloud.co" + + "mpute.v1.SecurityPolicyDdosProtectionCon" + + "figH\003\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\033" + + "\n\013fingerprint\030\344\321\363o \001(\tH\005\210\001\001\022\020\n\002id\030\233\032 \001(\004" + + "H\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\022h\n\030recaptcha_options_config\030\333\324" + + "\275\367\001 \001(\0132=.google.cloud.compute.v1.Securi" + + "tyPolicyRecaptchaOptionsConfigH\t\210\001\001\022\026\n\006r" + + "egion\030\364\315\240B \001(\tH\n\210\001\001\022=\n\005rules\030\367\221\3653 \003(\0132+." + + "google.cloud.compute.v1.SecurityPolicyRu" + + "le\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\013\210\001\001\022\024\n\004type\030\272" + + "\236\332\001 \001(\tH\014\210\001\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_EDGE" + + "\020\307\242\307w\022\033\n\023CLOUD_ARMOR_NETWORK\020\304\254\371\350\001B\035\n\033_a" + + "daptive_protection_configB\032\n\030_advanced_o" + + "ptions_configB\025\n\023_creation_timestampB\031\n\027" + + "_ddos_protection_configB\016\n\014_descriptionB" + + "\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB\007\n\005_name" + + "B\033\n\031_recaptcha_options_configB\t\n\007_region" + + "B\014\n\n_self_linkB\007\n\005_type\"\315\001\n&SecurityPoli" + + "cyAdaptiveProtectionConfig\022\203\001\n\032layer7_dd" + + "os_defense_config\030\243\331\303\320\001 \001(\0132V.google.clo" + + "ud.compute.v1.SecurityPolicyAdaptiveProt" + + "ectionConfigLayer7DdosDefenseConfigH\000\210\001\001" + + "B\035\n\033_layer7_ddos_defense_config\"\355\001\n=Secu" + + "rityPolicyAdaptiveProtectionConfigLayer7" + + "DdosDefenseConfig\022\027\n\006enable\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\"R\n\016" + + "RuleVisibility\022\035\n\031UNDEFINED_RULE_VISIBIL" + + "ITY\020\000\022\017\n\007PREMIUM\020\267\264\301\276\001\022\020\n\010STANDARD\020\275\235\214\347\001" + + "B\t\n\007_enableB\022\n\020_rule_visibility\"\222\002\n#Secu" + + "rityPolicyAdvancedOptionsConfig\022\035\n\014json_" + + "parsing\030\331\204\332\206\001 \001(\tH\000\210\001\001\022\031\n\tlog_level\030\311\275\204C" + + " \001(\tH\001\210\001\001\"M\n\013JsonParsing\022\032\n\026UNDEFINED_JS" + + "ON_PARSING\020\000\022\020\n\010DISABLED\020\374\324\260\366\001\022\020\n\010STANDA" + + "RD\020\275\235\214\347\001\"C\n\010LogLevel\022\027\n\023UNDEFINED_LOG_LE" + + "VEL\020\000\022\r\n\006NORMAL\020\347\341\346L\022\017\n\007VERBOSE\020\342\212\344\375\001B\017\n" + + "\r_json_parsingB\014\n\n_log_level\"\256\001\n\"Securit" + + "yPolicyDdosProtectionConfig\022 \n\017ddos_prot" + + "ection\030\224\237\233\203\001 \001(\tH\000\210\001\001\"R\n\016DdosProtection\022" + + "\035\n\031UNDEFINED_DDOS_PROTECTION\020\000\022\017\n\010ADVANC" + + "ED\020\242\260\265\036\022\020\n\010STANDARD\020\275\235\214\347\001B\022\n\020_ddos_prote" + + "ction\"\203\002\n\022SecurityPolicyList\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\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" + + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" + + "ute.v1.WarningH\003\210\001\001B\005\n\003_idB\007\n\005_kindB\022\n\020_" + + "next_page_tokenB\n\n\010_warning\"`\n$SecurityP" + + "olicyRecaptchaOptionsConfig\022\"\n\021redirect_" + + "site_key\030\352\204\274\325\001 \001(\tH\000\210\001\001B\024\n\022_redirect_sit" + + "e_key\"N\n\027SecurityPolicyReference\022\037\n\017secu" + + "rity_policy\030\221\206\312Q \001(\tH\000\210\001\001B\022\n\020_security_p" + + "olicy\"\200\005\n\022SecurityPolicyRule\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[\n\rheader_action\030\250\240\270\234\001 \001(\0132;.google.c" + + "loud.compute.v1.SecurityPolicyRuleHttpHe" + + "aderActionH\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.v" + + "1.SecurityPolicyRuleMatcherH\004\210\001\001\022\027\n\007prev" + + "iew\030\310\307\243h \001(\010H\005\210\001\001\022\031\n\010priority\030\244\363\241\324\001 \001(\005H" + + "\006\210\001\001\022_\n\022rate_limit_options\030\373\311\232 \001(\0132;.go" + + "ogle.cloud.compute.v1.SecurityPolicyRule" + + "RateLimitOptionsH\007\210\001\001\022\\\n\020redirect_option" + + "s\030\273\222\356M \001(\0132:.google.cloud.compute.v1.Sec" + + "urityPolicyRuleRedirectOptionsH\010\210\001\001B\t\n\007_" + + "actionB\016\n\014_descriptionB\020\n\016_header_action" + + "B\007\n\005_kindB\010\n\006_matchB\n\n\010_previewB\013\n\t_prio" + + "rityB\025\n\023_rate_limit_optionsB\023\n\021_redirect" + + "_options\"\225\001\n\"SecurityPolicyRuleHttpHeade", + "rAction\022o\n\027request_headers_to_adds\030\315\253\372) " + + "\003(\0132K.google.cloud.compute.v1.SecurityPo" + + "licyRuleHttpHeaderActionHttpHeaderOption" + + "\"\220\001\n2SecurityPolicyRuleHttpHeaderActionH" + + "ttpHeaderOption\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\001B\016\n\014_h" + + "eader_nameB\017\n\r_header_value\"\254\002\n\031Security" + + "PolicyRuleMatcher\022P\n\006config\030\302\206\376y \001(\01328.g" + + "oogle.cloud.compute.v1.SecurityPolicyRul" + + "eMatcherConfigH\000\210\001\001\0223\n\004expr\030\365\363\276\001 \001(\0132\035.g" + + "oogle.cloud.compute.v1.ExprH\001\210\001\001\022\037\n\016vers" + + "ioned_expr\030\275\343\326\231\001 \001(\tH\002\210\001\001\"@\n\rVersionedEx" + + "pr\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\021\n\017_vers" + + "ioned_expr\"<\n\037SecurityPolicyRuleMatcherC" + + "onfig\022\031\n\rsrc_ip_ranges\030\323\200\207\316\001 \003(\t\"\254\006\n\"Sec" + + "urityPolicyRuleRateLimitOptions\022 \n\020ban_d" + + "uration_sec\030\326\232\272\024 \001(\005H\000\210\001\001\022d\n\rban_thresho" + + "ld\030\273\250\377\356\001 \001(\0132D.google.cloud.compute.v1.S" + + "ecurityPolicyRuleRateLimitOptionsThresho" + + "ldH\001\210\001\001\022\037\n\016conform_action\030\317\306\350\366\001 \001(\tH\002\210\001\001" + + "\022\037\n\016enforce_on_key\030\374\235\326\306\001 \001(\tH\003\210\001\001\022#\n\023enf" + + "orce_on_key_name\030\356\303\232? \001(\tH\004\210\001\001\022\035\n\rexceed" + + "_action\030\241\312\332O \001(\tH\005\210\001\001\022d\n\027exceed_redirect" + + "_options\030\346\214\355\341\001 \001(\0132:.google.cloud.comput" + + "e.v1.SecurityPolicyRuleRedirectOptionsH\006" + + "\210\001\001\022k\n\024rate_limit_threshold\030\210\277\317\226\001 \001(\0132D." + + "google.cloud.compute.v1.SecurityPolicyRu" + + "leRateLimitOptionsThresholdH\007\210\001\001\"y\n\014Enfo" + + "rceOnKey\022\034\n\030UNDEFINED_ENFORCE_ON_KEY\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_H" + + "EADER\020\244\324\326+\022\007\n\002IP\020\247\022\022\016\n\006XFF_IP\020\256\307\230\321\001B\023\n\021_" + + "ban_duration_secB\020\n\016_ban_thresholdB\021\n\017_c" + + "onform_actionB\021\n\017_enforce_on_keyB\026\n\024_enf" + + "orce_on_key_nameB\020\n\016_exceed_actionB\032\n\030_e" + + "xceed_redirect_optionsB\027\n\025_rate_limit_th" + + "reshold\"}\n+SecurityPolicyRuleRateLimitOp" + + "tionsThreshold\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!SecurityPolicyRuleRed" + + "irectOptions\022\026\n\006target\030\221\343\371[ \001(\tH\000\210\001\001\022\024\n\004" + + "type\030\272\236\332\001 \001(\tH\001\210\001\001\"J\n\004Type\022\022\n\016UNDEFINED_" + + "TYPE\020\000\022\024\n\014EXTERNAL_302\020\201\326\331\274\001\022\030\n\020GOOGLE_R" + + "ECAPTCHA\020\301\234\261\367\001B\t\n\007_targetB\007\n\005_type\"k\n\020Se" + + "curitySettings\022\"\n\021client_tls_policy\030\352\213\272\334" + + "\001 \001(\tH\000\210\001\001\022\035\n\021subject_alt_names\030\337\263\257\235\001 \003(" + + "\tB\024\n\022_client_tls_policy\"q\n&SendDiagnosti" + + "cInterruptInstanceRequest\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\004" + + "zone\030\254\307\344\001 \001(\tB\003\340A\002\")\n\'SendDiagnosticInte" + + "rruptInstanceResponse\"\303\001\n\020SerialPortOutp" + + "ut\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\tsel" + + "f_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\016UNDEFINE" + + "D_TYPE\020\000\022\"\n\032RESTART_NODE_ON_ANY_SERVER\020\311" + + "\330\351\357\001\022&\n\037RESTART_NODE_ON_MINIMAL_SERVERS\020" + + "\337\252\255a\022&\n\037SERVER_BINDING_TYPE_UNSPECIFIED\020" + + "\250\333\234VB\007\n\005_type\"D\n\016ServiceAccount\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_em" + + "ail\"\342\010\n\021ServiceAttachment\022[\n\023connected_e" + + "ndpoints\030\310\227\270\" \003(\0132;.google.cloud.compute" + + ".v1.ServiceAttachmentConnectedEndpoint\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>.goog" + + "le.cloud.compute.v1.ServiceAttachmentCon" + + "sumerProjectLimit\022 \n\025consumer_reject_lis" + + "ts\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_proxy_p" + + "rotocol\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\013nat" + + "_subnets\030\230\217\333\262\001 \003(\t\022(\n\030producer_forwardin" + + "g_rule\030\321\250\234v \001(\tH\010\210\001\001\022L\n\031psc_service_atta" + + "chment_id\030\356\372\317\373\001 \001(\0132 .google.cloud.compu" + + "te.v1.Uint128H\t\210\001\001\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\022\035\n\016target" + + "_service\030\207\374N \001(\tH\014\210\001\001\"\225\001\n\024ConnectionPref" + + "erence\022#\n\037UNDEFINED_CONNECTION_PREFERENC" + + "E\020\000\022\027\n\020ACCEPT_AUTOMATIC\020\224\367\360#\022\025\n\rACCEPT_M" + + "ANUAL\020\335\355\361\261\001\022(\n!CONNECTION_PREFERENCE_UNS" + + "PECIFIED\020\264\240\277\020B\030\n\026_connection_preferenceB" + + "\025\n\023_creation_timestampB\016\n\014_descriptionB\030" + + "\n\026_enable_proxy_protocolB\016\n\014_fingerprint" + + "B\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\033\n\031_producer_f" + + "orwarding_ruleB\034\n\032_psc_service_attachmen" + + "t_idB\t\n\007_regionB\014\n\n_self_linkB\021\n\017_target" + + "_service\"\324\003\n\037ServiceAttachmentAggregated" + + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022U\n\005items\030\300\317\367/ \003(\013" + + "2C.google.cloud.compute.v1.ServiceAttach" + + "mentAggregatedList.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\014unre" + + "achables\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\n" + + "ItemsEntry\022\013\n\003key\030\001 \001(\t\022D\n\005value\030\002 \001(\01325" + + ".google.cloud.compute.v1.ServiceAttachme" + + "ntsScopedList:\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\"\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" + + "\245\002\n\"ServiceAttachmentConnectedEndpoint\022\030" + + "\n\010endpoint\030\225\273\234> \001(\tH\000\210\001\001\022\"\n\021psc_connecti" + + "on_id\030\335\245\243\213\001 \001(\004H\001\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH" + + "\002\210\001\001\"{\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\017\n\010" + + "ACCEPTED\020\247\237\322u\022\016\n\006CLOSED\020\354\252\243\265\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\013\n\t_endpointB\024\n\022_psc_connectio" + + "n_idB\t\n\007_status\"\230\001\n%ServiceAttachmentCon" + + "sumerProjectLimit\022 \n\020connection_limit\030\232\236" + + "\324> \001(\rH\000\210\001\001\022\"\n\021project_id_or_num\030\250\212\345\246\001 \001" + + "(\tH\001\210\001\001B\023\n\021_connection_limitB\024\n\022_project" + + "_id_or_num\"\263\002\n\025ServiceAttachmentList\022\020\n\002" + + "id\030\233\032 \001(\tH\000\210\001\001\022<\n\005items\030\300\317\367/ \003(\0132*.googl" + + "e.cloud.compute.v1.ServiceAttachment\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" + + "\"\262\001\n\034ServiceAttachmentsScopedList\022K\n\023ser" + + "vice_attachments\030\246\222\272\222\001 \003(\0132*.google.clou" + + "d.compute.v1.ServiceAttachment\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\"\246\002\n&SetBackendServ" + + "iceTargetSslProxyRequest\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" + + "(\tH\000\210\001\001\022\212\001\n7target_ssl_proxies_set_backe" + + "nd_service_request_resource\030\244\351\250B \001(\0132A.g" + + "oogle.cloud.compute.v1.TargetSslProxiesS" + + "etBackendServiceRequestB\003\340A\002\022!\n\020target_s" + + "sl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\247" + + "\002\n&SetBackendServiceTargetTcpProxyReques" + + "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\213\001\n7target_tcp_" + + "proxies_set_backend_service_request_reso" + + "urce\030\357\321\302\202\001 \001(\0132A.google.cloud.compute.v1" + + ".TargetTcpProxiesSetBackendServiceReques" + + "tB\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\032SetBackupTargetPool" + + "Request\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\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\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.TargetRefe" + + "renceB\003\340A\002B\021\n\017_failover_ratioB\r\n\013_reques" + + "t_id\"\276\001\n\'SetCommonInstanceMetadataProjec" + + "tRequest\022E\n\021metadata_resource\030\236\276\346\212\001 \001(\0132" + + "!.google.cloud.compute.v1.MetadataB\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\"\367\001" + + "\n#SetDefaultNetworkTierProjectRequest\022!\n" + + "\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\201\001\n2pro" + + "jects_set_default_network_tier_request_r" + + "esource\030\212\300\243< \001(\0132=.google.cloud.compute." + + "v1.ProjectsSetDefaultNetworkTierRequestB" + + "\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\"\351\001\n$SetDeletionProtectionInstanc" + + "eRequest\022$\n\023deletion_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\007projec" + + "t\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\030\n\010resourc" + + "e\030\216\210\257] \001(\tB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004" + + "zoneB\026\n\024_deletion_protectionB\r\n\013_request" + + "_id\"\342\001\n SetDiskAutoDeleteInstanceRequest" + + "\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(\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\"\377\001\n)Set" + + "EdgeSecurityPolicyBackendBucketRequest\022\036" + + "\n\016backend_bucket\030\365\343\335+ \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\022d\n\"security_policy_referen" + + "ce_resource\030\360\264\253a \001(\01320.google.cloud.comp" + + "ute.v1.SecurityPolicyReferenceB\003\340A\002B\r\n\013_" + + "request_id\"\202\002\n*SetEdgeSecurityPolicyBack" + + "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\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022d\n\"se" + + "curity_policy_reference_resource\030\360\264\253a \001(" + + "\01320.google.cloud.compute.v1.SecurityPoli" + + "cyReferenceB\003\340A\002B\r\n\013_request_id\"\304\001\n\027SetI" + + "amPolicyDiskRequest\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_request_" + + "resource\030\273\270\230\266\001 \001(\0132-.google.cloud.comput" + + "e.v1.ZoneSetPolicyRequestB\003\340A\002\"\273\001\n!SetIa" + + "mPolicyFirewallPolicyRequest\022|\n/global_o" + + "rganization_set_policy_request_resource\030" + + "\336\224\314T \001(\0132;.google.cloud.compute.v1.Globa" + + "lOrganizationSetPolicyRequestB\003\340A\002\022\030\n\010re" + + "source\030\216\210\257] \001(\tB\003\340A\002\"\263\001\n\030SetIamPolicyIma" + + "geRequest\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\"\310\001\n\033SetIamPolicyInstanceRequest\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\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-.goog" + + "le.cloud.compute.v1.ZoneSetPolicyRequest" + + "B\003\340A\002\"\276\001\n#SetIamPolicyInstanceTemplateRe" + + "quest\022d\n\"global_set_policy_request_resou" + + "rce\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\"\265" + + "\001\n\032SetIamPolicyLicenseRequest\022d\n\"global_" + + "set_policy_request_resource\030\262\347\333\240\001 \001(\0132/." + + "google.cloud.compute.v1.GlobalSetPolicyR" + + "equestB\003\340A\002\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010" + + "resource\030\216\210\257] \001(\tB\003\340A\002\"\272\001\n\037SetIamPolicyM" + + "achineImageRequest\022d\n\"global_set_policy_" + + "request_resource\030\262\347\333\240\001 \001(\0132/.google.clou" + + "d.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\"\303\001\n(SetIamPolicyNetworkFirew" + + "allPolicyRequest\022d\n\"global_set_policy_re" + + "quest_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\"\311\001\n\034SetIamPolicyNodeGroupReque" + + "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\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n z" + + "one_set_policy_request_resource\030\273\270\230\266\001 \001(" + + "\0132-.google.cloud.compute.v1.ZoneSetPolic" + + "yRequestB\003\340A\002\"\322\001\n\037SetIamPolicyNodeTempla" + + "teRequest\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\"\320\001\n\035SetIamPol" + + "icyRegionDiskRequest\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\022d\n\"region_" + + "set_policy_request_resource\030\203\307\353\203\001 \001(\0132/." + + "google.cloud.compute.v1.RegionSetPolicyR" + + "equestB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\341\001" + + "\n.SetIamPolicyRegionNetworkFirewallPolic" + + "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\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\"\313\001\n\036SetIamPoli" + + "cyReservationRequest\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\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.compu" + + "te.v1.ZoneSetPolicyRequestB\003\340A\002\"\324\001\n!SetI" + + "amPolicyResourcePolicyRequest\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.RegionS" + + "etPolicyRequestB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(" + + "\tB\003\340A\002\"\327\001\n$SetIamPolicyServiceAttachment" + + "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\"\266\001\n\033SetIamPolic" + + "ySnapshotRequest\022d\n\"global_set_policy_re" + + "quest_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\035SetIamPolicySubnetworkRequ" + + "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\022d\n\"region_set_policy_reques" + + "t_resource\030\203\307\353\203\001 \001(\0132/.google.cloud.comp" + + "ute.v1.RegionSetPolicyRequestB\003\340A\002\022\030\n\010re" + + "source\030\216\210\257] \001(\tB\003\340A\002\"\336\002\n.SetInstanceTemp" + + "lateInstanceGroupManagerRequest\022&\n\026insta" + + "nce_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\230\001\n>inst" + + "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.TargetSslProxie" + + "sSetProxyHeaderRequestB\003\340A\002\022!\n\020target_ss" + + "l_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_request_id\"\235\002" + + "\n#SetProxyHeaderTargetTcpProxyRequest\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(" + + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\204\001\n4target_tcp_prox" + + "ies_set_proxy_header_request_resource\030\303\230" + + "\361h \001(\0132>.google.cloud.compute.v1.TargetT" + + "cpProxiesSetProxyHeaderRequestB\003\340A\002\022!\n\020t" + + "arget_tcp_proxy\030\342\326\360\357\001 \001(\tB\003\340A\002B\r\n\013_reque" + + "st_id\"\247\002\n&SetQuicOverrideTargetHttpsProx" + + "yRequest\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\212\001\n7targ" + + "et_https_proxies_set_quic_override_reque" + + "st_resource\030\342\365\343\" \001(\0132A.google.cloud.comp" + + "ute.v1.TargetHttpsProxiesSetQuicOverride" + + "RequestB\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\034SetSchedulin" + + "gInstanceRequest\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\022I\n\023scheduling_" + + "resource\030\331\254\356\334\001 \001(\0132#.google.cloud.comput" + + "e.v1.SchedulingB\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340" + + "A\002\362G\004zoneB\r\n\013_request_id\"\376\001\n&SetSecurity" + + "PolicyBackendServiceRequest\022 \n\017backend_s" + + "ervice\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\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" + + "\000\210\001\001\022d\n\"security_policy_reference_resour" + + "ce\030\360\264\253a \001(\01320.google.cloud.compute.v1.Se" + + "curityPolicyReferenceB\003\340A\002B\r\n\013_request_i" + + "d\"\244\002\n SetServiceAccountInstanceRequest\022\030" + + "\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022{\n.instances_se" + + "t_service_account_request_resource\030\270\236\262\203\001" + + " \001(\0132:.google.cloud.compute.v1.Instances" + + "SetServiceAccountRequestB\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\"\260\002\n1SetShieldedInstance" + + "IntegrityPolicyInstanceRequest\022\030\n\010instan" + + "ce\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" + + "v\n+shielded_instance_integrity_policy_re" + + "source\030\266\334\215\303\001 \001(\01328.google.cloud.compute." + + "v1.ShieldedInstanceIntegrityPolicyB\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/SetSslCertificatesRegionTargetHt" + + "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\236\001\nAregion_target_https_proxies_set_" + + "ssl_certificates_request_resource\030\207\204\246\272\001 " + + "\001(\0132J.google.cloud.compute.v1.RegionTarg" + + "etHttpsProxiesSetSslCertificatesRequestB" + + "\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\"\n\022targ" + + "et_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request" + + "_id\"\260\002\n)SetSslCertificatesTargetHttpsPro" + + "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\220\001\n:tar" + + "get_https_proxies_set_ssl_certificates_r" + + "equest_resource\030\334\253\262j \001(\0132D.google.cloud." + + "compute.v1.TargetHttpsProxiesSetSslCerti" + + "ficatesRequestB\003\340A\002\022\"\n\022target_https_prox" + + "y\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\251\002\n\'SetSs" + + "lCertificatesTargetSslProxyRequest\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\214\001\n8target_ssl_proxies" + + "_set_ssl_certificates_request_resource\030\275" + + "\313\305F \001(\0132B.google.cloud.compute.v1.Target" + + "SslProxiesSetSslCertificatesRequestB\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#SetSslPolicyTargetHttpsPr" + + "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\022Z\n\035ssl" + + "_policy_reference_resource\030\274\364\237p \001(\0132+.go" + + "ogle.cloud.compute.v1.SslPolicyReference" + + "B\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!SetSslPolicyTargetS" + + "slProxyRequest\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\022Z\n" + + "\035ssl_policy_reference_resource\030\274\364\237p \001(\0132" + + "+.google.cloud.compute.v1.SslPolicyRefer" + + "enceB\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\026SetTagsInstanceR" + + "equest\022\030\n\010instance\030\225\251\332\010 \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\"\240\002\n\"PatchInterconnec" - + "tAttachmentRequest\022(\n\027interconnect_attac" - + "hment\030\364\212\367\222\001 \001(\tB\003\340A\002\022a\n interconnect_att" - + "achment_resource\030\371\244\240e \001(\0132/.google.cloud" - + ".compute.v1.InterconnectAttachmentB\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\"\325\001\n\030Patch" - + "InterconnectRequest\022\034\n\014interconnect\030\216\311\214k" - + " \001(\tB\003\340A\002\022M\n\025interconnect_resource\030\237\241\314\275\001" - + " \001(\0132%.google.cloud.compute.v1.Interconn" - + "ectB\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\"\300\001\n\023PatchNetworkRequest\022\027\n\007networ" - + "k\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_i" - + "d\"\351\001\n\025PatchNodeGroupRequest\022\033\n\nnode_grou" - + "p\030\202\374\213\340\001 \001(\tB\003\340A\002\022H\n\023node_group_resource\030" - + "\253\263\372\360\001 \001(\0132\".google.cloud.compute.v1.Node" - + "GroupB\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\"\204\002" - + "\n\033PatchPacketMirroringRequest\022 \n\020packet_" - + "mirroring\030\314\271\321\n \001(\tB\003\340A\002\022T\n\031packet_mirror" - + "ing_resource\030\241\374\250\353\001 \001(\0132(.google.cloud.co" - + "mpute.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(\t" - + "H\000\210\001\001B\r\n\013_request_id\"\344\002\n2PatchPerInstanc" - + "eConfigsInstanceGroupManagerRequest\022&\n\026i" - + "nstance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\232\001\n?" - + "instance_group_managers_patch_per_instan" - + "ce_configs_req_resource\030\377\233\210\252\001 \001(\0132H.goog" - + "le.cloud.compute.v1.InstanceGroupManager" - + "sPatchPerInstanceConfigsReqB\003\340A\002\022!\n\007proj" + + "d\030\313\201\331\021 \001(\tH\000\210\001\001\022=\n\rtags_resource\030\364\232\205\236\001 \001" + + "(\0132\035.google.cloud.compute.v1.TagsB\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\036SetTargetForwardingRuleRequest\022 \n" + + "\017forwarding_rule\030\376\245\335\200\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\022T\n\031target_reference_resource\030\360\267\335" + + "\371\001 \001(\0132(.google.cloud.compute.v1.TargetR" + + "eferenceB\003\340A\002B\r\n\013_request_id\"\354\001\n$SetTarg" + + "etGlobalForwardingRuleRequest\022 \n\017forward" + + "ing_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\032\n\nrequest_id\030\313\201\331\021 \001(" + + "\tH\000\210\001\001\022T\n\031target_reference_resource\030\360\267\335\371" + + "\001 \001(\0132(.google.cloud.compute.v1.TargetRe" + + "ferenceB\003\340A\002B\r\n\013_request_id\"\320\002\n)SetTarge" + + "tPoolsInstanceGroupManagerRequest\022&\n\026ins" + + "tance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\217\001\n9in" + + "stance_group_managers_set_target_pools_r" + + "equest_resource\030\210\206\210\206\001 \001(\0132C.google.cloud" + + ".compute.v1.InstanceGroupManagersSetTarg" + + "etPoolsRequestB\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\"\346\002\n/SetTargetPoolsRegionInstanceG" + + "roupManagerRequest\022&\n\026instance_group_man" + + "ager\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\006" + + "region\022\233\001\n@region_instance_group_manager" + + "s_set_target_pools_request_resource\030\375\312\305%" + + " \001(\0132I.google.cloud.compute.v1.RegionIns" + + "tanceGroupManagersSetTargetPoolsRequestB" + + "\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\"\220\002\n%SetUrlMapRegionTargetHttpPro" + + "xyRequest\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!\n\021target_http" + + "_proxy\030\345\276\322b \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\"\222\002\n&SetUrlMapRegionTargetHttpsProxyRe" + + "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\022target_https_pr" + + "oxy\030\354\260\372\030 \001(\tB\003\340A\002\022U\n\032url_map_reference_r" + + "esource\030\225\346\216\276\001 \001(\0132(.google.cloud.compute" + + ".v1.UrlMapReferenceB\003\340A\002B\r\n\013_request_id\"" + + "\351\001\n\037SetUrlMapTargetHttpProxyRequest\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\002\022U\n\032url_map_reference_resou" + + "rce\030\225\346\216\276\001 \001(\0132(.google.cloud.compute.v1." + + "UrlMapReferenceB\003\340A\002B\r\n\013_request_id\"\353\001\n " + + "SetUrlMapTargetHttpsProxyRequest\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\"\357\002\n8PatchPerInstance" - + "ConfigsRegionInstanceGroupManagerRequest" - + "\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\233\001\n@region_" - + "instance_group_manager_patch_instance_co" - + "nfig_req_resource\030\312\315\241^ \001(\0132I.google.clou" - + "d.compute.v1.RegionInstanceGroupManagerP" - + "atchInstanceConfigReqB\003\340A\002\022\032\n\nrequest_id" - + "\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\201\002\n#PatchP" - + "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\022b\n!public_adv" - + "ertised_prefix_resource\030\217\327\262o \001(\0132/.googl" - + "e.cloud.compute.v1.PublicAdvertisedPrefi" - + "xB\003\340A\002\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_r" - + "equest_id\"\236\002\n\"PatchPublicDelegatedPrefix" - + "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`\n public_delegated_prefix_resource" - + "\030\205\370\330\026 \001(\0132..google.cloud.compute.v1.Publ" - + "icDelegatedPrefixB\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\034PatchRegionAutosc" - + "alerRequest\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#.googl" - + "e.cloud.compute.v1.AutoscalerB\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\001\210\001\001B\r\n\013_autoscalerB\r\n\013_request_id" - + "\"\207\002\n PatchRegionBackendServiceRequest\022 \n" - + "\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n\030backe" - + "nd_service_resource\030\243\201\337\245\001 \001(\0132\'.google.c" - + "loud.compute.v1.BackendServiceB\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\"\372\001\n\035PatchRegi" - + "onHealthCheckRequest\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.HealthCh" - + "eckB\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\"" - + "\231\002\n$PatchRegionHealthCheckServiceRequest" - + "\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.HealthCheck" - + "ServiceB\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\"\237\002\n&PatchRegionInstanceGroupManagerR" - + "equest\022&\n\026instance_group_manager\030\303\367\363v \001(" - + "\tB\003\340A\002\022^\n\037instance_group_manager_resourc" - + "e\030\212\212\276| \001(\0132-.google.cloud.compute.v1.Ins" - + "tanceGroupManagerB\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\030PatchRegionUrlMapReque" - + "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\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.goog" - + "le.cloud.compute.v1.UrlMapB\003\340A\002B\r\n\013_requ" - + "est_id\"\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\340A\002\362G\006region\022\032\n\nrequest_id\030\313\201\331\021 \001(\t" - + "H\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\"\361\001\n\036Patch" - + "RuleFirewallPolicyRequest\022 \n\017firewall_po" - + "licy\030\321\212\306\355\001 \001(\tB\003\340A\002\022Z\n\035firewall_policy_r" - + "ule_resource\030\203\337\272w \001(\0132+.google.cloud.com" - + "pute.v1.FirewallPolicyRuleB\003\340A\002\022\031\n\010prior" - + "ity\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\001B\013\n\t_priorityB\r\n\013_request_id\"\351\001\n\036P" - + "atchRuleSecurityPolicyRequest\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\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.Securi" - + "tyPolicyRuleB\003\340A\002B\013\n\t_priority\"\336\001\n\032Patch" - + "SecurityPolicyRequest\022!\n\007project\030\231\226\301l \001(" + + "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\002\022U\n\032url_map_reference_resourc" + + "e\030\225\346\216\276\001 \001(\0132(.google.cloud.compute.v1.Ur" + + "lMapReferenceB\003\340A\002B\r\n\013_request_id\"\320\001\n\"Se" + + "tUsageExportBucketProjectRequest\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\\\n\036usage_export_location" + + "_resource\030\353\314\324\t \001(\0132,.google.cloud.comput" + + "e.v1.UsageExportLocationB\003\340A\002B\r\n\013_reques" + + "t_id\"\343\002\n\rShareSettings\022N\n\013project_map\030\266\326" + + "\377? \003(\01326.google.cloud.compute.v1.ShareSe" + + "ttings.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.cloud.comput" + + "e.v1.ShareSettingsProjectConfig:\0028\001\"n\n\tS" + + "hareType\022\030\n\024UNDEFINED_SHARE_TYPE\020\000\022\014\n\005LO" + + "CAL\020\313\316\317\"\022\036\n\026SHARE_TYPE_UNSPECIFIED\020\222\274\366\353\001" + + "\022\031\n\021SPECIFIC_PROJECTS\020\347\261\356\245\001B\r\n\013_share_ty" + + "pe\"G\n\032ShareSettingsProjectConfig\022\032\n\nproj" + + "ect_id\030\201\310\322T \001(\tH\000\210\001\001B\r\n\013_project_id\"\316\001\n\026" + + "ShieldedInstanceConfig\022,\n\033enable_integri" + + "ty_monitoring\030\266\333\207\303\001 \001(\010H\000\210\001\001\022\"\n\022enable_s" + + "ecure_boot\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_monit" + + "oringB\025\n\023_enable_secure_bootB\016\n\014_enable_" + + "vtpm\"\213\002\n\030ShieldedInstanceIdentity\022W\n\016enc" + + "ryption_key\030\243\307\351\350\001 \001(\01326.google.cloud.com" + + "pute.v1.ShieldedInstanceIdentityEntryH\000\210" + + "\001\001\022\024\n\004kind\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.Shie" + + "ldedInstanceIdentityEntryH\002\210\001\001B\021\n\017_encry" + + "ption_keyB\007\n\005_kindB\016\n\014_signing_key\"i\n\035Sh" + + "ieldedInstanceIdentityEntry\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_certB\t\n\007_ek_pub\"h\n\037ShieldedInstanc" + + "eIntegrityPolicy\022(\n\030update_auto_learn_po" + + "licy\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\"\203\001\n\'SimulateMa" + + "intenanceEventInstanceRequest\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\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zone\"" + + "\314\013\n\010Snapshot\022\035\n\014auto_created\030\330\310\233\335\001 \001(\010H\000" + + "\210\001\001\022\032\n\nchain_name\030\311\332\335 \001(\tH\001\210\001\001\022\"\n\022creat" + + "ion_timestamp\030\266\217\307\016 \001(\tH\002\210\001\001\022\034\n\013descripti" + + "on\030\374\207\326\311\001 \001(\tH\003\210\001\001\022\035\n\014disk_size_gb\030\267\232\347\226\001 " + + "\001(\003H\004\210\001\001\022\037\n\016download_bytes\030\364\313\271\317\001 \001(\003H\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_fingerprint\030\231\360\367T \001(\tH\010\210\001\001\022A\n\006" + + "labels\030\377\277\301\356\001 \003(\0132-.google.cloud.compute." + + "v1.Snapshot.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\036\n\rlocat" + + "ion_hint\030\321\201\222\247\001 \001(\tH\t\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\t" + + "H\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\022W\n\027snapshot_en" + + "cryption_key\030\376\366\324\024 \001(\0132..google.cloud.com" + + "pute.v1.CustomerEncryptionKeyH\r\210\001\001\022\034\n\013so" + + "urce_disk\030\301\356\264\327\001 \001(\tH\016\210\001\001\022[\n\032source_disk_" + + "encryption_key\030\341\240\270\375\001 \001(\0132..google.cloud." + + "compute.v1.CustomerEncryptionKeyH\017\210\001\001\022\037\n" + + "\016source_disk_id\030\331\315\311\330\001 \001(\tH\020\210\001\001\022\026\n\006status" + + "\030\362\237\267V \001(\tH\021\210\001\001\022\036\n\rstorage_bytes\030\247\273\275\312\001 \001(" + + "\003H\022\210\001\001\022%\n\024storage_bytes_status\030\212\253\200\352\001 \001(\t" + + "H\023\210\001\001\022\035\n\021storage_locations\030\232\355\263\234\001 \003(\t\032-\n\013" + + "LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001\"r\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010C" + + "REATING\020\271\275\235\331\001\022\020\n\010DELETING\020\250\247\207\374\001\022\016\n\006FAILE" + + "D\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_STORA" + + "GE_BYTES_STATUS\020\000\022\020\n\010UPDATING\020\306\356\354\353\001\022\021\n\nU" + + "P_TO_DATE\020\316\242\2470B\017\n\r_auto_createdB\r\n\013_chai" + + "n_nameB\025\n\023_creation_timestampB\016\n\014_descri" + + "ptionB\017\n\r_disk_size_gbB\021\n\017_download_byte" + + "sB\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" + + "_pzsB\014\n\n_self_linkB\032\n\030_snapshot_encrypti" + + "on_keyB\016\n\014_source_diskB\035\n\033_source_disk_e" + + "ncryption_keyB\021\n\017_source_disk_idB\t\n\007_sta" + + "tusB\020\n\016_storage_bytesB\027\n\025_storage_bytes_" + + "status\"\241\002\n\014SnapshotList\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.Snapshot\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\"\265\001\n\027SourceDiskEncrypt" + + "ionKey\022T\n\023disk_encryption_key\030\205\355\304\201\001 \001(\0132" + + "..google.cloud.compute.v1.CustomerEncryp" + + "tionKeyH\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_di" + + "sk\"a\n\024SourceInstanceParams\022I\n\014disk_confi" + + "gs\030\317\331\252p \003(\01320.google.cloud.compute.v1.Di" + + "skInstantiationConfig\"\226\007\n\030SourceInstance" + + "Properties\022\037\n\016can_ip_forward\030\374\206\204\337\001 \001(\010H\000" + + "\210\001\001\022$\n\023deletion_protection\030\352\377\262\332\001 \001(\010H\001\210\001" + + "\001\022\034\n\013description\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.Save" + + "dAttachedDisk\022J\n\022guest_accelerators\030\357\314\207\335" + + "\001 \003(\0132*.google.cloud.compute.v1.Accelera" + + "torConfig\022Q\n\006labels\030\377\277\301\356\001 \003(\0132=.google.c" + + "loud.compute.v1.SourceInstanceProperties" + + ".LabelsEntry\022\034\n\014machine_type\030\262\260\312l \001(\tH\003\210" + + "\001\001\022;\n\010metadata\030\257\366\265) \001(\0132!.google.cloud.c" + + "ompute.v1.MetadataH\004\210\001\001\022 \n\020min_cpu_platf" + + "orm\030\367\233\352s \001(\tH\005\210\001\001\022H\n\022network_interfaces\030" + + "\213\332\222\031 \003(\0132).google.cloud.compute.v1.Netwo" + + "rkInterface\022@\n\nscheduling\030\224\313\261\270\001 \001(\0132#.go" + + "ogle.cloud.compute.v1.SchedulingH\006\210\001\001\022E\n" + + "\020service_accounts\030\260\304\253\204\001 \003(\0132\'.google.clo" + + "ud.compute.v1.ServiceAccount\0223\n\004tags\030\231\350\330" + + "\001 \001(\0132\035.google.cloud.compute.v1.TagsH\007\210\001" + + "\001\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" + + " \001(\t:\0028\001B\021\n\017_can_ip_forwardB\026\n\024_deletion" + + "_protectionB\016\n\014_descriptionB\017\n\r_machine_" + + "typeB\013\n\t_metadataB\023\n\021_min_cpu_platformB\r" + + "\n\013_schedulingB\007\n\005_tags\"\240\006\n\016SslCertificat" + + "e\022\034\n\013certificate\030\227\203\375\242\001 \001(\tH\000\210\001\001\022\"\n\022creat" + + "ion_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013descripti" + + "on\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<.google.cl" + + "oud.compute.v1.SslCertificateManagedSslC" + + "ertificateH\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\006region\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@.google.cloud" + + ".compute.v1.SslCertificateSelfManagedSsl" + + "CertificateH\013\210\001\001\022%\n\031subject_alternative_" + + "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\007MANAGED\020\377\266\322" + + "\344\001\022\024\n\014SELF_MANAGED\020\214\373\223\317\001\022\030\n\020TYPE_UNSPECI" + + "FIED\020\222\373\333\320\001B\016\n\014_certificateB\025\n\023_creation_" + + "timestampB\016\n\014_descriptionB\016\n\014_expire_tim" + + "eB\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\034SslCertifi" + + "cateAggregatedList\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" + + ".SslCertificateAggregatedList.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.SslC" + + "ertificatesScopedList:\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\022SslCertificateList\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.SslCertificate\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\"\320\003\n#SslC" + + "ertificateManagedSslCertificate\022i\n\rdomai" + + "n_status\030\315\247\347\253\001 \003(\0132N.google.cloud.comput" + + "e.v1.SslCertificateManagedSslCertificate" + + ".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\021DomainStatusEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\321\001\n\006" + + "Status\022\024\n\020UNDEFINED_STATUS\020\000\022\016\n\006ACTIVE\020\206" + + "\346\211\226\001\022.\n&MANAGED_CERTIFICATE_STATUS_UNSPE" + + "CIFIED\020\322\305\263\342\001\022\024\n\014PROVISIONING\020\355\365\332\212\001\022\032\n\023PR" + + "OVISIONING_FAILED\020\317\253\320$\022\'\n\037PROVISIONING_F" + + "AILED_PERMANENTLY\020\253\360\222\203\001\022\026\n\016RENEWAL_FAILE" + + "D\020\204\276\241\317\001B\t\n\007_status\"\205\001\n\'SslCertificateSel" + + "fManagedSslCertificate\022\034\n\013certificate\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\031S" + + "slCertificatesScopedList\022E\n\020ssl_certific" + + "ates\030\217\242\303\256\001 \003(\0132\'.google.cloud.compute.v1" + + ".SslCertificate\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\"\245\002\n\017SslPoliciesList\022\020\n\002id\030\233\032 \001(\tH" + + "\000\210\001\001\0224\n\005items\030\300\317\367/ \003(\0132\".google.cloud.co" + + "mpute.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\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\"?\n(SslPoliciesLis" + + "tAvailableFeaturesResponse\022\023\n\010features\030\275" + + "\310\263u \003(\t\"\266\005\n\tSslPolicy\022\"\n\022creation_timest" + + "amp\030\266\217\307\016 \001(\tH\000\210\001\001\022\032\n\017custom_features\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\020e" + + "nabled_features\030\373\306\322\337\001 \003(\t\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\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\007profile" + + "\030\251\223\272l \001(\tH\007\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210" + + "\001\001\0227\n\010warnings\030\327\210\301\355\001 \003(\0132!.google.cloud." + + "compute.v1.Warnings\"^\n\rMinTlsVersion\022\035\n\031" + + "UNDEFINED_MIN_TLS_VERSION\020\000\022\016\n\007TLS_1_0\020\276" + + "\244\345\017\022\016\n\007TLS_1_1\020\277\244\345\017\022\016\n\007TLS_1_2\020\300\244\345\017\"e\n\007P" + + "rofile\022\025\n\021UNDEFINED_PROFILE\020\000\022\021\n\nCOMPATI" + + "BLE\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\nRESTRICTED\020\333\350\333|B\025\n\023_creation_timestam" + + "pB\016\n\014_descriptionB\016\n\014_fingerprintB\005\n\003_id" + + "B\007\n\005_kindB\022\n\020_min_tls_versionB\007\n\005_nameB\n" + + "\n\010_profileB\014\n\n_self_link\"@\n\022SslPolicyRef" + + "erence\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tH\000\210\001\001B\r\n\013_" + + "ssl_policy\"\233\001\n\024StartInstanceRequest\022\030\n\010i" + + "nstance\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\037\n\017security_policy\030\221\206\312Q \001(\tB\003\340A\002\022Q\n" - + "\030security_policy_resource\030\374\252\211g \001(\0132\'.goo" - + "gle.cloud.compute.v1.SecurityPolicyB\003\340A\002" - + "B\r\n\013_request_id\"\215\002\n\035PatchServiceAttachme" - + "ntRequest\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#\n\022service_att" - + "achment\030\355\251\320\241\001 \001(\tB\003\340A\002\022X\n\033service_attach" - + "ment_resource\030\240\266\304\341\001 \001(\0132*.google.cloud.c" - + "ompute.v1.ServiceAttachmentB\003\340A\002B\r\n\013_req" - + "uest_id\"\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\"\241\002\n\006Policy\022?\n\raudit_c" - + "onfigs\030\215\272\270\234\001 \003(\0132$.google.cloud.compute." - + "v1.AuditConfig\0226\n\010bindings\030\216\305\244\300\001 \003(\0132 .g" - + "oogle.cloud.compute.v1.Binding\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.cloud.comput" - + "e.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_version\"]\n\023Precon" - + "figuredWafSet\022F\n\017expression_sets\030\230\253\203\342\001 \003" - + "(\0132).google.cloud.compute.v1.WafExpressi" - + "onSet\"\267\002\n\016PreservedState\022D\n\005disks\030\366\314\312- \003" - + "(\01322.google.cloud.compute.v1.PreservedSt" - + "ate.DisksEntry\022J\n\010metadata\030\257\366\265) \003(\01325.go" - + "ogle.cloud.compute.v1.PreservedState.Met" - + "adataEntry\032b\n\nDisksEntry\022\013\n\003key\030\001 \001(\t\022C\n" - + "\005value\030\002 \001(\01324.google.cloud.compute.v1.P" - + "reservedStatePreservedDisk:\0028\001\032/\n\rMetada" - + "taEntry\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\nAutoDelet" + + "\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\"\265\002\n%StartWithEncryptionKeyInsta" + + "nceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022\206\001\n" + + "4instances_start_with_encryption_key_req" + + "uest_resource\030\377\376\317\322\001 \001(\0132?.google.cloud.c" + + "ompute.v1.InstancesStartWithEncryptionKe" + + "yRequestB\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" + + "\"|\n\016StatefulPolicy\022V\n\017preserved_state\030\252\342" + + "\240\001 \001(\01325.google.cloud.compute.v1.Statefu" + + "lPolicyPreservedStateH\000\210\001\001B\022\n\020_preserved" + + "_state\"\341\001\n\034StatefulPolicyPreservedState\022" + + "R\n\005disks\030\366\314\312- \003(\0132@.google.cloud.compute" + + ".v1.StatefulPolicyPreservedState.DisksEn" + + "try\032m\n\nDisksEntry\022\013\n\003key\030\001 \001(\t\022N\n\005value\030" + + "\002 \001(\0132?.google.cloud.compute.v1.Stateful" + + "PolicyPreservedStateDiskDevice:\0028\001\"\264\001\n&S" + + "tatefulPolicyPreservedStateDiskDevice\022\034\n" + + "\013auto_delete\030\273\344\316\335\001 \001(\tH\000\210\001\001\"\\\n\nAutoDelet" + "e\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_ON" - + "LY\020\265\231\354+\022\021\n\nREAD_WRITE\020\326\227\344RB\016\n\014_auto_dele" - + "teB\007\n\005_modeB\t\n\007_source\"\241\001\n\024PreviewRouter" - + "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\026\n\006router\030\311\256\356F \001(\tB\003\340A\002" - + "\022@\n\017router_resource\030\304\200\202J \001(\0132\037.google.cl" - + "oud.compute.v1.RouterB\003\340A\002\"\353\007\n\007Project\022K" - + "\n\030common_instance_metadata\030\305\374\313X \001(\0132!.go" - + "ogle.cloud.compute.v1.MetadataH\000\210\001\001\022\"\n\022c" - + "reation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022%\n\024defau" - + "lt_network_tier\030\221\305\371\340\001 \001(\tH\002\210\001\001\022(\n\027defaul" - + "t_service_account\030\245\371\267\216\001 \001(\tH\003\210\001\001\022\034\n\013desc" - + "ription\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\034\n\020enabled_featur" - + "es\030\373\306\322\337\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\022\024\n\004name\030\213\365\315\001 \001(\tH\007\210\001\001\0221\n\006qu" - + "otas\030\373\241\342; \003(\0132\036.google.cloud.compute.v1." - + "Quota\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022T\n\025usa" - + "ge_export_location\030\302\262\334\245\001 \001(\0132,.google.cl" - + "oud.compute.v1.UsageExportLocationH\t\210\001\001\022" - + "\"\n\022xpn_project_status\030\301\315\365l \001(\tH\n\210\001\001\"\236\001\n\022" - + "DefaultNetworkTier\022\"\n\036UNDEFINED_DEFAULT_" - + "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!STA" - + "NDARD_OVERRIDES_FIXED_STANDARD\020\302\207\221\336\001\"i\n\020" - + "XpnProjectStatus\022 \n\034UNDEFINED_XPN_PROJEC" - + "T_STATUS\020\000\022\013\n\004HOST\020\250\333\207\001\022&\n\036UNSPECIFIED_X" - + "PN_PROJECT_STATUS\020\251\372\247\242\001B\033\n\031_common_insta" - + "nce_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_kind" - + "B\007\n\005_nameB\014\n\n_self_linkB\030\n\026_usage_export" - + "_locationB\025\n\023_xpn_project_status\"z\n!Proj" - + "ectsDisableXpnResourceRequest\022D\n\014xpn_res" - + "ource\030\267\223\315? \001(\0132&.google.cloud.compute.v1" - + ".XpnResourceIdH\000\210\001\001B\017\n\r_xpn_resource\"y\n " - + "ProjectsEnableXpnResourceRequest\022D\n\014xpn_" - + "resource\030\267\223\315? \001(\0132&.google.cloud.compute" - + ".v1.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." - + "compute.v1.XpnResourceIdB\007\n\005_kindB\022\n\020_ne" - + "xt_page_token\"L\n\033ProjectsListXpnHostsReq" - + "uest\022\034\n\014organization\030\263\332\2232 \001(\tH\000\210\001\001B\017\n\r_o" - + "rganization\"\350\001\n$ProjectsSetDefaultNetwor" - + "kTierRequest\022\035\n\014network_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_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\001B\017\n\r_networ" - + "k_tier\"\322\006\n\026PublicAdvertisedPrefix\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#\n\023dns_verification_" - + "ip\030\265\225\366r \001(\tH\002\210\001\001\022\033\n\013fingerprint\030\344\321\363o \001(\t" - + "H\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210\001\001\022\035\n\rip_cidr_range" - + "\030\312\315\344. \001(\tH\005\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\006\210\001\001\022\024\n\004" - + "name\030\213\365\315\001 \001(\tH\007\210\001\001\022j\n\030public_delegated_p" - + "refixs\030\213\276\205\313\001 \003(\0132D.google.cloud.compute." - + "v1.PublicAdvertisedPrefixPublicDelegated" - + "Prefix\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\036\n\rsh" - + "ared_secret\030\312\247\217\266\001 \001(\tH\t\210\001\001\022\026\n\006status\030\362\237\267" - + "V \001(\tH\n\210\001\001\"\361\001\n\006Status\022\024\n\020UNDEFINED_STATU" - + "S\020\000\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!\n\031REVERSE_DNS_LOOKUP_FAILED\020\257\273\203\215\001\022\020\n\t" - + "VALIDATED\020\356\263\310\037B\025\n\023_creation_timestampB\016\n" - + "\014_descriptionB\026\n\024_dns_verification_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_self_linkB\020\n\016_share" - + "d_secretB\t\n\007_status\"\275\002\n\032PublicAdvertised" - + "PrefixList\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.PublicA" - + "dvertisedPrefix\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\"\336\001\n+PublicAdvertised" - + "PrefixPublicDelegatedPrefix\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\007p" - + "roject\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_rang" - + "eB\007\n\005_nameB\n\n\010_projectB\t\n\007_regionB\t\n\007_st" - + "atus\"\366\005\n\025PublicDelegatedPrefix\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\033\n\013fingerprint\030\344\321\363o \001(\t" - + "H\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022\035\n\rip_cidr_range" - + "\030\312\315\344. \001(\tH\004\210\001\001\022\"\n\021is_live_migration\030\360\237\207\364" - + "\001 \001(\010H\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\035\n\rparent_prefix\030\307\347\241\007 \001(\t" - + "H\010\210\001\001\022o\n\034public_delegated_sub_prefixs\030\214\376" - + "\213Z \003(\0132F.google.cloud.compute.v1.PublicD" - + "elegatedPrefixPublicDelegatedSubPrefix\022\026" - + "\n\006region\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\026\n\006status\030\362\237\267V \001(\tH\013\210\001\001\"s\n\006St" - + "atus\022\024\n\020UNDEFINED_STATUS\020\000\022\021\n\tANNOUNCED\020" - + "\373\221\214\256\001\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\025\n\023_crea" - + "tion_timestampB\016\n\014_descriptionB\016\n\014_finge" - + "rprintB\005\n\003_idB\020\n\016_ip_cidr_rangeB\024\n\022_is_l" - + "ive_migrationB\007\n\005_kindB\007\n\005_nameB\020\n\016_pare" - + "nt_prefixB\t\n\007_regionB\014\n\n_self_linkB\t\n\007_s" - + "tatus\"\341\003\n#PublicDelegatedPrefixAggregate" - + "dList\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.PublicDelega" - + "tedPrefixAggregatedList.ItemsEntry\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\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.compute.v1.PublicDele" - + "gatedPrefixesScopedList:\0028\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\"\273\002\n\031PublicDelegatedPrefixList\022" - + "\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022@\n\005items\030\300\317\367/ \003(\0132..go" - + "ogle.cloud.compute.v1.PublicDelegatedPre" - + "fix\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\"\233\003\n-PublicDelegatedPrefixPublicD" - + "elegatedSubPrefix\022\"\n\021delegatee_project\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(\t" - + "H\004\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\005\210\001\001\022\026\n\006status\030" - + "\362\237\267V \001(\tH\006\210\001\001\"@\n\006Status\022\024\n\020UNDEFINED_STA" - + "TUS\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_descriptionB\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!PublicDelegate" - + "dPrefixesScopedList\022U\n\031public_delegated_" - + "prefixes\030\226\202\252\226\001 \003(\0132..google.cloud.comput" - + "e.v1.PublicDelegatedPrefix\0229\n\007warning\030\234\337" - + "\226\030 \001(\0132 .google.cloud.compute.v1.Warning" - + "H\000\210\001\001B\n\n\010_warning\"\310\035\n\005Quota\022\025\n\005limit\030\273\227\215" - + "1 \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\005o" - + "wner\030\263\345\3172 \001(\tH\002\210\001\001\022\025\n\005usage\030\241\373\2315 \001(\001H\003\210\001" - + "\001\"\267\034\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\013AU" - + "TOSCALERS\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_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_A2_CPUS\020" - + "\326\242\245\034\022\032\n\022COMMITTED_C2D_CPUS\020\370\342\323\206\001\022\030\n\021COMM" - + "ITTED_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\021COMMITTE" - + "D_E2_CPUS\020\332\374\210\271\001\022\032\n\022COMMITTED_LICENSES\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\037COMMITTED_" - + "MEMORY_OPTIMIZED_CPUS\020\336\334\231\351\001\022\031\n\022COMMITTED" - + "_N2A_CPUS\020\260\252\215\023\022\031\n\022COMMITTED_N2D_CPUS\020\215\276\207" - + "<\022\031\n\021COMMITTED_N2_CPUS\020\243\247\351\231\001\022\"\n\032COMMITTE" - + "D_NVIDIA_A100_GPUS\020\225\375\230\263\001\022 \n\031COMMITTED_NV" - + "IDIA_K80_GPUS\020\244\266\353\001\022!\n\032COMMITTED_NVIDIA_P" - + "100_GPUS\020\244\377\2423\022 \n\030COMMITTED_NVIDIA_P4_GPU" - + "S\020\201\256\365\245\001\022\037\n\030COMMITTED_NVIDIA_T4_GPUS\020\205\210\331B" - + "\022 \n\032COMMITTED_NVIDIA_V100_GPUS\020\252\263\r\022\032\n\022CO" - + "MMITTED_T2A_CPUS\020\352\304\251\215\001\022\032\n\022COMMITTED_T2D_" - + "CPUS\020\307\330\243\266\001\022\n\n\004CPUS\020\313\327~\022\030\n\020CPUS_ALL_REGIO" - + "NS\020\255\221\306\340\001\022\026\n\016DISKS_TOTAL_GB\020\237\227\311\250\001\022\017\n\007E2_C" - + "PUS\020\275\330\352\345\001\022,\n$EXTERNAL_NETWORK_LB_FORWARD" - + "ING_RULES\020\231\255\275\262\001\022)\n\"EXTERNAL_PROTOCOL_FOR" - + "WARDING_RULES\020\350\270\242\036\022\035\n\025EXTERNAL_VPN_GATEW" - + "AYS\020\256\273\365\201\001\022\021\n\tFIREWALLS\020\323\346\310\262\001\022\030\n\020FORWARDI" - + "NG_RULES\020\225\202\250\316\001\0220\n(GLOBAL_EXTERNAL_MANAGE" - + "D_FORWARDING_RULES\020\255\354\233\234\001\022 \n\031GLOBAL_INTER" - + "NAL_ADDRESSES\020\234\305\260\024\022\027\n\020GPUS_ALL_REGIONS\020\251" - + "\200\344\022\022\025\n\rHEALTH_CHECKS\020\256\257\374\211\001\022\r\n\006IMAGES\020\370\354\265" - + "\007\022\020\n\tINSTANCES\020\336\234\320>\022\027\n\017INSTANCE_GROUPS\020\276" - + "\311\333\251\001\022\036\n\027INSTANCE_GROUP_MANAGERS\020\260\242\3050\022\031\n\022" - + "INSTANCE_TEMPLATES\020\357\267\355k\022\025\n\rINTERCONNECTS" - + "\020\205\213\376\305\001\022*\n#INTERCONNECT_ATTACHMENTS_PER_R" - + "EGION\020\326\326\243L\022+\n#INTERCONNECT_ATTACHMENTS_T" - + "OTAL_MBPS\020\363\272\331\312\001\022\037\n\027INTERCONNECT_TOTAL_GB" - + "PS\020\252\361\207\210\001\022\031\n\022INTERNAL_ADDRESSES\020\200\351\256^\0221\n*I" - + "NTERNAL_TRAFFIC_DIRECTOR_FORWARDING_RULE" - + "S\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_SCH" - + "EDULES\020\221\222\321\017\022!\n\031IN_USE_SNAPSHOT_SCHEDULES" - + "\020\223\314\254\334\001\022\032\n\022LOCAL_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_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\036\n\027NETWORK_ENDPOINT_GRO" - + "UPS\020\215\267\3320\022 \n\031NETWORK_FIREWALL_POLICIES\020\276\333" - + "\2330\022\022\n\013NODE_GROUPS\020\261\375\336\013\022\026\n\016NODE_TEMPLATES" - + "\020\234\262\271\342\001\022\030\n\020NVIDIA_A100_GPUS\020\222\200\337\360\001\022\026\n\017NVID" - + "IA_K80_GPUS\020\207\354\222N\022\027\n\020NVIDIA_P100_GPUS\020\241\202\351" - + "p\022\033\n\024NVIDIA_P100_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_V" - + "WS_GPUS\020\257\353\277\230\001\022\027\n\020NVIDIA_V100_GPUS\020\247\266\323=\022\030" - + "\n\021PACKET_MIRRORINGS\020\247\352\266\007\022(\n!PD_EXTREME_T" - + "OTAL_PROVISIONED_IOPS\020\355\326\227!\022\027\n\020PREEMPTIBL" - + "E_CPUS\020\311\215\343w\022\037\n\030PREEMPTIBLE_LOCAL_SSD_GB\020" - + "\210\223\257|\022#\n\034PREEMPTIBLE_NVIDIA_A100_GPUS\020\220\234\351" - + " \022#\n\033PREEMPTIBLE_NVIDIA_K80_GPUS\020\311\340\345\262\001\022$" - + "\n\034PREEMPTIBLE_NVIDIA_P100_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\036PR" - + "EEMPTIBLE_NVIDIA_P4_VWS_GPUS\020\251\342\320x\022!\n\032PRE" - + "EMPTIBLE_NVIDIA_T4_GPUS\020\300\354\267i\022%\n\036PREEMPTI" - + "BLE_NVIDIA_T4_VWS_GPUS\020\255\370\233\025\022#\n\034PREEMPTIB" - + "LE_NVIDIA_V100_GPUS\020\245\322\335m\022=\n6PSC_ILB_CONS" - + "UMER_FORWARDING_RULES_PER_PRODUCER_NETWO" - + "RK\020\203\223\235n\022\'\n PSC_INTERNAL_LB_FORWARDING_RU" - + "LES\020\373\242\313P\022\"\n\032PUBLIC_ADVERTISED_PREFIXES\020\314" - + "\241\342\340\001\022!\n\031PUBLIC_DELEGATED_PREFIXES\020\266\222\363\375\001\022" - + "\033\n\024REGIONAL_AUTOSCALERS\020\274\234\200\016\022\'\n REGIONAL" - + "_INSTANCE_GROUP_MANAGERS\020\220\276\363\021\022\023\n\014RESERVA" - + "TIONS\020\247\274\310\017\022\030\n\021RESOURCE_POLICIES\020\341\234\204(\022\017\n\007" - + "ROUTERS\020\252\274\213\353\001\022\016\n\006ROUTES\020\312\226\272\203\001\022\030\n\021SECURIT" - + "Y_POLICIES\020\357\246\257Z\022#\n\034SECURITY_POLICIES_PER" - + "_REGION\020\306\246\340v\022#\n\033SECURITY_POLICY_CEVAL_RU" - + "LES\020\311\247\300\340\001\022\034\n\025SECURITY_POLICY_RULES\020\251\324\207a\022" - + "\'\n SECURITY_POLICY_RULES_PER_REGION\020\314\310\251<" - + "\022\033\n\023SERVICE_ATTACHMENTS\020\346\261\353\340\001\022\021\n\tSNAPSHO" - + "TS\020\217\346\337\243\001\022\023\n\014SSD_TOTAL_GB\020\321\257\217M\022\030\n\020SSL_CER" - + "TIFICATES\020\257\202\266\264\001\022\027\n\020STATIC_ADDRESSES\020\361\255\322," - + "\022\036\n\026STATIC_BYOIP_ADDRESSES\020\361\212\302\203\001\022\023\n\013SUBN" - + "ETWORKS\020\245\374\363\310\001\022\020\n\010T2A_CPUS\020\347\341\376\370\001\022\017\n\010T2D_C" - + "PUS\020\304\365\370!\022\033\n\024TARGET_HTTPS_PROXIES\020\312\313\326h\022\032\n" - + "\023TARGET_HTTP_PROXIES\020\243\365\240N\022\030\n\020TARGET_INST" - + "ANCES\020\260\332\325\207\001\022\024\n\014TARGET_POOLS\020\211\227\210\246\001\022\031\n\022TAR" - + "GET_SSL_PROXIES\020\353\344\365K\022\031\n\022TARGET_TCP_PROXI" - + "ES\020\300\236\363V\022\032\n\023TARGET_VPN_GATEWAYS\020\250\273\343#\022\020\n\010U" - + "RL_MAPS\020\207\317\307\264\001\022\023\n\014VPN_GATEWAYS\020\272\213\376\020\022\022\n\013VP" - + "N_TUNNELS\020\200\321\3371\022\033\n\024XPN_SERVICE_PROJECTS\020\255" - + "\207\262-B\010\n\006_limitB\t\n\007_metricB\010\n\006_ownerB\010\n\006_u" - + "sage\"\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" - + "\017\n\r_supports_pzs\"\253\002\n\024RegionAutoscalerLis" - + "t\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.Autoscaler\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\"\247" - + "\002\n\022RegionDiskTypeList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022" - + "3\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\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\"E\n%RegionDisksAddResour" - + "cePoliciesRequest\022\034\n\021resource_policies\030\341" - + "\234\314\n \003(\t\"H\n(RegionDisksRemoveResourcePoli" - + "ciesRequest\022\034\n\021resource_policies\030\341\234\314\n \003(" - + "\t\"@\n\030RegionDisksResizeRequest\022\030\n\007size_gb" - + "\030\331\213\200\354\001 \001(\003H\000\210\001\001B\n\n\010_size_gb\"\261\002\n\027RegionIn" - + "stanceGroupList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0228\n\005ite" - + "ms\030\300\317\367/ \003(\0132&.google.cloud.compute.v1.In" - + "stanceGroup\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\"E\n1RegionInstanceGroupMa" - + "nagerDeleteInstanceConfigReq\022\020\n\005names\030\310\256" - + "\3571 \003(\t\"\277\002\n\036RegionInstanceGroupManagerLis" - + "t\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.InstanceGroupMan" - + "ager\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\"\200\001\n0RegionInstanceGroupManagerP" - + "atchInstanceConfigReq\022L\n\024per_instance_co", - "nfigs\030\251\325\370\372\001 \003(\0132*.google.cloud.compute.v" - + "1.PerInstanceConfig\"\201\001\n1RegionInstanceGr" - + "oupManagerUpdateInstanceConfigReq\022L\n\024per" - + "_instance_configs\030\251\325\370\372\001 \003(\0132*.google.clo" - + "ud.compute.v1.PerInstanceConfig\"J\n2Regio" - + "nInstanceGroupManagersAbandonInstancesRe" - + "quest\022\024\n\tinstances\030\376\374\357\r \003(\t\"\377\001\n.RegionIn" - + "stanceGroupManagersApplyUpdatesRequest\022\036" - + "\n\rall_instances\030\340\272\276\300\001 \001(\010H\000\210\001\001\022\024\n\tinstan" - + "ces\030\376\374\357\r \003(\t\022\037\n\016minimal_action\030\224\215\202\201\001 \001(\t" - + "H\001\210\001\001\022.\n\036most_disruptive_allowed_action\030" - + "\215\316\302\037 \001(\tH\002\210\001\001B\020\n\016_all_instancesB\021\n\017_mini" - + "mal_actionB!\n\037_most_disruptive_allowed_a" - + "ction\"u\n1RegionInstanceGroupManagersCrea" - + "teInstancesRequest\022@\n\tinstances\030\376\374\357\r \003(\013" - + "2*.google.cloud.compute.v1.PerInstanceCo" - + "nfig\"\244\001\n1RegionInstanceGroupManagersDele" - + "teInstancesRequest\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_valid" - + "ation_error\"\252\001\n-RegionInstanceGroupManag" - + "ersListErrorsResponse\022D\n\005items\030\300\317\367/ \003(\0132" - + "2.google.cloud.compute.v1.InstanceManage" - + "dByIgmError\022\037\n\017next_page_token\030\225\272\206& \001(\tH" - + "\000\210\001\001B\022\n\020_next_page_token\"\356\001\n2RegionInsta" - + "nceGroupManagersListInstanceConfigsResp\022" - + "<\n\005items\030\300\317\367/ \003(\0132*.google.cloud.compute" - + ".v1.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 .goo" - + "gle.cloud.compute.v1.WarningH\001\210\001\001B\022\n\020_ne" - + "xt_page_tokenB\n\n\010_warning\"\260\001\n0RegionInst" - + "anceGroupManagersListInstancesResponse\022G" - + "\n\021managed_instances\030\336\233\251\240\001 \003(\0132(.google.c" - + "loud.compute.v1.ManagedInstance\022\037\n\017next_" - + "page_token\030\225\272\206& \001(\tH\000\210\001\001B\022\n\020_next_page_t" - + "oken\"B\n*RegionInstanceGroupManagersRecre" - + "ateRequest\022\024\n\tinstances\030\376\374\357\r \003(\t\"y\n0Regi" - + "onInstanceGroupManagersSetTargetPoolsReq" - + "uest\022\033\n\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022\030\n\014tar" - + "get_pools\030\251\237\240\240\001 \003(\tB\016\n\014_fingerprint\"i\n-R" - + "egionInstanceGroupManagersSetTemplateReq" - + "uest\022\"\n\021instance_template\030\344\201\273\223\001 \001(\tH\000\210\001\001" - + "B\024\n\022_instance_template\"\304\002\n!RegionInstanc" - + "eGroupsListInstances\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.InstanceWithNamedPorts\022\024\n\004kind\030\224\367\310\001 \001" + + "-B\016\n\014_auto_delete\"\232\001\n\023StopInstanceReques" + + "t\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\"\232\017\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\024\n\004role\030\366\200\326" + + "\001 \001(\tH\023\210\001\001\022Q\n\023secondary_ip_ranges\030\343\377\224A \003" + + "(\01321.google.cloud.compute.v1.SubnetworkS" + + "econdaryRange\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\024\210\001" + + "\001\022\033\n\nstack_type\030\221\265\213\313\001 \001(\tH\025\210\001\001\022\025\n\005state\030" + + "\221\211\2534 \001(\tH\026\210\001\001\"y\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\022$\n\034UNSPECIFIED_IPV6_A", + "CCESS_TYPE\020\245\366\244\225\001\"\276\001\n\027PrivateIpv6GoogleAc" + + "cess\022(\n$UNDEFINED_PRIVATE_IPV6_GOOGLE_AC" + + "CESS\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_GOO" + + "GLE\020\327\372\266\211\001\"\256\001\n\007Purpose\022\025\n\021UNDEFINED_PURPO" + + "SE\020\000\022#\n\034INTERNAL_HTTPS_LOAD_BALANCER\020\331\266\316" + + "v\022\017\n\007PRIVATE\020\343\342\262\300\001\022\027\n\020PRIVATE_RFC_1918\020\333" + + "\376\305y\022\036\n\027PRIVATE_SERVICE_CONNECT\020\304\364\371\026\022\035\n\026R" + + "EGIONAL_MANAGED_PROXY\020\356\266\375H\":\n\004Role\022\022\n\016UN" + + "DEFINED_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_T" + + "YPE\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\005Sta" + + "te\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_" + + "external_ipv6_prefixB\016\n\014_fingerprintB\022\n\020" + + "_gateway_addressB\005\n\003_idB\027\n\025_internal_ipv" + + "6_prefixB\020\n\016_ip_cidr_rangeB\023\n\021_ipv6_acce" + + "ss_typeB\022\n\020_ipv6_cidr_rangeB\007\n\005_kindB\r\n\013" + + "_log_configB\007\n\005_nameB\n\n\010_networkB\033\n\031_pri" + + "vate_ip_google_accessB\035\n\033_private_ipv6_g" + + "oogle_accessB\n\n\010_purposeB\t\n\007_regionB\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\"\320\001\n(Region" - + "InstanceGroupsListInstancesRequest\022\036\n\016in" - + "stance_state\030\347\360\374+ \001(\tH\000\210\001\001\022\031\n\tport_name\030" - + "\211\207\347\023 \001(\tH\001\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_stateB\014\n\n_port_name" - + "\"\224\001\n(RegionInstanceGroupsSetNamedPortsRe" - + "quest\022\033\n\013fingerprint\030\344\321\363o \001(\tH\000\210\001\001\022;\n\013na" - + "med_ports\030\214\307\362\313\001 \003(\0132\".google.cloud.compu" - + "te.v1.NamedPortB\016\n\014_fingerprint\"\235\002\n\nRegi" - + "onList\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.Region\022\024\n\004k" + + "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\"w\n" + + "\030SubnetworkSecondaryRange\022\035\n\rip_cidr_ran" + + "ge\030\312\315\344. \001(\tH\000\210\001\001\022\033\n\nrange_name\030\315\360\264\236\001 \001(\t" + + "H\001\210\001\001B\020\n\016_ip_cidr_rangeB\r\n\013_range_name\"V" + + "\n#SubnetworksExpandIpCidrRangeRequest\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\013subn" + + "etworks\030\305\324\245\306\001 \003(\0132#.google.cloud.compute" + + ".v1.Subnetwork\0229\n\007warning\030\234\337\226\030 \001(\0132 .goo" + + "gle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_wa" + + "rning\"t\n*SubnetworksSetPrivateIpGoogleAc" + + "cessRequest\022)\n\030private_ip_google_access\030" + + "\316\350\375\310\001 \001(\010H\000\210\001\001B\033\n\031_private_ip_google_acc" + + "ess\"\177\n\nSubsetting\022\026\n\006policy\030\262\312\266+ \001(\tH\000\210\001" + + "\001\"N\n\006Policy\022\024\n\020UNDEFINED_POLICY\020\000\022!\n\032CON" + + "SISTENT_HASH_SUBSETTING\020\264\230\3743\022\013\n\004NONE\020\270\316\222" + + "\001B\t\n\007_policy\"\235\001\n\026SuspendInstanceRequest\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\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n" + + "\013_request_id\"\211\001\n SwitchToCustomModeNetwo" + + "rkRequest\022\027\n\007network\030\256\264\205o \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\"\330\003\n\016TCP" + + "HealthCheck\022\024\n\004port\030\201\261\322\001 \001(\005H\000\210\001\001\022\031\n\tpor" + + "t_name\030\211\207\347\023 \001(\tH\001\210\001\001\022\"\n\022port_specificati" + + "on\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\010respo" + + "nse\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\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_portB\014\n\n_port_na" + + "meB\025\n\023_port_specificationB\017\n\r_proxy_head" + + "erB\n\n\010_requestB\013\n\t_response\"E\n\004Tags\022\033\n\013f" + + "ingerprint\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\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\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\ts" + + "elf_link\030\215\222\305\331\001 \001(\tH\006\210\001\001\022!\n\021self_link_wit" + + "h_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_descript" + + "ionB\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_id" + + "B\n\n\010_url_mapB\031\n\027_validate_for_proxyless\"" + + "\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.cloud.compu" + + "te.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\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\001\n\033TargetHttp" + + "ProxiesScopedList\022H\n\023target_http_proxies" + + "\030\303\325\250M \003(\0132(.google.cloud.compute.v1.Targ" + + "etHttpProxy\0229\n\007warning\030\234\337\226\030 \001(\0132 .google" + + ".cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_warni" + + "ng\"\235\003\n\017TargetHttpProxy\022\"\n\022creation_times" + + "tamp\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\033\n\nproxy_bind\030\356\316\261\210\001 " + + "\001(\010H\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\007url_map\030\214\225\201\257\001 \001(" + + "\tH\t\210\001\001B\025\n\023_creation_timestampB\016\n\014_descri" + + "ptionB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB\007\n" + + "\005_nameB\r\n\013_proxy_bindB\t\n\007_regionB\014\n\n_sel" + + "f_linkB\n\n\010_url_map\"\210\003\n\035TargetHttpProxyAg" + + "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.Targe" + + "tHttpProxyAggregatedList.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\032b\n\nItemsEntry\022\013\n" + + "\003key\030\001 \001(\t\022C\n\005value\030\002 \001(\01324.google.cloud" + + ".compute.v1.TargetHttpProxiesScopedList:" + + "\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB" + + "\014\n\n_self_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(.goog" + + "le.cloud.compute.v1.TargetHttpProxy\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\"" - + "\321\001\n\026RegionSetLabelsRequest\022!\n\021label_fing" - + "erprint\030\231\360\367T \001(\tH\000\210\001\001\022O\n\006labels\030\377\277\301\356\001 \003(" - + "\0132;.google.cloud.compute.v1.RegionSetLab" - + "elsRequest.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\026RegionSetPolicyRequest\0226" - + "\n\010bindings\030\216\305\244\300\001 \003(\0132 .google.cloud.comp" - + "ute.v1.Binding\022\024\n\004etag\030\225\322\276\001 \001(\tH\000\210\001\001\0227\n\006" - + "policy\030\262\312\266+ \001(\0132\037.google.cloud.compute.v" - + "1.PolicyH\001\210\001\001B\007\n\005_etagB\t\n\007_policy\"Q\n1Reg" - + "ionTargetHttpsProxiesSetSslCertificatesR" - + "equest\022\034\n\020ssl_certificates\030\217\242\303\256\001 \003(\t\"f\n\034" - + "RegionUrlMapsValidateRequest\0229\n\010resource" - + "\030\216\210\257] \001(\0132\037.google.cloud.compute.v1.UrlM" - + "apH\000\210\001\001B\013\n\t_resource\"\224\001\n&RemoveAssociati" - + "onFirewallPolicyRequest\022 \n\017firewall_poli" - + "cy\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" - + "\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\007\n\005_nameB\r\n\013" - + "_request_id\"\263\002\n\"RemoveHealthCheckTargetP" - + "oolRequest\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\033\n\013target_poo" - + "l\030\212\344\370\035 \001(\tB\003\340A\002\022\200\001\n1target_pools_remove_" - + "health_check_request_resource\030\263\347\266\221\001 \001(\0132" - + "<.google.cloud.compute.v1.TargetPoolsRem" - + "oveHealthCheckRequestB\003\340A\002B\r\n\013_request_i" - + "d\"\247\002\n\037RemoveInstanceTargetPoolRequest\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\033\n\013target_pool\030\212\344\370\035 \001(\tB\003\340" - + "A\002\022x\n-target_pools_remove_instance_reque" - + "st_resource\030\203\300\213\016 \001(\01329.google.cloud.comp" - + "ute.v1.TargetPoolsRemoveInstanceRequestB" - + "\003\340A\002B\r\n\013_request_id\"\264\002\n#RemoveInstancesI" - + "nstanceGroupRequest\022\036\n\016instance_group\030\325\324" - + "\325& \001(\tB\003\340A\002\022\201\001\n1instance_groups_remove_i" - + "nstances_request_resource\030\271\321\267\272\001 \001(\0132=.go" - + "ogle.cloud.compute.v1.InstanceGroupsRemo" - + "veInstancesRequestB\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\"\366\001\n\033RemovePeeringNetworkReque" - + "st\022\027\n\007network\030\256\264\205o \001(\tB\003\340A\002\022p\n(networks_" - + "remove_peering_request_resource\030\376\333\351\310\001 \001(" - + "\01325.google.cloud.compute.v1.NetworksRemo" - + "vePeeringRequestB\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\"\243\002\n!RemoveResourcePo" - + "liciesDiskRequest\022\024\n\004disk\030\235\233\274\001 \001(\tB\003\340A\002\022" - + "}\n/disks_remove_resource_policies_reques" - + "t_resource\030\356\301\241\320\001 \001(\0132;.google.cloud.comp" - + "ute.v1.DisksRemoveResourcePoliciesReques" - + "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\"\263\002\n%Re" - + "moveResourcePoliciesInstanceRequest\022\030\n\010i" - + "nstance\030\225\251\332\010 \001(\tB\003\340A\002\022\204\001\n3instances_remo" - + "ve_resource_policies_request_resource\030\366\335" - + "\274\027 \001(\0132?.google.cloud.compute.v1.Instanc" - + "esRemoveResourcePoliciesRequestB\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\"\272\002\n\'RemoveResour" - + "cePoliciesRegionDiskRequest\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\211\001" - + "\n6region_disks_remove_resource_policies_" - + "request_resource\030\243\303\225\004 \001(\0132A.google.cloud" - + ".compute.v1.RegionDisksRemoveResourcePol" - + "iciesRequestB\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\"\226\001\n\037RemoveRuleFirew" - + "allPolicyRequest\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\032\n" - + "\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001B\013\n\t_priorityB\r" - + "\n\013_request_id\"\215\001\n\037RemoveRuleSecurityPoli" - + "cyRequest\022\031\n\010priority\030\244\363\241\324\001 \001(\005H\000\210\001\001\022!\n\007" - + "project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\037\n\017secur" - + "ity_policy\030\221\206\312Q \001(\tB\003\340A\002B\013\n\t_priority\"K\n" - + "\023RequestMirrorPolicy\022 \n\017backend_service\030" - + "\212\300\256\222\001 \001(\tH\000\210\001\001B\022\n\020_backend_service\"\263\006\n\013R" - + "eservation\022\033\n\ncommitment\030\225\226\363\345\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\013d" - + "escription\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\036\n\rsatisfies_pzs\030\253\335\253\345\001 \001(\010H\006\210\001\001\022" - + "\032\n\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022F\n\016share_set" - + "tings\030\203\221\224\177 \001(\0132&.google.cloud.compute.v1" - + ".ShareSettingsH\010\210\001\001\022`\n\024specific_reservat" - + "ion\030\277\240\211\301\001 \001(\01329.google.cloud.compute.v1." - + "AllocationSpecificSKUReservationH\t\210\001\001\022-\n" - + "\035specific_reservation_required\030\237\307\203l \001(\010H" - + "\n\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\013\210\001\001\022\024\n\004zone\030\254\307\344" - + "\001 \001(\tH\014\210\001\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\017" - + "\n\007INVALID\020\327\373\355\374\001\022\014\n\005READY\020\203\303\217%\022\020\n\010UPDATIN" - + "G\020\306\356\354\353\001B\r\n\013_commitmentB\025\n\023_creation_time" - + "stampB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n" - + "\005_nameB\020\n\016_satisfies_pzsB\014\n\n_self_linkB\021" - + "\n\017_share_settingsB\027\n\025_specific_reservati" - + "onB \n\036_specific_reservation_requiredB\t\n\007" - + "_statusB\007\n\005_zone\"\260\002\n\023ReservationAffinity" - + "\022)\n\030consume_reservation_type\030\260\303\263\217\001 \001(\tH\000" - + "\210\001\001\022\022\n\003key\030\337\274\006 \001(\tH\001\210\001\001\022\021\n\006values\030\242\272\226w \003" - + "(\t\"\241\001\n\026ConsumeReservationType\022&\n\"UNDEFIN" - + "ED_CONSUME_RESERVATION_TYPE\020\000\022\026\n\017ANY_RES" - + "ERVATION\020\271\303\257_\022\025\n\016NO_RESERVATION\020\256\314\336P\022\033\n\024" - + "SPECIFIC_RESERVATION\020\237\250\317m\022\023\n\013UNSPECIFIED" - + "\020\227\276\230\373\001B\033\n\031_consume_reservation_typeB\006\n\004_" - + "key\"\302\003\n\031ReservationAggregatedList\022\020\n\002id\030" - + "\233\032 \001(\tH\000\210\001\001\022O\n\005items\030\300\317\367/ \003(\0132=.google.c" - + "loud.compute.v1.ReservationAggregatedLis" - + "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\022\027\n\014unreachables\030\237\240\206t \003(\t" - + "\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.cloud.comp" - + "ute.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.com" - + "pute.v1.ReservationsScopedList:\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\"\247\002\n\017ReservationList\022\020\n\002" - + "id\030\233\032 \001(\tH\000\210\001\001\0226\n\005items\030\300\317\367/ \003(\0132$.googl" - + "e.cloud.compute.v1.Reservation\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\"V\n\031Re" - + "servationsResizeRequest\022\"\n\022specific_sku_" - + "count\030\240\351\317\006 \001(\003H\000\210\001\001B\025\n\023_specific_sku_cou" - + "nt\"\237\001\n\026ReservationsScopedList\022>\n\014reserva" - + "tions\030\247\354\314\276\001 \003(\0132$.google.cloud.compute.v" - + "1.Reservation\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\"\233\001\n\024ResetInstanceRequest\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\"\360\001\n\021ResizeDiskRequest\022\024\n\004disk\030\235\233\274\001 \001(" - + "\tB\003\340A\002\022Z\n\035disks_resize_request_resource\030" - + "\240\302\253% \001(\0132+.google.cloud.compute.v1.Disks" - + "ResizeRequestB\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\"\314\001\n!ResizeInstanceGroupManagerRequ" - + "est\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\024\n\004size\030\201\300\327\001 " - + "\001(\005B\003\340A\002\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n" - + "\013_request_id\"\210\002\n\027ResizeRegionDiskRequest" - + "\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\022h\n$region_disks_resize_reques" - + "t_resource\030\225\252\374\324\001 \001(\01321.google.cloud.comp" - + "ute.v1.RegionDisksResizeRequestB\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\"" - + "\326\001\n\'ResizeRegionInstanceGroupManagerRequ" - + "est\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\032\n\nreque" - + "st_id\030\313\201\331\021 \001(\tH\000\210\001\001\022\024\n\004size\030\201\300\327\001 \001(\005B\003\340A" - + "\002B\r\n\013_request_id\"\215\002\n\030ResizeReservationRe" - + "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\033\n\013reservat" - + "ion\030\314\207\325\026 \001(\tB\003\340A\002\022i\n$reservations_resize" - + "_request_resource\030\321\333\316\271\001 \001(\01322.google.clo" - + "ud.compute.v1.ReservationsResizeRequestB" - + "\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\"\202\002\n\022ResourceCommitment\022 \n\020accel" - + "erator_type\030\216\341\350A \001(\tH\000\210\001\001\022\026\n\006amount\030\330\240\351]" - + " \001(\003H\001\210\001\001\022\024\n\004type\030\272\236\332\001 \001(\tH\002\210\001\001\"s\n\004Type\022" - + "\022\n\016UNDEFINED_TYPE\020\000\022\023\n\013ACCELERATOR\020\313\354\371\314\001" - + "\022\021\n\tLOCAL_SSD\020\360\365\326\362\001\022\r\n\006MEMORY\020\201\342\326:\022\023\n\013UN" - + "SPECIFIED\020\227\276\230\373\001\022\013\n\004VCPU\020\362\272\240\001B\023\n\021_acceler" - + "ator_typeB\t\n\007_amountB\007\n\005_type\"9\n\026Resourc" - + "eGroupReference\022\025\n\005group\030\377\354\203/ \001(\tH\000\210\001\001B\010" - + "\n\006_group\"\252\001\n\032ResourcePoliciesScopedList\022" - + "E\n\021resource_policies\030\341\234\314\n \003(\0132\'.google.c" - + "loud.compute.v1.ResourcePolicy\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\"\255\007\n\016ResourcePolicy" - + "\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\022c\n\026group_plac" - + "ement_policy\030\214\233\233\005 \001(\0132;.google.cloud.com" - + "pute.v1.ResourcePolicyGroupPlacementPoli" - + "cyH\002\210\001\001\022\020\n\002id\030\233\032 \001(\004H\003\210\001\001\022h\n\030instance_sc" - + "hedule_policy\030\260\320\271\244\001 \001(\0132=.google.cloud.c" - + "ompute.v1.ResourcePolicyInstanceSchedule" - + "PolicyH\004\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\005\210\001\001\022\024\n\004nam" - + "e\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" - + "V\n\017resource_status\030\303\372\367v \001(\01325.google.clo" - + "ud.compute.v1.ResourcePolicyResourceStat" - + "usH\010\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001\022g\n\030s" - + "napshot_schedule_policy\030\337\326\201h \001(\0132=.googl" - + "e.cloud.compute.v1.ResourcePolicySnapsho" - + "tSchedulePolicyH\n\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH" - + "\013\210\001\001\"r\n\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\020\n\010" - + "CREATING\020\271\275\235\331\001\022\020\n\010DELETING\020\250\247\207\374\001\022\017\n\007EXPI" - + "RED\020\205\346\210\346\001\022\017\n\007INVALID\020\327\373\355\374\001\022\014\n\005READY\020\203\303\217%" - + "B\025\n\023_creation_timestampB\016\n\014_descriptionB" - + "\031\n\027_group_placement_policyB\005\n\003_idB\033\n\031_in" - + "stance_schedule_policyB\007\n\005_kindB\007\n\005_name" - + "B\t\n\007_regionB\022\n\020_resource_statusB\014\n\n_self" - + "_linkB\033\n\031_snapshot_schedule_policyB\t\n\007_s" - + "tatus\"\353\003\n\034ResourcePolicyAggregatedList\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\022R" - + "\n\005items\030\300\317\367/ \003(\0132@.google.cloud.compute." - + "v1.ResourcePolicyAggregatedList.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" - + "g\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.War" - + "ningH\005\210\001\001\032a\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022B\n\005" - + "value\030\002 \001(\01323.google.cloud.compute.v1.Re" - + "sourcePoliciesScopedList:\0028\001B\007\n\005_etagB\005\n" - + "\003_idB\007\n\005_kindB\022\n\020_next_page_tokenB\014\n\n_se" - + "lf_linkB\n\n\010_warning\"\236\001\n\030ResourcePolicyDa" - + "ilyCycle\022\036\n\rdays_in_cycle\030\264\230\252\260\001 \001(\005H\000\210\001\001" - + "\022\030\n\010duration\030\224\233\221J \001(\tH\001\210\001\001\022\032\n\nstart_time" - + "\030\212\351\356\021 \001(\tH\002\210\001\001B\020\n\016_days_in_cycleB\013\n\t_dur" - + "ationB\r\n\013_start_time\"\240\002\n\"ResourcePolicyG" - + "roupPlacementPolicy\022)\n\031availability_doma" - + "in_count\030\270\214\370\005 \001(\005H\000\210\001\001\022\034\n\013collocation\030\265\302" - + "\336\363\001 \001(\tH\001\210\001\001\022\030\n\010vm_count\030\207\273\326| \001(\005H\002\210\001\001\"\\" - + "\n\013Collocation\022\031\n\025UNDEFINED_COLLOCATION\020\000" - + "\022\021\n\nCOLLOCATED\020\322\253\2361\022\037\n\027UNSPECIFIED_COLLO" - + "CATION\020\355\217\263\335\001B\034\n\032_availability_domain_cou" - + "ntB\016\n\014_collocationB\013\n\t_vm_count\"\241\001\n\031Reso" - + "urcePolicyHourlyCycle\022\030\n\010duration\030\224\233\221J \001" - + "(\tH\000\210\001\001\022\037\n\016hours_in_cycle\030\374\210\227\373\001 \001(\005H\001\210\001\001" - + "\022\032\n\nstart_time\030\212\351\356\021 \001(\tH\002\210\001\001B\013\n\t_duratio" - + "nB\021\n\017_hours_in_cycleB\r\n\013_start_time\"\256\003\n$" - + "ResourcePolicyInstanceSchedulePolicy\022\037\n\017" - + "expiration_time\030\335\254\350m \001(\tH\000\210\001\001\022\032\n\nstart_t" - + "ime\030\212\351\356\021 \001(\tH\001\210\001\001\022\031\n\ttime_zone\030\336\203\311\021 \001(\tH" - + "\002\210\001\001\022h\n\021vm_start_schedule\030\334\220\274\010 \001(\0132E.goo" - + "gle.cloud.compute.v1.ResourcePolicyInsta" - + "nceSchedulePolicyScheduleH\003\210\001\001\022h\n\020vm_sto" - + "p_schedule\030\254\345\237\313\001 \001(\0132E.google.cloud.comp" - + "ute.v1.ResourcePolicyInstanceSchedulePol" - + "icyScheduleH\004\210\001\001B\022\n\020_expiration_timeB\r\n\013" - + "_start_timeB\014\n\n_time_zoneB\024\n\022_vm_start_s" - + "cheduleB\023\n\021_vm_stop_schedule\"V\n,Resource" - + "PolicyInstanceSchedulePolicySchedule\022\031\n\010" - + "schedule\030\227\245\232\263\001 \001(\tH\000\210\001\001B\013\n\t_schedule\"\314\002\n" - + "\022ResourcePolicyList\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\0229\n\005items\030\300\317\367/ \003(\0132\'." - + "google.cloud.compute.v1.ResourcePolicy\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.com" - + "pute.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\"\271\001\n\034ResourcePolicyResourceSt" - + "atus\022|\n\030instance_schedule_policy\030\260\320\271\244\001 \001" - + "(\0132Q.google.cloud.compute.v1.ResourcePol" - + "icyResourceStatusInstanceSchedulePolicyS" - + "tatusH\000\210\001\001B\033\n\031_instance_schedule_policy\"" - + "\266\001\n8ResourcePolicyResourceStatusInstance" - + "SchedulePolicyStatus\022$\n\023last_run_start_t" - + "ime\030\207\357\301\220\001 \001(\tH\000\210\001\001\022$\n\023next_run_start_tim" - + "e\030\212\263\370\227\001 \001(\tH\001\210\001\001B\026\n\024_last_run_start_time" - + "B\026\n\024_next_run_start_time\"\250\003\n$ResourcePol" - + "icySnapshotSchedulePolicy\022n\n\020retention_p" - + "olicy\030\363\312\334 \001(\0132L.google.cloud.compute.v1" - + ".ResourcePolicySnapshotSchedulePolicyRet" - + "entionPolicyH\000\210\001\001\022`\n\010schedule\030\227\245\232\263\001 \001(\0132" - + "E.google.cloud.compute.v1.ResourcePolicy" - + "SnapshotSchedulePolicyScheduleH\001\210\001\001\022t\n\023s" - + "napshot_properties\030\216\225\262X \001(\0132O.google.clo" - + "ud.compute.v1.ResourcePolicySnapshotSche" - + "dulePolicySnapshotPropertiesH\002\210\001\001B\023\n\021_re" - + "tention_policyB\013\n\t_scheduleB\026\n\024_snapshot" - + "_properties\"\325\002\n3ResourcePolicySnapshotSc" - + "hedulePolicyRetentionPolicy\022#\n\022max_reten" - + "tion_days\030\223\302\321\232\001 \001(\005H\000\210\001\001\022&\n\025on_source_di" - + "sk_delete\030\311\315\302\231\001 \001(\tH\001\210\001\001\"\237\001\n\022OnSourceDis" - + "kDelete\022#\n\037UNDEFINED_ON_SOURCE_DISK_DELE" - + "TE\020\000\022\036\n\026APPLY_RETENTION_POLICY\020\344\224\222\377\001\022\032\n\023" - + "KEEP_AUTO_SNAPSHOTS\020\371\310\273{\022(\n!UNSPECIFIED_" - + "ON_SOURCE_DISK_DELETE\020\241\377\203rB\025\n\023_max_reten" - + "tion_daysB\030\n\026_on_source_disk_delete\"\347\002\n," - + "ResourcePolicySnapshotSchedulePolicySche" - + "dule\022Q\n\016daily_schedule\030\375\343\212) \001(\01321.google" - + ".cloud.compute.v1.ResourcePolicyDailyCyc" - + "leH\000\210\001\001\022S\n\017hourly_schedule\030\245\261\243\022 \001(\01322.go" - + "ogle.cloud.compute.v1.ResourcePolicyHour" - + "lyCycleH\001\210\001\001\022T\n\017weekly_schedule\030\225\211\271\253\001 \001(" - + "\01322.google.cloud.compute.v1.ResourcePoli" - + "cyWeeklyCycleH\002\210\001\001B\021\n\017_daily_scheduleB\022\n" - + "\020_hourly_scheduleB\022\n\020_weekly_schedule\"\320\002" - + "\n6ResourcePolicySnapshotSchedulePolicySn" - + "apshotProperties\022\032\n\nchain_name\030\311\332\335 \001(\tH" - + "\000\210\001\001\022\034\n\013guest_flush\030\335\223\354\267\001 \001(\010H\001\210\001\001\022o\n\006la" - + "bels\030\377\277\301\356\001 \003(\0132[.google.cloud.compute.v1" - + ".ResourcePolicySnapshotSchedulePolicySna" - + "pshotProperties.LabelsEntry\022\035\n\021storage_l" - + "ocations\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\001B\r\n\013_chain_name" - + "B\016\n\014_guest_flush\"q\n\031ResourcePolicyWeekly" - + "Cycle\022T\n\014day_of_weeks\030\332\237\373z \003(\0132;.google." - + "cloud.compute.v1.ResourcePolicyWeeklyCyc" - + "leDayOfWeek\"\264\002\n\"ResourcePolicyWeeklyCycl" - + "eDayOfWeek\022\022\n\003day\030\234\207\006 \001(\tH\000\210\001\001\022\030\n\010durati" - + "on\030\224\233\221J \001(\tH\001\210\001\001\022\032\n\nstart_time\030\212\351\356\021 \001(\tH" - + "\002\210\001\001\"\237\001\n\003Day\022\021\n\rUNDEFINED_DAY\020\000\022\016\n\006FRIDA" - + "Y\020\337\362\343\340\001\022\017\n\007INVALID\020\327\373\355\374\001\022\r\n\006MONDAY\020\220\312\213?\022" - + "\020\n\010SATURDAY\020\271\217\207\205\001\022\016\n\006SUNDAY\020\320\213\322\223\001\022\017\n\010THU" - + "RSDAY\020\332\263\346b\022\017\n\007TUESDAY\020\255\354\251\204\001\022\021\n\tWEDNESDAY" - + "\020\266\316\236\311\001B\006\n\004_dayB\013\n\t_durationB\r\n\013_start_ti" - + "me\"\234\001\n\025ResumeInstanceRequest\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\022\033\n" - + "\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n\013_request_i" - + "d\"\370\007\n\005Route\0229\n\010as_paths\030\241\305\314A \003(\0132$.googl" - + "e.cloud.compute.v1.RouteAsPath\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\033\n\ndest_range\030\340\262\352\265\001 \001(\t" - + "H\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(\t" - + "H\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\020next_hop_gateway\030\202\372\354\263\001 \001" - + "(\tH\007\210\001\001\022\034\n\014next_hop_ilb\030\335\272\336^ \001(\tH\010\210\001\001\022\"\n" - + "\021next_hop_instance\030\227\353\321\273\001 \001(\tH\t\210\001\001\022\033\n\013nex" - + "t_hop_ip\030\251\257\3154 \001(\tH\n\210\001\001\022 \n\020next_hop_netwo" - + "rk\030\354\241\211} \001(\tH\013\210\001\001\022!\n\020next_hop_peering\030\376\223\344" - + "\304\001 \001(\tH\014\210\001\001\022$\n\023next_hop_vpn_tunnel\030\225\345\360\367\001" - + " \001(\tH\r\210\001\001\022\031\n\010priority\030\244\363\241\324\001 \001(\rH\016\210\001\001\022\033\n\n" - + "route_type\030\360\266\236\263\001 \001(\tH\017\210\001\001\022\032\n\tself_link\030\215" - + "\222\305\331\001 \001(\tH\020\210\001\001\022\017\n\004tags\030\231\350\330\001 \003(\t\0227\n\010warnin" - + "gs\030\327\210\301\355\001 \003(\0132!.google.cloud.compute.v1.W" - + "arnings\"`\n\tRouteType\022\030\n\024UNDEFINED_ROUTE_" - + "TYPE\020\000\022\t\n\003BGP\020\253\201\004\022\016\n\006STATIC\020\356\204\203\223\001\022\016\n\006SUB" - + "NET\020\335\356\274\223\001\022\016\n\007TRANSIT\020\263\203\306YB\025\n\023_creation_t" - + "imestampB\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_ilbB\024\n\022_n" - + "ext_hop_instanceB\016\n\014_next_hop_ipB\023\n\021_nex" - + "t_hop_networkB\023\n\021_next_hop_peeringB\026\n\024_n" - + "ext_hop_vpn_tunnelB\013\n\t_priorityB\r\n\013_rout" - + "e_typeB\014\n\n_self_link\"\347\001\n\013RouteAsPath\022\023\n\010" - + "as_lists\030\310\312\371? \003(\r\022\"\n\021path_segment_type\030\240" - + "\265\353\364\001 \001(\tH\000\210\001\001\"\210\001\n\017PathSegmentType\022\037\n\033UND" - + "EFINED_PATH_SEGMENT_TYPE\020\000\022\031\n\022AS_CONFED_" - + "SEQUENCE\020\260\217\367i\022\025\n\rAS_CONFED_SET\020\363\315\255\262\001\022\022\n\013" - + "AS_SEQUENCE\020\256\322\3622\022\016\n\006AS_SET\020\265\235\244\235\001B\024\n\022_pat" - + "h_segment_type\"\233\002\n\tRouteList\022\020\n\002id\030\233\032 \001(" - + "\tH\000\210\001\001\0220\n\005items\030\300\317\367/ \003(\0132\036.google.cloud." - + "compute.v1.Route\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\"\201\005\n\006Router\0226\n\003bgp\030\313" - + "\371\005 \001(\0132\".google.cloud.compute.v1.RouterB" - + "gpH\000\210\001\001\022=\n\tbgp_peers\030\335\255\356\327\001 \003(\0132&.google." - + "cloud.compute.v1.RouterBgpPeer\022\"\n\022creati" - + "on_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013descriptio" - + "n\030\374\207\326\311\001 \001(\tH\002\210\001\001\022.\n\035encrypted_interconne" - + "ct_router\030\237\242\214\216\001 \001(\010H\003\210\001\001\022\020\n\002id\030\233\032 \001(\004H\004\210" - + "\001\001\022?\n\ninterfaces\030\332\364\340\005 \003(\0132(.google.cloud" - + ".compute.v1.RouterInterface\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\0223\n\004nats\030" - + "\362\366\315\001 \003(\0132\".google.cloud.compute.v1.Route" - + "rNat\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" - + "\001B\006\n\004_bgpB\025\n\023_creation_timestampB\016\n\014_des" - + "criptionB \n\036_encrypted_interconnect_rout" - + "erB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\n\n\010_networkB" - + "\t\n\007_regionB\014\n\n_self_link\"h\n\027RouterAdvert" - + "isedIpRange\022\034\n\013description\030\374\207\326\311\001 \001(\tH\000\210\001" - + "\001\022\025\n\005range\030\275\362\3203 \001(\tH\001\210\001\001B\016\n\014_description" - + "B\010\n\006_range\"\263\003\n\024RouterAggregatedList\022\020\n\002i" - + "d\030\233\032 \001(\tH\000\210\001\001\022J\n\005items\030\300\317\367/ \003(\01328.google" - + ".cloud.compute.v1.RouterAggregatedList.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.RoutersScopedList:\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\"\240\003\n\tRouterBgp\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\024advertised_ip_ranges\030\314\330\363\020 \003(\01320" - + ".google.cloud.compute.v1.RouterAdvertise" - + "dIpRange\022\022\n\003asn\030\374\364\005 \001(\rH\001\210\001\001\022#\n\022keepaliv" - + "e_interval\030\274\345\374\203\001 \001(\rH\002\210\001\001\"M\n\rAdvertiseMo" - + "de\022\034\n\030UNDEFINED_ADVERTISE_MODE\020\000\022\016\n\006CUST" - + "OM\020\361\376\245\271\001\022\016\n\007DEFAULT\020\241\304\3756\"G\n\020AdvertisedGr" - + "oups\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\"\264\t\n\rRouterBg" - + "pPeer\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\024advertis" - + "ed_ip_ranges\030\314\330\363\020 \003(\01320.google.cloud.com" - + "pute.v1.RouterAdvertisedIpRange\022)\n\031adver" - + "tised_route_priority\030\274\234\366X \001(\rH\001\210\001\001\022=\n\003bf" - + "d\030\240\371\005 \001(\0132).google.cloud.compute.v1.Rout" - + "erBgpPeerBfdH\002\210\001\001\022\027\n\006enable\030\203\313\324\224\001 \001(\tH\003\210" - + "\001\001\022\033\n\013enable_ipv6\030\243\366\303V \001(\010H\004\210\001\001\022\037\n\016inter" - + "face_name\030\321\303\344\320\001 \001(\tH\005\210\001\001\022\033\n\nip_address\030\334" - + "\361\334\301\001 \001(\tH\006\210\001\001\022$\n\024ipv6_nexthop_address\030\323\205" - + "\253\r \001(\tH\007\210\001\001\022\037\n\017management_type\030\266\203\352R \001(\tH" - + "\010\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\t\210\001\001\022\030\n\010peer_asn\030\237" - + "\264\226! \001(\rH\n\210\001\001\022\037\n\017peer_ip_address\030\331\227\207c \001(\t" - + "H\013\210\001\001\022*\n\031peer_ipv6_nexthop_address\030\220\373\255\352\001" - + " \001(\tH\014\210\001\001\022*\n\031router_appliance_instance\030\235" - + "\307\247\337\001 \001(\tH\r\210\001\001\"M\n\rAdvertiseMode\022\034\n\030UNDEFI" - + "NED_ADVERTISE_MODE\020\000\022\016\n\006CUSTOM\020\361\376\245\271\001\022\016\n\007" - + "DEFAULT\020\241\304\3756\"G\n\020AdvertisedGroups\022\037\n\033UNDE" - + "FINED_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\016ManagementTy" - + "pe\022\035\n\031UNDEFINED_MANAGEMENT_TYPE\020\000\022\035\n\025MAN" - + "AGED_BY_ATTACHMENT\020\313\322\352\332\001\022\027\n\017MANAGED_BY_U" - + "SER\020\363\213\246\227\001B\021\n\017_advertise_modeB\034\n\032_adverti" - + "sed_route_priorityB\006\n\004_bfdB\t\n\007_enableB\016\n" - + "\014_enable_ipv6B\021\n\017_interface_nameB\r\n\013_ip_" - + "addressB\027\n\025_ipv6_nexthop_addressB\022\n\020_man" - + "agement_typeB\007\n\005_nameB\013\n\t_peer_asnB\022\n\020_p" - + "eer_ip_addressB\034\n\032_peer_ipv6_nexthop_add" - + "ressB\034\n\032_router_appliance_instance\"\206\003\n\020R" - + "outerBgpPeerBfd\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\033session_initialization_mode\030\271\215\3032 \001(" - + "\tH\003\210\001\001\"y\n\031SessionInitializationMode\022)\n%U" - + "NDEFINED_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\007PASS" - + "IVE\020\207\366\327\334\001B\027\n\025_min_receive_intervalB\030\n\026_m" - + "in_transmit_intervalB\r\n\013_multiplierB\036\n\034_" - + "session_initialization_mode\"\250\004\n\017RouterIn" - + "terface\022\030\n\010ip_range\030\245\340\227E \001(\tH\000\210\001\001\022/\n\036lin" - + "ked_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_address\030\230\322\2130" - + " \001(\tH\005\210\001\001\022$\n\023redundant_interface\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\016" - + "ManagementType\022\035\n\031UNDEFINED_MANAGEMENT_T" - + "YPE\020\000\022\035\n\025MANAGED_BY_ATTACHMENT\020\313\322\352\332\001\022\027\n\017" - + "MANAGED_BY_USER\020\363\213\246\227\001B\013\n\t_ip_rangeB!\n\037_l" - + "inked_interconnect_attachmentB\024\n\022_linked" - + "_vpn_tunnelB\022\n\020_management_typeB\007\n\005_name" - + "B\025\n\023_private_ip_addressB\026\n\024_redundant_in" - + "terfaceB\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.goog" - + "le.cloud.compute.v1.Router\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" + + "\262\001\n\034TargetHttpsProxiesScopedList\022K\n\024targ" + + "et_https_proxies\030\212\374\347\256\001 \003(\0132).google.clou" + + "d.compute.v1.TargetHttpsProxy\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\"\224\013\n\tRoute" - + "rNat\022\031\n\rdrain_nat_ips\030\307\301\256\360\001 \003(\t\022/\n\036enabl" - + "e_dynamic_port_allocation\030\242\231\335\375\001 \001(\010H\000\210\001\001" - + "\0223\n#enable_endpoint_independent_mapping\030" - + "\233\211\333{ \001(\010H\001\210\001\001\022%\n\025icmp_idle_timeout_sec\030\312" - + "\320\336\001 \001(\005H\002\210\001\001\022H\n\nlog_config\030\235\321\301\247\001 \001(\0132+.g" - + "oogle.cloud.compute.v1.RouterNatLogConfi" - + "gH\003\210\001\001\022 \n\020max_ports_per_vm\030\341\311\236w \001(\005H\004\210\001\001" - + "\022 \n\020min_ports_per_vm\030\263\255\344X \001(\005H\005\210\001\001\022\024\n\004na" - + "me\030\213\365\315\001 \001(\tH\006\210\001\001\022\'\n\026nat_ip_allocate_opti" - + "on\030\375\270\364\314\001 \001(\tH\007\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.compute.v" - + "1.RouterNatRule\0222\n\"source_subnetwork_ip_" - + "ranges_to_nat\030\333\357\241x \001(\tH\010\210\001\001\022J\n\013subnetwor" - + "ks\030\305\324\245\306\001 \003(\01321.google.cloud.compute.v1.R" - + "outerNatSubnetworkToNat\0220\n tcp_establish" - + "ed_idle_timeout_sec\030\355\353\260j \001(\005H\t\210\001\001\022*\n\031tcp" - + "_time_wait_timeout_sec\030\375\273\363\364\001 \001(\005H\n\210\001\001\022/\n" - + "\037tcp_transitory_idle_timeout_sec\030\246\373\341a \001(" - + "\005H\013\210\001\001\022$\n\024udp_idle_timeout_sec\030\306\262\372\036 \001(\005H" - + "\014\210\001\001\"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\035SourceSubnet" - + "workIpRangesToNat\0220\n,UNDEFINED_SOURCE_SU" - + "BNETWORK_IP_RANGES_TO_NAT\020\000\022$\n\035ALL_SUBNE" - + "TWORKS_ALL_IP_RANGES\020\330\223\350U\022,\n%ALL_SUBNETW" - + "ORKS_ALL_PRIMARY_IP_RANGES\020\273\303\276X\022\033\n\023LIST_" - + "OF_SUBNETWORKS\020\376\242\344\366\001B!\n\037_enable_dynamic_" - + "port_allocationB&\n$_enable_endpoint_inde" - + "pendent_mappingB\030\n\026_icmp_idle_timeout_se" - + "cB\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_a" - + "llocate_optionB%\n#_source_subnetwork_ip_" - + "ranges_to_natB#\n!_tcp_established_idle_t" - + "imeout_secB\034\n\032_tcp_time_wait_timeout_sec" - + "B\"\n _tcp_transitory_idle_timeout_secB\027\n\025" - + "_udp_idle_timeout_sec\"\267\001\n\022RouterNatLogCo" - + "nfig\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_FI" - + "LTER\020\000\022\t\n\003ALL\020\201\373\003\022\023\n\013ERRORS_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\022D\n\006action\030\266\374\275Y" - + " \001(\0132,.google.cloud.compute.v1.RouterNat" - + "RuleActionH\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\t" - + "H\001\210\001\001\022\025\n\005match\030\305\263\2671 \001(\tH\002\210\001\001\022\034\n\013rule_num" - + "ber\030\354\333\232\377\001 \001(\rH\003\210\001\001B\t\n\007_actionB\016\n\014_descri" - + "ptionB\010\n\006_matchB\016\n\014_rule_number\"Y\n\023Route" - + "rNatRuleAction\022 \n\025source_nat_active_ips\030" - + "\365\273\250d \003(\t\022 \n\024source_nat_drain_ips\030\243\305\301\242\001 \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_range_name" - + "s\030\331\301\204~ \003(\t\022#\n\027source_ip_ranges_to_nat\030\362\312" - + "\224\271\001 \003(\t\"\220\001\n\023SourceIpRangesToNat\022%\n!UNDEF" - + "INED_SOURCE_IP_RANGES_TO_NAT\020\000\022\024\n\rALL_IP" - + "_RANGES\020\260\257\375\020\022\"\n\033LIST_OF_SECONDARY_IP_RAN" - + "GES\020\234\264\330[\022\030\n\020PRIMARY_IP_RANGE\020\302\223\326\215\001B\007\n\005_n" - + "ame\"\306\002\n\014RouterStatus\0227\n\013best_routes\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(\0132\036.googl" - + "e.cloud.compute.v1.Route\022N\n\017bgp_peer_sta" - + "tus\030\373\327\225h \003(\01322.google.cloud.compute.v1.R" - + "outerStatusBgpPeerStatus\022E\n\nnat_status\030\320" - + "\231\213\036 \003(\0132..google.cloud.compute.v1.Router" - + "StatusNatStatus\022\027\n\007network\030\256\264\205o \001(\tH\000\210\001\001" - + "B\n\n\010_network\"\312\005\n\031RouterStatusBgpPeerStat" - + "us\022=\n\021advertised_routes\030\254\331\374\236\001 \003(\0132\036.goog" - + "le.cloud.compute.v1.Route\022?\n\nbfd_status\030" - + "\361\270\323\274\001 \001(\0132\".google.cloud.compute.v1.BfdS" - + "tatusH\000\210\001\001\022\033\n\nip_address\030\334\361\334\301\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\024\n\004n" - + "ame\030\213\365\315\001 \001(\tH\003\210\001\001\022\"\n\022num_learned_routes\030" - + "\377\325\313@ \001(\rH\004\210\001\001\022\037\n\017peer_ip_address\030\331\227\207c \001(" - + "\tH\005\210\001\001\022*\n\031router_appliance_instance\030\235\307\247\337" - + "\001 \001(\tH\006\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\007\210\001\001\022\026\n\006sta" - + "tus\030\362\237\267V \001(\tH\010\210\001\001\022\026\n\006uptime\030\350\267\236p \001(\tH\t\210\001" - + "\001\022\036\n\016uptime_seconds\030\250\312\3701 \001(\tH\n\210\001\001\"E\n\006Sta" - + "tus\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\025B\r\n\013_bfd_statusB" - + "\r\n\013_ip_addressB\024\n\022_linked_vpn_tunnelB\007\n\005" - + "_nameB\025\n\023_num_learned_routesB\022\n\020_peer_ip" - + "_addressB\034\n\032_router_appliance_instanceB\010" - + "\n\006_stateB\t\n\007_statusB\t\n\007_uptimeB\021\n\017_uptim" - + "e_seconds\"\367\003\n\025RouterStatusNatStatus\022\"\n\026a" - + "uto_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\034dra" - + "in_user_allocated_nat_ips\030\311\216\310\221\001 \003(\t\022)\n\030m" - + "in_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\013rul" - + "e_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\"" - + "RouterStatusNatStatusNatRuleStatus\022\031\n\016ac" - + "tive_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_map" - + "pings\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#_" - + "num_vm_endpoints_with_nat_mappingsB\016\n\014_r" - + "ule_number\"\177\n\024RouterStatusResponse\022\024\n\004ki" - + "nd\030\224\367\310\001 \001(\tH\000\210\001\001\022=\n\006result\030\235\220\267B \001(\0132%.go" - + "ogle.cloud.compute.v1.RouterStatusH\001\210\001\001B" - + "\007\n\005_kindB\t\n\007_result\"`\n\026RoutersPreviewRes" - + "ponse\0229\n\010resource\030\216\210\257] \001(\0132\037.google.clou" - + "d.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(\013" - + "2\037.google.cloud.compute.v1.Router\0229\n\007war" - + "ning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1." - + "WarningH\000\210\001\001B\n\n\010_warning\"\220\003\n\004Rule\022\026\n\006act" - + "ion\030\266\374\275Y \001(\tH\000\210\001\001\0229\n\nconditions\030\270\355\220D \003(\013" - + "2\".google.cloud.compute.v1.Condition\022\034\n\013" - + "description\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" - + "\020UNDEFINED_ACTION\020\000\022\014\n\005ALLOW\020\251\326\336\035\022\025\n\016ALL" - + "OW_WITH_LOG\020\201\341\240$\022\n\n\004DENY\020\214\354\177\022\025\n\rDENY_WIT" - + "H_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\016SSLHealt" - + "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\"\217\010\n\021SavedAttached" - + "Disk\022\034\n\013auto_delete\030\273\344\316\335\001 \001(\010H\000\210\001\001\022\024\n\004bo" - + "ot\030\362\365\270\001 \001(\010H\001\210\001\001\022\033\n\013device_name\030\324\265\232 \001(\t" - + "H\002\210\001\001\022T\n\023disk_encryption_key\030\205\355\304\201\001 \001(\0132." - + ".google.cloud.compute.v1.CustomerEncrypt" - + "ionKeyH\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_o" - + "s_features\030\321\340\347% \003(\0132\'.google.cloud.compu" - + "te.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\004m" - + "ode\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\024sto" - + "rage_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\022StorageBytesS" - + "tatus\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_encryp" - + "tion_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_mod" - + "eB\t\n\007_sourceB\020\n\016_storage_bytesB\027\n\025_stora" - + "ge_bytes_statusB\007\n\005_type\"\251\002\n\tSavedDisk\022\024" - + "\n\004kind\030\224\367\310\001 \001(\tH\000\210\001\001\022\034\n\013source_disk\030\301\356\264\327" - + "\001 \001(\tH\001\210\001\001\022\036\n\rstorage_bytes\030\247\273\275\312\001 \001(\003H\002\210" - + "\001\001\022%\n\024storage_bytes_status\030\212\253\200\352\001 \001(\tH\003\210\001" - + "\001\"]\n\022StorageBytesStatus\022\"\n\036UNDEFINED_STO" - + "RAGE_BYTES_STATUS\020\000\022\020\n\010UPDATING\020\306\356\354\353\001\022\021\n" - + "\nUP_TO_DATE\020\316\242\2470B\007\n\005_kindB\016\n\014_source_dis" - + "kB\020\n\016_storage_bytesB\027\n\025_storage_bytes_st" - + "atus\"\201\002\n\025ScalingScheduleStatus\022\037\n\017last_s" - + "tart_time\030\323\273\274\020 \001(\tH\000\210\001\001\022\037\n\017next_start_ti" - + "me\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\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\005READY\020\203\303\217%B\022\n\020_last_start_timeB\022\n\020_n" - + "ext_start_timeB\010\n\006_state\"\261\006\n\nScheduling\022" - + "\"\n\021automatic_restart\030\373\267\244\247\001 \001(\010H\000\210\001\001\022+\n\033i" - + "nstance_termination_action\030\273\377\2313 \001(\tH\001\210\001\001" - + "\022\036\n\rlocation_hint\030\321\201\222\247\001 \001(\tH\002\210\001\001\022\036\n\rmin_" - + "node_cpus\030\273\244\242\227\001 \001(\005H\003\210\001\001\022L\n\017node_affinit" - + "ies\030\243\204\232\334\001 \003(\0132/.google.cloud.compute.v1." - + "SchedulingNodeAffinity\022#\n\023on_host_mainte" - + "nance\030\334\362\347\036 \001(\tH\004\210\001\001\022\034\n\013preemptible\030\241\345\313\232\001" - + " \001(\010H\005\210\001\001\022!\n\022provisioning_model\030\327\226\036 \001(\tH" - + "\006\210\001\001\"\223\001\n\031InstanceTerminationAction\022)\n%UN" - + "DEFINED_INSTANCE_TERMINATION_ACTION\020\000\022\016\n" - + "\006DELETE\020\253\363\345\277\001\022.\n\'INSTANCE_TERMINATION_AC" - + "TION_UNSPECIFIED\020\263\301\251,\022\013\n\004STOP\020\202\200\234\001\"Y\n\021On" - + "HostMaintenance\022!\n\035UNDEFINED_ON_HOST_MAI" - + "NTENANCE\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\010STA" - + "NDARD\020\275\235\214\347\001B\024\n\022_automatic_restartB\036\n\034_in" - + "stance_termination_actionB\020\n\016_location_h" - + "intB\020\n\016_min_node_cpusB\026\n\024_on_host_mainte" - + "nanceB\016\n\014_preemptibleB\025\n\023_provisioning_m" - + "odel\"\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\022UNDEFINE" - + "D_OPERATOR\020\000\022\007\n\002IN\020\245\022\022\r\n\006NOT_IN\020\261\274\353L\022\033\n\024" - + "OPERATOR_UNSPECIFIED\020\374\377\272=B\006\n\004_keyB\013\n\t_op" - + "erator\"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\010con" - + "tents\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_contentsB\007\n\005_kind\"\277\001\n7SecurityPol" - + "iciesListPreconfiguredExpressionSetsResp" - + "onse\022b\n\035preconfigured_expression_sets\030\372\214" - + "\327\377\001 \001(\01322.google.cloud.compute.v1.Securi" - + "tyPoliciesWafConfigH\000\210\001\001B \n\036_preconfigur" - + "ed_expression_sets\"r\n\031SecurityPoliciesWa" - + "fConfig\022G\n\twaf_rules\030\324\303\333# \001(\0132,.google.c" - + "loud.compute.v1.PreconfiguredWafSetH\000\210\001\001" - + "B\014\n\n_waf_rules\"\345\006\n\016SecurityPolicy\022k\n\032ada" - + "ptive_protection_config\030\337\373\321G \001(\0132?.googl" - + "e.cloud.compute.v1.SecurityPolicyAdaptiv" - + "eProtectionConfigH\000\210\001\001\022f\n\027advanced_optio" - + "ns_config\030\300\323\235\326\001 \001(\0132<.google.cloud.compu" - + "te.v1.SecurityPolicyAdvancedOptionsConfi" - + "gH\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\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\022h\n\030recaptcha_options_config\030\333\324\275\367\001 \001(" - + "\0132=.google.cloud.compute.v1.SecurityPoli" - + "cyRecaptchaOptionsConfigH\010\210\001\001\022=\n\005rules\030\367" - + "\221\3653 \003(\0132+.google.cloud.compute.v1.Securi" - + "tyPolicyRule\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\t\210\001\001" - + "\022\024\n\004type\030\272\236\332\001 \001(\tH\n\210\001\001\"G\n\004Type\022\022\n\016UNDEFI" - + "NED_TYPE\020\000\022\022\n\013CLOUD_ARMOR\020\365\234\244|\022\027\n\020CLOUD_" - + "ARMOR_EDGE\020\307\242\307wB\035\n\033_adaptive_protection_" - + "configB\032\n\030_advanced_options_configB\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\033\n\031_r" - + "ecaptcha_options_configB\014\n\n_self_linkB\007\n" - + "\005_type\"\315\001\n&SecurityPolicyAdaptiveProtect" - + "ionConfig\022\203\001\n\032layer7_ddos_defense_config" - + "\030\243\331\303\320\001 \001(\0132V.google.cloud.compute.v1.Sec" - + "urityPolicyAdaptiveProtectionConfigLayer" - + "7DdosDefenseConfigH\000\210\001\001B\035\n\033_layer7_ddos_" - + "defense_config\"\355\001\n=SecurityPolicyAdaptiv" - + "eProtectionConfigLayer7DdosDefenseConfig" - + "\022\027\n\006enable\030\203\313\324\224\001 \001(\010H\000\210\001\001\022 \n\017rule_visibi" - + "lity\030\265\330\220\330\001 \001(\tH\001\210\001\001\"R\n\016RuleVisibility\022\035\n" - + "\031UNDEFINED_RULE_VISIBILITY\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_r" - + "ule_visibility\"\222\002\n#SecurityPolicyAdvance" - + "dOptionsConfig\022\035\n\014json_parsing\030\331\204\332\206\001 \001(\t" - + "H\000\210\001\001\022\031\n\tlog_level\030\311\275\204C \001(\tH\001\210\001\001\"M\n\013Json" - + "Parsing\022\032\n\026UNDEFINED_JSON_PARSING\020\000\022\020\n\010D" - + "ISABLED\020\374\324\260\366\001\022\020\n\010STANDARD\020\275\235\214\347\001\"C\n\010LogLe" - + "vel\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\017\n\r_json_parsingB\014\n" - + "\n_log_level\"\203\002\n\022SecurityPolicyList\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\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\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clou" - + "d.compute.v1.WarningH\003\210\001\001B\005\n\003_idB\007\n\005_kin" - + "dB\022\n\020_next_page_tokenB\n\n\010_warning\"`\n$Sec" - + "urityPolicyRecaptchaOptionsConfig\022\"\n\021red" - + "irect_site_key\030\352\204\274\325\001 \001(\tH\000\210\001\001B\024\n\022_redire" - + "ct_site_key\"N\n\027SecurityPolicyReference\022\037" - + "\n\017security_policy\030\221\206\312Q \001(\tH\000\210\001\001B\022\n\020_secu" - + "rity_policy\"\200\005\n\022SecurityPolicyRule\022\026\n\006ac" - + "tion\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;.go" - + "ogle.cloud.compute.v1.SecurityPolicyRule" - + "HttpHeaderActionH\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.com" - + "pute.v1.SecurityPolicyRuleMatcherH\004\210\001\001\022\027" - + "\n\007preview\030\310\307\243h \001(\010H\005\210\001\001\022\031\n\010priority\030\244\363\241\324" - + "\001 \001(\005H\006\210\001\001\022_\n\022rate_limit_options\030\373\311\232 \001(" - + "\0132;.google.cloud.compute.v1.SecurityPoli" - + "cyRuleRateLimitOptionsH\007\210\001\001\022\\\n\020redirect_" - + "options\030\273\222\356M \001(\0132:.google.cloud.compute." - + "v1.SecurityPolicyRuleRedirectOptionsH\010\210\001" - + "\001B\t\n\007_actionB\016\n\014_descriptionB\020\n\016_header_" - + "actionB\007\n\005_kindB\010\n\006_matchB\n\n\010_previewB\013\n" - + "\t_priorityB\025\n\023_rate_limit_optionsB\023\n\021_re" - + "direct_options\"\225\001\n\"SecurityPolicyRuleHtt" - + "pHeaderAction\022o\n\027request_headers_to_adds" - + "\030\315\253\372) \003(\0132K.google.cloud.compute.v1.Secu" - + "rityPolicyRuleHttpHeaderActionHttpHeader", - "Option\"\220\001\n2SecurityPolicyRuleHttpHeaderA" - + "ctionHttpHeaderOption\022\033\n\013header_name\030\375\301\307" - + "4 \001(\tH\000\210\001\001\022\034\n\014header_value\030\277\362\353` \001(\tH\001\210\001\001" - + "B\016\n\014_header_nameB\017\n\r_header_value\"\254\002\n\031Se" - + "curityPolicyRuleMatcher\022P\n\006config\030\302\206\376y \001" - + "(\01328.google.cloud.compute.v1.SecurityPol" - + "icyRuleMatcherConfigH\000\210\001\001\0223\n\004expr\030\365\363\276\001 \001" - + "(\0132\035.google.cloud.compute.v1.ExprH\001\210\001\001\022\037" - + "\n\016versioned_expr\030\275\343\326\231\001 \001(\tH\002\210\001\001\"@\n\rVersi" - + "onedExpr\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\021\n" - + "\017_versioned_expr\"<\n\037SecurityPolicyRuleMa" - + "tcherConfig\022\031\n\rsrc_ip_ranges\030\323\200\207\316\001 \003(\t\"\254" - + "\006\n\"SecurityPolicyRuleRateLimitOptions\022 \n" - + "\020ban_duration_sec\030\326\232\272\024 \001(\005H\000\210\001\001\022d\n\rban_t" - + "hreshold\030\273\250\377\356\001 \001(\0132D.google.cloud.comput" - + "e.v1.SecurityPolicyRuleRateLimitOptionsT" - + "hresholdH\001\210\001\001\022\037\n\016conform_action\030\317\306\350\366\001 \001(" - + "\tH\002\210\001\001\022\037\n\016enforce_on_key\030\374\235\326\306\001 \001(\tH\003\210\001\001\022" - + "#\n\023enforce_on_key_name\030\356\303\232? \001(\tH\004\210\001\001\022\035\n\r" - + "exceed_action\030\241\312\332O \001(\tH\005\210\001\001\022d\n\027exceed_re" - + "direct_options\030\346\214\355\341\001 \001(\0132:.google.cloud." - + "compute.v1.SecurityPolicyRuleRedirectOpt" - + "ionsH\006\210\001\001\022k\n\024rate_limit_threshold\030\210\277\317\226\001 " - + "\001(\0132D.google.cloud.compute.v1.SecurityPo" - + "licyRuleRateLimitOptionsThresholdH\007\210\001\001\"y" - + "\n\014EnforceOnKey\022\034\n\030UNDEFINED_ENFORCE_ON_K" - + "EY\020\000\022\t\n\003ALL\020\201\373\003\022\023\n\013HTTP_COOKIE\020\373\243\203\354\001\022\022\n\013" - + "HTTP_HEADER\020\244\324\326+\022\007\n\002IP\020\247\022\022\016\n\006XFF_IP\020\256\307\230\321" - + "\001B\023\n\021_ban_duration_secB\020\n\016_ban_threshold" - + "B\021\n\017_conform_actionB\021\n\017_enforce_on_keyB\026" - + "\n\024_enforce_on_key_nameB\020\n\016_exceed_action" - + "B\032\n\030_exceed_redirect_optionsB\027\n\025_rate_li" - + "mit_threshold\"}\n+SecurityPolicyRuleRateL" - + "imitOptionsThreshold\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_co" - + "untB\017\n\r_interval_sec\"\261\001\n!SecurityPolicyR" - + "uleRedirectOptions\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\016UNDE" - + "FINED_TYPE\020\000\022\024\n\014EXTERNAL_302\020\201\326\331\274\001\022\030\n\020GO" - + "OGLE_RECAPTCHA\020\301\234\261\367\001B\t\n\007_targetB\007\n\005_type" - + "\"k\n\020SecuritySettings\022\"\n\021client_tls_polic" - + "y\030\352\213\272\334\001 \001(\tH\000\210\001\001\022\035\n\021subject_alt_names\030\337\263" - + "\257\235\001 \003(\tB\024\n\022_client_tls_policy\"q\n&SendDia" - + "gnosticInterruptInstanceRequest\022\030\n\010insta" - + "nce\030\225\251\332\010 \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\'SendDiagnost" - + "icInterruptInstanceResponse\"\303\001\n\020SerialPo" - + "rtOutput\022\031\n\010contents\030\232\266\275\361\001 \001(\tH\000\210\001\001\022\024\n\004k" - + "ind\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\tself_link\030\215\222\305\331\001 \001(\tH\003\210\001\001\022\025\n\005start\030\342\210\253" - + "4 \001(\003H\004\210\001\001B\013\n\t_contentsB\007\n\005_kindB\007\n\005_nex" - + "tB\014\n\n_self_linkB\010\n\006_start\"\277\001\n\rServerBind" - + "ing\022\024\n\004type\030\272\236\332\001 \001(\tH\000\210\001\001\"\216\001\n\004Type\022\022\n\016UN" - + "DEFINED_TYPE\020\000\022\"\n\032RESTART_NODE_ON_ANY_SE" - + "RVER\020\311\330\351\357\001\022&\n\037RESTART_NODE_ON_MINIMAL_SE" - + "RVERS\020\337\252\255a\022&\n\037SERVER_BINDING_TYPE_UNSPEC" - + "IFIED\020\250\333\234VB\007\n\005_type\"D\n\016ServiceAccount\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\"\342\010\n\021ServiceAttachment\022[\n\023conne" - + "cted_endpoints\030\310\227\270\" \003(\0132;.google.cloud.c" - + "ompute.v1.ServiceAttachmentConnectedEndp" - + "oint\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" - + ">.google.cloud.compute.v1.ServiceAttachm" - + "entConsumerProjectLimit\022 \n\025consumer_reje" - + "ct_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_p" - + "roxy_protocol\030\205\207\274\255\001 \001(\010H\003\210\001\001\022\033\n\013fingerpr" - + "int\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\004k" - + "ind\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_for" - + "warding_rule\030\321\250\234v \001(\tH\010\210\001\001\022L\n\031psc_servic" - + "e_attachment_id\030\356\372\317\373\001 \001(\0132 .google.cloud" - + ".compute.v1.Uint128H\t\210\001\001\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\022\035\n\016" - + "target_service\030\207\374N \001(\tH\014\210\001\001\"\225\001\n\024Connecti" - + "onPreference\022#\n\037UNDEFINED_CONNECTION_PRE" - + "FERENCE\020\000\022\027\n\020ACCEPT_AUTOMATIC\020\224\367\360#\022\025\n\rAC" - + "CEPT_MANUAL\020\335\355\361\261\001\022(\n!CONNECTION_PREFEREN" - + "CE_UNSPECIFIED\020\264\240\277\020B\030\n\026_connection_prefe" - + "renceB\025\n\023_creation_timestampB\016\n\014_descrip" - + "tionB\030\n\026_enable_proxy_protocolB\016\n\014_finge" - + "rprintB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\033\n\031_prod" - + "ucer_forwarding_ruleB\034\n\032_psc_service_att" - + "achment_idB\t\n\007_regionB\014\n\n_self_linkB\021\n\017_" - + "target_service\"\324\003\n\037ServiceAttachmentAggr" - + "egatedList\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.Service" - + "AttachmentAggregatedList.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\032c\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022D\n\005value\030\002" - + " \001(\01325.google.cloud.compute.v1.ServiceAt" - + "tachmentsScopedList:\0028\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\"\245\002\n\"ServiceAttachmentConnectedEndp" - + "oint\022\030\n\010endpoint\030\225\273\234> \001(\tH\000\210\001\001\022\"\n\021psc_co" - + "nnection_id\030\335\245\243\213\001 \001(\004H\001\210\001\001\022\026\n\006status\030\362\237\267" - + "V \001(\tH\002\210\001\001\"{\n\006Status\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\016\n\007P" - + "ENDING\020\367\252\360\020\022\017\n\010REJECTED\020\376\210\204S\022\031\n\022STATUS_U" - + "NSPECIFIED\020\312\314\213\024B\013\n\t_endpointB\024\n\022_psc_con" - + "nection_idB\t\n\007_status\"\230\001\n%ServiceAttachm" - + "entConsumerProjectLimit\022 \n\020connection_li" - + "mit\030\232\236\324> \001(\rH\000\210\001\001\022\"\n\021project_id_or_num\030\250" - + "\212\345\246\001 \001(\tH\001\210\001\001B\023\n\021_connection_limitB\024\n\022_p" - + "roject_id_or_num\"\263\002\n\025ServiceAttachmentLi" - + "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.ServiceAttachme" - + "nt\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\034ServiceAttachmentsScopedList\022" - + "K\n\023service_attachments\030\246\222\272\222\001 \003(\0132*.googl" - + "e.cloud.compute.v1.ServiceAttachment\0229\n\007" - + "warning\030\234\337\226\030 \001(\0132 .google.cloud.compute." - + "v1.WarningH\000\210\001\001B\n\n\010_warning\"\246\002\n&SetBacke" - + "ndServiceTargetSslProxyRequest\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\212\001\n7target_ssl_proxies_set" - + "_backend_service_request_resource\030\244\351\250B \001" - + "(\0132A.google.cloud.compute.v1.TargetSslPr" - + "oxiesSetBackendServiceRequestB\003\340A\002\022!\n\020ta" - + "rget_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340A\002B\r\n\013_reques" - + "t_id\"\247\002\n&SetBackendServiceTargetTcpProxy" - + "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\022\213\001\n7targe" - + "t_tcp_proxies_set_backend_service_reques" - + "t_resource\030\357\321\302\202\001 \001(\0132A.google.cloud.comp" - + "ute.v1.TargetTcpProxiesSetBackendService" - + "RequestB\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\032SetBackupTarg" - + "etPoolRequest\022\036\n\016failover_ratio\030\376\224\264e \001(\002" - + "H\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\nreq" - + "uest_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.Targ" - + "etReferenceB\003\340A\002B\021\n\017_failover_ratioB\r\n\013_" - + "request_id\"\276\001\n\'SetCommonInstanceMetadata" - + "ProjectRequest\022E\n\021metadata_resource\030\236\276\346\212" - + "\001 \001(\0132!.google.cloud.compute.v1.Metadata" - + "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\"\367\001\n#SetDefaultNetworkTierProjectRequ" - + "est\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007project\022\201" - + "\001\n2projects_set_default_network_tier_req" - + "uest_resource\030\212\300\243< \001(\0132=.google.cloud.co" - + "mpute.v1.ProjectsSetDefaultNetworkTierRe" - + "questB\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$SetDeletionProtectionI" - + "nstanceRequest\022$\n\023deletion_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\007" - + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\030\n\010r" - + "esource\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_r" - + "equest_id\"\342\001\n SetDiskAutoDeleteInstanceR" - + "equest\022\034\n\013auto_delete\030\273\344\316\335\001 \001(\010B\003\340A\002\022\033\n\013" - + "device_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\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\"\377" - + "\001\n)SetEdgeSecurityPolicyBackendBucketReq" - + "uest\022\036\n\016backend_bucket\030\365\343\335+ \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\022d\n\"security_policy_r" - + "eference_resource\030\360\264\253a \001(\01320.google.clou" - + "d.compute.v1.SecurityPolicyReferenceB\003\340A" - + "\002B\r\n\013_request_id\"\202\002\n*SetEdgeSecurityPoli" - + "cyBackendServiceRequest\022 \n\017backend_servi" - + "ce\030\212\300\256\222\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" - + "\022d\n\"security_policy_reference_resource\030\360" - + "\264\253a \001(\01320.google.cloud.compute.v1.Securi" - + "tyPolicyReferenceB\003\340A\002B\r\n\013_request_id\"\304\001" - + "\n\027SetIamPolicyDiskRequest\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\022\024\n\004" - + "zone\030\254\307\344\001 \001(\tB\003\340A\002\022`\n zone_set_policy_re" - + "quest_resource\030\273\270\230\266\001 \001(\0132-.google.cloud." - + "compute.v1.ZoneSetPolicyRequestB\003\340A\002\"\273\001\n" - + "!SetIamPolicyFirewallPolicyRequest\022|\n/gl" - + "obal_organization_set_policy_request_res" - + "ource\030\336\224\314T \001(\0132;.google.cloud.compute.v1" - + ".GlobalOrganizationSetPolicyRequestB\003\340A\002" - + "\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\263\001\n\030SetIamPol" - + "icyImageRequest\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\"\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 zon" - + "e_set_policy_request_resource\030\273\270\230\266\001 \001(\0132" - + "-.google.cloud.compute.v1.ZoneSetPolicyR" - + "equestB\003\340A\002\"\276\001\n#SetIamPolicyInstanceTemp" - + "lateRequest\022d\n\"global_set_policy_request" - + "_resource\030\262\347\333\240\001 \001(\0132/.google.cloud.compu" - + "te.v1.GlobalSetPolicyRequestB\003\340A\002\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\"\265\001\n\032SetIamPolicyLicenseRequest\022d\n\"g" - + "lobal_set_policy_request_resource\030\262\347\333\240\001 " - + "\001(\0132/.google.cloud.compute.v1.GlobalSetP" - + "olicyRequestB\003\340A\002\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\002\"\272\001\n\037SetIamP" - + "olicyMachineImageRequest\022d\n\"global_set_p" - + "olicy_request_resource\030\262\347\333\240\001 \001(\0132/.googl" - + "e.cloud.compute.v1.GlobalSetPolicyReques" - + "tB\003\340A\002\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\"\311\001\n\034SetIamPolicyNodeGr" - + "oupRequest\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\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.Zone" - + "SetPolicyRequestB\003\340A\002\"\322\001\n\037SetIamPolicyNo" - + "deTemplateRequest\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\022d\n\"region_set" - + "_policy_request_resource\030\203\307\353\203\001 \001(\0132/.goo" - + "gle.cloud.compute.v1.RegionSetPolicyRequ" - + "estB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002\"\320\001\n\035S" - + "etIamPolicyRegionDiskRequest\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\"\313\001\n\036SetIamPolicyReservationRequest" - + "\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\"\324\001\n!SetIamPolicyResourcePoli" - + "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\"\327\001\n$SetIamPol" - + "icyServiceAttachmentRequest\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.RegionSet" - + "PolicyRequestB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB" - + "\003\340A\002\"\266\001\n\033SetIamPolicySnapshotRequest\022d\n\"" - + "global_set_policy_request_resource\030\262\347\333\240\001" - + " \001(\0132/.google.cloud.compute.v1.GlobalSet" - + "PolicyRequestB\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\035SetIam" - + "PolicySubnetworkRequest\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\"regi" - + "on_set_policy_request_resource\030\203\307\353\203\001 \001(\013" - + "2/.google.cloud.compute.v1.RegionSetPoli" - + "cyRequestB\003\340A\002\022\030\n\010resource\030\216\210\257] \001(\tB\003\340A\002" - + "\"\336\002\n.SetInstanceTemplateInstanceGroupMan" - + "agerRequest\022&\n\026instance_group_manager\030\303\367" - + "\363v \001(\tB\003\340A\002\022\230\001\n>instance_group_managers_" - + "set_instance_template_request_resource\030\305" - + "\331\326\004 \001(\0132H.google.cloud.compute.v1.Instan" - + "ceGroupManagersSetInstanceTemplateReques" - + "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\"\344\002\n4Se" - + "tInstanceTemplateRegionInstanceGroupMana" - + "gerRequest\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\037\n\006region\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\224" - + "\001\n.google.cloud.comput" - + "e.v1.TargetSslProxiesSetProxyHeaderReque" - + "stB\003\340A\002\022!\n\020target_ssl_proxy\030\315\272\306\241\001 \001(\tB\003\340" - + "A\002B\r\n\013_request_id\"\235\002\n#SetProxyHeaderTarg" - + "etTcpProxyRequest\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\204\001\n4target_tcp_proxies_set_proxy_header" - + "_request_resource\030\303\230\361h \001(\0132>.google.clou" - + "d.compute.v1.TargetTcpProxiesSetProxyHea" - + "derRequestB\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&SetQuicOve" - + "rrideTargetHttpsProxyRequest\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_override_request_resource\030\342\365\343\" \001(\013" - + "2A.google.cloud.compute.v1.TargetHttpsPr" - + "oxiesSetQuicOverrideRequestB\003\340A\002\022\"\n\022targ" - + "et_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request" - + "_id\"\356\001\n\034SetSchedulingInstanceRequest\022\030\n\010" - + "instance\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(\t" - + "H\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_reques" - + "t_id\"\376\001\n&SetSecurityPolicyBackendService" - + "Request\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\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\002B\r\n\013_request_id\"\244\002\n SetServiceAcco" - + "untInstanceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB" - + "\003\340A\002\022{\n.instances_set_service_account_re" - + "quest_resource\030\270\236\262\203\001 \001(\0132:.google.cloud." - + "compute.v1.InstancesSetServiceAccountReq" - + "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\"\260\002\n" - + "1SetShieldedInstanceIntegrityPolicyInsta" - + "nceRequest\022\030\n\010instance\030\225\251\332\010 \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\022v\n+shielded_instance" - + "_integrity_policy_resource\030\266\334\215\303\001 \001(\01328.g" - + "oogle.cloud.compute.v1.ShieldedInstanceI" - + "ntegrityPolicyB\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/SetSslCertif" - + "icatesRegionTargetHttpsProxyRequest\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\236\001\nAregion_targe" - + "t_https_proxies_set_ssl_certificates_req" - + "uest_resource\030\207\204\246\272\001 \001(\0132J.google.cloud.c" - + "ompute.v1.RegionTargetHttpsProxiesSetSsl" - + "CertificatesRequestB\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)SetSslCertif" - + "icatesTargetHttpsProxyRequest\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_se" - + "t_ssl_certificates_request_resource\030\334\253\262j" - + " \001(\0132D.google.cloud.compute.v1.TargetHtt" - + "psProxiesSetSslCertificatesRequestB\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\'SetSslCertificatesTargetS" - + "slProxyRequest\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\214\001" - + "\n8target_ssl_proxies_set_ssl_certificate" - + "s_request_resource\030\275\313\305F \001(\0132B.google.clo" - + "ud.compute.v1.TargetSslProxiesSetSslCert" - + "ificatesRequestB\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#SetSs" - + "lPolicyTargetHttpsProxyRequest\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\022Z\n\035ssl_policy_reference_re" - + "source\030\274\364\237p \001(\0132+.google.cloud.compute.v" - + "1.SslPolicyReferenceB\003\340A\002\022\"\n\022target_http" - + "s_proxy\030\354\260\372\030 \001(\tB\003\340A\002B\r\n\013_request_id\"\360\001\n" - + "!SetSslPolicyTargetSslProxyRequest\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\022Z\n\035ssl_policy_referenc" - + "e_resource\030\274\364\237p \001(\0132+.google.cloud.compu" - + "te.v1.SslPolicyReferenceB\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\026SetTagsInstanceRequest\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\000\210\001\001\022=\n\rt" - + "ags_resource\030\364\232\205\236\001 \001(\0132\035.google.cloud.co" - + "mpute.v1.TagsB\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\036SetTargetForw" - + "ardingRuleRequest\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\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\022T\n\031target_re" - + "ference_resource\030\360\267\335\371\001 \001(\0132(.google.clou" - + "d.compute.v1.TargetReferenceB\003\340A\002B\r\n\013_re" - + "quest_id\"\354\001\n$SetTargetGlobalForwardingRu" - + "leRequest\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\032" - + "\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001\022T\n\031target_ref" - + "erence_resource\030\360\267\335\371\001 \001(\0132(.google.cloud" - + ".compute.v1.TargetReferenceB\003\340A\002B\r\n\013_req" - + "uest_id\"\320\002\n)SetTargetPoolsInstanceGroupM" - + "anagerRequest\022&\n\026instance_group_manager\030" - + "\303\367\363v \001(\tB\003\340A\002\022\217\001\n9instance_group_manager" - + "s_set_target_pools_request_resource\030\210\206\210\206" - + "\001 \001(\0132C.google.cloud.compute.v1.Instance" - + "GroupManagersSetTargetPoolsRequestB\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\"\346\002\n/SetTarget" - + "PoolsRegionInstanceGroupManagerRequest\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\006reg" - + "ion\030\364\315\240B \001(\tB\014\340A\002\362G\006region\022\233\001\n@region_in" - + "stance_group_managers_set_target_pools_r" - + "equest_resource\030\375\312\305% \001(\0132I.google.cloud." - + "compute.v1.RegionInstanceGroupManagersSe" - + "tTargetPoolsRequestB\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%SetUrlMa" - + "pRegionTargetHttpProxyRequest\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!\n\021target_http_proxy\030\345\276\322b \001(\tB\003\340A\002" - + "\022U\n\032url_map_reference_resource\030\225\346\216\276\001 \001(\013" - + "2(.google.cloud.compute.v1.UrlMapReferen" - + "ceB\003\340A\002B\r\n\013_request_id\"\222\002\n&SetUrlMapRegi" - + "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\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_reference_resource\030\225\346\216\276\001 \001(\0132(." - + "google.cloud.compute.v1.UrlMapReferenceB" - + "\003\340A\002B\r\n\013_request_id\"\351\001\n\037SetUrlMapTargetH" - + "ttpProxyRequest\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_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(.goog" - + "le.cloud.compute.v1.UrlMapReferenceB\003\340A\002" - + "B\r\n\013_request_id\"\353\001\n SetUrlMapTargetHttps" - + "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\022\"\n\022t" - + "arget_https_proxy\030\354\260\372\030 \001(\tB\003\340A\002\022U\n\032url_m" - + "ap_reference_resource\030\225\346\216\276\001 \001(\0132(.google" - + ".cloud.compute.v1.UrlMapReferenceB\003\340A\002B\r" - + "\n\013_request_id\"\320\001\n\"SetUsageExportBucketPr" - + "ojectRequest\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\\\n\036u" - + "sage_export_location_resource\030\353\314\324\t \001(\0132," - + ".google.cloud.compute.v1.UsageExportLoca" - + "tionB\003\340A\002B\r\n\013_request_id\"\343\002\n\rShareSettin" - + "gs\022N\n\013project_map\030\266\326\377? \003(\01326.google.clou" - + "d.compute.v1.ShareSettings.ProjectMapEnt" - + "ry\022\033\n\nshare_type\030\232\227\270\253\001 \001(\tH\000\210\001\001\032f\n\017Proje" - + "ctMapEntry\022\013\n\003key\030\001 \001(\t\022B\n\005value\030\002 \001(\01323" - + ".google.cloud.compute.v1.ShareSettingsPr" - + "ojectConfig:\0028\001\"n\n\tShareType\022\030\n\024UNDEFINE" - + "D_SHARE_TYPE\020\000\022\014\n\005LOCAL\020\313\316\317\"\022\036\n\026SHARE_TY" - + "PE_UNSPECIFIED\020\222\274\366\353\001\022\031\n\021SPECIFIC_PROJECT" - + "S\020\347\261\356\245\001B\r\n\013_share_type\"G\n\032ShareSettingsP" - + "rojectConfig\022\032\n\nproject_id\030\201\310\322T \001(\tH\000\210\001\001" - + "B\r\n\013_project_id\"\316\001\n\026ShieldedInstanceConf" - + "ig\022,\n\033enable_integrity_monitoring\030\266\333\207\303\001 " - + "\001(\010H\000\210\001\001\022\"\n\022enable_secure_boot\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_en" - + "able_integrity_monitoringB\025\n\023_enable_sec" - + "ure_bootB\016\n\014_enable_vtpm\"\213\002\n\030ShieldedIns" - + "tanceIdentity\022W\n\016encryption_key\030\243\307\351\350\001 \001(" - + "\01326.google.cloud.compute.v1.ShieldedInst" - + "anceIdentityEntryH\000\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH" - + "\001\210\001\001\022T\n\013signing_key\030\245\220\205\231\001 \001(\01326.google.c" - + "loud.compute.v1.ShieldedInstanceIdentity" - + "EntryH\002\210\001\001B\021\n\017_encryption_keyB\007\n\005_kindB\016" - + "\n\014_signing_key\"i\n\035ShieldedInstanceIdenti" - + "tyEntry\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_certB\t\n\007_ek_pu" - + "b\"h\n\037ShieldedInstanceIntegrityPolicy\022(\n\030" - + "update_auto_learn_policy\030\247\304\207u \001(\010H\000\210\001\001B\033" - + "\n\031_update_auto_learn_policy\"`\n\014SignedUrl" - + "Key\022\031\n\010key_name\030\353\360\356\356\001 \001(\tH\000\210\001\001\022\032\n\tkey_va" - + "lue\030\221\237\260\360\001 \001(\tH\001\210\001\001B\013\n\t_key_nameB\014\n\n_key_" - + "value\"\203\001\n\'SimulateMaintenanceEventInstan" - + "ceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\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\"\314\013\n\010Snapshot\022\035\n\014auto" - + "_created\030\330\310\233\335\001 \001(\010H\000\210\001\001\022\032\n\nchain_name\030\311\332" - + "\335 \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\035\n" - + "\014disk_size_gb\030\267\232\347\226\001 \001(\003H\004\210\001\001\022\037\n\016download" - + "_bytes\030\364\313\271\317\001 \001(\003H\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_fingerpri" - + "nt\030\231\360\367T \001(\tH\010\210\001\001\022A\n\006labels\030\377\277\301\356\001 \003(\0132-.g" - + "oogle.cloud.compute.v1.Snapshot.LabelsEn" - + "try\022\030\n\rlicense_codes\030\250\205\330\025 \003(\003\022\024\n\010license" - + "s\030\322\210\200\241\001 \003(\t\022\036\n\rlocation_hint\030\321\201\222\247\001 \001(\tH\t" - + "\210\001\001\022\024\n\004name\030\213\365\315\001 \001(\tH\n\210\001\001\022\036\n\rsatisfies_p" - + "zs\030\253\335\253\345\001 \001(\010H\013\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\t" - + "H\014\210\001\001\022W\n\027snapshot_encryption_key\030\376\366\324\024 \001(" - + "\0132..google.cloud.compute.v1.CustomerEncr" - + "yptionKeyH\r\210\001\001\022\034\n\013source_disk\030\301\356\264\327\001 \001(\tH" - + "\016\210\001\001\022[\n\032source_disk_encryption_key\030\341\240\270\375\001" - + " \001(\0132..google.cloud.compute.v1.CustomerE" - + "ncryptionKeyH\017\210\001\001\022\037\n\016source_disk_id\030\331\315\311\330" - + "\001 \001(\tH\020\210\001\001\022\026\n\006status\030\362\237\267V \001(\tH\021\210\001\001\022\036\n\rst" - + "orage_bytes\030\247\273\275\312\001 \001(\003H\022\210\001\001\022%\n\024storage_by" - + "tes_status\030\212\253\200\352\001 \001(\tH\023\210\001\001\022\035\n\021storage_loc" - + "ations\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\"r\n\006Status\022\024\n\020UND" - + "EFINED_STATUS\020\000\022\020\n\010CREATING\020\271\275\235\331\001\022\020\n\010DEL" - + "ETING\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\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" - + "uto_createdB\r\n\013_chain_nameB\025\n\023_creation_" - + "timestampB\016\n\014_descriptionB\017\n\r_disk_size_" - + "gbB\021\n\017_download_bytesB\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_pzsB\014\n\n_self_linkB\032" - + "\n\030_snapshot_encryption_keyB\016\n\014_source_di" - + "skB\035\n\033_source_disk_encryption_keyB\021\n\017_so" - + "urce_disk_idB\t\n\007_statusB\020\n\016_storage_byte" - + "sB\027\n\025_storage_bytes_status\"\241\002\n\014SnapshotL" - + "ist\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\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\"\265" - + "\001\n\027SourceDiskEncryptionKey\022T\n\023disk_encry" - + "ption_key\030\205\355\304\201\001 \001(\0132..google.cloud.compu" - + "te.v1.CustomerEncryptionKeyH\000\210\001\001\022\034\n\013sour" - + "ce_disk\030\301\356\264\327\001 \001(\tH\001\210\001\001B\026\n\024_disk_encrypti" - + "on_keyB\016\n\014_source_disk\"a\n\024SourceInstance" - + "Params\022I\n\014disk_configs\030\317\331\252p \003(\01320.google" - + ".cloud.compute.v1.DiskInstantiationConfi" - + "g\"\226\007\n\030SourceInstanceProperties\022\037\n\016can_ip" - + "_forward\030\374\206\204\337\001 \001(\010H\000\210\001\001\022$\n\023deletion_prot" - + "ection\030\352\377\262\332\001 \001(\010H\001\210\001\001\022\034\n\013description\030\374\207\326" - + "\311\001 \001(\tH\002\210\001\001\022<\n\005disks\030\366\314\312- \003(\0132*.google.c" - + "loud.compute.v1.SavedAttachedDisk\022J\n\022gue" - + "st_accelerators\030\357\314\207\335\001 \003(\0132*.google.cloud" - + ".compute.v1.AcceleratorConfig\022Q\n\006labels\030" - + "\377\277\301\356\001 \003(\0132=.google.cloud.compute.v1.Sour" - + "ceInstanceProperties.LabelsEntry\022\034\n\014mach" - + "ine_type\030\262\260\312l \001(\tH\003\210\001\001\022;\n\010metadata\030\257\366\265) " - + "\001(\0132!.google.cloud.compute.v1.MetadataH\004" - + "\210\001\001\022 \n\020min_cpu_platform\030\367\233\352s \001(\tH\005\210\001\001\022H\n" - + "\022network_interfaces\030\213\332\222\031 \003(\0132).google.cl" - + "oud.compute.v1.NetworkInterface\022@\n\nsched" - + "uling\030\224\313\261\270\001 \001(\0132#.google.cloud.compute.v" - + "1.SchedulingH\006\210\001\001\022E\n\020service_accounts\030\260\304" - + "\253\204\001 \003(\0132\'.google.cloud.compute.v1.Servic" - + "eAccount\0223\n\004tags\030\231\350\330\001 \001(\0132\035.google.cloud" - + ".compute.v1.TagsH\007\210\001\001\032-\n\013LabelsEntry\022\013\n\003" - + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\021\n\017_can_ip_" - + "forwardB\026\n\024_deletion_protectionB\016\n\014_desc" - + "riptionB\017\n\r_machine_typeB\013\n\t_metadataB\023\n" - + "\021_min_cpu_platformB\r\n\013_schedulingB\007\n\005_ta" - + "gs\"\240\006\n\016SslCertificate\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\013description\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(\004" - + "H\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<.google.cloud.compute.v1.SslCe" - + "rtificateManagedSslCertificateH\006\210\001\001\022\024\n\004n" - + "ame\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\006region\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@.google.cloud.compute.v1.SslCerti" - + "ficateSelfManagedSslCertificateH\013\210\001\001\022%\n\031" - + "subject_alternative_names\030\343\357\223\374\001 \003(\t\022\024\n\004t" - + "ype\030\272\236\332\001 \001(\tH\014\210\001\001\"[\n\004Type\022\022\n\016UNDEFINED_T" - + "YPE\020\000\022\017\n\007MANAGED\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_certi" - + "ficateB\025\n\023_creation_timestampB\016\n\014_descri" - + "ptionB\016\n\014_expire_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_r" - + "egionB\014\n\n_self_linkB\017\n\r_self_managedB\007\n\005" - + "_type\"\313\003\n\034SslCertificateAggregatedList\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.SslCertificateAggre" - + "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.SslCertificatesScopedLis" - + "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\022SslCerti" - + "ficateList\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.SslCert" - + "ificate\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_pa" + + "ingH\000\210\001\001B\n\n\010_warning\"\266\001\n(TargetHttpsProx" + + "iesSetQuicOverrideRequest\022\036\n\rquic_overri" + + "de\030\255\241\333\331\001 \001(\tH\000\210\001\001\"X\n\014QuicOverride\022\033\n\027UND" + + "EFINED_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\020\n\016_quic_ove" + + "rride\"K\n+TargetHttpsProxiesSetSslCertifi" + + "catesRequest\022\034\n\020ssl_certificates\030\217\242\303\256\001 \003" + + "(\t\"\355\005\n\020TargetHttpsProxy\022$\n\024authorization" + + "_policy\030\270\357\227\020 \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\033\n\013fingerprint\030\344\321\363o \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\033\n\nproxy_bind\030\356\316\261\210\001 \001" + + "(\010H\007\210\001\001\022\036\n\rquic_override\030\255\241\333\331\001 \001(\tH\010\210\001\001\022" + + "\026\n\006region\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\021server_tls_policy\030\362\336\207\215\001 \001" + + "(\tH\013\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\014\210\001\001\022\030\n\007url_map\030\214\225" + + "\201\257\001 \001(\tH\r\210\001\001\"X\n\014QuicOverride\022\033\n\027UNDEFINE" + + "D_QUIC_OVERRIDE\020\000\022\016\n\007DISABLE\020\310\335\246s\022\016\n\006ENA" + + "BLE\020\203\263\240\321\001\022\013\n\004NONE\020\270\316\222\001B\027\n\025_authorization" + + "_policyB\025\n\023_creation_timestampB\016\n\014_descr" + + "iptionB\016\n\014_fingerprintB\005\n\003_idB\007\n\005_kindB\007" + + "\n\005_nameB\r\n\013_proxy_bindB\020\n\016_quic_override" + + "B\t\n\007_regionB\014\n\n_self_linkB\024\n\022_server_tls" + + "_policyB\r\n\013_ssl_policyB\n\n\010_url_map\"\322\003\n\036T" + + "argetHttpsProxyAggregatedList\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.TargetHttpsProxyAggregatedLi" + + "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\032c\n\nItemsEntry\022\013\n\003ke" + + "y\030\001 \001(\t\022D\n\005value\030\002 \001(\01325.google.cloud.co" + + "mpute.v1.TargetHttpsProxiesScopedList:\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\024TargetHttpsP" + + "roxyList\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.TargetHtt" + + "psProxy\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\"\320\003\n#SslCertificateManagedSsl" - + "Certificate\022i\n\rdomain_status\030\315\247\347\253\001 \003(\0132N" - + ".google.cloud.compute.v1.SslCertificateM" - + "anagedSslCertificate.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\021DomainStatusEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001\"\321\001\n\006Status\022\024\n\020UNDEFINED_" - + "STATUS\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022.\n&MANAGED_CERT" - + "IFICATE_STATUS_UNSPECIFIED\020\322\305\263\342\001\022\024\n\014PROV" - + "ISIONING\020\355\365\332\212\001\022\032\n\023PROVISIONING_FAILED\020\317\253" - + "\320$\022\'\n\037PROVISIONING_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\'SslCertificateSelfManagedSslCertifica" - + "te\022\034\n\013certificate\030\227\203\375\242\001 \001(\tH\000\210\001\001\022\034\n\013priv" - + "ate_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\031SslCertificatesScoped" - + "List\022E\n\020ssl_certificates\030\217\242\303\256\001 \003(\0132\'.goo" - + "gle.cloud.compute.v1.SslCertificate\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\"\245\002\n\017SslPolici" - + "esList\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.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\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\"?\n(SslPoliciesListAvailableFeaturesRe" - + "sponse\022\023\n\010features\030\275\310\263u \003(\t\"\266\005\n\tSslPolic" - + "y\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\032\n" - + "\017custom_features\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\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\037\n\017mi" - + "n_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\007profile\030\251\223\272l \001(\tH\007\210\001\001\022\032\n\tse" - + "lf_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\0227\n\010warnings\030\327\210\301\355\001" - + " \003(\0132!.google.cloud.compute.v1.Warnings\"" - + "^\n\rMinTlsVersion\022\035\n\031UNDEFINED_MIN_TLS_VE" - + "RSION\020\000\022\016\n\007TLS_1_0\020\276\244\345\017\022\016\n\007TLS_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\nRESTRICTED\020\333\350\333|B\025" - + "\n\023_creation_timestampB\016\n\014_descriptionB\016\n" - + "\014_fingerprintB\005\n\003_idB\007\n\005_kindB\022\n\020_min_tl" - + "s_versionB\007\n\005_nameB\n\n\010_profileB\014\n\n_self_" - + "link\"@\n\022SslPolicyReference\022\033\n\nssl_policy" - + "\030\305\375\340\214\001 \001(\tH\000\210\001\001B\r\n\013_ssl_policy\"\233\001\n\024Start" - + "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\033\n\004zone\030\254\307\344\001 \001(" - + "\tB\n\340A\002\362G\004zoneB\r\n\013_request_id\"\265\002\n%StartWi" - + "thEncryptionKeyInstanceRequest\022\030\n\010instan" - + "ce\030\225\251\332\010 \001(\tB\003\340A\002\022\206\001\n4instances_start_wit" - + "h_encryption_key_request_resource\030\377\376\317\322\001 " - + "\001(\0132?.google.cloud.compute.v1.InstancesS" - + "tartWithEncryptionKeyRequestB\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\"|\n\016StatefulPolicy\022V" - + "\n\017preserved_state\030\252\342\240\001 \001(\01325.google.clou" - + "d.compute.v1.StatefulPolicyPreservedStat" - + "eH\000\210\001\001B\022\n\020_preserved_state\"\341\001\n\034StatefulP" - + "olicyPreservedState\022R\n\005disks\030\366\314\312- \003(\0132@." - + "google.cloud.compute.v1.StatefulPolicyPr" - + "eservedState.DisksEntry\032m\n\nDisksEntry\022\013\n" - + "\003key\030\001 \001(\t\022N\n\005value\030\002 \001(\0132?.google.cloud" - + ".compute.v1.StatefulPolicyPreservedState" - + "DiskDevice:\0028\001\"\264\001\n&StatefulPolicyPreserv" - + "edStateDiskDevice\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\"\232\001" - + "\n\023StopInstanceRequest\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\"\310\016\n\nS" - + "ubnetwork\022\"\n\022creation_timestamp\030\266\217\307\016 \001(\t" - + "H\000\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\001\210\001\001\022 \n\020e" - + "nable_flow_logs\030\344\304\241H \001(\010H\002\210\001\001\022$\n\024externa" - + "l_ipv6_prefix\030\366\222\266B \001(\tH\003\210\001\001\022\033\n\013fingerpri" - + "nt\030\344\321\363o \001(\tH\004\210\001\001\022 \n\017gateway_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\035\n\rip_cidr_" - + "range\030\312\315\344. \001(\tH\007\210\001\001\022!\n\020ipv6_access_type\030" - + "\335\365\321\360\001 \001(\tH\010\210\001\001\022 \n\017ipv6_cidr_range\030\212\234\237\202\001 " - + "\001(\tH\t\210\001\001\022\024\n\004kind\030\224\367\310\001 \001(\tH\n\210\001\001\022I\n\nlog_co" - + "nfig\030\235\321\301\247\001 \001(\0132,.google.cloud.compute.v1" - + ".SubnetworkLogConfigH\013\210\001\001\022\024\n\004name\030\213\365\315\001 \001" - + "(\tH\014\210\001\001\022\027\n\007network\030\256\264\205o \001(\tH\r\210\001\001\022)\n\030priv" - + "ate_ip_google_access\030\316\350\375\310\001 \001(\010H\016\210\001\001\022*\n\032p" - + "rivate_ipv6_google_access\030\216\314\202\027 \001(\tH\017\210\001\001\022" - + "\030\n\007purpose\030\236\372\357\226\001 \001(\tH\020\210\001\001\022\026\n\006region\030\364\315\240B" - + " \001(\tH\021\210\001\001\022\024\n\004role\030\366\200\326\001 \001(\tH\022\210\001\001\022Q\n\023secon" - + "dary_ip_ranges\030\343\377\224A \003(\01321.google.cloud.c" - + "ompute.v1.SubnetworkSecondaryRange\022\032\n\tse" - + "lf_link\030\215\222\305\331\001 \001(\tH\023\210\001\001\022\033\n\nstack_type\030\221\265\213" - + "\313\001 \001(\tH\024\210\001\001\022\025\n\005state\030\221\211\2534 \001(\tH\025\210\001\001\"g\n\016Ip" - + "v6AccessType\022\036\n\032UNDEFINED_IPV6_ACCESS_TY" - + "PE\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022$\n\034UNSPECIFIED_IPV" - + "6_ACCESS_TYPE\020\245\366\244\225\001\"\276\001\n\027PrivateIpv6Googl" - + "eAccess\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_GOOGL" - + "E\020\272\312\211\314\001\022+\n#ENABLE_OUTBOUND_VM_ACCESS_TO_" - + "GOOGLE\020\327\372\266\211\001\"\256\001\n\007Purpose\022\025\n\021UNDEFINED_PU" - + "RPOSE\020\000\022#\n\034INTERNAL_HTTPS_LOAD_BALANCER\020" - + "\331\266\316v\022\017\n\007PRIVATE\020\343\342\262\300\001\022\027\n\020PRIVATE_RFC_191" - + "8\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\004Role\022\022\n" - + "\016UNDEFINED_ROLE\020\000\022\016\n\006ACTIVE\020\206\346\211\226\001\022\016\n\006BAC" - + "KUP\020\302\323\315\242\001\"i\n\tStackType\022\030\n\024UNDEFINED_STAC" - + "K_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\026UNSPECIFIED_STACK_TYPE\020\331\321\221\216\001\"<\n\005" - + "State\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_timestam" - + "pB\016\n\014_descriptionB\023\n\021_enable_flow_logsB\027" - + "\n\025_external_ipv6_prefixB\016\n\014_fingerprintB" - + "\022\n\020_gateway_addressB\005\n\003_idB\020\n\016_ip_cidr_r" - + "angeB\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_networkB\033\n\031_private_ip_google_accessB" - + "\035\n\033_private_ipv6_google_accessB\n\n\010_purpo" - + "seB\t\n\007_regionB\007\n\005_roleB\014\n\n_self_linkB\r\n\013" - + "_stack_typeB\010\n\006_state\"\277\003\n\030SubnetworkAggr" - + "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.Subnetw" - + "orkAggregatedList.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.SubnetworksScope" - + "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\016Subn" - + "etworkList\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.Subnetw" - + "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" - + "dB\022\n\020_next_page_tokenB\014\n\n_self_linkB\n\n\010_" - + "warning\"\335\004\n\023SubnetworkLogConfig\022$\n\024aggre" - + "gation_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\010m" - + "etadata\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\023AggregationInterval\022\"\n\036UN" - + "DEFINED_AGGREGATION_INTERVAL\020\000\022\027\n\017INTERV" - + "AL_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_S" - + "EC\020\211\340\314\003\022\025\n\016INTERVAL_5_MIN\020\256\216\330\"\022\025\n\016INTERV" - + "AL_5_SEC\020\255\272\330\"\"u\n\010Metadata\022\026\n\022UNDEFINED_M" - + "ETADATA\020\000\022\026\n\017CUSTOM_METADATA\020\275\330\343\035\022\034\n\024EXC" - + "LUDE_ALL_METADATA\020\222\275\301\237\001\022\033\n\024INCLUDE_ALL_M" - + "ETADATA\020\204\315\277NB\027\n\025_aggregation_intervalB\t\n" - + "\007_enableB\016\n\014_filter_exprB\020\n\016_flow_sampli" - + "ngB\013\n\t_metadata\"w\n\030SubnetworkSecondaryRa" - + "nge\022\035\n\rip_cidr_range\030\312\315\344. \001(\tH\000\210\001\001\022\033\n\nra" - + "nge_name\030\315\360\264\236\001 \001(\tH\001\210\001\001B\020\n\016_ip_cidr_rang" - + "eB\r\n\013_range_name\"V\n#SubnetworksExpandIpC" - + "idrRangeRequest\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\025Subnetworks" - + "ScopedList\022<\n\013subnetworks\030\305\324\245\306\001 \003(\0132#.go" - + "ogle.cloud.compute.v1.Subnetwork\0229\n\007warn" + + "\n\n\010_warning\"\307\003\n\016TargetInstance\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\030\n\010in" + + "stance\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\032" + + "\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022\024\n\004zone\030\254\307\344\001 " + + "\001(\tH\t\210\001\001\"4\n\tNatPolicy\022\030\n\024UNDEFINED_NAT_P" + + "OLICY\020\000\022\r\n\006NO_NAT\020\203\273\376LB\025\n\023_creation_time" + + "stampB\016\n\014_descriptionB\005\n\003_idB\013\n\t_instanc" + + "eB\007\n\005_kindB\007\n\005_nameB\r\n\013_nat_policyB\n\n\010_n" + + "etworkB\014\n\n_self_linkB\007\n\005_zone\"\313\003\n\034Target" + + "InstanceAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001" + + "\022R\n\005items\030\300\317\367/ \003(\0132@.google.cloud.comput" + + "e.v1.TargetInstanceAggregatedList.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\000\210\001\001B\n\n\010_warning\"t\n*SubnetworksSe" - + "tPrivateIpGoogleAccessRequest\022)\n\030private" - + "_ip_google_access\030\316\350\375\310\001 \001(\010H\000\210\001\001B\033\n\031_pri" - + "vate_ip_google_access\"\177\n\nSubsetting\022\026\n\006p" - + "olicy\030\262\312\266+ \001(\tH\000\210\001\001\"N\n\006Policy\022\024\n\020UNDEFIN" - + "ED_POLICY\020\000\022!\n\032CONSISTENT_HASH_SUBSETTIN" - + "G\020\264\230\3743\022\013\n\004NONE\020\270\316\222\001B\t\n\007_policy\"\235\001\n\026Suspe" - + "ndInstanceRequest\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\"\211\001\n Switc" - + "hToCustomModeNetworkRequest\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\007" - + "project\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_" - + "request_id\"\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_specification\030\305\353\314\030 \001(\tH\002\210\001\001\022\034\n\014pr" - + "oxy_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\021P" - + "ortSpecification\022 \n\034UNDEFINED_PORT_SPECI" - + "FICATION\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\026UNDEFINED_PROXY_HE" - + "ADER\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_specificat" - + "ionB\017\n\r_proxy_headerB\n\n\010_requestB\013\n\t_res" - + "ponse\"E\n\004Tags\022\033\n\013fingerprint\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\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\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\007" - + "url_map\030\214\225\201\257\001 \001(\tH\010\210\001\001\022&\n\026validate_for_p" - + "roxyless\030\250\343\3060 \001(\010H\t\210\001\001B\025\n\023_creation_time" - + "stampB\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_valid" - + "ate_for_proxyless\"\257\002\n\023TargetGrpcProxyLis" - + "t\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.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.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\"\256\001\n\033TargetHttpProxiesScopedList\022H\n\023t" - + "arget_http_proxies\030\303\325\250M \003(\0132(.google.clo" - + "ud.compute.v1.TargetHttpProxy\0229\n\007warning" - + "\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warn" - + "ingH\000\210\001\001B\n\n\010_warning\"\235\003\n\017TargetHttpProxy" - + "\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\033\n\013fingerprin" - + "t\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\004kin" - + "d\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" - + "\nproxy_bind\030\356\316\261\210\001 \001(\010H\006\210\001\001\022\026\n\006region\030\364\315\240" - + "B \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\007url_map\030\214\225\201\257\001 \001(\tH\t\210\001\001B\025\n\023_creation_ti" - + "mestampB\016\n\014_descriptionB\016\n\014_fingerprintB" - + "\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" - + "\035TargetHttpProxyAggregatedList\022\020\n\002id\030\233\032 " - + "\001(\tH\000\210\001\001\022S\n\005items\030\300\317\367/ \003(\0132A.google.clou" - + "d.compute.v1.TargetHttpProxyAggregatedLi" - + "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\032b\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 " - + "\001(\01324.google.cloud.compute.v1.TargetHttp" - + "ProxiesScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n" - + "\020_next_page_tokenB\014\n\n_self_link\"\257\002\n\023Targ" - + "etHttpProxyList\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.Ta" - + "rgetHttpProxy\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\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" - + "oogle.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\034TargetHttpsProxies" - + "ScopedList\022K\n\024target_https_proxies\030\212\374\347\256\001" - + " \003(\0132).google.cloud.compute.v1.TargetHtt" - + "psProxy\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clo" - + "ud.compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"\266" - + "\001\n(TargetHttpsProxiesSetQuicOverrideRequ" - + "est\022\036\n\rquic_override\030\255\241\333\331\001 \001(\tH\000\210\001\001\"X\n\014Q" - + "uicOverride\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\020\n\016_quic_override\"K\n+TargetHttpsPr" - + "oxiesSetSslCertificatesRequest\022\034\n\020ssl_ce" - + "rtificates\030\217\242\303\256\001 \003(\t\"\355\005\n\020TargetHttpsProx" - + "y\022$\n\024authorization_policy\030\270\357\227\020 \001(\tH\000\210\001\001\022" - + "\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\001\210\001\001\022\034\n\013d" - + "escription\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\033\n\n" - + "proxy_bind\030\356\316\261\210\001 \001(\010H\007\210\001\001\022\036\n\rquic_overri" - + "de\030\255\241\333\331\001 \001(\tH\010\210\001\001\022\026\n\006region\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\021server_" - + "tls_policy\030\362\336\207\215\001 \001(\tH\013\210\001\001\022\034\n\020ssl_certifi" - + "cates\030\217\242\303\256\001 \003(\t\022\033\n\nssl_policy\030\305\375\340\214\001 \001(\tH" - + "\014\210\001\001\022\030\n\007url_map\030\214\225\201\257\001 \001(\tH\r\210\001\001\"X\n\014QuicOv" - + "erride\022\033\n\027UNDEFINED_QUIC_OVERRIDE\020\000\022\016\n\007D" - + "ISABLE\020\310\335\246s\022\016\n\006ENABLE\020\203\263\240\321\001\022\013\n\004NONE\020\270\316\222\001" - + "B\027\n\025_authorization_policyB\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\r\n\013_proxy_bind" - + "B\020\n\016_quic_overrideB\t\n\007_regionB\014\n\n_self_l" - + "inkB\024\n\022_server_tls_policyB\r\n\013_ssl_policy" - + "B\n\n\010_url_map\"\322\003\n\036TargetHttpsProxyAggrega" - + "tedList\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.TargetHttp" - + "sProxyAggregatedList.ItemsEntry\022\024\n\004kind\030" + + "arningH\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." + + "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\022TargetInstanceList\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.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\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\032c" - + "\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022D\n\005value\030\002 \001(\013" - + "25.google.cloud.compute.v1.TargetHttpsPr" - + "oxiesScopedList:\0028\001B\005\n\003_idB\007\n\005_kindB\022\n\020_" + + "\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\"\251\001\n\031" + + "TargetInstancesScopedList\022E\n\020target_inst" + + "ances\030\320\322\255\273\001 \003(\0132\'.google.cloud.compute.v" + + "1.TargetInstance\0229\n\007warning\030\234\337\226\030 \001(\0132 .g" + + "oogle.cloud.compute.v1.WarningH\000\210\001\001B\n\n\010_" + + "warning\"\320\005\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" + + "\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\tin" + + "stances\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\032\n\tself_link\030\215\222\305\331\001 \001(\tH\010\210\001\001\022!\n\020sess" + + "ion_affinity\030\261\301\231\335\001 \001(\tH\t\210\001\001\"\353\001\n\017SessionA" + + "ffinity\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_DESTI" + + "NATION\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_CO" + + "OKIE\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_poo" + + "lB\025\n\023_creation_timestampB\016\n\014_description" + + "B\021\n\017_failover_ratioB\005\n\003_idB\007\n\005_kindB\007\n\005_" + + "nameB\t\n\007_regionB\014\n\n_self_linkB\023\n\021_sessio" + + "n_affinity\"\277\003\n\030TargetPoolAggregatedList\022" + + "\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022N\n\005items\030\300\317\367/ \003(\0132<.go" + + "ogle.cloud.compute.v1.TargetPoolAggregat" + + "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.TargetPoolsScopedList:\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\"{\n\030TargetPoolInstan" + + "ceHealth\022@\n\rhealth_status\030\265\326\272\265\001 \003(\0132%.go" + + "ogle.cloud.compute.v1.HealthStatus\022\024\n\004ki" + + "nd\030\224\367\310\001 \001(\tH\000\210\001\001B\007\n\005_kind\"\245\002\n\016TargetPool" + + "List\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\0225\n\005items\030\300\317\367/ \003(\013" + + "2#.google.cloud.compute.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\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\"\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.cloud.co" - + "mpute.v1.TargetHttpsProxy\022\024\n\004kind\030\224\367\310\001 \001" + + "g\"l\n TargetPoolsAddHealthCheckRequest\022H\n" + + "\rhealth_checks\030\256\257\346\325\001 \003(\0132-.google.cloud." + + "compute.v1.HealthCheckReference\"a\n\035Targe" + + "tPoolsAddInstanceRequest\022@\n\tinstances\030\376\374" + + "\357\r \003(\0132*.google.cloud.compute.v1.Instanc" + + "eReference\"o\n#TargetPoolsRemoveHealthChe" + + "ckRequest\022H\n\rhealth_checks\030\256\257\346\325\001 \003(\0132-.g" + + "oogle.cloud.compute.v1.HealthCheckRefere" + + "nce\"d\n TargetPoolsRemoveInstanceRequest\022" + + "@\n\tinstances\030\376\374\357\r \003(\0132*.google.cloud.com" + + "pute.v1.InstanceReference\"\235\001\n\025TargetPool" + + "sScopedList\022=\n\014target_pools\030\251\237\240\240\001 \003(\0132#." + + "google.cloud.compute.v1.TargetPool\0229\n\007wa" + + "rning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1" + + ".WarningH\000\210\001\001B\n\n\010_warning\"4\n\017TargetRefer" + + "ence\022\026\n\006target\030\221\343\371[ \001(\tH\000\210\001\001B\t\n\007_target\"" + + "P\n(TargetSslProxiesSetBackendServiceRequ" + + "est\022\030\n\007service\030\265\215\217\262\001 \001(\tH\000\210\001\001B\n\n\010_servic" + + "e\"\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\"" + + "\343\003\n\016TargetSslProxy\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\022\034\n\014proxy_head" + + "er\030\376\272\274L \001(\tH\005\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH" + + "\006\210\001\001\022\030\n\007service\030\265\215\217\262\001 \001(\tH\007\210\001\001\022\034\n\020ssl_ce" + + "rtificates\030\217\242\303\256\001 \003(\t\022\033\n\nssl_policy\030\305\375\340\214\001" + + " \001(\tH\010\210\001\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\025\n\023_creation_timestampB\016\n\014_descripti" + + "onB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\017\n\r_proxy_he" + + "aderB\014\n\n_self_linkB\n\n\010_serviceB\r\n\013_ssl_p" + + "olicy\"\255\002\n\022TargetSslProxyList\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.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\"\307\003\n\016Target" - + "Instance\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\007netwo" - + "rk\030\256\264\205o \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\004zone\030\254\307\344\001 \001(\tH\t\210\001\001\"4\n\tNatPolicy\022" - + "\030\n\024UNDEFINED_NAT_POLICY\020\000\022\r\n\006NO_NAT\020\203\273\376L" - + "B\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\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@.g" - + "oogle.cloud.compute.v1.TargetInstanceAgg" - + "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\032`\n\nItemsEn" - + "try\022\013\n\003key\030\001 \001(\t\022A\n\005value\030\002 \001(\01322.google" - + ".cloud.compute.v1.TargetInstancesScopedL" - + "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\"\255\002\n\022Target" - + "InstanceList\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.Targe" - + "tInstance\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\"\251\001\n\031TargetInstancesScopedL" - + "ist\022E\n\020target_instances\030\320\322\255\273\001 \003(\0132\'.goog" - + "le.cloud.compute.v1.TargetInstance\0229\n\007wa" - + "rning\030\234\337\226\030 \001(\0132 .google.cloud.compute.v1" - + ".WarningH\000\210\001\001B\n\n\010_warning\"\320\005\n\nTargetPool" - + "\022\033\n\013backup_pool\030\371\310\360\025 \001(\tH\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\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\004ki" - + "nd\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\020session_affinity\030\261\301\231\335\001 \001(\t" - + "H\t\210\001\001\"\353\001\n\017SessionAffinity\022\036\n\032UNDEFINED_S" - + "ESSION_AFFINITY\020\000\022\021\n\tCLIENT_IP\020\233\334\351\244\001\022\037\n\030" - + "CLIENT_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_F" - + "IELD\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_creation_timesta" - + "mpB\016\n\014_descriptionB\021\n\017_failover_ratioB\005\n" - + "\003_idB\007\n\005_kindB\007\n\005_nameB\t\n\007_regionB\014\n\n_se" - + "lf_linkB\023\n\021_session_affinity\"\277\003\n\030TargetP" - + "oolAggregatedList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\022N\n\005i" - + "tems\030\300\317\367/ \003(\0132<.google.cloud.compute.v1." - + "TargetPoolAggregatedList.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\032\\\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002" - + " \001(\0132..google.cloud.compute.v1.TargetPoo" - + "lsScopedList:\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\"{" - + "\n\030TargetPoolInstanceHealth\022@\n\rhealth_sta" - + "tus\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\001B\007\n\005_k" - + "ind\"\245\002\n\016TargetPoolList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001" - + "\0225\n\005items\030\300\317\367/ \003(\0132#.google.cloud.comput" - + "e.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\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\"l\n TargetPoolsAddHea" - + "lthCheckRequest\022H\n\rhealth_checks\030\256\257\346\325\001 \003" - + "(\0132-.google.cloud.compute.v1.HealthCheck" - + "Reference\"a\n\035TargetPoolsAddInstanceReque" - + "st\022@\n\tinstances\030\376\374\357\r \003(\0132*.google.cloud." - + "compute.v1.InstanceReference\"o\n#TargetPo" - + "olsRemoveHealthCheckRequest\022H\n\rhealth_ch" - + "ecks\030\256\257\346\325\001 \003(\0132-.google.cloud.compute.v1" - + ".HealthCheckReference\"d\n TargetPoolsRemo" - + "veInstanceRequest\022@\n\tinstances\030\376\374\357\r \003(\0132" - + "*.google.cloud.compute.v1.InstanceRefere" - + "nce\"\235\001\n\025TargetPoolsScopedList\022=\n\014target_" - + "pools\030\251\237\240\240\001 \003(\0132#.google.cloud.compute.v" - + "1.TargetPool\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\"4\n\017TargetReference\022\026\n\006target\030\221\343\371[ \001(" - + "\tH\000\210\001\001B\t\n\007_target\"P\n(TargetSslProxiesSet" - + "BackendServiceRequest\022\030\n\007service\030\265\215\217\262\001 \001" - + "(\tH\000\210\001\001B\n\n\010_service\"\240\001\n%TargetSslProxies" - + "SetProxyHeaderRequest\022\034\n\014proxy_header\030\376\272" - + "\274L \001(\tH\000\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\017\n\r_proxy_header\"I\n)TargetSslProxi" - + "esSetSslCertificatesRequest\022\034\n\020ssl_certi" - + "ficates\030\217\242\303\256\001 \003(\t\"\343\003\n\016TargetSslProxy\022\"\n\022" - + "creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013desc" - + "ription\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\034\n\014proxy_header\030\376\272\274L \001(\tH\005\210\001\001\022\032\n\tse" - + "lf_link\030\215\222\305\331\001 \001(\tH\006\210\001\001\022\030\n\007service\030\265\215\217\262\001 " - + "\001(\tH\007\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\010\210\001\001\"H\n\013ProxyHead" - + "er\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_times" - + "tampB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\007\n\005" - + "_nameB\017\n\r_proxy_headerB\014\n\n_self_linkB\n\n\010" - + "_serviceB\r\n\013_ssl_policy\"\255\002\n\022TargetSslPro" - + "xyList\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.TargetSslPr" - + "oxy\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017next_page_t" + + "kenB\014\n\n_self_linkB\n\n\010_warning\"P\n(TargetT" + + "cpProxiesSetBackendServiceRequest\022\030\n\007ser" + + "vice\030\265\215\217\262\001 \001(\tH\000\210\001\001B\n\n\010_service\"\240\001\n%Targ" + + "etTcpProxiesSetProxyHeaderRequest\022\034\n\014pro" + + "xy_header\030\376\272\274L \001(\tH\000\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\017\n\r_proxy_header\"\305\003\n\016T" + + "argetTcpProxy\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\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\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\"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\025\n\023_creation_timestampB\016\n\014_desc" + + "riptionB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\r\n\013_pro" + + "xy_bindB\017\n\r_proxy_headerB\014\n\n_self_linkB\n" + + "\n\010_service\"\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.c" + + "loud.compute.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(\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\"\373\003\n\020T" + + "argetVpnGateway\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\020forwarding_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\024\n\004name\030" + + "\213\365\315\001 \001(\tH\004\210\001\001\022\027\n\007network\030\256\264\205o \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\006status\030\362\237\267V \001(\tH\010\210\001\001\022\022\n\007tu" + + "nnels\030\213\372\3551 \003(\t\"`\n\006Status\022\024\n\020UNDEFINED_ST" + + "ATUS\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_cre" + + "ation_timestampB\016\n\014_descriptionB\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\t\n\007_status\"\321\003\n\036TargetVpnGa" + + "tewayAggregatedList\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.v" + + "1.TargetVpnGatewayAggregatedList.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\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\"P\n(TargetTcpProxiesSetBackendSer" - + "viceRequest\022\030\n\007service\030\265\215\217\262\001 \001(\tH\000\210\001\001B\n\n" - + "\010_service\"\240\001\n%TargetTcpProxiesSetProxyHe" - + "aderRequest\022\034\n\014proxy_header\030\376\272\274L \001(\tH\000\210\001" - + "\001\"H\n\013ProxyHeader\022\032\n\026UNDEFINED_PROXY_HEAD" - + "ER\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\"\305\003\n\016TargetTcpProxy\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\020\n\002id\030\233\032 \001(\004H\002\210\001\001\022\024\n\004k" - + "ind\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_he" - + "ader\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\"H\n\013Prox" - + "yHeader\022\032\n\026UNDEFINED_PROXY_HEADER\020\000\022\013\n\004N" - + "ONE\020\270\316\222\001\022\020\n\010PROXY_V1\020\254\244\267\237\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_proxy_bindB\017\n\r_proxy_head" - + "erB\014\n\n_self_linkB\n\n\010_service\"\255\002\n\022TargetT" - + "cpProxyList\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.Target" - + "TcpProxy\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" + + "\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\032b\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\022C\n" + + "\005value\030\002 \001(\01324.google.cloud.compute.v1.T" + + "argetVpnGatewaysScopedList:\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\"\373\003\n\020TargetVpnGateway\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\034\n\020forwarding_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\024\n\004name\030\213\365\315\001 \001(\tH\004\210\001\001\022\027\n\007netwo" - + "rk\030\256\264\205o \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\006status\030\362" - + "\237\267V \001(\tH\010\210\001\001\022\022\n\007tunnels\030\213\372\3551 \003(\t\"`\n\006Stat" - + "us\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\005" - + "READY\020\203\303\217%B\025\n\023_creation_timestampB\016\n\014_de" - + "scriptionB\005\n\003_idB\007\n\005_kindB\007\n\005_nameB\n\n\010_n" - + "etworkB\t\n\007_regionB\014\n\n_self_linkB\t\n\007_stat" - + "us\"\321\003\n\036TargetVpnGatewayAggregatedList\022\020\n" - + "\002id\030\233\032 \001(\tH\000\210\001\001\022T\n\005items\030\300\317\367/ \003(\0132B.goog" - + "le.cloud.compute.v1.TargetVpnGatewayAggr" - + "egatedList.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\t" - + "self_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.c" - + "loud.compute.v1.WarningH\004\210\001\001\032b\n\nItemsEnt" - + "ry\022\013\n\003key\030\001 \001(\t\022C\n\005value\030\002 \001(\01324.google." - + "cloud.compute.v1.TargetVpnGatewaysScoped" - + "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\"\261\002\n\024Targe" - + "tVpnGatewayList\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.Ta" - + "rgetVpnGateway\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\"\260\001\n\033TargetVpnGateways" - + "ScopedList\022J\n\023target_vpn_gateways\030\210\223\312\277\001 " - + "\003(\0132).google.cloud.compute.v1.TargetVpnG" - + "ateway\0229\n\007warning\030\234\337\226\030 \001(\0132 .google.clou" - + "d.compute.v1.WarningH\000\210\001\001B\n\n\010_warning\"\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_response_co" - + "de\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_co" - + "de\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.compute.v1.UrlMapTestHeader\022\024\n\004hos" - + "t\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_exp" - + "ected_output_urlB\"\n _expected_redirect_r" - + "esponse_codeB\023\n\021_expected_serviceB\007\n\005_ho" - + "stB\007\n\005_path\"\315\001\n\035TestIamPermissionsDiskRe" - + "quest\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\022c\n!test_permissions_req" - + "uest_resource\030\246\305\267\321\001 \001(\0132/.google.cloud.c" - + "ompute.v1.TestPermissionsRequestB\003\340A\002\022\024\n" - + "\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\305\001\n+TestIamPermissio" - + "nsExternalVpnGatewayRequest\022\027\n\007project\030\231" + + "B\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).goog" + + "le.cloud.compute.v1.TargetVpnGateway\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" + + "\"\260\001\n\033TargetVpnGatewaysScopedList\022J\n\023targ" + + "et_vpn_gateways\030\210\223\312\277\001 \003(\0132).google.cloud" + + ".compute.v1.TargetVpnGateway\0229\n\007warning\030" + + "\234\337\226\030 \001(\0132 .google.cloud.compute.v1.Warni" + + "ngH\000\210\001\001B\n\n\010_warning\"\223\004\n\013TestFailure\022\"\n\021a" + + "ctual_output_url\030\202\331\361\210\001 \001(\tH\000\210\001\001\022-\n\035actua" + + "l_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\023expec" + + "ted_output_url\030\230\242\367\316\001 \001(\tH\003\210\001\001\022/\n\037expecte" + + "d_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\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\006\210\001\001\022\024\n" + + "\004path\030\245\310\321\001 \001(\tH\007\210\001\001B\024\n\022_actual_output_ur" + + "lB \n\036_actual_redirect_response_codeB\021\n\017_" + + "actual_serviceB\026\n\024_expected_output_urlB\"" + + "\n _expected_redirect_response_codeB\023\n\021_e" + + "xpected_serviceB\007\n\005_hostB\007\n\005_path\"\315\001\n\035Te" + + "stIamPermissionsDiskRequest\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\"\250\001\n\'TestIamPermissio" - + "nsFirewallPolicyRequest\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\"\270\001\n\036TestI" - + "amPermissionsImageRequest\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\"\321\001\n!TestIamPermissions" - + "InstanceRequest\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\"\303\001\n)TestIa" - + "mPermissionsInstanceTemplateRequest\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\022c\n!test_permissions_request_resou" - + "rce\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1." - + "TestPermissionsRequestB\003\340A\002\"\276\001\n$TestIamP" - + "ermissionsLicenseCodeRequest\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\"\272\001\n TestIamPermissi" - + "onsLicenseRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "issionsRequestB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A" + + "\002\"\305\001\n+TestIamPermissionsExternalVpnGatew" + + "ayRequest\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\002\022c\n!test_permissions" + + "_request_resource\030\246\305\267\321\001 \001(\0132/.google.clo" + + "ud.compute.v1.TestPermissionsRequestB\003\340A", + "\002\"\250\001\n\'TestIamPermissionsFirewallPolicyRe" + + "quest\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\"\270\001\n\036TestIamPermissionsImage" + + "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\022c\n!test_permissions_r" + + "equest_resource\030\246\305\267\321\001 \001(\0132/.google.cloud" + + ".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_res" + + "ource\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v" + + "1.TestPermissionsRequestB\003\340A\002\022\024\n\004zone\030\254\307" + + "\344\001 \001(\tB\003\340A\002\"\303\001\n)TestIamPermissionsInstan" + + "ceTemplateRequest\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\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\"\277\001\n%TestIamPermissionsMachineI" - + "mageRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\010" + + "uestB\003\340A\002\"\276\001\n$TestIamPermissionsLicenseC" + + "odeRequest\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\"\272\001\n TestIamPermissionsLicenseRequest\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\"\277\001\n%Test" + + "IamPermissionsMachineImageRequest\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\"\335\001\n-TestIamPer" + + "missionsNetworkEndpointGroupRequest\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\022c\n!test_permissions_request_resou" + + "rce\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.TestIamPermissionsNetworkF" + + "irewallPolicyRequest\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\"\322\001\n\"TestIamPermissionsNodeG" + + "roupRequest\022\027\n\007project\030\231\226\301l \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\"\335\001\n-TestIamPermissionsNetworkEndpoin" - + "tGroupRequest\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\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\322\001\n\"TestIamP" - + "ermissionsNodeGroupRequest\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.TestPermi" - + "ssionsRequestB\003\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002" - + "\"\327\001\n%TestIamPermissionsNodeTemplateReque" - + "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\"\332\001\n(TestIamPermission" - + "sPacketMirroringRequest\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\010reso" - + "urce\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissions_r" - + "equest_resource\030\246\305\267\321\001 \001(\0132/.google.cloud" - + ".compute.v1.TestPermissionsRequestB\003\340A\002\"" - + "\325\001\n#TestIamPermissionsRegionDiskRequest\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!te" - + "st_permissions_request_resource\030\246\305\267\321\001 \001(" - + "\0132/.google.cloud.compute.v1.TestPermissi" - + "onsRequestB\003\340A\002\"\324\001\n$TestIamPermissionsRe" - + "servationRequest\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\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\331\001\n\'TestI" - + "amPermissionsResourcePolicyRequest\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\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\"\334\001\n*TestIamPermissionsService" - + "AttachmentRequest\022\027\n\007project\030\231\226\301l \001(\tB\003\340" + + "\340A\002\022\024\n\004zone\030\254\307\344\001 \001(\tB\003\340A\002\"\327\001\n%TestIamPer" + + "missionsNodeTemplateRequest\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\"\332\001\n(TestIamPermissionsPacketMirrorin" + + "gRequest\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\"\325\001\n#TestIamPerm" + + "issionsRegionDiskRequest\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\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" + + "\"\346\001\n4TestIamPermissionsRegionNetworkFire" + + "wallPolicyRequest\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\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.compu" - + "te.v1.TestPermissionsRequestB\003\340A\002\"\273\001\n!Te" - + "stIamPermissionsSnapshotRequest\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\022c\n!test_permissions_request_resource\030" - + "\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1.Test" - + "PermissionsRequestB\003\340A\002\"\325\001\n#TestIamPermi" - + "ssionsSubnetworkRequest\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\010reso" - + "urce\030\216\210\257] \001(\tB\003\340A\002\022c\n!test_permissions_r" - + "equest_resource\030\246\305\267\321\001 \001(\0132/.google.cloud" - + ".compute.v1.TestPermissionsRequestB\003\340A\002\"" - + "\325\001\n#TestIamPermissionsVpnGatewayRequest\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!te" - + "st_permissions_request_resource\030\246\305\267\321\001 \001(" - + "\0132/.google.cloud.compute.v1.TestPermissi" - + "onsRequestB\003\340A\002\"0\n\026TestPermissionsReques" - + "t\022\026\n\013permissions\030\204\351\313\034 \003(\t\"1\n\027TestPermiss" - + "ionsResponse\022\026\n\013permissions\030\204\351\313\034 \003(\t\"D\n\007" - + "Uint128\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\002\n!UpdateAcc" - + "essConfigInstanceRequest\022N\n\026access_confi" - + "g_resource\030\220\377\366\270\001 \001(\0132%.google.cloud.comp" - + "ute.v1.AccessConfigB\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\"\372\001\n\027Up" - + "dateAutoscalerRequest\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" - + "\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_autoscalerB\r\n\013_requ" - + "est_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.clou" - + "d.compute.v1.BackendBucketB\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\"\341\001\n\033Update" - + "BackendServiceRequest\022 \n\017backend_service" - + "\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n\030backend_service_resou" - + "rce\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\"\373\001\n\"UpdateDisplayDevic" - + "eInstanceRequest\022P\n\027display_device_resou" - + "rce\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\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\"\306\001\n\025Upda" - + "teFirewallRequest\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!.goo" - + "gle.cloud.compute.v1.FirewallB\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\"\324\001\n\030Upd" - + "ateHealthCheckRequest\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.HealthC" - + "heckB\003\340A\002\022!\n\007project\030\231\226\301l \001(\tB\r\340A\002\362G\007pro" + + "te.v1.TestPermissionsRequestB\003\340A\002\"\324\001\n$Te" + + "stIamPermissionsReservationRequest\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\022c\n!test_permissions_request_resour" + + "ce\030\246\305\267\321\001 \001(\0132/.google.cloud.compute.v1.T" + + "estPermissionsRequestB\003\340A\002\022\024\n\004zone\030\254\307\344\001 " + + "\001(\tB\003\340A\002\"\331\001\n\'TestIamPermissionsResourceP" + + "olicyRequest\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\"\334\001\n*TestIam" + + "PermissionsServiceAttachmentRequest\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\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\"\273\001\n!TestIamPermissionsSnapsh" + + "otRequest\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\002\022c\n!test_permissions" + + "_request_resource\030\246\305\267\321\001 \001(\0132/.google.clo" + + "ud.compute.v1.TestPermissionsRequestB\003\340A" + + "\002\"\325\001\n#TestIamPermissionsSubnetworkReques" + + "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\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\"\325\001\n#TestIamPermissions" + + "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\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.compu" + + "te.v1.TestPermissionsRequestB\003\340A\002\"0\n\026Tes" + + "tPermissionsRequest\022\026\n\013permissions\030\204\351\313\034 " + + "\003(\t\"1\n\027TestPermissionsResponse\022\026\n\013permis" + + "sions\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\002\n!UpdateAccessConfigInstanceReque" + + "st\022N\n\026access_config_resource\030\220\377\366\270\001 \001(\0132%" + + ".google.cloud.compute.v1.AccessConfigB\003\340" + + "A\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\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\"\372\001\n\027UpdateAutoscalerRequest\022" + + "\033\n\nautoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n\023autoscal" + + "er_resource\030\366\360\377b \001(\0132#.google.cloud.comp" + + "ute.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(\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_a" + + "utoscalerB\r\n\013_request_id\"\334\001\n\032UpdateBacke" + + "ndBucketRequest\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.compute.v1.BackendBu" + + "cketB\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\"\351\002\n\025UpdateInstanceRequest\022\030\n\010ins" - + "tance\030\225\251\332\010 \001(\tB\003\340A\002\022D\n\021instance_resource" - + "\030\370\360\376f \001(\0132!.google.cloud.compute.v1.Inst" - + "anceB\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\362G\007pr" - + "oject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\002\210\001\001\022\033\n\004zon" - + "e\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\021\n\017_minimal_actio" - + "nB!\n\037_most_disruptive_allowed_actionB\r\n\013" - + "_request_id\"\250\002\n%UpdateNetworkInterfaceIn" + + "uest_id\"\341\001\n\033UpdateBackendServiceRequest\022" + + " \n\017backend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n\030bac" + + "kend_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\nrequ" + + "est_id\030\313\201\331\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\373\001\n\"" + + "UpdateDisplayDeviceInstanceRequest\022P\n\027di" + + "splay_device_resource\030\332\204\221\212\001 \001(\0132&.google" + + ".cloud.compute.v1.DisplayDeviceB\003\340A\002\022\030\n\010" + + "instance\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(\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\"\306\001\n\025UpdateFirewallRequest\022\031\n\010f" + + "irewall\030\200\372\325\363\001 \001(\tB\003\340A\002\022D\n\021firewall_resou" + + "rce\030\355\260\340\023 \001(\0132!.google.cloud.compute.v1.F" + + "irewallB\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\"\324\001\n\030UpdateHealthCheckRequest\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\032\n\nrequest_id\030\313\201\331" + + "\021 \001(\tH\000\210\001\001B\r\n\013_request_id\"\345\003\n\025UpdateInst" + + "anceRequest\022\030\n\010instance\030\225\251\332\010 \001(\tB\003\340A\002\022D\n" + + "\021instance_resource\030\370\360\376f \001(\0132!.google.clo" + + "ud.compute.v1.InstanceB\003\340A\002\022\037\n\016minimal_a" + + "ction\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\362G\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\rMinimalAction\022\034\n\030UNDEFINED_MINIMAL_A" + + "CTION\020\000\"K\n\033MostDisruptiveAllowedAction\022," + + "\n(UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTI" + + "ON\020\000B\021\n\017_minimal_actionB!\n\037_most_disrupt" + + "ive_allowed_actionB\r\n\013_request_id\"\250\002\n%Up" + + "dateNetworkInterfaceInstanceRequest\022\030\n\010i" + + "nstance\030\225\251\332\010 \001(\tB\003\340A\002\022\"\n\021network_interfa" + + "ce\030\350\300\235\256\001 \001(\tB\003\340A\002\022V\n\032network_interface_r" + + "esource\030\205\224\256\233\001 \001(\0132).google.cloud.compute" + + ".v1.NetworkInterfaceB\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\022\033\n\004zone\030\254\307\344\001 \001(\tB\n\340A\002\362G\004zoneB\r\n" + + "\013_request_id\"\365\001\n\033UpdatePeeringNetworkReq" + + "uest\022\027\n\007network\030\256\264\205o \001(\tB\003\340A\002\022o\n(network" + + "s_update_peering_request_resource\030\331\252\202k \001" + + "(\01325.google.cloud.compute.v1.NetworksUpd" + + "atePeeringRequestB\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\"\346\002\n3UpdatePerInstan" + + "ceConfigsInstanceGroupManagerRequest\022&\n\026" + + "instance_group_manager\030\303\367\363v \001(\tB\003\340A\002\022\233\001\n" + + "@instance_group_managers_update_per_inst" + + "ance_configs_req_resource\030\276\301\266C \001(\0132I.goo" + + "gle.cloud.compute.v1.InstanceGroupManage" + + "rsUpdatePerInstanceConfigsReqB\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\"\362\002\n9UpdatePerInsta" + + "nceConfigsRegionInstanceGroupManagerRequ" + + "est\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\nAregi" + + "on_instance_group_manager_update_instanc" + + "e_config_req_resource\030\247\256\272* \001(\0132J.google." + + "cloud.compute.v1.RegionInstanceGroupMana" + + "gerUpdateInstanceConfigReqB\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\"\204\002\n\035U" + + "pdateRegionAutoscalerRequest\022\033\n\nautoscal" + + "er\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.Auto" + + "scalerB\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\001\210\001\001B\r\n\013_autoscal" + + "erB\r\n\013_request_id\"\210\002\n!UpdateRegionBacken" + + "dServiceRequest\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.Backen" + + "dServiceB\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\"\304\002\n\035UpdateRegionCommitmentRequest\022\033" + + "\n\ncommitment\030\225\226\363\345\001 \001(\tB\003\340A\002\022H\n\023commitmen" + + "t_resource\030\370\243\273t \001(\0132#.google.cloud.compu" + + "te.v1.CommitmentB\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\nrequ" + + "est_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\"\373\001\n\036UpdateRegionHealthCheckR" + + "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\"\347\001\n\031UpdateRegi" + + "onUrlMapRequest\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\030\n\007url_m" + + "ap\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\"\276\002\n\030UpdateReservatio" + + "nRequest\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\032\n\nrequest_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.ReservationB\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_reques" + + "t_idB\016\n\014_update_mask\"\336\001\n\023UpdateRouterReq" + + "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\"\227\002\n+UpdateShieldedInstanceConfigIn" + "stanceRequest\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\032n" - + "etwork_interface_resource\030\205\224\256\233\001 \001(\0132).go" - + "ogle.cloud.compute.v1.NetworkInterfaceB\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\"\365\001\n\033Updat" - + "ePeeringNetworkRequest\022\027\n\007network\030\256\264\205o \001" - + "(\tB\003\340A\002\022o\n(networks_update_peering_reque" - + "st_resource\030\331\252\202k \001(\01325.google.cloud.comp" - + "ute.v1.NetworksUpdatePeeringRequestB\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\"\346" - + "\002\n3UpdatePerInstanceConfigsInstanceGroup" - + "ManagerRequest\022&\n\026instance_group_manager" - + "\030\303\367\363v \001(\tB\003\340A\002\022\233\001\n@instance_group_manage" - + "rs_update_per_instance_configs_req_resou" - + "rce\030\276\301\266C \001(\0132I.google.cloud.compute.v1.I" - + "nstanceGroupManagersUpdatePerInstanceCon" - + "figsReqB\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\"" - + "\362\002\n9UpdatePerInstanceConfigsRegionInstan" - + "ceGroupManagerRequest\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_group_mana" - + "ger_update_instance_config_req_resource\030" - + "\247\256\272* \001(\0132J.google.cloud.compute.v1.Regio" - + "nInstanceGroupManagerUpdateInstanceConfi" - + "gReqB\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\035UpdateRegionAutoscalerR" - + "equest\022\033\n\nautoscaler\030\327\375\322\366\001 \001(\tH\000\210\001\001\022H\n\023a" - + "utoscaler_resource\030\366\360\377b \001(\0132#.google.clo" - + "ud.compute.v1.AutoscalerB\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\001\210\001\001B\r\n\013_autoscalerB\r\n\013_request_id\"\210\002\n!" - + "UpdateRegionBackendServiceRequest\022 \n\017bac" - + "kend_service\030\212\300\256\222\001 \001(\tB\003\340A\002\022R\n\030backend_s" - + "ervice_resource\030\243\201\337\245\001 \001(\0132\'.google.cloud" - + ".compute.v1.BackendServiceB\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\"\304\002\n\035UpdateRegionC" - + "ommitmentRequest\022\033\n\ncommitment\030\225\226\363\345\001 \001(\t" - + "B\003\340A\002\022H\n\023commitment_resource\030\370\243\273t \001(\0132#." - + "google.cloud.compute.v1.CommitmentB\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(\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\"\373\001\n\036Update" - + "RegionHealthCheckRequest\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\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\"\347\001\n\031UpdateRegionUrlMapRequest\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\"\276\002" - + "\n\030UpdateReservationRequest\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\007pro" - + "ject\022\032\n\nrequest_id\030\313\201\331\021 \001(\tH\001\210\001\001\022\033\n\013rese" - + "rvation\030\314\207\325\026 \001(\tB\003\340A\002\022K\n\024reservation_res" - + "ource\030\241\356\364\207\001 \001(\0132$.google.cloud.compute.v" - + "1.ReservationB\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\023UpdateRouterRequest\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\026" - + "\n\006router\030\311\256\356F \001(\tB\003\340A\002\022@\n\017router_resourc" - + "e\030\304\200\202J \001(\0132\037.google.cloud.compute.v1.Rou" - + "terB\003\340A\002B\r\n\013_request_id\"\227\002\n+UpdateShield" - + "edInstanceConfigInstanceRequest\022\030\n\010insta" - + "nce\030\225\251\332\010 \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" - + "\022c\n!shielded_instance_config_resource\030\330\226" - + "\335\201\001 \001(\0132/.google.cloud.compute.v1.Shield" - + "edInstanceConfigB\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\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\"`\n\026UrlMapsValidateRequest\0229\n\010reso" - + "urce\030\216\210\257] \001(\0132\037.google.cloud.compute.v1." - + "UrlMapH\000\210\001\001B\013\n\t_resource\"m\n\027UrlMapsValid" - + "ateResponse\022G\n\006result\030\235\220\267B \001(\0132/.google." - + "cloud.compute.v1.UrlMapValidationResultH" - + "\000\210\001\001B\t\n\007_result\"x\n\nUrlRewrite\022\034\n\014host_re" - + "write\030\365\313\232L \001(\tH\000\210\001\001\022#\n\023path_prefix_rewri" - + "te\030\271\350\321\023 \001(\tH\001\210\001\001B\017\n\r_host_rewriteB\026\n\024_pa" - + "th_prefix_rewrite\"\355\001\n\020UsableSubnetwork\022\035" - + "\n\rip_cidr_range\030\312\315\344. \001(\tH\000\210\001\001\022\027\n\007network" - + "\030\256\264\205o \001(\tH\001\210\001\001\022W\n\023secondary_ip_ranges\030\343\377" - + "\224A \003(\01327.google.cloud.compute.v1.UsableS" - + "ubnetworkSecondaryRange\022\033\n\nsubnetwork\030\356\247" - + "\344\222\001 \001(\tH\002\210\001\001B\020\n\016_ip_cidr_rangeB\n\n\010_netwo" - + "rkB\r\n\013_subnetwork\"}\n\036UsableSubnetworkSec" - + "ondaryRange\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_c" - + "idr_rangeB\r\n\013_range_name\"\274\002\n\037UsableSubne" - + "tworksAggregatedList\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.UsableSubnetwork\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\"\177\n\023UsageExportLo" - + "cation\022\034\n\013bucket_name\030\300\227\236\207\001 \001(\tH\000\210\001\001\022#\n\022" - + "report_name_prefix\030\273\260\327\230\001 \001(\tH\001\210\001\001B\016\n\014_bu" - + "cket_nameB\025\n\023_report_name_prefix\"\332\001\n\033Val" - + "idateRegionUrlMapRequest\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)reg" - + "ion_url_maps_validate_request_resource\030\232" - + "\314\200\033 \001(\01325.google.cloud.compute.v1.Region" - + "UrlMapsValidateRequestB\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\"url_maps_validate_request_" - + "resource\030\357\321\344\274\001 \001(\0132/.google.cloud.comput" - + "e.v1.UrlMapsValidateRequestB\003\340A\002\"\257\001\n\025VmE" - + "ndpointNatMappings\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(\0132B.google.cloud.compute.v1.VmEndpoin" - + "tNatMappingsInterfaceNatMappingsB\020\n\016_ins" - + "tance_name\"\364\002\n)VmEndpointNatMappingsInte" - + "rfaceNatMappings\022$\n\030drain_nat_ip_port_ra" - + "nges\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&\n\025source_alias_ip_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_nat_portsB\026\n\024_nu" - + "m_total_nat_portsB\030\n\026_source_alias_ip_ra" - + "ngeB\024\n\022_source_virtual_ip\"\274\002\n\031VmEndpoint" - + "NatMappingsList\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001\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\022A\n\006result\030\235\220\267B \003(\0132..google.clo" - + "ud.compute.v1.VmEndpointNatMappings\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\"\265\005\n\nVpnGateway\022" - + "\"\n\022creation_timestamp\030\266\217\307\016 \001(\tH\000\210\001\001\022\034\n\013d" - + "escription\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!\n\021label_finge" - + "rprint\030\231\360\367T \001(\tH\004\210\001\001\022C\n\006labels\030\377\277\301\356\001 \003(\013" - + "2/.google.cloud.compute.v1.VpnGateway.La" - + "belsEntry\022\024\n\004name\030\213\365\315\001 \001(\tH\005\210\001\001\022\027\n\007netwo" - + "rk\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\033\n\nstack_ty" - + "pe\030\221\265\213\313\001 \001(\tH\t\210\001\001\022Q\n\016vpn_interfaces\030\205\315\345+" - + " \003(\01326.google.cloud.compute.v1.VpnGatewa" - + "yVpnGatewayInterface\032-\n\013LabelsEntry\022\013\n\003k" - + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\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_time" - + "stampB\016\n\014_descriptionB\005\n\003_idB\007\n\005_kindB\024\n" - + "\022_label_fingerprintB\007\n\005_nameB\n\n\010_network" - + "B\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" - + ".compute.v1.VpnGatewayAggregatedList.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" + + "!\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\022c\n!shielded_insta" + + "nce_config_resource\030\330\226\335\201\001 \001(\0132/.google.c" + + "loud.compute.v1.ShieldedInstanceConfigB\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\"\300\001\n\023UpdateUrlMapRequest\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\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.c" + + "loud.compute.v1.UrlMapB\003\340A\002B\r\n\013_request_" + + "id\"\337\006\n\006UrlMap\022\"\n\022creation_timestamp\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.HttpRouteA" + + "ctionH\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.HttpRedirectAct" + + "ionH\003\210\001\001\022\034\n\013description\030\374\207\326\311\001 \001(\tH\004\210\001\001\022\033" + + "\n\013fingerprint\030\344\321\363o \001(\tH\005\210\001\001\022I\n\rheader_ac" + + "tion\030\250\240\270\234\001 \001(\0132).google.cloud.compute.v1" + + ".HttpHeaderActionH\006\210\001\001\0229\n\nhost_rules\030\240\207\327" + + "\224\001 \003(\0132!.google.cloud.compute.v1.HostRul" + + "e\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.cloud.compute.v1.Pat" + + "hMatcher\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\3114 \003(\0132#" + + ".google.cloud.compute.v1.UrlMapTestB\025\n\023_" + + "creation_timestampB\027\n\025_default_route_act" + + "ionB\022\n\020_default_serviceB\027\n\025_default_url_" + + "redirectB\016\n\014_descriptionB\016\n\014_fingerprint" + + "B\020\n\016_header_actionB\005\n\003_idB\007\n\005_kindB\007\n\005_n" + + "ameB\t\n\007_regionB\014\n\n_self_link\"\235\002\n\nUrlMapL" + + "ist\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\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\022=\n\005value\030\002 \001(\0132..google.cloud.compute." - + "v1.VpnGatewaysScopedList:\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\005items\030\300\317\367/ \003(\0132#.google.cloud" - + ".compute.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" - + "\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_token" - + "B\014\n\n_self_linkB\n\n\010_warning\"g\n\020VpnGateway" - + "Status\022S\n\017vpn_connections\030\212\355\276\321\001 \003(\01326.go" - + "ogle.cloud.compute.v1.VpnGatewayStatusVp" - + "nConnection\"\321\002\n0VpnGatewayStatusHighAvai" - + "labilityRequirementState\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\031CON" - + "NECTION_REDUNDANCY_MET\020\233\312\365\360\001\022%\n\035CONNECTI" - + "ON_REDUNDANCY_NOT_MET\020\217\324\211\364\001\"Y\n\021Unsatisfi" - + "edReason\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\026VpnG" - + "atewayStatusTunnel\022\'\n\027local_gateway_inte" - + "rface\030\252\232\332K \001(\rH\000\210\001\001\022&\n\026peer_gateway_inte" - + "rface\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_" - + "peer_gateway_interfaceB\r\n\013_tunnel_url\"\312\002" - + "\n\035VpnGatewayStatusVpnConnection\022&\n\025peer_" - + "external_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.VpnGatewa" - + "yStatusHighAvailabilityRequirementStateH" - + "\002\210\001\001\022C\n\007tunnels\030\213\372\3551 \003(\0132/.google.cloud." - + "compute.v1.VpnGatewayStatusTunnelB\030\n\026_pe" - + "er_external_gatewayB\023\n\021_peer_gcp_gateway" - + "B\010\n\006_state\"\252\001\n\035VpnGatewayVpnGatewayInter" - + "face\022\020\n\002id\030\233\032 \001(\rH\000\210\001\001\022(\n\027interconnect_a" - + "ttachment\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\001B\005\n\003_idB\032\n\030_interconnect_at" - + "tachmentB\r\n\013_ip_address\"l\n\034VpnGatewaysGe" - + "tStatusResponse\022A\n\006result\030\235\220\267B \001(\0132).goo" - + "gle.cloud.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." - + "compute.v1.VpnGateway\0229\n\007warning\030\234\337\226\030 \001(" - + "\0132 .google.cloud.compute.v1.WarningH\000\210\001\001" - + "B\n\n\010_warning\"\357\n\n\tVpnTunnel\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 \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\026l" - + "ocal_traffic_selector\030\265\254\247\227\001 \003(\t\022\024\n\004name\030" - + "\213\365\315\001 \001(\tH\006\210\001\001\022&\n\025peer_external_gateway\030\215" - + "\356\307\267\001 \001(\tH\007\210\001\001\0220\n\037peer_external_gateway_i" - + "nterface\030\207\345\362\327\001 \001(\005H\010\210\001\001\022!\n\020peer_gcp_gate" - + "way\030\274\351\263\206\001 \001(\tH\t\210\001\001\022\030\n\007peer_ip\030\244\332\337\266\001 \001(\tH" - + "\n\210\001\001\022\026\n\006region\030\364\315\240B \001(\tH\013\210\001\001\022#\n\027remote_t" - + "raffic_selector\030\272\335\220\253\001 \003(\t\022\026\n\006router\030\311\256\356F" - + " \001(\tH\014\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\r\210\001\001\022\036\n" - + "\rshared_secret\030\312\247\217\266\001 \001(\tH\016\210\001\001\022#\n\022shared_" - + "secret_hash\030\343\350\231\276\001 \001(\tH\017\210\001\001\022\026\n\006status\030\362\237\267" - + "V \001(\tH\020\210\001\001\022#\n\022target_vpn_gateway\030\313\200\366\375\001 \001" - + "(\tH\021\210\001\001\022\034\n\013vpn_gateway\030\371\203\366\301\001 \001(\tH\022\210\001\001\022%\n" - + "\025vpn_gateway_interface\030\363\214\342- \001(\005H\023\210\001\001\"\323\002\n" - + "\006Status\022\024\n\020UNDEFINED_STATUS\020\000\022\034\n\024ALLOCAT" - + "ING_RESOURCES\020\300\311\203\231\001\022\032\n\023AUTHORIZATION_ERR" - + "OR\020\202\235\237\013\022\026\n\016DEPROVISIONING\020\356\223\304\314\001\022\022\n\013ESTAB" - + "LISHED\020\370\216\257*\022\016\n\006FAILED\020\275\220\246\331\001\022\026\n\017FIRST_HAN" - + "DSHAKE\020\350\331\241[\022\033\n\023NEGOTIATION_FAILURE\020\354\305\350\253\001" - + "\022\024\n\rNETWORK_ERROR\020\367\300\273\\\022\032\n\023NO_INCOMING_PA" - + "CKETS\020\360\230\2339\022\024\n\014PROVISIONING\020\355\365\332\212\001\022\017\n\010REJE" - + "CTED\020\376\210\204S\022\017\n\007STOPPED\020\255\273\354\323\001\022\036\n\027WAITING_FO" - + "R_FULL_CONFIG\020\312\304\355\023B\025\n\023_creation_timestam" - + "pB\016\n\014_descriptionB\022\n\020_detailed_statusB\005\n" - + "\003_idB\016\n\014_ike_versionB\007\n\005_kindB\007\n\005_nameB\030" - + "\n\026_peer_external_gatewayB\"\n _peer_extern" - + "al_gateway_interfaceB\023\n\021_peer_gcp_gatewa" - + "yB\n\n\010_peer_ipB\t\n\007_regionB\t\n\007_routerB\014\n\n_" - + "self_linkB\020\n\016_shared_secretB\025\n\023_shared_s" - + "ecret_hashB\t\n\007_statusB\025\n\023_target_vpn_gat" - + "ewayB\016\n\014_vpn_gatewayB\030\n\026_vpn_gateway_int" - + "erface\"\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;.google." - + "cloud.compute.v1.VpnTunnelAggregatedList" - + ".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\032[\n\nItemsEntry\022\013\n\003key\030" - + "\001 \001(\t\022<\n\005value\030\002 \001(\0132-.google.cloud.comp" - + "ute.v1.VpnTunnelsScopedList:\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\"\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\".google.clo" - + "ud.compute.v1.VpnTunnel\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\0229\n\007warning\030\234\337" - + "\226\030 \001(\0132 .google.cloud.compute.v1.Warning" - + "H\004\210\001\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\"\231\001\n\024VpnTunne" - + "lsScopedList\022:\n\013vpn_tunnels\030\300\361\372M \003(\0132\".g" - + "oogle.cloud.compute.v1.VpnTunnel\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\"\214\001\n\020WafExpressio" - + "nSet\022\022\n\007aliases\030\376\235\365K \003(\t\022K\n\013expressions\030" - + "\333\201\333S \003(\01323.google.cloud.compute.v1.WafEx" - + "pressionSetExpression\022\020\n\002id\030\233\032 \001(\tH\000\210\001\001B" - + "\005\n\003_id\"5\n\032WafExpressionSetExpression\022\020\n\002" - + "id\030\233\032 \001(\tH\000\210\001\001B\005\n\003_id\"P\n\032WaitGlobalOpera" - + "tionRequest\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\032WaitRegionOpe" - + "rationRequest\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\006region\030\364\315\240B" - + " \001(\tB\003\340A\002\"d\n\030WaitZoneOperationRequest\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\"\324\007\n\007Warn" - + "ing\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\007mes" - + "sage\030\207\200\254\307\001 \001(\tH\001\210\001\001\"\323\006\n\004Code\022\022\n\016UNDEFINE" - + "D_CODE\020\000\022\025\n\016CLEANUP_FAILED\020\330\214\326G\022 \n\030DEPRE" - + "CATED_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\026EXPERIMENTAL_TYPE_U" - + "SED\020\213\216\301\327\001\022\033\n\024EXTERNAL_API_WARNING\020\303\277\332S\022\035" - + "\n\025FIELD_VALUE_OVERRIDEN\020\257\266\231\235\001\022#\n\033INJECTE" - + "D_KERNELS_DEPRECATED\020\213\331\202\307\001\022 \n\030LARGE_DEPL" - + "OYMENT_WARNING\020\246\347\310\345\001\022\037\n\027MISSING_TYPE_DEP" - + "ENDENCY\020\367\370\242\244\001\022%\n\035NEXT_HOP_ADDRESS_NOT_AS" - + "SIGNED\020\207\245\372\232\001\022\"\n\032NEXT_HOP_CANNOT_IP_FORWA" - + "RD\020\347\352\347\266\001\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\"\325\007\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.clou" - + "d.compute.v1.Data\022\030\n\007message\030\207\200\254\307\001 \001(\tH\001" - + "\210\001\001\"\323\006\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\022 \n\030LARGE_DEPLOYMENT_WARNING\020\246" - + "\347\310\345\001\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\032" - + "NEXT_HOP_CANNOT_IP_FORWARD\020\347\352\347\266\001\022#\n\033NEXT" - + "_HOP_INSTANCE_NOT_FOUND\020\316\314\257\335\001\022\'\n NEXT_HO" - + "P_INSTANCE_NOT_ON_NETWORK\020\302\350\235t\022\034\n\024NEXT_H" - + "OP_NOT_RUNNING\020\261\317\360\306\001\022\031\n\022NOT_CRITICAL_ERR" - + "OR\020\324\250\2672\022\031\n\022NO_RESULTS_ON_PAGE\020\210\246\251\016\022\026\n\017PA" - + "RTIAL_SUCCESS\020\205\256\207\023\022\035\n\026REQUIRED_TOS_AGREE" - + "MENT\020\203\316\344\001\0221\n)RESOURCE_IN_USE_BY_OTHER_RE" - + "SOURCE_WARNING\020\301\364\355\354\001\022\033\n\024RESOURCE_NOT_DEL" - + "ETED\020\274\267\262P\022!\n\031SCHEMA_VALIDATION_IGNORED\020\312" - + "\324\237\203\001\022(\n!SINGLE_INSTANCE_PROPERTY_TEMPLAT" - + "E\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_message\"\317" - + "\001\n\026WeightedBackendService\022 \n\017backend_ser" - + "vice\030\212\300\256\222\001 \001(\tH\000\210\001\001\022I\n\rheader_action\030\250\240\270" - + "\234\001 \001(\0132).google.cloud.compute.v1.HttpHea" - + "derActionH\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\"\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.comp" - + "ute.v1.Project\022\024\n\004kind\030\224\367\310\001 \001(\tH\001\210\001\001\022\037\n\017" + + "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\"7\n\017" + + "UrlMapReference\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\013descript" + + "ion\030\374\207\326\311\001 \001(\tH\000\210\001\001\022$\n\023expected_output_ur" + + "l\030\230\242\367\316\001 \001(\tH\001\210\001\001\022/\n\037expected_redirect_re" + + "sponse_code\030\357\352\200\t \001(\005H\002\210\001\001\022=\n\007headers\030\206\337\235" + + "{ \003(\0132).google.cloud.compute.v1.UrlMapTe" + + "stHeader\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(\tH\005\210\001\001B\016" + + "\n\014_descriptionB\026\n\024_expected_output_urlB\"" + + "\n _expected_redirect_response_codeB\007\n\005_h" + + "ostB\007\n\005_pathB\n\n\010_service\"R\n\020UrlMapTestHe" + + "ader\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\026UrlMapV" + + "alidationResult\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.cloud.compu" + + "te.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_test_passe" + + "d\"\265\003\n\025UrlMapsAggregatedList\022\020\n\002id\030\233\032 \001(\t" + + "H\000\210\001\001\022K\n\005items\030\300\317\367/ \003(\01329.google.cloud.c" + + "ompute.v1.UrlMapsAggregatedList.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\032X\n\nItemsEntry\022\013\n\003key\030\001 \001(\t\0229\n\005" + + "value\030\002 \001(\0132*.google.cloud.compute.v1.Ur" + + "lMapsScopedList:\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\"\220\001\n\021UrlMapsScopedList\0224\n\010url_maps\030\347\216\2441" + + " \003(\0132\037.google.cloud.compute.v1.UrlMap\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\026UrlMaps" + + "ValidateRequest\022!\n\026load_balancing_scheme" + + "s\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\024LoadBa" + + "lancingSchemes\022$\n UNDEFINED_LOAD_BALANCI" + + "NG_SCHEMES\020\000\022\017\n\010EXTERNAL\020\313\247\375\020\022\030\n\020EXTERNA" + + "L_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\027UrlMa" + + "psValidateResponse\022G\n\006result\030\235\220\267B \001(\0132/." + + "google.cloud.compute.v1.UrlMapValidation" + + "ResultH\000\210\001\001B\t\n\007_result\"x\n\nUrlRewrite\022\034\n\014" + + "host_rewrite\030\365\313\232L \001(\tH\000\210\001\001\022#\n\023path_prefi" + + "x_rewrite\030\271\350\321\023 \001(\tH\001\210\001\001B\017\n\r_host_rewrite" + + "B\026\n\024_path_prefix_rewrite\"\355\001\n\020UsableSubne" + + "twork\022\035\n\rip_cidr_range\030\312\315\344. \001(\tH\000\210\001\001\022\027\n\007" + + "network\030\256\264\205o \001(\tH\001\210\001\001\022W\n\023secondary_ip_ra" + + "nges\030\343\377\224A \003(\01327.google.cloud.compute.v1." + + "UsableSubnetworkSecondaryRange\022\033\n\nsubnet" + + "work\030\356\247\344\222\001 \001(\tH\002\210\001\001B\020\n\016_ip_cidr_rangeB\n\n" + + "\010_networkB\r\n\013_subnetwork\"}\n\036UsableSubnet" + + "workSecondaryRange\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_rangeB\r\n\013_range_name\"\274\002\n\037Usab" + + "leSubnetworksAggregatedList\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.UsableSubnetwork\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\"\177\n\023UsageE" + + "xportLocation\022\034\n\013bucket_name\030\300\227\236\207\001 \001(\tH\000" + + "\210\001\001\022#\n\022report_name_prefix\030\273\260\327\230\001 \001(\tH\001\210\001\001" + + "B\016\n\014_bucket_nameB\025\n\023_report_name_prefix\"" + + "\332\001\n\033ValidateRegionUrlMapRequest\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" + + "\022p\n)region_url_maps_validate_request_res" + + "ource\030\232\314\200\033 \001(\01325.google.cloud.compute.v1" + + ".RegionUrlMapsValidateRequestB\003\340A\002\022\030\n\007ur" + + "l_map\030\214\225\201\257\001 \001(\tB\003\340A\002\"\260\001\n\025ValidateUrlMapR" + + "equest\022\027\n\007project\030\231\226\301l \001(\tB\003\340A\002\022\030\n\007url_m" + + "ap\030\214\225\201\257\001 \001(\tB\003\340A\002\022d\n\"url_maps_validate_r" + + "equest_resource\030\357\321\344\274\001 \001(\0132/.google.cloud" + + ".compute.v1.UrlMapsValidateRequestB\003\340A\002\"" + + "\257\001\n\025VmEndpointNatMappings\022\035\n\rinstance_na" + + "me\030\365\347\330l \001(\tH\000\210\001\001\022e\n\026interface_nat_mappin" + + "gs\030\211\200\225z \003(\0132B.google.cloud.compute.v1.Vm" + + "EndpointNatMappingsInterfaceNatMappingsB" + + "\020\n\016_instance_name\"\364\002\n)VmEndpointNatMappi" + + "ngsInterfaceNatMappings\022$\n\030drain_nat_ip_" + + "port_ranges\030\301\343\307\274\001 \003(\t\022\036\n\022nat_ip_port_ran" + + "ges\030\232\260\314\375\001 \003(\t\022*\n\031num_total_drain_nat_por" + + "ts\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&\n\025source_alias_ip_range" + + "\030\330\243\374\321\001 \001(\tH\002\210\001\001\022!\n\021source_virtual_ip\030\377\242\271" + + "G \001(\tH\003\210\001\001B\034\n\032_num_total_drain_nat_ports" + + "B\026\n\024_num_total_nat_portsB\030\n\026_source_alia" + + "s_ip_rangeB\024\n\022_source_virtual_ip\"\274\002\n\031VmE" + + "ndpointNatMappingsList\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\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" + + "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\"\265\005\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\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\021labe" + + "l_fingerprint\030\231\360\367T \001(\tH\004\210\001\001\022C\n\006labels\030\377\277" + + "\301\356\001 \003(\0132/.google.cloud.compute.v1.VpnGat" + + "eway.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\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\033\n\ns" + + "tack_type\030\221\265\213\313\001 \001(\tH\t\210\001\001\022Q\n\016vpn_interfac" + + "es\030\205\315\345+ \003(\01326.google.cloud.compute.v1.Vp" + + "nGatewayVpnGatewayInterface\032-\n\013LabelsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"I\n\tSt" + + "ackType\022\030\n\024UNDEFINED_STACK_TYPE\020\000\022\020\n\tIPV" + + "4_IPV6\020\201\350\312\n\022\020\n\tIPV4_ONLY\020\246\313\325\nB\025\n\023_creati" + + "on_timestampB\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\r\n\013_sta" + + "ck_type\"\277\003\n\030VpnGatewayAggregatedList\022\020\n\002" + + "id\030\233\032 \001(\tH\000\210\001\001\022N\n\005items\030\300\317\367/ \003(\0132<.googl" + + "e.cloud.compute.v1.VpnGatewayAggregatedL", + "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\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\"\232\001\n\rXpnResourceId\022\020\n\002" - + "id\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\004" - + "Type\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\245HB" - + "\005\n\003_idB\007\n\005_type\"\227\004\n\004Zone\022\"\n\027available_cp" - + "u_platforms\030\223\363\331S \003(\t\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\022\026\n\006region\030\364\315\240B \001(\t" - + "H\006\210\001\001\022\032\n\tself_link\030\215\222\305\331\001 \001(\tH\007\210\001\001\022\026\n\006sta" - + "tus\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_times" - + "tampB\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_self" - + "_linkB\t\n\007_statusB\017\n\r_supports_pzs\"\231\002\n\010Zo" - + "neList\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\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\"\315\001" - + "\n\024ZoneSetLabelsRequest\022!\n\021label_fingerpr" - + "int\030\231\360\367T \001(\tH\000\210\001\001\022M\n\006labels\030\377\277\301\356\001 \003(\01329." - + "google.cloud.compute.v1.ZoneSetLabelsReq" - + "uest.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_finger" - + "print\"\261\001\n\024ZoneSetPolicyRequest\0226\n\010bindin" - + "gs\030\216\305\244\300\001 \003(\0132 .google.cloud.compute.v1.B" - + "inding\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.Policy" - + "H\001\210\001\001B\007\n\005_etagB\t\n\007_policy2\263\006\n\020Accelerato" - + "rTypes\022\326\001\n\016AggregatedList\022>.google.cloud" - + ".compute.v1.AggregatedListAcceleratorTyp" - + "esRequest\0326.google.cloud.compute.v1.Acce" - + "leratorTypeAggregatedList\"L\202\323\344\223\002<\022:/comp" - + "ute/v1/projects/{project}/aggregated/acc" - + "eleratorTypes\332A\007project\022\334\001\n\003Get\0222.google" - + ".cloud.compute.v1.GetAcceleratorTypeRequ" - + "est\032(.google.cloud.compute.v1.Accelerato" - + "rType\"w\202\323\344\223\002Q\022O/compute/v1/projects/{pro" - + "ject}/zones/{zone}/acceleratorTypes/{acc" - + "elerator_type}\332A\035project,zone,accelerato" - + "r_type\022\277\001\n\004List\0224.google.cloud.compute.v" - + "1.ListAcceleratorTypesRequest\032,.google.c" - + "loud.compute.v1.AcceleratorTypeList\"S\202\323\344" - + "\223\002>\022.googl" + + "e.cloud.compute.v1.AggregatedListAcceler" + + "atorTypesRequest\0326.google.cloud.compute." + + "v1.AcceleratorTypeAggregatedList\"L\202\323\344\223\002<" + + "\022:/compute/v1/projects/{project}/aggrega" + + "ted/acceleratorTypes\332A\007project\022\334\001\n\003Get\0222" + + ".google.cloud.compute.v1.GetAcceleratorT" + + "ypeRequest\032(.google.cloud.compute.v1.Acc" + + "eleratorType\"w\202\323\344\223\002Q\022O/compute/v1/projec" + + "ts/{project}/zones/{zone}/acceleratorTyp" + + "es/{accelerator_type}\332A\035project,zone,acc" + + "elerator_type\022\277\001\n\004List\0224.google.cloud.co" + + "mpute.v1.ListAcceleratorTypesRequest\032,.g" + + "oogle.cloud.compute.v1.AcceleratorTypeLi" + + "st\"S\202\323\344\223\002>\022project,zo" - + "ne,disk,disks_add_resource_policies_requ" - + "est_resource\212N\016ZoneOperations\022\265\001\n\016Aggreg" - + "atedList\0223.google.cloud.compute.v1.Aggre" - + "gatedListDisksRequest\032+.google.cloud.com" - + "pute.v1.DiskAggregatedList\"A\202\323\344\223\0021\022//com" - + "pute/v1/projects/{project}/aggregated/di" - + "sks\332A\007project\022\204\002\n\016CreateSnapshot\0222.googl" - + "e.cloud.compute.v1.CreateSnapshotDiskReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\231\001\202\323\344\223\002\\\"G/compute/v1/projects/{project" - + "}/zones/{zone}/disks/{disk}/createSnapsh" - + "ot:\021snapshot_resource\332A#project,zone,dis" - + "k,snapshot_resource\212N\016ZoneOperations\022\277\001\n" - + "\006Delete\022*.google.cloud.compute.v1.Delete" + + "es/{backend_service}/addSignedUrlKey:\027si" + + "gned_url_key_resource\332A/project,backend_" + + "service,signed_url_key_resource\212N\020Global" + + "Operations\022\323\001\n\016AggregatedList\022=.google.c" + + "loud.compute.v1.AggregatedListBackendSer" + + "vicesRequest\0325.google.cloud.compute.v1.B" + + "ackendServiceAggregatedList\"K\202\323\344\223\002;\0229/co" + + "mpute/v1/projects/{project}/aggregated/b" + + "ackendServices\332A\007project\022\340\001\n\006Delete\0224.go" + + "ogle.cloud.compute.v1.DeleteBackendServi" + + "ceRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"|\202\323\344\223\002I*G/compute/v1/projects/{pro" + + "ject}/global/backendServices/{backend_se" + + "rvice}\332A\027project,backend_service\212N\020Globa" + + "lOperations\022\225\002\n\022DeleteSignedUrlKey\022@.goo" + + "gle.cloud.compute.v1.DeleteSignedUrlKeyB" + + "ackendServiceRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\230\001\202\323\344\223\002\\\"Z/compute/v1/p" + + "rojects/{project}/global/backendServices" + + "/{backend_service}/deleteSignedUrlKey\332A " + + "project,backend_service,key_name\212N\020Globa" + + "lOperations\022\314\001\n\003Get\0221.google.cloud.compu" + + "te.v1.GetBackendServiceRequest\032\'.google." + + "cloud.compute.v1.BackendService\"i\202\323\344\223\002I\022" + + "G/compute/v1/projects/{project}/global/b" + + "ackendServices/{backend_service}\332A\027proje" + + "ct,backend_service\022\263\002\n\tGetHealth\0227.googl", + "e.cloud.compute.v1.GetHealthBackendServi" + + "ceRequest\0322.google.cloud.compute.v1.Back" + + "endServiceGroupHealth\"\270\001\202\323\344\223\002v\"Q/compute" + + "/v1/projects/{project}/global/backendSer" + + "vices/{backend_service}/getHealth:!resou" + + "rce_group_reference_resource\332A9project,b" + + "ackend_service,resource_group_reference_" + + "resource\022\362\001\n\006Insert\0224.google.cloud.compu" + + "te.v1.InsertBackendServiceRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\215\001\202\323\344\223\002Q\"5" + + "/compute/v1/projects/{project}/global/ba" + + "ckendServices:\030backend_service_resource\332" + + "A project,backend_service_resource\212N\020Glo" + + "balOperations\022\261\001\n\004List\0223.google.cloud.co" + + "mpute.v1.ListBackendServicesRequest\032+.go" + + "ogle.cloud.compute.v1.BackendServiceList" + + "\"G\202\323\344\223\0027\0225/compute/v1/projects/{project}" + + "/global/backendServices\332A\007project\022\222\002\n\005Pa" + + "tch\0223.google.cloud.compute.v1.PatchBacke" + + "ndServiceRequest\032\".google.cloud.compute." + + "v1.Operation\"\257\001\202\323\344\223\002c2G/compute/v1/proje" + + "cts/{project}/global/backendServices/{ba" + + "ckend_service}:\030backend_service_resource" + + "\332A0project,backend_service,backend_servi" + + "ce_resource\212N\020GlobalOperations\022\335\002\n\025SetEd" + + "geSecurityPolicy\022C.google.cloud.compute." + + "v1.SetEdgeSecurityPolicyBackendServiceRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\332\001\202\323\344\223\002\203\001\"]/compute/v1/projects/{proje" + + "ct}/global/backendServices/{backend_serv" + + "ice}/setEdgeSecurityPolicy:\"security_pol" + + "icy_reference_resource\332A:project,backend" + + "_service,security_policy_reference_resou" + + "rce\212N\020GlobalOperations\022\320\002\n\021SetSecurityPo" + + "licy\022?.google.cloud.compute.v1.SetSecuri" + + "tyPolicyBackendServiceRequest\032\".google.c" + + "loud.compute.v1.Operation\"\325\001\202\323\344\223\002\177\"Y/com" + + "pute/v1/projects/{project}/global/backen" + + "dServices/{backend_service}/setSecurityP" + + "olicy:\"security_policy_reference_resourc" + + "e\332A:project,backend_service,security_pol" + + "icy_reference_resource\212N\020GlobalOperation" + + "s\022\224\002\n\006Update\0224.google.cloud.compute.v1.U" + + "pdateBackendServiceRequest\032\".google.clou" + + "d.compute.v1.Operation\"\257\001\202\323\344\223\002c\032G/comput" + + "e/v1/projects/{project}/global/backendSe" + + "rvices/{backend_service}:\030backend_servic" + + "e_resource\332A0project,backend_service,bac" + + "kend_service_resource\212N\020GlobalOperations" + + "\032r\312A\026compute.googleapis.com\322AVhttps://ww" + + "w.googleapis.com/auth/compute,https://ww" + + "w.googleapis.com/auth/cloud-platform2\337\005\n" + + "\tDiskTypes\022\301\001\n\016AggregatedList\0227.google.c" + + "loud.compute.v1.AggregatedListDiskTypesR" + + "equest\032/.google.cloud.compute.v1.DiskTyp" + + "eAggregatedList\"E\202\323\344\223\0025\0223/compute/v1/pro" + + "jects/{project}/aggregated/diskTypes\332A\007p" + + "roject\022\271\001\n\003Get\022+.google.cloud.compute.v1" + + ".GetDiskTypeRequest\032!.google.cloud.compu" + + "te.v1.DiskType\"b\202\323\344\223\002C\022A/compute/v1/proj" + + "ects/{project}/zones/{zone}/diskTypes/{d" + + "isk_type}\332A\026project,zone,disk_type\022\252\001\n\004L" + + "ist\022-.google.cloud.compute.v1.ListDiskTy" + + "pesRequest\032%.google.cloud.compute.v1.Dis" + + "kTypeList\"L\202\323\344\223\0027\0225/compute/v1/projects/" + + "{project}/zones/{zone}/diskTypes\332A\014proje" + + "ct,zone\032\244\001\312A\026compute.googleapis.com\322A\207\001h" + + "ttps://www.googleapis.com/auth/compute.r" + + "eadonly,https://www.googleapis.com/auth/" + + "compute,https://www.googleapis.com/auth/" + + "cloud-platform2\375\031\n\005Disks\022\311\002\n\023AddResource" + + "Policies\0227.google.cloud.compute.v1.AddRe" + + "sourcePoliciesDiskRequest\032\".google.cloud" + + ".compute.v1.Operation\"\324\001\202\323\344\223\002|\"L/compute" + + "/v1/projects/{project}/zones/{zone}/disk" + + "s/{disk}/addResourcePolicies:,disks_add_" + + "resource_policies_request_resource\332A>pro" + + "ject,zone,disk,disks_add_resource_polici" + + "es_request_resource\212N\016ZoneOperations\022\265\001\n" + + "\016AggregatedList\0223.google.cloud.compute.v" + + "1.AggregatedListDisksRequest\032+.google.cl" + + "oud.compute.v1.DiskAggregatedList\"A\202\323\344\223\002" + + "1\022//compute/v1/projects/{project}/aggreg" + + "ated/disks\332A\007project\022\204\002\n\016CreateSnapshot\022" + + "2.google.cloud.compute.v1.CreateSnapshot" + "DiskRequest\032\".google.cloud.compute.v1.Op" - + "eration\"e\202\323\344\223\002:*8/compute/v1/projects/{p" - + "roject}/zones/{zone}/disks/{disk}\332A\021proj" - + "ect,zone,disk\212N\016ZoneOperations\022\243\001\n\003Get\022\'" - + ".google.cloud.compute.v1.GetDiskRequest\032" - + "\035.google.cloud.compute.v1.Disk\"T\202\323\344\223\002:\0228" - + "/compute/v1/projects/{project}/zones/{zo" - + "ne}/disks/{disk}\332A\021project,zone,disk\022\314\001\n" - + "\014GetIamPolicy\0220.google.cloud.compute.v1." - + "GetIamPolicyDiskRequest\032\037.google.cloud.c" - + "ompute.v1.Policy\"i\202\323\344\223\002K\022I/compute/v1/pr" - + "ojects/{project}/zones/{zone}/disks/{res" - + "ource}/getIamPolicy\332A\025project,zone,resou" - + "rce\022\320\001\n\006Insert\022*.google.cloud.compute.v1" - + ".InsertDiskRequest\032\".google.cloud.comput" - + "e.v1.Operation\"v\202\323\344\223\002B\"1/compute/v1/proj" - + "ects/{project}/zones/{zone}/disks:\rdisk_" - + "resource\332A\032project,zone,disk_resource\212N\016" - + "ZoneOperations\022\236\001\n\004List\022).google.cloud.c" - + "ompute.v1.ListDisksRequest\032!.google.clou" - + "d.compute.v1.DiskList\"H\202\323\344\223\0023\0221/compute/" + + "eration\"\231\001\202\323\344\223\002\\\"G/compute/v1/projects/{" + + "project}/zones/{zone}/disks/{disk}/creat" + + "eSnapshot:\021snapshot_resource\332A#project,z" + + "one,disk,snapshot_resource\212N\016ZoneOperati" + + "ons\022\277\001\n\006Delete\022*.google.cloud.compute.v1" + + ".DeleteDiskRequest\032\".google.cloud.comput" + + "e.v1.Operation\"e\202\323\344\223\002:*8/compute/v1/proj" + + "ects/{project}/zones/{zone}/disks/{disk}" + + "\332A\021project,zone,disk\212N\016ZoneOperations\022\243\001" + + "\n\003Get\022\'.google.cloud.compute.v1.GetDiskR" + + "equest\032\035.google.cloud.compute.v1.Disk\"T\202" + + "\323\344\223\002:\0228/compute/v1/projects/{project}/zo" + + "nes/{zone}/disks/{disk}\332A\021project,zone,d" + + "isk\022\314\001\n\014GetIamPolicy\0220.google.cloud.comp" + + "ute.v1.GetIamPolicyDiskRequest\032\037.google." + + "cloud.compute.v1.Policy\"i\202\323\344\223\002K\022I/comput" + + "e/v1/projects/{project}/zones/{zone}/dis" + + "ks/{resource}/getIamPolicy\332A\025project,zon" + + "e,resource\022\320\001\n\006Insert\022*.google.cloud.com" + + "pute.v1.InsertDiskRequest\032\".google.cloud" + + ".compute.v1.Operation\"v\202\323\344\223\002B\"1/compute/" + "v1/projects/{project}/zones/{zone}/disks" - + "\332A\014project,zone\022\331\002\n\026RemoveResourcePolici" - + "es\022:.google.cloud.compute.v1.RemoveResou" - + "rcePoliciesDiskRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\336\001\202\323\344\223\002\202\001\"O/compute/v" - + "1/projects/{project}/zones/{zone}/disks/" - + "{disk}/removeResourcePolicies:/disks_rem" - + "ove_resource_policies_request_resource\332A" - + "Aproject,zone,disk,disks_remove_resource" - + "_policies_request_resource\212N\016ZoneOperati" - + "ons\022\204\002\n\006Resize\022*.google.cloud.compute.v1" - + ".ResizeDiskRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\251\001\202\323\344\223\002`\"?/compute/v1/pro" - + "jects/{project}/zones/{zone}/disks/{disk" - + "}/resize:\035disks_resize_request_resource\332" - + "A/project,zone,disk,disks_resize_request" - + "_resource\212N\016ZoneOperations\022\220\002\n\014SetIamPol" - + "icy\0220.google.cloud.compute.v1.SetIamPoli" - + "cyDiskRequest\032\037.google.cloud.compute.v1." - + "Policy\"\254\001\202\323\344\223\002m\"I/compute/v1/projects/{p" - + "roject}/zones/{zone}/disks/{resource}/se" - + "tIamPolicy: zone_set_policy_request_reso" - + "urce\332A6project,zone,resource,zone_set_po" - + "licy_request_resource\022\233\002\n\tSetLabels\022-.go" - + "ogle.cloud.compute.v1.SetLabelsDiskReque" - + "st\032\".google.cloud.compute.v1.Operation\"\272" - + "\001\202\323\344\223\002j\"F/compute/v1/projects/{project}/" - + "zones/{zone}/disks/{resource}/setLabels:" - + " zone_set_labels_request_resource\332A6proj" - + "ect,zone,resource,zone_set_labels_reques" - + "t_resource\212N\016ZoneOperations\022\265\002\n\022TestIamP" - + "ermissions\0226.google.cloud.compute.v1.Tes" - + "tIamPermissionsDiskRequest\0320.google.clou" - + "d.compute.v1.TestPermissionsResponse\"\264\001\202" - + "\323\344\223\002t\"O/compute/v1/projects/{project}/zo" - + "nes/{zone}/disks/{resource}/testIamPermi" + + ":\rdisk_resource\332A\032project,zone,disk_reso" + + "urce\212N\016ZoneOperations\022\236\001\n\004List\022).google." + + "cloud.compute.v1.ListDisksRequest\032!.goog" + + "le.cloud.compute.v1.DiskList\"H\202\323\344\223\0023\0221/c" + + "ompute/v1/projects/{project}/zones/{zone" + + "}/disks\332A\014project,zone\022\331\002\n\026RemoveResourc" + + "ePolicies\022:.google.cloud.compute.v1.Remo" + + "veResourcePoliciesDiskRequest\032\".google.c" + + "loud.compute.v1.Operation\"\336\001\202\323\344\223\002\202\001\"O/co" + + "mpute/v1/projects/{project}/zones/{zone}" + + "/disks/{disk}/removeResourcePolicies:/di" + + "sks_remove_resource_policies_request_res" + + "ource\332AAproject,zone,disk,disks_remove_r" + + "esource_policies_request_resource\212N\016Zone" + + "Operations\022\204\002\n\006Resize\022*.google.cloud.com" + + "pute.v1.ResizeDiskRequest\032\".google.cloud" + + ".compute.v1.Operation\"\251\001\202\323\344\223\002`\"?/compute" + + "/v1/projects/{project}/zones/{zone}/disk" + + "s/{disk}/resize:\035disks_resize_request_re" + + "source\332A/project,zone,disk,disks_resize_" + + "request_resource\212N\016ZoneOperations\022\220\002\n\014Se" + + "tIamPolicy\0220.google.cloud.compute.v1.Set" + + "IamPolicyDiskRequest\032\037.google.cloud.comp" + + "ute.v1.Policy\"\254\001\202\323\344\223\002m\"I/compute/v1/proj" + + "ects/{project}/zones/{zone}/disks/{resou" + + "rce}/setIamPolicy: zone_set_policy_reque" + + "st_resource\332A6project,zone,resource,zone" + + "_set_policy_request_resource\022\233\002\n\tSetLabe" + + "ls\022-.google.cloud.compute.v1.SetLabelsDi" + + "skRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\272\001\202\323\344\223\002j\"F/compute/v1/projects/{pr" + + "oject}/zones/{zone}/disks/{resource}/set" + + "Labels: zone_set_labels_request_resource" + + "\332A6project,zone,resource,zone_set_labels" + + "_request_resource\212N\016ZoneOperations\022\265\002\n\022T" + + "estIamPermissions\0226.google.cloud.compute" + + ".v1.TestIamPermissionsDiskRequest\0320.goog" + + "le.cloud.compute.v1.TestPermissionsRespo" + + "nse\"\264\001\202\323\344\223\002t\"O/compute/v1/projects/{proj" + + "ect}/zones/{zone}/disks/{resource}/testI" + + "amPermissions:!test_permissions_request_" + + "resource\332A7project,zone,resource,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\251\r\n\023ExternalVpnGa" + + "teways\022\363\001\n\006Delete\0228.google.cloud.compute" + + ".v1.DeleteExternalVpnGatewayRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\212\001\202\323\344\223\002R" + + "*P/compute/v1/projects/{project}/global/" + + "externalVpnGateways/{external_vpn_gatewa" + + "y}\332A\034project,external_vpn_gateway\212N\020Glob" + + "alOperations\022\342\001\n\003Get\0225.google.cloud.comp" + + "ute.v1.GetExternalVpnGatewayRequest\032+.go" + + "ogle.cloud.compute.v1.ExternalVpnGateway" + + "\"w\202\323\344\223\002R\022P/compute/v1/projects/{project}" + + "/global/externalVpnGateways/{external_vp" + + "n_gateway}\332A\034project,external_vpn_gatewa" + + "y\022\204\002\n\006Insert\0228.google.cloud.compute.v1.I" + + "nsertExternalVpnGatewayRequest\032\".google." + + "cloud.compute.v1.Operation\"\233\001\202\323\344\223\002Z\"9/co" + + "mpute/v1/projects/{project}/global/exter" + + "nalVpnGateways:\035external_vpn_gateway_res" + + "ource\332A%project,external_vpn_gateway_res" + + "ource\212N\020GlobalOperations\022\275\001\n\004List\0227.goog" + + "le.cloud.compute.v1.ListExternalVpnGatew" + + "aysRequest\032/.google.cloud.compute.v1.Ext" + + "ernalVpnGatewayList\"K\202\323\344\223\002;\0229/compute/v1" + + "/projects/{project}/global/externalVpnGa" + + "teways\332A\007project\022\262\002\n\tSetLabels\022;.google." + + "cloud.compute.v1.SetLabelsExternalVpnGat" + + "ewayRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\303\001\202\323\344\223\002t\"N/compute/v1/projects/{" + + "project}/global/externalVpnGateways/{res" + + "ource}/setLabels:\"global_set_labels_requ" + + "est_resource\332A3project,resource,global_s" + + "et_labels_request_resource\212N\020GlobalOpera" + + "tions\022\306\002\n\022TestIamPermissions\022D.google.cl" + + "oud.compute.v1.TestIamPermissionsExterna" + + "lVpnGatewayRequest\0320.google.cloud.comput" + + "e.v1.TestPermissionsResponse\"\267\001\202\323\344\223\002|\"W/" + + "compute/v1/projects/{project}/global/ext" + + "ernalVpnGateways/{resource}/testIamPermi" + "ssions:!test_permissions_request_resourc" - + "e\332A7project,zone,resource,test_permissio" - + "ns_request_resource\032r\312A\026compute.googleap" - + "is.com\322AVhttps://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth" - + "/cloud-platform2\251\r\n\023ExternalVpnGateways\022" - + "\363\001\n\006Delete\0228.google.cloud.compute.v1.Del" - + "eteExternalVpnGatewayRequest\032\".google.cl" - + "oud.compute.v1.Operation\"\212\001\202\323\344\223\002R*P/comp" - + "ute/v1/projects/{project}/global/externa" - + "lVpnGateways/{external_vpn_gateway}\332A\034pr" - + "oject,external_vpn_gateway\212N\020GlobalOpera" - + "tions\022\342\001\n\003Get\0225.google.cloud.compute.v1." - + "GetExternalVpnGatewayRequest\032+.google.cl" - + "oud.compute.v1.ExternalVpnGateway\"w\202\323\344\223\002" - + "R\022P/compute/v1/projects/{project}/global" - + "/externalVpnGateways/{external_vpn_gatew" - + "ay}\332A\034project,external_vpn_gateway\022\204\002\n\006I" - + "nsert\0228.google.cloud.compute.v1.InsertEx" - + "ternalVpnGatewayRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\233\001\202\323\344\223\002Z\"9/compute/v" - + "1/projects/{project}/global/externalVpnG" - + "ateways:\035external_vpn_gateway_resource\332A" - + "%project,external_vpn_gateway_resource\212N" - + "\020GlobalOperations\022\275\001\n\004List\0227.google.clou" - + "d.compute.v1.ListExternalVpnGatewaysRequ" - + "est\032/.google.cloud.compute.v1.ExternalVp" - + "nGatewayList\"K\202\323\344\223\002;\0229/compute/v1/projec" - + "ts/{project}/global/externalVpnGateways\332" - + "A\007project\022\262\002\n\tSetLabels\022;.google.cloud.c" - + "ompute.v1.SetLabelsExternalVpnGatewayReq" + + "e\332A2project,resource,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\225$\n\020FirewallPolicies\022\307\002\n\016AddA" + + "ssociation\022<.google.cloud.compute.v1.Add" + + "AssociationFirewallPolicyRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\322\001\202\323\344\223\002v\"N/" + + "compute/v1/locations/global/firewallPoli" + + "cies/{firewall_policy}/addAssociation:$f" + + "irewall_policy_association_resource\332A4fi" + + "rewall_policy,firewall_policy_associatio" + + "n_resource\212N\034GlobalOrganizationOperation" + + "s\022\244\002\n\007AddRule\0225.google.cloud.compute.v1." + + "AddRuleFirewallPolicyRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\275\001\202\323\344\223\002h\"G/comp" + + "ute/v1/locations/global/firewallPolicies" + + "/{firewall_policy}/addRule:\035firewall_pol" + + "icy_rule_resource\332A-firewall_policy,fire" + + "wall_policy_rule_resource\212N\034GlobalOrgani" + + "zationOperations\022\360\001\n\nCloneRules\0228.google" + + ".cloud.compute.v1.CloneRulesFirewallPoli" + + "cyRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\203\001\202\323\344\223\002L\"J/compute/v1/locations/gl" + + "obal/firewallPolicies/{firewall_policy}/" + + "cloneRules\332A\017firewall_policy\212N\034GlobalOrg" + + "anizationOperations\022\334\001\n\006Delete\0224.google." + + "cloud.compute.v1.DeleteFirewallPolicyReq" + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\303\001\202\323\344\223\002t\"N/compute/v1/projects/{project" - + "}/global/externalVpnGateways/{resource}/" - + "setLabels:\"global_set_labels_request_res" - + "ource\332A3project,resource,global_set_labe" - + "ls_request_resource\212N\020GlobalOperations\022\306" - + "\002\n\022TestIamPermissions\022D.google.cloud.com" - + "pute.v1.TestIamPermissionsExternalVpnGat" - + "ewayRequest\0320.google.cloud.compute.v1.Te" - + "stPermissionsResponse\"\267\001\202\323\344\223\002|\"W/compute" - + "/v1/projects/{project}/global/externalVp" - + "nGateways/{resource}/testIamPermissions:" - + "!test_permissions_request_resource\332A2pro" - + "ject,resource,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\225$\n\020FirewallPolicies\022\307\002\n\016AddAssociat" - + "ion\022<.google.cloud.compute.v1.AddAssocia" - + "tionFirewallPolicyRequest\032\".google.cloud" - + ".compute.v1.Operation\"\322\001\202\323\344\223\002v\"N/compute" + + "\"x\202\323\344\223\002A*?/compute/v1/locations/global/f" + + "irewallPolicies/{firewall_policy}\332A\017fire" + + "wall_policy\212N\034GlobalOrganizationOperatio" + + "ns\022\274\001\n\003Get\0221.google.cloud.compute.v1.Get" + + "FirewallPolicyRequest\032\'.google.cloud.com" + + "pute.v1.FirewallPolicy\"Y\202\323\344\223\002A\022?/compute" + "/v1/locations/global/firewallPolicies/{f" - + "irewall_policy}/addAssociation:$firewall" - + "_policy_association_resource\332A4firewall_" - + "policy,firewall_policy_association_resou" - + "rce\212N\034GlobalOrganizationOperations\022\244\002\n\007A" - + "ddRule\0225.google.cloud.compute.v1.AddRule" - + "FirewallPolicyRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\275\001\202\323\344\223\002h\"G/compute/v1/" - + "locations/global/firewallPolicies/{firew" - + "all_policy}/addRule:\035firewall_policy_rul" - + "e_resource\332A-firewall_policy,firewall_po" - + "licy_rule_resource\212N\034GlobalOrganizationO" - + "perations\022\360\001\n\nCloneRules\0228.google.cloud." - + "compute.v1.CloneRulesFirewallPolicyReque" - + "st\032\".google.cloud.compute.v1.Operation\"\203" - + "\001\202\323\344\223\002L\"J/compute/v1/locations/global/fi" - + "rewallPolicies/{firewall_policy}/cloneRu" - + "les\332A\017firewall_policy\212N\034GlobalOrganizati" - + "onOperations\022\334\001\n\006Delete\0224.google.cloud.c" - + "ompute.v1.DeleteFirewallPolicyRequest\032\"." - + "google.cloud.compute.v1.Operation\"x\202\323\344\223\002" - + "A*?/compute/v1/locations/global/firewall" - + "Policies/{firewall_policy}\332A\017firewall_po" - + "licy\212N\034GlobalOrganizationOperations\022\274\001\n\003" - + "Get\0221.google.cloud.compute.v1.GetFirewal" - + "lPolicyRequest\032\'.google.cloud.compute.v1" - + ".FirewallPolicy\"Y\202\323\344\223\002A\022?/compute/v1/loc" - + "ations/global/firewallPolicies/{firewall" - + "_policy}\332A\017firewall_policy\022\354\001\n\016GetAssoci" - + "ation\022<.google.cloud.compute.v1.GetAssoc" - + "iationFirewallPolicyRequest\0322.google.clo" - + "ud.compute.v1.FirewallPolicyAssociation\"" - + "h\202\323\344\223\002P\022N/compute/v1/locations/global/fi" - + "rewallPolicies/{firewall_policy}/getAsso" - + "ciation\332A\017firewall_policy\022\305\001\n\014GetIamPoli" - + "cy\022:.google.cloud.compute.v1.GetIamPolic" - + "yFirewallPolicyRequest\032\037.google.cloud.co" - + "mpute.v1.Policy\"X\202\323\344\223\002G\022E/compute/v1/loc" - + "ations/global/firewallPolicies/{resource" - + "}/getIamPolicy\332A\010resource\022\320\001\n\007GetRule\0225." - + "google.cloud.compute.v1.GetRuleFirewallP" - + "olicyRequest\032+.google.cloud.compute.v1.F" - + "irewallPolicyRule\"a\202\323\344\223\002I\022G/compute/v1/l" - + "ocations/global/firewallPolicies/{firewa" - + "ll_policy}/getRule\332A\017firewall_policy\022\370\001\n" - + "\006Insert\0224.google.cloud.compute.v1.Insert" - + "FirewallPolicyRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\223\001\202\323\344\223\002I\"-/compute/v1/" - + "locations/global/firewallPolicies:\030firew" - + "all_policy_resource\332A\"parent_id,firewall" - + "_policy_resource\212N\034GlobalOrganizationOpe" - + "rations\022\243\001\n\004List\0224.google.cloud.compute." - + "v1.ListFirewallPoliciesRequest\032+.google." - + "cloud.compute.v1.FirewallPolicyList\"8\202\323\344" - + "\223\002/\022-/compute/v1/locations/global/firewa" - + "llPolicies\332A\000\022\340\001\n\020ListAssociations\022>.goo" - + "gle.cloud.compute.v1.ListAssociationsFir" - + "ewallPolicyRequest\032A.google.cloud.comput" - + "e.v1.FirewallPoliciesListAssociationsRes" - + "ponse\"I\202\323\344\223\002@\022>/compute/v1/locations/glo" - + "bal/firewallPolicies/listAssociations\332A\000" - + "\022\350\001\n\004Move\0222.google.cloud.compute.v1.Move" - + "FirewallPolicyRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\207\001\202\323\344\223\002F\"D/compute/v1/" - + "locations/global/firewallPolicies/{firew" - + "all_policy}/move\332A\031firewall_policy,paren" - + "t_id\212N\034GlobalOrganizationOperations\022\216\002\n\005" - + "Patch\0223.google.cloud.compute.v1.PatchFir" - + "ewallPolicyRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\253\001\202\323\344\223\002[2?/compute/v1/loc" - + "ations/global/firewallPolicies/{firewall" - + "_policy}:\030firewall_policy_resource\332A(fir" - + "ewall_policy,firewall_policy_resource\212N\034" - + "GlobalOrganizationOperations\022\252\002\n\tPatchRu" - + "le\0227.google.cloud.compute.v1.PatchRuleFi" - + "rewallPolicyRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\277\001\202\323\344\223\002j\"I/compute/v1/lo" - + "cations/global/firewallPolicies/{firewal" - + "l_policy}/patchRule:\035firewall_policy_rul" - + "e_resource\332A-firewall_policy,firewall_po" - + "licy_rule_resource\212N\034GlobalOrganizationO" - + "perations\022\205\002\n\021RemoveAssociation\022?.google" - + ".cloud.compute.v1.RemoveAssociationFirew" - + "allPolicyRequest\032\".google.cloud.compute." - + "v1.Operation\"\212\001\202\323\344\223\002S\"Q/compute/v1/locat" - + "ions/global/firewallPolicies/{firewall_p" - + "olicy}/removeAssociation\332A\017firewall_poli" - + "cy\212N\034GlobalOrganizationOperations\022\360\001\n\nRe" - + "moveRule\0228.google.cloud.compute.v1.Remov" - + "eRuleFirewallPolicyRequest\032\".google.clou" - + "d.compute.v1.Operation\"\203\001\202\323\344\223\002L\"J/comput" + + "irewall_policy}\332A\017firewall_policy\022\354\001\n\016Ge" + + "tAssociation\022<.google.cloud.compute.v1.G" + + "etAssociationFirewallPolicyRequest\0322.goo" + + "gle.cloud.compute.v1.FirewallPolicyAssoc" + + "iation\"h\202\323\344\223\002P\022N/compute/v1/locations/gl" + + "obal/firewallPolicies/{firewall_policy}/" + + "getAssociation\332A\017firewall_policy\022\305\001\n\014Get" + + "IamPolicy\022:.google.cloud.compute.v1.GetI" + + "amPolicyFirewallPolicyRequest\032\037.google.c" + + "loud.compute.v1.Policy\"X\202\323\344\223\002G\022E/compute" + + "/v1/locations/global/firewallPolicies/{r" + + "esource}/getIamPolicy\332A\010resource\022\320\001\n\007Get" + + "Rule\0225.google.cloud.compute.v1.GetRuleFi" + + "rewallPolicyRequest\032+.google.cloud.compu" + + "te.v1.FirewallPolicyRule\"a\202\323\344\223\002I\022G/compu" + + "te/v1/locations/global/firewallPolicies/" + + "{firewall_policy}/getRule\332A\017firewall_pol" + + "icy\022\370\001\n\006Insert\0224.google.cloud.compute.v1" + + ".InsertFirewallPolicyRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\223\001\202\323\344\223\002I\"-/comp" + + "ute/v1/locations/global/firewallPolicies" + + ":\030firewall_policy_resource\332A\"parent_id,f" + + "irewall_policy_resource\212N\034GlobalOrganiza" + + "tionOperations\022\243\001\n\004List\0224.google.cloud.c" + + "ompute.v1.ListFirewallPoliciesRequest\032+." + + "google.cloud.compute.v1.FirewallPolicyLi" + + "st\"8\202\323\344\223\002/\022-/compute/v1/locations/global" + + "/firewallPolicies\332A\000\022\340\001\n\020ListAssociation" + + "s\022>.google.cloud.compute.v1.ListAssociat" + + "ionsFirewallPolicyRequest\032A.google.cloud" + + ".compute.v1.FirewallPoliciesListAssociat" + + "ionsResponse\"I\202\323\344\223\002@\022>/compute/v1/locati" + + "ons/global/firewallPolicies/listAssociat" + + "ions\332A\000\022\350\001\n\004Move\0222.google.cloud.compute." + + "v1.MoveFirewallPolicyRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\207\001\202\323\344\223\002F\"D/comp" + + "ute/v1/locations/global/firewallPolicies" + + "/{firewall_policy}/move\332A\031firewall_polic" + + "y,parent_id\212N\034GlobalOrganizationOperatio" + + "ns\022\216\002\n\005Patch\0223.google.cloud.compute.v1.P" + + "atchFirewallPolicyRequest\032\".google.cloud" + + ".compute.v1.Operation\"\253\001\202\323\344\223\002[2?/compute" + + "/v1/locations/global/firewallPolicies/{f" + + "irewall_policy}:\030firewall_policy_resourc" + + "e\332A(firewall_policy,firewall_policy_reso" + + "urce\212N\034GlobalOrganizationOperations\022\252\002\n\t" + + "PatchRule\0227.google.cloud.compute.v1.Patc" + + "hRuleFirewallPolicyRequest\032\".google.clou" + + "d.compute.v1.Operation\"\277\001\202\323\344\223\002j\"I/comput" + "e/v1/locations/global/firewallPolicies/{" - + "firewall_policy}/removeRule\332A\017firewall_p" - + "olicy\212N\034GlobalOrganizationOperations\022\247\002\n" - + "\014SetIamPolicy\022:.google.cloud.compute.v1." - + "SetIamPolicyFirewallPolicyRequest\032\037.goog" - + "le.cloud.compute.v1.Policy\"\271\001\202\323\344\223\002x\"E/co" - + "mpute/v1/locations/global/firewallPolici" - + "es/{resource}/setIamPolicy:/global_organ" - + "ization_set_policy_request_resource\332A8re" - + "source,global_organization_set_policy_re" - + "quest_resource\022\256\002\n\022TestIamPermissions\022@." - + "google.cloud.compute.v1.TestIamPermissio" - + "nsFirewallPolicyRequest\0320.google.cloud.c" - + "ompute.v1.TestPermissionsResponse\"\243\001\202\323\344\223" - + "\002p\"K/compute/v1/locations/global/firewal" - + "lPolicies/{resource}/testIamPermissions:" - + "!test_permissions_request_resource\332A*res" - + "ource,test_permissions_request_resource\032" - + "r\312A\026compute.googleapis.com\322AVhttps://www" - + ".googleapis.com/auth/compute,https://www" - + ".googleapis.com/auth/cloud-platform2\317\n\n\t" - + "Firewalls\022\306\001\n\006Delete\022..google.cloud.comp" - + "ute.v1.DeleteFirewallRequest\032\".google.cl" - + "oud.compute.v1.Operation\"h\202\323\344\223\002<*:/compu" - + "te/v1/projects/{project}/global/firewall" - + "s/{firewall}\332A\020project,firewall\212N\020Global" - + "Operations\022\254\001\n\003Get\022+.google.cloud.comput" - + "e.v1.GetFirewallRequest\032!.google.cloud.c" - + "ompute.v1.Firewall\"U\202\323\344\223\002<\022:/compute/v1/" - + "projects/{project}/global/firewalls/{fir" - + "ewall}\332A\020project,firewall\022\327\001\n\006Insert\022..g" - + "oogle.cloud.compute.v1.InsertFirewallReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"y\202\323\344\223\002D\"//compute/v1/projects/{project}" - + "/global/firewalls:\021firewall_resource\332A\031p" - + "roject,firewall_resource\212N\020GlobalOperati" - + "ons\022\237\001\n\004List\022-.google.cloud.compute.v1.L" - + "istFirewallsRequest\032%.google.cloud.compu" - + "te.v1.FirewallList\"A\202\323\344\223\0021\022//compute/v1/" - + "projects/{project}/global/firewalls\332A\007pr" - + "oject\022\352\001\n\005Patch\022-.google.cloud.compute.v" - + "1.PatchFirewallRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\215\001\202\323\344\223\002O2:/compute/v1" - + "/projects/{project}/global/firewalls/{fi" - + "rewall}:\021firewall_resource\332A\"project,fir" - + "ewall,firewall_resource\212N\020GlobalOperatio" - + "ns\022\354\001\n\006Update\022..google.cloud.compute.v1." - + "UpdateFirewallRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\215\001\202\323\344\223\002O\032:/compute/v1/" - + "projects/{project}/global/firewalls/{fir" - + "ewall}:\021firewall_resource\332A\"project,fire" - + "wall,firewall_resource\212N\020GlobalOperation" - + "s\032r\312A\026compute.googleapis.com\322AVhttps://w" - + "ww.googleapis.com/auth/compute,https://w" - + "ww.googleapis.com/auth/cloud-platform2\231\021" - + "\n\017ForwardingRules\022\323\001\n\016AggregatedList\022=.g" - + "oogle.cloud.compute.v1.AggregatedListFor" - + "wardingRulesRequest\0325.google.cloud.compu" - + "te.v1.ForwardingRuleAggregatedList\"K\202\323\344\223" - + "\002;\0229/compute/v1/projects/{project}/aggre" - + "gated/forwardingRules\332A\007project\022\362\001\n\006Dele" - + "te\0224.google.cloud.compute.v1.DeleteForwa" + + "firewall_policy}/patchRule:\035firewall_pol" + + "icy_rule_resource\332A-firewall_policy,fire" + + "wall_policy_rule_resource\212N\034GlobalOrgani" + + "zationOperations\022\205\002\n\021RemoveAssociation\022?" + + ".google.cloud.compute.v1.RemoveAssociati" + + "onFirewallPolicyRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\212\001\202\323\344\223\002S\"Q/compute/v" + + "1/locations/global/firewallPolicies/{fir" + + "ewall_policy}/removeAssociation\332A\017firewa" + + "ll_policy\212N\034GlobalOrganizationOperations" + + "\022\360\001\n\nRemoveRule\0228.google.cloud.compute.v" + + "1.RemoveRuleFirewallPolicyRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\203\001\202\323\344\223\002L\"J" + + "/compute/v1/locations/global/firewallPol" + + "icies/{firewall_policy}/removeRule\332A\017fir" + + "ewall_policy\212N\034GlobalOrganizationOperati" + + "ons\022\247\002\n\014SetIamPolicy\022:.google.cloud.comp" + + "ute.v1.SetIamPolicyFirewallPolicyRequest" + + "\032\037.google.cloud.compute.v1.Policy\"\271\001\202\323\344\223" + + "\002x\"E/compute/v1/locations/global/firewal" + + "lPolicies/{resource}/setIamPolicy:/globa" + + "l_organization_set_policy_request_resour" + + "ce\332A8resource,global_organization_set_po" + + "licy_request_resource\022\256\002\n\022TestIamPermiss" + + "ions\022@.google.cloud.compute.v1.TestIamPe" + + "rmissionsFirewallPolicyRequest\0320.google." + + "cloud.compute.v1.TestPermissionsResponse" + + "\"\243\001\202\323\344\223\002p\"K/compute/v1/locations/global/" + + "firewallPolicies/{resource}/testIamPermi" + + "ssions:!test_permissions_request_resourc" + + "e\332A*resource,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\317\n\n\tFirewalls\022\306\001\n\006Delete\022..google.clo" + + "ud.compute.v1.DeleteFirewallRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"h\202\323\344\223\002<*" + + ":/compute/v1/projects/{project}/global/f" + + "irewalls/{firewall}\332A\020project,firewall\212N" + + "\020GlobalOperations\022\254\001\n\003Get\022+.google.cloud" + + ".compute.v1.GetFirewallRequest\032!.google." + + "cloud.compute.v1.Firewall\"U\202\323\344\223\002<\022:/comp" + + "ute/v1/projects/{project}/global/firewal" + + "ls/{firewall}\332A\020project,firewall\022\327\001\n\006Ins" + + "ert\022..google.cloud.compute.v1.InsertFire" + + "wallRequest\032\".google.cloud.compute.v1.Op" + + "eration\"y\202\323\344\223\002D\"//compute/v1/projects/{p" + + "roject}/global/firewalls:\021firewall_resou" + + "rce\332A\031project,firewall_resource\212N\020Global" + + "Operations\022\237\001\n\004List\022-.google.cloud.compu" + + "te.v1.ListFirewallsRequest\032%.google.clou" + + "d.compute.v1.FirewallList\"A\202\323\344\223\0021\022//comp" + + "ute/v1/projects/{project}/global/firewal" + + "ls\332A\007project\022\352\001\n\005Patch\022-.google.cloud.co" + + "mpute.v1.PatchFirewallRequest\032\".google.c" + + "loud.compute.v1.Operation\"\215\001\202\323\344\223\002O2:/com" + + "pute/v1/projects/{project}/global/firewa" + + "lls/{firewall}:\021firewall_resource\332A\"proj" + + "ect,firewall,firewall_resource\212N\020GlobalO" + + "perations\022\354\001\n\006Update\022..google.cloud.comp" + + "ute.v1.UpdateFirewallRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\215\001\202\323\344\223\002O\032:/comp" + + "ute/v1/projects/{project}/global/firewal" + + "ls/{firewall}:\021firewall_resource\332A\"proje" + + "ct,firewall,firewall_resource\212N\020GlobalOp" + + "erations\032r\312A\026compute.googleapis.com\322AVht" + + "tps://www.googleapis.com/auth/compute,ht" + + "tps://www.googleapis.com/auth/cloud-plat" + + "form2\231\021\n\017ForwardingRules\022\323\001\n\016AggregatedL" + + "ist\022=.google.cloud.compute.v1.Aggregated" + + "ListForwardingRulesRequest\0325.google.clou" + + "d.compute.v1.ForwardingRuleAggregatedLis" + + "t\"K\202\323\344\223\002;\0229/compute/v1/projects/{project" + + "}/aggregated/forwardingRules\332A\007project\022\362" + + "\001\n\006Delete\0224.google.cloud.compute.v1.Dele" + + "teForwardingRuleRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\215\001\202\323\344\223\002S*Q/compute/v" + + "1/projects/{project}/regions/{region}/fo" + + "rwardingRules/{forwarding_rule}\332A\036projec" + + "t,region,forwarding_rule\212N\020RegionOperati" + + "ons\022\335\001\n\003Get\0221.google.cloud.compute.v1.Ge" + + "tForwardingRuleRequest\032\'.google.cloud.co" + + "mpute.v1.ForwardingRule\"z\202\323\344\223\002S\022Q/comput" + + "e/v1/projects/{project}/regions/{region}" + + "/forwardingRules/{forwarding_rule}\332A\036pro" + + "ject,region,forwarding_rule\022\203\002\n\006Insert\0224" + + ".google.cloud.compute.v1.InsertForwardin" + + "gRuleRequest\032\".google.cloud.compute.v1.O" + + "peration\"\236\001\202\323\344\223\002[\"?/compute/v1/projects/" + + "{project}/regions/{region}/forwardingRul" + + "es:\030forwarding_rule_resource\332A\'project,r" + + "egion,forwarding_rule_resource\212N\020RegionO" + + "perations\022\302\001\n\004List\0223.google.cloud.comput" + + "e.v1.ListForwardingRulesRequest\032+.google" + + ".cloud.compute.v1.ForwardingRuleList\"X\202\323" + + "\344\223\002A\022?/compute/v1/projects/{project}/reg" + + "ions/{region}/forwardingRules\332A\016project," + + "region\022\243\002\n\005Patch\0223.google.cloud.compute." + + "v1.PatchForwardingRuleRequest\032\".google.c" + + "loud.compute.v1.Operation\"\300\001\202\323\344\223\002m2Q/com" + + "pute/v1/projects/{project}/regions/{regi" + + "on}/forwardingRules/{forwarding_rule}:\030f" + + "orwarding_rule_resource\332A7project,region" + + ",forwarding_rule,forwarding_rule_resourc" + + "e\212N\020RegionOperations\022\273\002\n\tSetLabels\0227.goo" + + "gle.cloud.compute.v1.SetLabelsForwarding" + + "RuleRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\320\001\202\323\344\223\002z\"T/compute/v1/projects/{" + + "project}/regions/{region}/forwardingRule" + + "s/{resource}/setLabels:\"region_set_label" + + "s_request_resource\332A:project,region,reso" + + "urce,region_set_labels_request_resource\212" + + "N\020RegionOperations\022\267\002\n\tSetTarget\0227.googl" + + "e.cloud.compute.v1.SetTargetForwardingRu" + + "leRequest\032\".google.cloud.compute.v1.Oper" + + "ation\"\314\001\202\323\344\223\002x\"[/compute/v1/projects/{pr" + + "oject}/regions/{region}/forwardingRules/" + + "{forwarding_rule}/setTarget:\031target_refe" + + "rence_resource\332A8project,region,forwardi" + + "ng_rule,target_reference_resource\212N\020Regi" + + "onOperations\032r\312A\026compute.googleapis.com\322" + + "AVhttps://www.googleapis.com/auth/comput", + "e,https://www.googleapis.com/auth/cloud-" + + "platform2\206\007\n\017GlobalAddresses\022\311\001\n\006Delete\022" + + "3.google.cloud.compute.v1.DeleteGlobalAd" + + "dressRequest\032\".google.cloud.compute.v1.O" + + "peration\"f\202\323\344\223\002;*9/compute/v1/projects/{" + + "project}/global/addresses/{address}\332A\017pr" + + "oject,address\212N\020GlobalOperations\022\256\001\n\003Get" + + "\0220.google.cloud.compute.v1.GetGlobalAddr" + + "essRequest\032 .google.cloud.compute.v1.Add" + + "ress\"S\202\323\344\223\002;\0229/compute/v1/projects/{proj" + + "ect}/global/addresses/{address}\332A\017projec" + + "t,address\022\332\001\n\006Insert\0223.google.cloud.comp" + + "ute.v1.InsertGlobalAddressRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"w\202\323\344\223\002C\"//" + + "compute/v1/projects/{project}/global/add" + + "resses:\020address_resource\332A\030project,addre" + + "ss_resource\212N\020GlobalOperations\022\244\001\n\004List\022" + + "3.google.cloud.compute.v1.ListGlobalAddr" + + "essesRequest\032$.google.cloud.compute.v1.A" + + "ddressList\"A\202\323\344\223\0021\022//compute/v1/projects" + + "/{project}/global/addresses\332A\007project\032r\312" + + "A\026compute.googleapis.com\322AVhttps://www.g" + + "oogleapis.com/auth/compute,https://www.g" + + "oogleapis.com/auth/cloud-platform2\373\016\n\025Gl" + + "obalForwardingRules\022\346\001\n\006Delete\022:.google." + + "cloud.compute.v1.DeleteGlobalForwardingR" + + "uleRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"|\202\323\344\223\002I*G/compute/v1/projects/{pr" + + "oject}/global/forwardingRules/{forwardin" + + "g_rule}\332A\027project,forwarding_rule\212N\020Glob" + + "alOperations\022\322\001\n\003Get\0227.google.cloud.comp" + + "ute.v1.GetGlobalForwardingRuleRequest\032\'." + + "google.cloud.compute.v1.ForwardingRule\"i" + + "\202\323\344\223\002I\022G/compute/v1/projects/{project}/g" + + "lobal/forwardingRules/{forwarding_rule}\332" + + "A\027project,forwarding_rule\022\370\001\n\006Insert\022:.g" + + "oogle.cloud.compute.v1.InsertGlobalForwa" + "rdingRuleRequest\032\".google.cloud.compute." - + "v1.Operation\"\215\001\202\323\344\223\002S*Q/compute/v1/proje" - + "cts/{project}/regions/{region}/forwardin" - + "gRules/{forwarding_rule}\332A\036project,regio" - + "n,forwarding_rule\212N\020RegionOperations\022\335\001\n" - + "\003Get\0221.google.cloud.compute.v1.GetForwar" - + "dingRuleRequest\032\'.google.cloud.compute.v" - + "1.ForwardingRule\"z\202\323\344\223\002S\022Q/compute/v1/pr" - + "ojects/{project}/regions/{region}/forwar" - + "dingRules/{forwarding_rule}\332A\036project,re" - + "gion,forwarding_rule\022\203\002\n\006Insert\0224.google" - + ".cloud.compute.v1.InsertForwardingRuleRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\236\001\202\323\344\223\002[\"?/compute/v1/projects/{projec" - + "t}/regions/{region}/forwardingRules:\030for" - + "warding_rule_resource\332A\'project,region,f" - + "orwarding_rule_resource\212N\020RegionOperatio" - + "ns\022\302\001\n\004List\0223.google.cloud.compute.v1.Li" - + "stForwardingRulesRequest\032+.google.cloud." - + "compute.v1.ForwardingRuleList\"X\202\323\344\223\002A\022?/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/forwardingRules\332A\016project,region\022" - + "\243\002\n\005Patch\0223.google.cloud.compute.v1.Patc" - + "hForwardingRuleRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\300\001\202\323\344\223\002m2Q/compute/v1" - + "/projects/{project}/regions/{region}/for" - + "wardingRules/{forwarding_rule}:\030forwardi" - + "ng_rule_resource\332A7project,region,forwar" - + "ding_rule,forwarding_rule_resource\212N\020Reg" - + "ionOperations\022\273\002\n\tSetLabels\0227.google.clo" - + "ud.compute.v1.SetLabelsForwardingRuleReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\320\001\202\323\344\223\002z\"T/compute/v1/projects/{project" - + "}/regions/{region}/forwardingRules/{reso" - + "urce}/setLabels:\"region_set_labels_reque" - + "st_resource\332A:project,region,resource,re" - + "gion_set_labels_request_resource\212N\020Regio" - + "nOperations\022\267\002\n\tSetTarget\0227.google.cloud" - + ".compute.v1.SetTargetForwardingRuleReque" - + "st\032\".google.cloud.compute.v1.Operation\"\314" - + "\001\202\323\344\223\002x\"[/compute/v1/projects/{project}/" - + "regions/{region}/forwardingRules/{forwar" - + "ding_rule}/setTarget:\031target_reference_r" - + "esource\332A8project,region,forwarding_rule" - + ",target_reference_resource\212N\020RegionOpera" - + "tions\032r\312A\026compute.googleapis.com\322AVhttps" - + "://www.googleapis.com/auth/compute,https" - + "://www.googleapis.com/auth/cloud-platfor" - + "m2\206\007\n\017GlobalAddresses\022\311\001\n\006Delete\0223.googl" - + "e.cloud.compute.v1.DeleteGlobalAddressRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"f\202\323\344\223\002;*9/compute/v1/projects/{project" - + "}/global/addresses/{address}\332A\017project,a" - + "ddress\212N\020GlobalOperations\022\256\001\n\003Get\0220.goog" - + "le.cloud.compute.v1.GetGlobalAddressRequ" - + "est\032 .google.cloud.compute.v1.Address\"S\202" - + "\323\344\223\002;\0229/compute/v1/projects/{project}/gl" - + "obal/addresses/{address}\332A\017project,addre" - + "ss\022\332\001\n\006Insert\0223.google.cloud.compute.v1." - + "InsertGlobalAddressRequest\032\".google.clou" - + "d.compute.v1.Operation\"w\202\323\344\223\002C\"//compute" - + "/v1/projects/{project}/global/addresses:" - + "\020address_resource\332A\030project,address_reso" - + "urce\212N\020GlobalOperations\022\244\001\n\004List\0223.googl" - + "e.cloud.compute.v1.ListGlobalAddressesRe" - + "quest\032$.google.cloud.compute.v1.AddressL" - + "ist\"A\202\323\344\223\0021\022//compute/v1/projects/{proje" - + "ct}/global/addresses\332A\007project\032r\312A\026compu" - + "te.googleapis.com\322AVhttps://www.googleap" - + "is.com/auth/compute,https://www.googleap" - + "is.com/auth/cloud-platform2\373\016\n\025GlobalFor" - + "wardingRules\022\346\001\n\006Delete\022:.google.cloud.c" - + "ompute.v1.DeleteGlobalForwardingRuleRequ" - + "est\032\".google.cloud.compute.v1.Operation\"" - + "|\202\323\344\223\002I*G/compute/v1/projects/{project}/" - + "global/forwardingRules/{forwarding_rule}" - + "\332A\027project,forwarding_rule\212N\020GlobalOpera" - + "tions\022\322\001\n\003Get\0227.google.cloud.compute.v1." - + "GetGlobalForwardingRuleRequest\032\'.google." - + "cloud.compute.v1.ForwardingRule\"i\202\323\344\223\002I\022" - + "G/compute/v1/projects/{project}/global/f", - "orwardingRules/{forwarding_rule}\332A\027proje" - + "ct,forwarding_rule\022\370\001\n\006Insert\022:.google.c" - + "loud.compute.v1.InsertGlobalForwardingRu" + + "v1.Operation\"\215\001\202\323\344\223\002Q\"5/compute/v1/proje" + + "cts/{project}/global/forwardingRules:\030fo" + + "rwarding_rule_resource\332A project,forward" + + "ing_rule_resource\212N\020GlobalOperations\022\267\001\n" + + "\004List\0229.google.cloud.compute.v1.ListGlob" + + "alForwardingRulesRequest\032+.google.cloud." + + "compute.v1.ForwardingRuleList\"G\202\323\344\223\0027\0225/" + + "compute/v1/projects/{project}/global/for" + + "wardingRules\332A\007project\022\230\002\n\005Patch\0229.googl" + + "e.cloud.compute.v1.PatchGlobalForwarding" + + "RuleRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\257\001\202\323\344\223\002c2G/compute/v1/projects/{" + + "project}/global/forwardingRules/{forward" + + "ing_rule}:\030forwarding_rule_resource\332A0pr" + + "oject,forwarding_rule,forwarding_rule_re" + + "source\212N\020GlobalOperations\022\260\002\n\tSetLabels\022" + + "=.google.cloud.compute.v1.SetLabelsGloba" + + "lForwardingRuleRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\277\001\202\323\344\223\002p\"J/compute/v1" + + "/projects/{project}/global/forwardingRul" + + "es/{resource}/setLabels:\"global_set_labe" + + "ls_request_resource\332A3project,resource,g" + + "lobal_set_labels_request_resource\212N\020Glob" + + "alOperations\022\254\002\n\tSetTarget\022=.google.clou" + + "d.compute.v1.SetTargetGlobalForwardingRu" + "leRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\215\001\202\323\344\223\002Q\"5/compute/v1/projects/{pr" - + "oject}/global/forwardingRules:\030forwardin" - + "g_rule_resource\332A project,forwarding_rul" - + "e_resource\212N\020GlobalOperations\022\267\001\n\004List\0229" - + ".google.cloud.compute.v1.ListGlobalForwa" - + "rdingRulesRequest\032+.google.cloud.compute" - + ".v1.ForwardingRuleList\"G\202\323\344\223\0027\0225/compute" - + "/v1/projects/{project}/global/forwarding" - + "Rules\332A\007project\022\230\002\n\005Patch\0229.google.cloud" - + ".compute.v1.PatchGlobalForwardingRuleReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\257\001\202\323\344\223\002c2G/compute/v1/projects/{project" - + "}/global/forwardingRules/{forwarding_rul" - + "e}:\030forwarding_rule_resource\332A0project,f" - + "orwarding_rule,forwarding_rule_resource\212" - + "N\020GlobalOperations\022\260\002\n\tSetLabels\022=.googl" - + "e.cloud.compute.v1.SetLabelsGlobalForwar" - + "dingRuleRequest\032\".google.cloud.compute.v" - + "1.Operation\"\277\001\202\323\344\223\002p\"J/compute/v1/projec" - + "ts/{project}/global/forwardingRules/{res" - + "ource}/setLabels:\"global_set_labels_requ" - + "est_resource\332A3project,resource,global_s" - + "et_labels_request_resource\212N\020GlobalOpera" - + "tions\022\254\002\n\tSetTarget\022=.google.cloud.compu" - + "te.v1.SetTargetGlobalForwardingRuleReque" - + "st\032\".google.cloud.compute.v1.Operation\"\273" - + "\001\202\323\344\223\002n\"Q/compute/v1/projects/{project}/" - + "global/forwardingRules/{forwarding_rule}" - + "/setTarget:\031target_reference_resource\332A1" - + "project,forwarding_rule,target_reference" - + "_resource\212N\020GlobalOperations\032r\312A\026compute" - + ".googleapis.com\322AVhttps://www.googleapis" - + ".com/auth/compute,https://www.googleapis" - + ".com/auth/cloud-platform2\254\022\n\033GlobalNetwo" - + "rkEndpointGroups\022\274\003\n\026AttachNetworkEndpoi" - + "nts\022P.google.cloud.compute.v1.AttachNetw" - + "orkEndpointsGlobalNetworkEndpointGroupRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\253\002\202\323\344\223\002\257\001\"k/compute/v1/projects/{proje" - + "ct}/global/networkEndpointGroups/{networ" - + "k_endpoint_group}/attachNetworkEndpoints" - + ":@global_network_endpoint_groups_attach_" - + "endpoints_request_resource\332A_project,net" - + "work_endpoint_group,global_network_endpo" - + "int_groups_attach_endpoints_request_reso" - + "urce\212N\020GlobalOperations\022\201\002\n\006Delete\022@.goo" - + "gle.cloud.compute.v1.DeleteGlobalNetwork" - + "EndpointGroupRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\220\001\202\323\344\223\002V*T/compute/v1/p" - + "rojects/{project}/global/networkEndpoint" - + "Groups/{network_endpoint_group}\332A\036projec" - + "t,network_endpoint_group\212N\020GlobalOperati" - + "ons\022\274\003\n\026DetachNetworkEndpoints\022P.google." - + "cloud.compute.v1.DetachNetworkEndpointsG" - + "lobalNetworkEndpointGroupRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\253\002\202\323\344\223\002\257\001\"k" - + "/compute/v1/projects/{project}/global/ne" - + "tworkEndpointGroups/{network_endpoint_gr" - + "oup}/detachNetworkEndpoints:@global_netw" - + "ork_endpoint_groups_detach_endpoints_req" - + "uest_resource\332A_project,network_endpoint" - + "_group,global_network_endpoint_groups_de" - + "tach_endpoints_request_resource\212N\020Global" - + "Operations\022\362\001\n\003Get\022=.google.cloud.comput" - + "e.v1.GetGlobalNetworkEndpointGroupReques" - + "t\032-.google.cloud.compute.v1.NetworkEndpo" - + "intGroup\"}\202\323\344\223\002V\022T/compute/v1/projects/{" - + "project}/global/networkEndpointGroups/{n" - + "etwork_endpoint_group}\332A\036project,network" - + "_endpoint_group\022\222\002\n\006Insert\022@.google.clou" - + "d.compute.v1.InsertGlobalNetworkEndpoint" + + "ation\"\273\001\202\323\344\223\002n\"Q/compute/v1/projects/{pr" + + "oject}/global/forwardingRules/{forwardin" + + "g_rule}/setTarget:\031target_reference_reso" + + "urce\332A1project,forwarding_rule,target_re" + + "ference_resource\212N\020GlobalOperations\032r\312A\026" + + "compute.googleapis.com\322AVhttps://www.goo" + + "gleapis.com/auth/compute,https://www.goo" + + "gleapis.com/auth/cloud-platform2\254\022\n\033Glob" + + "alNetworkEndpointGroups\022\274\003\n\026AttachNetwor" + + "kEndpoints\022P.google.cloud.compute.v1.Att" + + "achNetworkEndpointsGlobalNetworkEndpoint" + "GroupRequest\032\".google.cloud.compute.v1.O" - + "peration\"\241\001\202\323\344\223\002^\";/compute/v1/projects/" - + "{project}/global/networkEndpointGroups:\037" - + "network_endpoint_group_resource\332A\'projec" - + "t,network_endpoint_group_resource\212N\020Glob" - + "alOperations\022\311\001\n\004List\022?.google.cloud.com" - + "pute.v1.ListGlobalNetworkEndpointGroupsR" - + "equest\0321.google.cloud.compute.v1.Network" - + "EndpointGroupList\"M\202\323\344\223\002=\022;/compute/v1/p" - + "rojects/{project}/global/networkEndpoint" - + "Groups\332A\007project\022\300\002\n\024ListNetworkEndpoint" - + "s\022O.google.cloud.compute.v1.ListNetworkE" - + "ndpointsGlobalNetworkEndpointGroupsReque" - + "st\032B.google.cloud.compute.v1.NetworkEndp" - + "ointGroupsListNetworkEndpoints\"\222\001\202\323\344\223\002k\"" - + "i/compute/v1/projects/{project}/global/n" - + "etworkEndpointGroups/{network_endpoint_g" - + "roup}/listNetworkEndpoints\332A\036project,net" - + "work_endpoint_group\032r\312A\026compute.googleap" - + "is.com\322AVhttps://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth" - + "/cloud-platform2\320\010\n\020GlobalOperations\022\312\001\n" - + "\016AggregatedList\022>.google.cloud.compute.v" - + "1.AggregatedListGlobalOperationsRequest\032" - + "0.google.cloud.compute.v1.OperationAggre" - + "gatedList\"F\202\323\344\223\0026\0224/compute/v1/projects/" - + "{project}/aggregated/operations\332A\007projec" - + "t\022\321\001\n\006Delete\0225.google.cloud.compute.v1.D" - + "eleteGlobalOperationRequest\0326.google.clo" - + "ud.compute.v1.DeleteGlobalOperationRespo" - + "nse\"X\202\323\344\223\002>*\022.google.cloud.co" - + "mpute.v1.GetGlobalOrganizationOperationR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"J\202\323\344\223\0025\0223/compute/v1/locations/global" - + "/operations/{operation}\332A\toperation\220N\001\022\244" - + "\001\n\004List\022@.google.cloud.compute.v1.ListGl" - + "obalOrganizationOperationsRequest\032&.goog" - + "le.cloud.compute.v1.OperationList\"2\202\323\344\223\002" - + ")\022\'/compute/v1/locations/global/operatio" - + "ns\332A\000\032r\312A\026compute.googleapis.com\322AVhttps" + + "peration\"\253\002\202\323\344\223\002\257\001\"k/compute/v1/projects" + + "/{project}/global/networkEndpointGroups/" + + "{network_endpoint_group}/attachNetworkEn" + + "dpoints:@global_network_endpoint_groups_" + + "attach_endpoints_request_resource\332A_proj" + + "ect,network_endpoint_group,global_networ" + + "k_endpoint_groups_attach_endpoints_reque" + + "st_resource\212N\020GlobalOperations\022\201\002\n\006Delet" + + "e\022@.google.cloud.compute.v1.DeleteGlobal" + + "NetworkEndpointGroupRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\220\001\202\323\344\223\002V*T/compu" + + "te/v1/projects/{project}/global/networkE" + + "ndpointGroups/{network_endpoint_group}\332A" + + "\036project,network_endpoint_group\212N\020Global" + + "Operations\022\274\003\n\026DetachNetworkEndpoints\022P." + + "google.cloud.compute.v1.DetachNetworkEnd" + + "pointsGlobalNetworkEndpointGroupRequest\032" + + "\".google.cloud.compute.v1.Operation\"\253\002\202\323" + + "\344\223\002\257\001\"k/compute/v1/projects/{project}/gl" + + "obal/networkEndpointGroups/{network_endp" + + "oint_group}/detachNetworkEndpoints:@glob" + + "al_network_endpoint_groups_detach_endpoi" + + "nts_request_resource\332A_project,network_e" + + "ndpoint_group,global_network_endpoint_gr" + + "oups_detach_endpoints_request_resource\212N" + + "\020GlobalOperations\022\362\001\n\003Get\022=.google.cloud" + + ".compute.v1.GetGlobalNetworkEndpointGrou" + + "pRequest\032-.google.cloud.compute.v1.Netwo" + + "rkEndpointGroup\"}\202\323\344\223\002V\022T/compute/v1/pro" + + "jects/{project}/global/networkEndpointGr" + + "oups/{network_endpoint_group}\332A\036project," + + "network_endpoint_group\022\222\002\n\006Insert\022@.goog" + + "le.cloud.compute.v1.InsertGlobalNetworkE" + + "ndpointGroupRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\241\001\202\323\344\223\002^\";/compute/v1/pr" + + "ojects/{project}/global/networkEndpointG" + + "roups:\037network_endpoint_group_resource\332A" + + "\'project,network_endpoint_group_resource" + + "\212N\020GlobalOperations\022\311\001\n\004List\022?.google.cl" + + "oud.compute.v1.ListGlobalNetworkEndpoint" + + "GroupsRequest\0321.google.cloud.compute.v1." + + "NetworkEndpointGroupList\"M\202\323\344\223\002=\022;/compu" + + "te/v1/projects/{project}/global/networkE" + + "ndpointGroups\332A\007project\022\300\002\n\024ListNetworkE" + + "ndpoints\022O.google.cloud.compute.v1.ListN" + + "etworkEndpointsGlobalNetworkEndpointGrou" + + "psRequest\032B.google.cloud.compute.v1.Netw" + + "orkEndpointGroupsListNetworkEndpoints\"\222\001" + + "\202\323\344\223\002k\"i/compute/v1/projects/{project}/g" + + "lobal/networkEndpointGroups/{network_end" + + "point_group}/listNetworkEndpoints\332A\036proj" + + "ect,network_endpoint_group\032r\312A\026compute.g" + + "oogleapis.com\322AVhttps://www.googleapis.c" + + "om/auth/compute,https://www.googleapis.c" + + "om/auth/cloud-platform2\320\010\n\020GlobalOperati" + + "ons\022\312\001\n\016AggregatedList\022>.google.cloud.co" + + "mpute.v1.AggregatedListGlobalOperationsR" + + "equest\0320.google.cloud.compute.v1.Operati" + + "onAggregatedList\"F\202\323\344\223\0026\0224/compute/v1/pr" + + "ojects/{project}/aggregated/operations\332A" + + "\007project\022\321\001\n\006Delete\0225.google.cloud.compu" + + "te.v1.DeleteGlobalOperationRequest\0326.goo" + + "gle.cloud.compute.v1.DeleteGlobalOperati" + + "onResponse\"X\202\323\344\223\002>*\022.google.c" + + "loud.compute.v1.GetGlobalOrganizationOpe" + + "rationRequest\032\".google.cloud.compute.v1." + + "Operation\"J\202\323\344\223\0025\0223/compute/v1/locations" + + "/global/operations/{operation}\332A\toperati" + + "on\220N\001\022\244\001\n\004List\022@.google.cloud.compute.v1" + + ".ListGlobalOrganizationOperationsRequest" + + "\032&.google.cloud.compute.v1.OperationList" + + "\"2\202\323\344\223\002)\022\'/compute/v1/locations/global/o" + + "perations\332A\000\032r\312A\026compute.googleapis.com\322" + + "AVhttps://www.googleapis.com/auth/comput" + + "e,https://www.googleapis.com/auth/cloud-" + + "platform2\321\013\n\035GlobalPublicDelegatedPrefix" + + "es\022\207\002\n\006Delete\022B.google.cloud.compute.v1." + + "DeleteGlobalPublicDelegatedPrefixeReques" + + "t\032\".google.cloud.compute.v1.Operation\"\224\001" + + "\202\323\344\223\002Y*W/compute/v1/projects/{project}/g" + + "lobal/publicDelegatedPrefixes/{public_de" + + "legated_prefix}\332A\037project,public_delegat" + + "ed_prefix\212N\020GlobalOperations\022\372\001\n\003Get\022?.g" + + "oogle.cloud.compute.v1.GetGlobalPublicDe" + + "legatedPrefixeRequest\032..google.cloud.com" + + "pute.v1.PublicDelegatedPrefix\"\201\001\202\323\344\223\002Y\022W" + + "/compute/v1/projects/{project}/global/pu" + + "blicDelegatedPrefixes/{public_delegated_" + + "prefix}\332A\037project,public_delegated_prefi" + + "x\022\230\002\n\006Insert\022B.google.cloud.compute.v1.I" + + "nsertGlobalPublicDelegatedPrefixeRequest" + + "\032\".google.cloud.compute.v1.Operation\"\245\001\202" + + "\323\344\223\002a\"=/compute/v1/projects/{project}/gl" + + "obal/publicDelegatedPrefixes: public_del" + + "egated_prefix_resource\332A(project,public_" + + "delegated_prefix_resource\212N\020GlobalOperat" + + "ions\022\316\001\n\004List\022A.google.cloud.compute.v1." + + "ListGlobalPublicDelegatedPrefixesRequest" + + "\0322.google.cloud.compute.v1.PublicDelegat" + + "edPrefixList\"O\202\323\344\223\002?\022=/compute/v1/projec" + + "ts/{project}/global/publicDelegatedPrefi" + + "xes\332A\007project\022\310\002\n\005Patch\022A.google.cloud.c" + + "ompute.v1.PatchGlobalPublicDelegatedPref" + + "ixeRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\327\001\202\323\344\223\002{2W/compute/v1/projects/{p" + + "roject}/global/publicDelegatedPrefixes/{" + + "public_delegated_prefix}: public_delegat" + + "ed_prefix_resource\332A@project,public_dele" + + "gated_prefix,public_delegated_prefix_res" + + "ource\212N\020GlobalOperations\032r\312A\026compute.goo" + + "gleapis.com\322AVhttps://www.googleapis.com" + + "/auth/compute,https://www.googleapis.com" + + "/auth/cloud-platform2\203\r\n\014HealthChecks\022\313\001" + + "\n\016AggregatedList\022:.google.cloud.compute." + + "v1.AggregatedListHealthChecksRequest\0323.g" + + "oogle.cloud.compute.v1.HealthChecksAggre" + + "gatedList\"H\202\323\344\223\0028\0226/compute/v1/projects/" + + "{project}/aggregated/healthChecks\332A\007proj" + + "ect\022\324\001\n\006Delete\0221.google.cloud.compute.v1" + + ".DeleteHealthCheckRequest\032\".google.cloud" + + ".compute.v1.Operation\"s\202\323\344\223\002C*A/compute/" + + "v1/projects/{project}/global/healthCheck" + + "s/{health_check}\332A\024project,health_check\212" + + "N\020GlobalOperations\022\275\001\n\003Get\022..google.clou" + + "d.compute.v1.GetHealthCheckRequest\032$.goo" + + "gle.cloud.compute.v1.HealthCheck\"`\202\323\344\223\002C" + + "\022A/compute/v1/projects/{project}/global/" + + "healthChecks/{health_check}\332A\024project,he" + + "alth_check\022\346\001\n\006Insert\0221.google.cloud.com" + + "pute.v1.InsertHealthCheckRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\204\001\202\323\344\223\002K\"2/" + + "compute/v1/projects/{project}/global/hea" + + "lthChecks:\025health_check_resource\332A\035proje" + + "ct,health_check_resource\212N\020GlobalOperati" + + "ons\022\250\001\n\004List\0220.google.cloud.compute.v1.L" + + "istHealthChecksRequest\032(.google.cloud.co" + + "mpute.v1.HealthCheckList\"D\202\323\344\223\0024\0222/compu" + + "te/v1/projects/{project}/global/healthCh" + + "ecks\332A\007project\022\200\002\n\005Patch\0220.google.cloud." + + "compute.v1.PatchHealthCheckRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\240\001\202\323\344\223\002Z2" + + "A/compute/v1/projects/{project}/global/h" + + "ealthChecks/{health_check}:\025health_check" + + "_resource\332A*project,health_check,health_" + + "check_resource\212N\020GlobalOperations\022\202\002\n\006Up" + + "date\0221.google.cloud.compute.v1.UpdateHea" + + "lthCheckRequest\032\".google.cloud.compute.v" + + "1.Operation\"\240\001\202\323\344\223\002Z\032A/compute/v1/projec" + + "ts/{project}/global/healthChecks/{health" + + "_check}:\025health_check_resource\332A*project" + + ",health_check,health_check_resource\212N\020Gl" + + "obalOperations\032r\312A\026compute.googleapis.co" + + "m\322AVhttps://www.googleapis.com/auth/comp" + + "ute,https://www.googleapis.com/auth/clou" + + "d-platform2\204\003\n\020ImageFamilyViews\022\310\001\n\003Get\022" + + "2.google.cloud.compute.v1.GetImageFamily" + + "ViewRequest\032(.google.cloud.compute.v1.Im" + + "ageFamilyView\"c\202\323\344\223\002G\022E/compute/v1/proje" + + "cts/{project}/zones/{zone}/imageFamilyVi" + + "ews/{family}\332A\023project,zone,family\032\244\001\312A\026" + + "compute.googleapis.com\322A\207\001https://www.go" + + "ogleapis.com/auth/compute.readonly,https" + "://www.googleapis.com/auth/compute,https" + "://www.googleapis.com/auth/cloud-platfor" - + "m2\321\013\n\035GlobalPublicDelegatedPrefixes\022\207\002\n\006" - + "Delete\022B.google.cloud.compute.v1.DeleteG" - + "lobalPublicDelegatedPrefixeRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\224\001\202\323\344\223\002Y*" - + "W/compute/v1/projects/{project}/global/p" - + "ublicDelegatedPrefixes/{public_delegated" - + "_prefix}\332A\037project,public_delegated_pref" - + "ix\212N\020GlobalOperations\022\372\001\n\003Get\022?.google.c" - + "loud.compute.v1.GetGlobalPublicDelegated" - + "PrefixeRequest\032..google.cloud.compute.v1" - + ".PublicDelegatedPrefix\"\201\001\202\323\344\223\002Y\022W/comput" - + "e/v1/projects/{project}/global/publicDel" - + "egatedPrefixes/{public_delegated_prefix}" - + "\332A\037project,public_delegated_prefix\022\230\002\n\006I" - + "nsert\022B.google.cloud.compute.v1.InsertGl" - + "obalPublicDelegatedPrefixeRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\245\001\202\323\344\223\002a\"=" - + "/compute/v1/projects/{project}/global/pu" - + "blicDelegatedPrefixes: public_delegated_" - + "prefix_resource\332A(project,public_delegat" - + "ed_prefix_resource\212N\020GlobalOperations\022\316\001" - + "\n\004List\022A.google.cloud.compute.v1.ListGlo" - + "balPublicDelegatedPrefixesRequest\0322.goog" - + "le.cloud.compute.v1.PublicDelegatedPrefi" - + "xList\"O\202\323\344\223\002?\022=/compute/v1/projects/{pro" - + "ject}/global/publicDelegatedPrefixes\332A\007p" - + "roject\022\310\002\n\005Patch\022A.google.cloud.compute." - + "v1.PatchGlobalPublicDelegatedPrefixeRequ" + + "m2\374\023\n\006Images\022\272\001\n\006Delete\022+.google.cloud.c" + + "ompute.v1.DeleteImageRequest\032\".google.cl" + + "oud.compute.v1.Operation\"_\202\323\344\223\0026*4/compu" + + "te/v1/projects/{project}/global/images/{" + + "image}\332A\rproject,image\212N\020GlobalOperation" + + "s\022\204\002\n\tDeprecate\022..google.cloud.compute.v" + + "1.DeprecateImageRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\242\001\202\323\344\223\002]\">/compute/v" + + "1/projects/{project}/global/images/{imag" + + "e}/deprecate:\033deprecation_status_resourc" + + "e\332A)project,image,deprecation_status_res" + + "ource\212N\020GlobalOperations\022\235\001\n\003Get\022(.googl" + + "e.cloud.compute.v1.GetImageRequest\032\036.goo" + + "gle.cloud.compute.v1.Image\"L\202\323\344\223\0026\0224/com" + + "pute/v1/projects/{project}/global/images" + + "/{image}\332A\rproject,image\022\272\001\n\rGetFromFami" + + "ly\0222.google.cloud.compute.v1.GetFromFami" + + "lyImageRequest\032\036.google.cloud.compute.v1" + + ".Image\"U\202\323\344\223\002>\022\",/comput" + + "e/v1/projects/{project}/global/images:\016i" + + "mage_resource\332A\026project,image_resource\212N" + + "\020GlobalOperations\022\226\001\n\004List\022*.google.clou" + + "d.compute.v1.ListImagesRequest\032\".google." + + "cloud.compute.v1.ImageList\">\202\323\344\223\002.\022,/com" + + "pute/v1/projects/{project}/global/images" + + "\332A\007project\022\327\001\n\005Patch\022*.google.cloud.comp" + + "ute.v1.PatchImageRequest\032\".google.cloud." + + "compute.v1.Operation\"~\202\323\344\223\002F24/compute/v" + + "1/projects/{project}/global/images/{imag" + + "e}:\016image_resource\332A\034project,image,image" + + "_resource\212N\020GlobalOperations\022\213\002\n\014SetIamP" + + "olicy\0221.google.cloud.compute.v1.SetIamPo" + + "licyImageRequest\032\037.google.cloud.compute." + + "v1.Policy\"\246\001\202\323\344\223\002j\"D/compute/v1/projects" + + "/{project}/global/images/{resource}/setI" + + "amPolicy:\"global_set_policy_request_reso" + + "urce\332A3project,resource,global_set_polic" + + "y_request_resource\022\230\002\n\tSetLabels\022..googl" + + "e.cloud.compute.v1.SetLabelsImageRequest" + + "\032\".google.cloud.compute.v1.Operation\"\266\001\202" + + "\323\344\223\002g\"A/compute/v1/projects/{project}/gl" + + "obal/images/{resource}/setLabels:\"global" + + "_set_labels_request_resource\332A3project,r" + + "esource,global_set_labels_request_resour" + + "ce\212N\020GlobalOperations\022\254\002\n\022TestIamPermiss" + + "ions\0227.google.cloud.compute.v1.TestIamPe" + + "rmissionsImageRequest\0320.google.cloud.com" + + "pute.v1.TestPermissionsResponse\"\252\001\202\323\344\223\002o" + + "\"J/compute/v1/projects/{project}/global/" + + "images/{resource}/testIamPermissions:!te" + + "st_permissions_request_resource\332A2projec" + + "t,resource,test_permissions_request_reso" + + "urce\032r\312A\026compute.googleapis.com\322AVhttps:" + + "//www.googleapis.com/auth/compute,https:" + + "//www.googleapis.com/auth/cloud-platform" + + "2\3438\n\025InstanceGroupManagers\022\241\003\n\020AbandonIn" + + "stances\022D.google.cloud.compute.v1.Abando" + + "nInstancesInstanceGroupManagerRequest\032\"." + + "google.cloud.compute.v1.Operation\"\242\002\202\323\344\223" + + "\002\251\001\"k/compute/v1/projects/{project}/zone" + + "s/{zone}/instanceGroupManagers/{instance" + + "_group_manager}/abandonInstances::instan" + + "ce_group_managers_abandon_instances_requ" + + "est_resource\332A^project,zone,instance_gro" + + "up_manager,instance_group_managers_aband" + + "on_instances_request_resource\212N\016ZoneOper" + + "ations\022\345\001\n\016AggregatedList\022C.google.cloud" + + ".compute.v1.AggregatedListInstanceGroupM" + + "anagersRequest\032;.google.cloud.compute.v1" + + ".InstanceGroupManagerAggregatedList\"Q\202\323\344" + + "\223\002A\022?/compute/v1/projects/{project}/aggr" + + "egated/instanceGroupManagers\332A\007project\022\256" + + "\003\n\027ApplyUpdatesToInstances\022K.google.clou" + + "d.compute.v1.ApplyUpdatesToInstancesInst" + + "anceGroupManagerRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\241\002\202\323\344\223\002\254\001\"r/compute/" + + "v1/projects/{project}/zones/{zone}/insta" + + "nceGroupManagers/{instance_group_manager" + + "}/applyUpdatesToInstances:6instance_grou" + + "p_managers_apply_updates_request_resourc" + + "e\332AZproject,zone,instance_group_manager," + + "instance_group_managers_apply_updates_re" + + "quest_resource\212N\016ZoneOperations\022\234\003\n\017Crea" + + "teInstances\022C.google.cloud.compute.v1.Cr" + + "eateInstancesInstanceGroupManagerRequest" + + "\032\".google.cloud.compute.v1.Operation\"\237\002\202" + + "\323\344\223\002\247\001\"j/compute/v1/projects/{project}/z" + + "ones/{zone}/instanceGroupManagers/{insta" + + "nce_group_manager}/createInstances:9inst" + + "ance_group_managers_create_instances_req" + + "uest_resource\332A]project,zone,instance_gr" + + "oup_manager,instance_group_managers_crea" + + "te_instances_request_resource\212N\016ZoneOper" + + "ations\022\204\002\n\006Delete\022:.google.cloud.compute" + + ".v1.DeleteInstanceGroupManagerRequest\032\"." + + "google.cloud.compute.v1.Operation\"\231\001\202\323\344\223" + + "\002\\*Z/compute/v1/projects/{project}/zones" + + "/{zone}/instanceGroupManagers/{instance_" + + "group_manager}\332A#project,zone,instance_g" + + "roup_manager\212N\016ZoneOperations\022\234\003\n\017Delete" + + "Instances\022C.google.cloud.compute.v1.Dele" + + "teInstancesInstanceGroupManagerRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\237\002\202\323\344" + + "\223\002\247\001\"j/compute/v1/projects/{project}/zon" + + "es/{zone}/instanceGroupManagers/{instanc" + + "e_group_manager}/deleteInstances:9instan" + + "ce_group_managers_delete_instances_reque" + + "st_resource\332A]project,zone,instance_grou" + + "p_manager,instance_group_managers_delete" + + "_instances_request_resource\212N\016ZoneOperat" + + "ions\022\305\003\n\030DeletePerInstanceConfigs\022L.goog" + + "le.cloud.compute.v1.DeletePerInstanceCon" + + "figsInstanceGroupManagerRequest\032\".google" + + ".cloud.compute.v1.Operation\"\266\002\202\323\344\223\002\267\001\"s/" + + "compute/v1/projects/{project}/zones/{zon" + + "e}/instanceGroupManagers/{instance_group" + + "_manager}/deletePerInstanceConfigs:@inst" + + "ance_group_managers_delete_per_instance_" + + "configs_req_resource\332Adproject,zone,inst" + + "ance_group_manager,instance_group_manage" + + "rs_delete_per_instance_configs_req_resou" + + "rce\212N\016ZoneOperations\022\370\001\n\003Get\0227.google.cl" + + "oud.compute.v1.GetInstanceGroupManagerRe" + + "quest\032-.google.cloud.compute.v1.Instance" + + "GroupManager\"\210\001\202\323\344\223\002\\\022Z/compute/v1/proje" + + "cts/{project}/zones/{zone}/instanceGroup", + "Managers/{instance_group_manager}\332A#proj" + + "ect,zone,instance_group_manager\022\225\002\n\006Inse" + + "rt\022:.google.cloud.compute.v1.InsertInsta" + + "nceGroupManagerRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\252\001\202\323\344\223\002d\"A/compute/v1" + + "/projects/{project}/zones/{zone}/instanc" + + "eGroupManagers:\037instance_group_manager_r" + + "esource\332A,project,zone,instance_group_ma" + + "nager_resource\212N\016ZoneOperations\022\316\001\n\004List" + + "\0229.google.cloud.compute.v1.ListInstanceG" + + "roupManagersRequest\0321.google.cloud.compu" + + "te.v1.InstanceGroupManagerList\"X\202\323\344\223\002C\022A" + + "/compute/v1/projects/{project}/zones/{zo" + + "ne}/instanceGroupManagers\332A\014project,zone" + + "\022\245\002\n\nListErrors\022?.google.cloud.compute.v" + + "1.ListErrorsInstanceGroupManagersRequest" + + "\032@.google.cloud.compute.v1.InstanceGroup" + + "ManagersListErrorsResponse\"\223\001\202\323\344\223\002g\022e/co" + + "mpute/v1/projects/{project}/zones/{zone}" + + "/instanceGroupManagers/{instance_group_m" + + "anager}/listErrors\332A#project,zone,instan" + + "ce_group_manager\022\315\002\n\024ListManagedInstance" + + "s\022I.google.cloud.compute.v1.ListManagedI" + + "nstancesInstanceGroupManagersRequest\032J.g" + + "oogle.cloud.compute.v1.InstanceGroupMana" + + "gersListManagedInstancesResponse\"\235\001\202\323\344\223\002" + + "q\"o/compute/v1/projects/{project}/zones/" + + "{zone}/instanceGroupManagers/{instance_g" + + "roup_manager}/listManagedInstances\332A#pro" + + "ject,zone,instance_group_manager\022\321\002\n\026Lis" + + "tPerInstanceConfigs\022K.google.cloud.compu" + + "te.v1.ListPerInstanceConfigsInstanceGrou" + + "pManagersRequest\032H.google.cloud.compute." + + "v1.InstanceGroupManagersListPerInstanceC" + + "onfigsResp\"\237\001\202\323\344\223\002s\"q/compute/v1/project" + + "s/{project}/zones/{zone}/instanceGroupMa" + + "nagers/{instance_group_manager}/listPerI" + + "nstanceConfigs\332A#project,zone,instance_g" + + "roup_manager\022\303\002\n\005Patch\0229.google.cloud.co" + + "mpute.v1.PatchInstanceGroupManagerReques" + + "t\032\".google.cloud.compute.v1.Operation\"\332\001" + + "\202\323\344\223\002}2Z/compute/v1/projects/{project}/z" + + "ones/{zone}/instanceGroupManagers/{insta" + + "nce_group_manager}:\037instance_group_manag" + + "er_resource\332ACproject,zone,instance_grou" + + "p_manager,instance_group_manager_resourc" + + "e\212N\016ZoneOperations\022\300\003\n\027PatchPerInstanceC" + + "onfigs\022K.google.cloud.compute.v1.PatchPe" + + "rInstanceConfigsInstanceGroupManagerRequ" + "est\032\".google.cloud.compute.v1.Operation\"" - + "\327\001\202\323\344\223\002{2W/compute/v1/projects/{project}" - + "/global/publicDelegatedPrefixes/{public_" - + "delegated_prefix}: public_delegated_pref" - + "ix_resource\332A@project,public_delegated_p" - + "refix,public_delegated_prefix_resource\212N" - + "\020GlobalOperations\032r\312A\026compute.googleapis" - + ".com\322AVhttps://www.googleapis.com/auth/c" - + "ompute,https://www.googleapis.com/auth/c" - + "loud-platform2\203\r\n\014HealthChecks\022\313\001\n\016Aggre" - + "gatedList\022:.google.cloud.compute.v1.Aggr" - + "egatedListHealthChecksRequest\0323.google.c" - + "loud.compute.v1.HealthChecksAggregatedLi" - + "st\"H\202\323\344\223\0028\0226/compute/v1/projects/{projec" - + "t}/aggregated/healthChecks\332A\007project\022\324\001\n" - + "\006Delete\0221.google.cloud.compute.v1.Delete" - + "HealthCheckRequest\032\".google.cloud.comput" - + "e.v1.Operation\"s\202\323\344\223\002C*A/compute/v1/proj" - + "ects/{project}/global/healthChecks/{heal" - + "th_check}\332A\024project,health_check\212N\020Globa" - + "lOperations\022\275\001\n\003Get\022..google.cloud.compu" - + "te.v1.GetHealthCheckRequest\032$.google.clo" - + "ud.compute.v1.HealthCheck\"`\202\323\344\223\002C\022A/comp" - + "ute/v1/projects/{project}/global/healthC" - + "hecks/{health_check}\332A\024project,health_ch" - + "eck\022\346\001\n\006Insert\0221.google.cloud.compute.v1" - + ".InsertHealthCheckRequest\032\".google.cloud" - + ".compute.v1.Operation\"\204\001\202\323\344\223\002K\"2/compute" - + "/v1/projects/{project}/global/healthChec" - + "ks:\025health_check_resource\332A\035project,heal" - + "th_check_resource\212N\020GlobalOperations\022\250\001\n" - + "\004List\0220.google.cloud.compute.v1.ListHeal" - + "thChecksRequest\032(.google.cloud.compute.v" - + "1.HealthCheckList\"D\202\323\344\223\0024\0222/compute/v1/p" - + "rojects/{project}/global/healthChecks\332A\007" - + "project\022\200\002\n\005Patch\0220.google.cloud.compute" - + ".v1.PatchHealthCheckRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\240\001\202\323\344\223\002Z2A/compu" - + "te/v1/projects/{project}/global/healthCh" - + "ecks/{health_check}:\025health_check_resour" - + "ce\332A*project,health_check,health_check_r" - + "esource\212N\020GlobalOperations\022\202\002\n\006Update\0221." - + "google.cloud.compute.v1.UpdateHealthChec" - + "kRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\240\001\202\323\344\223\002Z\032A/compute/v1/projects/{pro" - + "ject}/global/healthChecks/{health_check}" - + ":\025health_check_resource\332A*project,health" - + "_check,health_check_resource\212N\020GlobalOpe" - + "rations\032r\312A\026compute.googleapis.com\322AVhtt" - + "ps://www.googleapis.com/auth/compute,htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "orm2\204\003\n\020ImageFamilyViews\022\310\001\n\003Get\0222.googl" - + "e.cloud.compute.v1.GetImageFamilyViewReq" - + "uest\032(.google.cloud.compute.v1.ImageFami" - + "lyView\"c\202\323\344\223\002G\022E/compute/v1/projects/{pr" - + "oject}/zones/{zone}/imageFamilyViews/{fa" - + "mily}\332A\023project,zone,family\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-platform2\374\023\n\006I" - + "mages\022\272\001\n\006Delete\022+.google.cloud.compute." - + "v1.DeleteImageRequest\032\".google.cloud.com" - + "pute.v1.Operation\"_\202\323\344\223\0026*4/compute/v1/p" - + "rojects/{project}/global/images/{image}\332" - + "A\rproject,image\212N\020GlobalOperations\022\204\002\n\tD" - + "eprecate\022..google.cloud.compute.v1.Depre" - + "cateImageRequest\032\".google.cloud.compute." - + "v1.Operation\"\242\001\202\323\344\223\002]\">/compute/v1/proje" - + "cts/{project}/global/images/{image}/depr" - + "ecate:\033deprecation_status_resource\332A)pro" - + "ject,image,deprecation_status_resource\212N" - + "\020GlobalOperations\022\235\001\n\003Get\022(.google.cloud" - + ".compute.v1.GetImageRequest\032\036.google.clo" - + "ud.compute.v1.Image\"L\202\323\344\223\0026\0224/compute/v1" - + "/projects/{project}/global/images/{image" - + "}\332A\rproject,image\022\272\001\n\rGetFromFamily\0222.go" - + "ogle.cloud.compute.v1.GetFromFamilyImage" - + "Request\032\036.google.cloud.compute.v1.Image\"" - + "U\202\323\344\223\002>\022\",/compute/v1/pr" - + "ojects/{project}/global/images:\016image_re" - + "source\332A\026project,image_resource\212N\020Global" - + "Operations\022\226\001\n\004List\022*.google.cloud.compu" - + "te.v1.ListImagesRequest\032\".google.cloud.c" - + "ompute.v1.ImageList\">\202\323\344\223\002.\022,/compute/v1" - + "/projects/{project}/global/images\332A\007proj" - + "ect\022\327\001\n\005Patch\022*.google.cloud.compute.v1." - + "PatchImageRequest\032\".google.cloud.compute" - + ".v1.Operation\"~\202\323\344\223\002F24/compute/v1/proje" - + "cts/{project}/global/images/{image}:\016ima" - + "ge_resource\332A\034project,image,image_resour" - + "ce\212N\020GlobalOperations\022\213\002\n\014SetIamPolicy\0221" - + ".google.cloud.compute.v1.SetIamPolicyIma" - + "geRequest\032\037.google.cloud.compute.v1.Poli" - + "cy\"\246\001\202\323\344\223\002j\"D/compute/v1/projects/{proje" - + "ct}/global/images/{resource}/setIamPolic" + + "\263\002\202\323\344\223\002\265\001\"r/compute/v1/projects/{project" + + "}/zones/{zone}/instanceGroupManagers/{in" + + "stance_group_manager}/patchPerInstanceCo" + + "nfigs:?instance_group_managers_patch_per" + + "_instance_configs_req_resource\332Acproject" + + ",zone,instance_group_manager,instance_gr" + + "oup_managers_patch_per_instance_configs_" + + "req_resource\212N\016ZoneOperations\022\246\003\n\021Recrea" + + "teInstances\022E.google.cloud.compute.v1.Re" + + "createInstancesInstanceGroupManagerReque" + + "st\032\".google.cloud.compute.v1.Operation\"\245" + + "\002\202\323\344\223\002\253\001\"l/compute/v1/projects/{project}" + + "/zones/{zone}/instanceGroupManagers/{ins" + + "tance_group_manager}/recreateInstances:;" + + "instance_group_managers_recreate_instanc" + + "es_request_resource\332A_project,zone,insta" + + "nce_group_manager,instance_group_manager" + + "s_recreate_instances_request_resource\212N\016" + + "ZoneOperations\022\220\002\n\006Resize\022:.google.cloud" + + ".compute.v1.ResizeInstanceGroupManagerRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\245\001\202\323\344\223\002c\"a/compute/v1/projects/{projec" + + "t}/zones/{zone}/instanceGroupManagers/{i" + + "nstance_group_manager}/resize\332A(project," + + "zone,instance_group_manager,size\212N\016ZoneO" + + "perations\022\262\003\n\023SetInstanceTemplate\022G.goog" + + "le.cloud.compute.v1.SetInstanceTemplateI" + + "nstanceGroupManagerRequest\032\".google.clou" + + "d.compute.v1.Operation\"\255\002\202\323\344\223\002\260\001\"n/compu" + + "te/v1/projects/{project}/zones/{zone}/in" + + "stanceGroupManagers/{instance_group_mana" + + "ger}/setInstanceTemplate:>instance_group" + + "_managers_set_instance_template_request_" + + "resource\332Abproject,zone,instance_group_m" + + "anager,instance_group_managers_set_insta" + + "nce_template_request_resource\212N\016ZoneOper" + + "ations\022\231\003\n\016SetTargetPools\022B.google.cloud" + + ".compute.v1.SetTargetPoolsInstanceGroupM" + + "anagerRequest\032\".google.cloud.compute.v1." + + "Operation\"\236\002\202\323\344\223\002\246\001\"i/compute/v1/project" + + "s/{project}/zones/{zone}/instanceGroupMa" + + "nagers/{instance_group_manager}/setTarge" + + "tPools:9instance_group_managers_set_targ" + + "et_pools_request_resource\332A]project,zone" + + ",instance_group_manager,instance_group_m" + + "anagers_set_target_pools_request_resourc" + + "e\212N\016ZoneOperations\022\305\003\n\030UpdatePerInstance" + + "Configs\022L.google.cloud.compute.v1.Update" + + "PerInstanceConfigsInstanceGroupManagerRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\266\002\202\323\344\223\002\267\001\"s/compute/v1/projects/{proje" + + "ct}/zones/{zone}/instanceGroupManagers/{" + + "instance_group_manager}/updatePerInstanc" + + "eConfigs:@instance_group_managers_update" + + "_per_instance_configs_req_resource\332Adpro" + + "ject,zone,instance_group_manager,instanc" + + "e_group_managers_update_per_instance_con" + + "figs_req_resource\212N\016ZoneOperations\032r\312A\026c" + + "ompute.googleapis.com\322AVhttps://www.goog" + + "leapis.com/auth/compute,https://www.goog" + + "leapis.com/auth/cloud-platform2\360\024\n\016Insta" + + "nceGroups\022\337\002\n\014AddInstances\0229.google.clou" + + "d.compute.v1.AddInstancesInstanceGroupRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\357\001\202\323\344\223\002\212\001\"X/compute/v1/projects/{proje" + + "ct}/zones/{zone}/instanceGroups/{instanc" + + "e_group}/addInstances:.instance_groups_a" + + "dd_instances_request_resource\332AJproject," + + "zone,instance_group,instance_groups_add_" + + "instances_request_resource\212N\016ZoneOperati" + + "ons\022\320\001\n\016AggregatedList\022<.google.cloud.co" + + "mpute.v1.AggregatedListInstanceGroupsReq" + + "uest\0324.google.cloud.compute.v1.InstanceG" + + "roupAggregatedList\"J\202\323\344\223\002:\0228/compute/v1/" + + "projects/{project}/aggregated/instanceGr" + + "oups\332A\007project\022\346\001\n\006Delete\0223.google.cloud" + + ".compute.v1.DeleteInstanceGroupRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\202\001\202\323\344" + + "\223\002M*K/compute/v1/projects/{project}/zone" + + "s/{zone}/instanceGroups/{instance_group}" + + "\332A\033project,zone,instance_group\212N\016ZoneOpe" + + "rations\022\322\001\n\003Get\0220.google.cloud.compute.v" + + "1.GetInstanceGroupRequest\032&.google.cloud" + + ".compute.v1.InstanceGroup\"q\202\323\344\223\002M\022K/comp" + + "ute/v1/projects/{project}/zones/{zone}/i" + + "nstanceGroups/{instance_group}\332A\033project" + + ",zone,instance_group\022\367\001\n\006Insert\0223.google" + + ".cloud.compute.v1.InsertInstanceGroupReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\223\001\202\323\344\223\002U\":/compute/v1/projects/{project" + + "}/zones/{zone}/instanceGroups:\027instance_" + + "group_resource\332A$project,zone,instance_g" + + "roup_resource\212N\016ZoneOperations\022\271\001\n\004List\022" + + "2.google.cloud.compute.v1.ListInstanceGr" + + "oupsRequest\032*.google.cloud.compute.v1.In" + + "stanceGroupList\"Q\202\323\344\223\002<\022:/compute/v1/pro" + + "jects/{project}/zones/{zone}/instanceGro" + + "ups\332A\014project,zone\022\346\002\n\rListInstances\022;.g" + + "oogle.cloud.compute.v1.ListInstancesInst" + + "anceGroupsRequest\0324.google.cloud.compute" + + ".v1.InstanceGroupsListInstances\"\341\001\202\323\344\223\002\214" + + "\001\"Y/compute/v1/projects/{project}/zones/" + + "{zone}/instanceGroups/{instance_group}/l" + + "istInstances:/instance_groups_list_insta" + + "nces_request_resource\332AKproject,zone,ins" + + "tance_group,instance_groups_list_instanc" + + "es_request_resource\022\356\002\n\017RemoveInstances\022" + + "<.google.cloud.compute.v1.RemoveInstance" + + "sInstanceGroupRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\370\001\202\323\344\223\002\220\001\"[/compute/v1" + + "/projects/{project}/zones/{zone}/instanc" + + "eGroups/{instance_group}/removeInstances" + + ":1instance_groups_remove_instances_reque" + + "st_resource\332AMproject,zone,instance_grou" + + "p,instance_groups_remove_instances_reque" + + "st_resource\212N\016ZoneOperations\022\346\002\n\rSetName" + + "dPorts\022:.google.cloud.compute.v1.SetName" + + "dPortsInstanceGroupRequest\032\".google.clou" + + "d.compute.v1.Operation\"\364\001\202\323\344\223\002\215\001\"Y/compu" + + "te/v1/projects/{project}/zones/{zone}/in" + + "stanceGroups/{instance_group}/setNamedPo" + + "rts:0instance_groups_set_named_ports_req" + + "uest_resource\332ALproject,zone,instance_gr" + + "oup,instance_groups_set_named_ports_requ" + + "est_resource\212N\016ZoneOperations\032r\312A\026comput" + + "e.googleapis.com\322AVhttps://www.googleapi" + + "s.com/auth/compute,https://www.googleapi" + + "s.com/auth/cloud-platform2\310\016\n\021InstanceTe" + + "mplates\022\351\001\n\006Delete\0226.google.cloud.comput" + + "e.v1.DeleteInstanceTemplateRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\202\001\202\323\344\223\002M*" + + "K/compute/v1/projects/{project}/global/i" + + "nstanceTemplates/{instance_template}\332A\031p" + + "roject,instance_template\212N\020GlobalOperati" + + "ons\022\326\001\n\003Get\0223.google.cloud.compute.v1.Ge" + + "tInstanceTemplateRequest\032).google.cloud." + + "compute.v1.InstanceTemplate\"o\202\323\344\223\002M\022K/co" + + "mpute/v1/projects/{project}/global/insta" + + "nceTemplates/{instance_template}\332A\031proje" + + "ct,instance_template\022\331\001\n\014GetIamPolicy\022<." + + "google.cloud.compute.v1.GetIamPolicyInst" + + "anceTemplateRequest\032\037.google.cloud.compu" + + "te.v1.Policy\"j\202\323\344\223\002Q\022O/compute/v1/projec" + + "ts/{project}/global/instanceTemplates/{r" + + "esource}/getIamPolicy\332A\020project,resource" + + "\022\372\001\n\006Insert\0226.google.cloud.compute.v1.In" + + "sertInstanceTemplateRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\223\001\202\323\344\223\002U\"7/compu" + + "te/v1/projects/{project}/global/instance" + + "Templates:\032instance_template_resource\332A\"" + + "project,instance_template_resource\212N\020Glo" + + "balOperations\022\267\001\n\004List\0225.google.cloud.co" + + "mpute.v1.ListInstanceTemplatesRequest\032-." + + "google.cloud.compute.v1.InstanceTemplate" + + "List\"I\202\323\344\223\0029\0227/compute/v1/projects/{proj" + + "ect}/global/instanceTemplates\332A\007project\022" + + "\241\002\n\014SetIamPolicy\022<.google.cloud.compute." + + "v1.SetIamPolicyInstanceTemplateRequest\032\037" + + ".google.cloud.compute.v1.Policy\"\261\001\202\323\344\223\002u" + + "\"O/compute/v1/projects/{project}/global/" + + "instanceTemplates/{resource}/setIamPolic" + "y:\"global_set_policy_request_resource\332A3" + "project,resource,global_set_policy_reque" - + "st_resource\022\230\002\n\tSetLabels\022..google.cloud" - + ".compute.v1.SetLabelsImageRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\266\001\202\323\344\223\002g\"A" - + "/compute/v1/projects/{project}/global/im" - + "ages/{resource}/setLabels:\"global_set_la" - + "bels_request_resource\332A3project,resource" - + ",global_set_labels_request_resource\212N\020Gl" - + "obalOperations\022\254\002\n\022TestIamPermissions\0227." - + "google.cloud.compute.v1.TestIamPermissio" - + "nsImageRequest\0320.google.cloud.compute.v1" - + ".TestPermissionsResponse\"\252\001\202\323\344\223\002o\"J/comp" - + "ute/v1/projects/{project}/global/images/" - + "{resource}/testIamPermissions:!test_perm" - + "issions_request_resource\332A2project,resou" - + "rce,test_permissions_request_resource\032r\312" - + "A\026compute.googleapis.com\322AVhttps://www.g" - + "oogleapis.com/auth/compute,https://www.g" - + "oogleapis.com/auth/cloud-platform2\3438\n\025In" - + "stanceGroupManagers\022\241\003\n\020AbandonInstances" - + "\022D.google.cloud.compute.v1.AbandonInstan" - + "cesInstanceGroupManagerRequest\032\".google." - + "cloud.compute.v1.Operation\"\242\002\202\323\344\223\002\251\001\"k/c" - + "ompute/v1/projects/{project}/zones/{zone" - + "}/instanceGroupManagers/{instance_group_" - + "manager}/abandonInstances::instance_grou" - + "p_managers_abandon_instances_request_res" - + "ource\332A^project,zone,instance_group_mana" - + "ger,instance_group_managers_abandon_inst" - + "ances_request_resource\212N\016ZoneOperations\022" - + "\345\001\n\016AggregatedList\022C.google.cloud.comput" - + "e.v1.AggregatedListInstanceGroupManagers" - + "Request\032;.google.cloud.compute.v1.Instan" - + "ceGroupManagerAggregatedList\"Q\202\323\344\223\002A\022?/c" - + "ompute/v1/projects/{project}/aggregated/" - + "instanceGroupManagers\332A\007project\022\256\003\n\027Appl" - + "yUpdatesToInstances\022K.google.cloud.compu" - + "te.v1.ApplyUpdatesToInstancesInstanceGro" - + "upManagerRequest\032\".google.cloud.compute." - + "v1.Operation\"\241\002\202\323\344\223\002\254\001\"r/compute/v1/proj" - + "ects/{project}/zones/{zone}/instanceGrou" - + "pManagers/{instance_group_manager}/apply" - + "UpdatesToInstances:6instance_group_manag" - + "ers_apply_updates_request_resource\332AZpro" - + "ject,zone,instance_group_manager,instanc" - + "e_group_managers_apply_updates_request_r" - + "esource\212N\016ZoneOperations\022\234\003\n\017CreateInsta" - + "nces\022C.google.cloud.compute.v1.CreateIns" - + "tancesInstanceGroupManagerRequest\032\".goog" - + "le.cloud.compute.v1.Operation\"\237\002\202\323\344\223\002\247\001\"" - + "j/compute/v1/projects/{project}/zones/{z" - + "one}/instanceGroupManagers/{instance_gro" - + "up_manager}/createInstances:9instance_gr" - + "oup_managers_create_instances_request_re" - + "source\332A]project,zone,instance_group_man" - + "ager,instance_group_managers_create_inst" - + "ances_request_resource\212N\016ZoneOperations\022" - + "\204\002\n\006Delete\022:.google.cloud.compute.v1.Del" - + "eteInstanceGroupManagerRequest\032\".google." - + "cloud.compute.v1.Operation\"\231\001\202\323\344\223\002\\*Z/co" - + "mpute/v1/projects/{project}/zones/{zone}" - + "/instanceGroupManagers/{instance_group_m" - + "anager}\332A#project,zone,instance_group_ma" - + "nager\212N\016ZoneOperations\022\234\003\n\017DeleteInstanc" - + "es\022C.google.cloud.compute.v1.DeleteInsta" - + "ncesInstanceGroupManagerRequest\032\".google" - + ".cloud.compute.v1.Operation\"\237\002\202\323\344\223\002\247\001\"j/" - + "compute/v1/projects/{project}/zones/{zon" - + "e}/instanceGroupManagers/{instance_group" - + "_manager}/deleteInstances:9instance_grou" - + "p_managers_delete_instances_request_reso" - + "urce\332A]project,zone,instance_group_manag" - + "er,instance_group_managers_delete_instan" - + "ces_request_resource\212N\016ZoneOperations\022\305\003" - + "\n\030DeletePerInstanceConfigs\022L.google.clou" - + "d.compute.v1.DeletePerInstanceConfigsIns" - + "tanceGroupManagerRequest\032\".google.cloud." - + "compute.v1.Operation\"\266\002\202\323\344\223\002\267\001\"s/compute" - + "/v1/projects/{project}/zones/{zone}/inst" - + "anceGroupManagers/{instance_group_manage" - + "r}/deletePerInstanceConfigs:@instance_gr" - + "oup_managers_delete_per_instance_configs" - + "_req_resource\332Adproject,zone,instance_gr" - + "oup_manager,instance_group_managers_dele" - + "te_per_instance_configs_req_resource\212N\016Z" - + "oneOperations\022\370\001\n\003Get\0227.google.cloud.com" - + "pute.v1.GetInstanceGroupManagerRequest\032-" - + ".google.cloud.compute.v1.InstanceGroupMa" - + "nager\"\210\001\202\323\344\223\002\\\022Z/compute/v1/projects/{pr" - + "oject}/zones/{zone}/instanceGroupManager" - + "s/{instance_group_manager}\332A#project,zon" - + "e,instance_group_manager\022\225\002\n\006Insert\022:.go" - + "ogle.cloud.compute.v1.InsertInstanceGrou" - + "pManagerRequest\032\".google.cloud.compute.v" - + "1.Operation\"\252\001\202\323\344\223\002d\"A/compute/v1/projec" - + "ts/{project}/zones/{zone}/instanceGroupM" - + "anagers:\037instance_group_manager_resource" - + "\332A,project,zone,instance_group_manager_r" - + "esource\212N\016ZoneOperations\022\316\001\n\004List\0229.goog" - + "le.cloud.compute.v1.ListInstanceGroupMan" - + "agersRequest\0321.google.cloud.compute.v1.I" - + "nstanceGroupManagerList\"X\202\323\344\223\002C\022A/comput" - + "e/v1/projects/{project}/zones/{zone}/ins" - + "tanceGroupManagers\332A\014project,zone\022\245\002\n\nLi" - + "stErrors\022?.google.cloud.compute.v1.ListE" - + "rrorsInstanceGroupManagersRequest\032@.goog" - + "le.cloud.compute.v1.InstanceGroupManager" - + "sListErrorsResponse\"\223\001\202\323\344\223\002g\022e/compute/v" + + "st_resource\022\302\002\n\022TestIamPermissions\022B.goo" + + "gle.cloud.compute.v1.TestIamPermissionsI" + + "nstanceTemplateRequest\0320.google.cloud.co" + + "mpute.v1.TestPermissionsResponse\"\265\001\202\323\344\223\002" + + "z\"U/compute/v1/projects/{project}/global" + + "/instanceTemplates/{resource}/testIamPer" + + "missions:!test_permissions_request_resou" + + "rce\332A2project,resource,test_permissions_" + + "request_resource\032r\312A\026compute.googleapis." + + "com\322AVhttps://www.googleapis.com/auth/co" + + "mpute,https://www.googleapis.com/auth/cl" + + "oud-platform2\215b\n\tInstances\022\263\002\n\017AddAccess" + + "Config\0227.google.cloud.compute.v1.AddAcce" + + "ssConfigInstanceRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\302\001\202\323\344\223\002j\"P/compute/v" + "1/projects/{project}/zones/{zone}/instan" - + "ceGroupManagers/{instance_group_manager}" - + "/listErrors\332A#project,zone,instance_grou" - + "p_manager\022\315\002\n\024ListManagedInstances\022I.goo" - + "gle.cloud.compute.v1.ListManagedInstance" - + "sInstanceGroupManagersRequest\032J.google.c" - + "loud.compute.v1.InstanceGroupManagersLis" - + "tManagedInstancesResponse\"\235\001\202\323\344\223\002q\"o/com" - + "pute/v1/projects/{project}/zones/{zone}/" - + "instanceGroupManagers/{instance_group_ma" - + "nager}/listManagedInstances\332A#project,zo" - + "ne,instance_group_manager\022\321\002\n\026ListPerIns" - + "tanceConfigs\022K.google.cloud.compute.v1.L" - + "istPerInstanceConfigsInstanceGroupManage" - + "rsRequest\032H.google.cloud.compute.v1.Inst" - + "anceGroupManagersListPerInstanceConfigsR", - "esp\"\237\001\202\323\344\223\002s\"q/compute/v1/projects/{proj" - + "ect}/zones/{zone}/instanceGroupManagers/" - + "{instance_group_manager}/listPerInstance" - + "Configs\332A#project,zone,instance_group_ma" - + "nager\022\303\002\n\005Patch\0229.google.cloud.compute.v" - + "1.PatchInstanceGroupManagerRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\332\001\202\323\344\223\002}2" - + "Z/compute/v1/projects/{project}/zones/{z" - + "one}/instanceGroupManagers/{instance_gro" - + "up_manager}:\037instance_group_manager_reso" - + "urce\332ACproject,zone,instance_group_manag" - + "er,instance_group_manager_resource\212N\016Zon" - + "eOperations\022\300\003\n\027PatchPerInstanceConfigs\022" - + "K.google.cloud.compute.v1.PatchPerInstan" - + "ceConfigsInstanceGroupManagerRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\263\002\202\323\344\223\002" - + "\265\001\"r/compute/v1/projects/{project}/zones" - + "/{zone}/instanceGroupManagers/{instance_" - + "group_manager}/patchPerInstanceConfigs:?" - + "instance_group_managers_patch_per_instan" - + "ce_configs_req_resource\332Acproject,zone,i" - + "nstance_group_manager,instance_group_man" - + "agers_patch_per_instance_configs_req_res" - + "ource\212N\016ZoneOperations\022\246\003\n\021RecreateInsta" - + "nces\022E.google.cloud.compute.v1.RecreateI" - + "nstancesInstanceGroupManagerRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\245\002\202\323\344\223\002\253" - + "\001\"l/compute/v1/projects/{project}/zones/" - + "{zone}/instanceGroupManagers/{instance_g" - + "roup_manager}/recreateInstances:;instanc" - + "e_group_managers_recreate_instances_requ" - + "est_resource\332A_project,zone,instance_gro" - + "up_manager,instance_group_managers_recre" - + "ate_instances_request_resource\212N\016ZoneOpe" - + "rations\022\220\002\n\006Resize\022:.google.cloud.comput" - + "e.v1.ResizeInstanceGroupManagerRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\245\001\202\323\344" - + "\223\002c\"a/compute/v1/projects/{project}/zone" - + "s/{zone}/instanceGroupManagers/{instance" - + "_group_manager}/resize\332A(project,zone,in" - + "stance_group_manager,size\212N\016ZoneOperatio" - + "ns\022\262\003\n\023SetInstanceTemplate\022G.google.clou" - + "d.compute.v1.SetInstanceTemplateInstance" - + "GroupManagerRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\255\002\202\323\344\223\002\260\001\"n/compute/v1/p" - + "rojects/{project}/zones/{zone}/instanceG" - + "roupManagers/{instance_group_manager}/se" - + "tInstanceTemplate:>instance_group_manage" - + "rs_set_instance_template_request_resourc" - + "e\332Abproject,zone,instance_group_manager," - + "instance_group_managers_set_instance_tem" - + "plate_request_resource\212N\016ZoneOperations\022" - + "\231\003\n\016SetTargetPools\022B.google.cloud.comput" - + "e.v1.SetTargetPoolsInstanceGroupManagerR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\236\002\202\323\344\223\002\246\001\"i/compute/v1/projects/{proj" - + "ect}/zones/{zone}/instanceGroupManagers/" - + "{instance_group_manager}/setTargetPools:" - + "9instance_group_managers_set_target_pool" - + "s_request_resource\332A]project,zone,instan" - + "ce_group_manager,instance_group_managers" - + "_set_target_pools_request_resource\212N\016Zon" - + "eOperations\022\305\003\n\030UpdatePerInstanceConfigs" - + "\022L.google.cloud.compute.v1.UpdatePerInst" - + "anceConfigsInstanceGroupManagerRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\266\002\202\323\344" - + "\223\002\267\001\"s/compute/v1/projects/{project}/zon" - + "es/{zone}/instanceGroupManagers/{instanc" - + "e_group_manager}/updatePerInstanceConfig" - + "s:@instance_group_managers_update_per_in" - + "stance_configs_req_resource\332Adproject,zo" - + "ne,instance_group_manager,instance_group" - + "_managers_update_per_instance_configs_re" - + "q_resource\212N\016ZoneOperations\032r\312A\026compute." - + "googleapis.com\322AVhttps://www.googleapis." - + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\360\024\n\016InstanceGrou" - + "ps\022\337\002\n\014AddInstances\0229.google.cloud.compu" - + "te.v1.AddInstancesInstanceGroupRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\357\001\202\323\344" - + "\223\002\212\001\"X/compute/v1/projects/{project}/zon" - + "es/{zone}/instanceGroups/{instance_group" - + "}/addInstances:.instance_groups_add_inst" - + "ances_request_resource\332AJproject,zone,in" - + "stance_group,instance_groups_add_instanc" - + "es_request_resource\212N\016ZoneOperations\022\320\001\n" - + "\016AggregatedList\022<.google.cloud.compute.v" - + "1.AggregatedListInstanceGroupsRequest\0324." - + "google.cloud.compute.v1.InstanceGroupAgg" - + "regatedList\"J\202\323\344\223\002:\0228/compute/v1/project" - + "s/{project}/aggregated/instanceGroups\332A\007" - + "project\022\346\001\n\006Delete\0223.google.cloud.comput" - + "e.v1.DeleteInstanceGroupRequest\032\".google" - + ".cloud.compute.v1.Operation\"\202\001\202\323\344\223\002M*K/c" - + "ompute/v1/projects/{project}/zones/{zone" - + "}/instanceGroups/{instance_group}\332A\033proj" - + "ect,zone,instance_group\212N\016ZoneOperations" - + "\022\322\001\n\003Get\0220.google.cloud.compute.v1.GetIn" - + "stanceGroupRequest\032&.google.cloud.comput" - + "e.v1.InstanceGroup\"q\202\323\344\223\002M\022K/compute/v1/" + + "ces/{instance}/addAccessConfig:\026access_c" + + "onfig_resource\332A>project,zone,instance,n" + + "etwork_interface,access_config_resource\212" + + "N\016ZoneOperations\022\342\002\n\023AddResourcePolicies" + + "\022;.google.cloud.compute.v1.AddResourcePo" + + "liciesInstanceRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\351\001\202\323\344\223\002\210\001\"T/compute/v1" + + "/projects/{project}/zones/{zone}/instanc" + + "es/{instance}/addResourcePolicies:0insta" + + "nces_add_resource_policies_request_resou" + + "rce\332AFproject,zone,instance,instances_ad" + + "d_resource_policies_request_resource\212N\016Z" + + "oneOperations\022\301\001\n\016AggregatedList\0227.googl" + + "e.cloud.compute.v1.AggregatedListInstanc" + + "esRequest\032/.google.cloud.compute.v1.Inst" + + "anceAggregatedList\"E\202\323\344\223\0025\0223/compute/v1/" + + "projects/{project}/aggregated/instances\332" + + "A\007project\022\222\002\n\nAttachDisk\0222.google.cloud." + + "compute.v1.AttachDiskInstanceRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\253\001\202\323\344\223\002" + + "e\"K/compute/v1/projects/{project}/zones/" + + "{zone}/instances/{instance}/attachDisk:\026" + + "attached_disk_resource\332A,project,zone,in" + + "stance,attached_disk_resource\212N\016ZoneOper" + + "ations\022\236\002\n\nBulkInsert\0222.google.cloud.com" + + "pute.v1.BulkInsertInstanceRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\267\001\202\323\344\223\002j\"@" + + "/compute/v1/projects/{project}/zones/{zo" + + "ne}/instances/bulkInsert:&bulk_insert_in" + + "stance_resource_resource\332A3project,zone," + + "bulk_insert_instance_resource_resource\212N" + + "\016ZoneOperations\022\317\001\n\006Delete\022..google.clou" + + "d.compute.v1.DeleteInstanceRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"q\202\323\344\223\002B*@" + + "/compute/v1/projects/{project}/zones/{zo" + + "ne}/instances/{instance}\332A\025project,zone," + + "instance\212N\016ZoneOperations\022\233\002\n\022DeleteAcce" + + "ssConfig\022:.google.cloud.compute.v1.Delet" + + "eAccessConfigInstanceRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\244\001\202\323\344\223\002U\"S/comp" + + "ute/v1/projects/{project}/zones/{zone}/i" + + "nstances/{instance}/deleteAccessConfig\332A" + + "5project,zone,instance,access_config,net" + + "work_interface\212N\016ZoneOperations\022\357\001\n\nDeta" + + "chDisk\0222.google.cloud.compute.v1.DetachD" + + "iskInstanceRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\210\001\202\323\344\223\002M\"K/compute/v1/pro" + + "jects/{project}/zones/{zone}/instances/{" + + "instance}/detachDisk\332A!project,zone,inst" + + "ance,device_name\212N\016ZoneOperations\022\267\001\n\003Ge" + + "t\022+.google.cloud.compute.v1.GetInstanceR" + + "equest\032!.google.cloud.compute.v1.Instanc" + + "e\"`\202\323\344\223\002B\022@/compute/v1/projects/{project" + + "}/zones/{zone}/instances/{instance}\332A\025pr" + + "oject,zone,instance\022\242\002\n\025GetEffectiveFire" + + "walls\022=.google.cloud.compute.v1.GetEffec" + + "tiveFirewallsInstanceRequest\032?.google.cl" + + "oud.compute.v1.InstancesGetEffectiveFire" + + "wallsResponse\"\210\001\202\323\344\223\002X\022V/compute/v1/proj" + + "ects/{project}/zones/{zone}/instances/{i" + + "nstance}/getEffectiveFirewalls\332A\'project" + + ",zone,instance,network_interface\022\357\001\n\022Get" + + "GuestAttributes\022:.google.cloud.compute.v" + + "1.GetGuestAttributesInstanceRequest\032(.go" + + "ogle.cloud.compute.v1.GuestAttributes\"s\202" + + "\323\344\223\002U\022S/compute/v1/projects/{project}/zo" + + "nes/{zone}/instances/{instance}/getGuest" + + "Attributes\332A\025project,zone,instance\022\324\001\n\014G" + + "etIamPolicy\0224.google.cloud.compute.v1.Ge" + + "tIamPolicyInstanceRequest\032\037.google.cloud" + + ".compute.v1.Policy\"m\202\323\344\223\002O\022M/compute/v1/" + "projects/{project}/zones/{zone}/instance" - + "Groups/{instance_group}\332A\033project,zone,i" - + "nstance_group\022\367\001\n\006Insert\0223.google.cloud." - + "compute.v1.InsertInstanceGroupRequest\032\"." - + "google.cloud.compute.v1.Operation\"\223\001\202\323\344\223" - + "\002U\":/compute/v1/projects/{project}/zones" - + "/{zone}/instanceGroups:\027instance_group_r" - + "esource\332A$project,zone,instance_group_re" - + "source\212N\016ZoneOperations\022\271\001\n\004List\0222.googl" - + "e.cloud.compute.v1.ListInstanceGroupsReq" - + "uest\032*.google.cloud.compute.v1.InstanceG" - + "roupList\"Q\202\323\344\223\002<\022:/compute/v1/projects/{" - + "project}/zones/{zone}/instanceGroups\332A\014p" - + "roject,zone\022\346\002\n\rListInstances\022;.google.c" - + "loud.compute.v1.ListInstancesInstanceGro" - + "upsRequest\0324.google.cloud.compute.v1.Ins" - + "tanceGroupsListInstances\"\341\001\202\323\344\223\002\214\001\"Y/com" + + "s/{resource}/getIamPolicy\332A\025project,zone" + + ",resource\022\330\001\n\rGetScreenshot\0225.google.clo" + + "ud.compute.v1.GetScreenshotInstanceReque" + + "st\032#.google.cloud.compute.v1.Screenshot\"" + + "k\202\323\344\223\002M\022K/compute/v1/projects/{project}/" + + "zones/{zone}/instances/{instance}/screen" + + "shot\332A\025project,zone,instance\022\352\001\n\023GetSeri" + + "alPortOutput\022;.google.cloud.compute.v1.G" + + "etSerialPortOutputInstanceRequest\032).goog" + + "le.cloud.compute.v1.SerialPortOutput\"k\202\323" + + "\344\223\002M\022K/compute/v1/projects/{project}/zon" + + "es/{zone}/instances/{instance}/serialPor" + + "t\332A\025project,zone,instance\022\223\002\n\033GetShielde" + + "dInstanceIdentity\022C.google.cloud.compute" + + ".v1.GetShieldedInstanceIdentityInstanceR" + + "equest\0321.google.cloud.compute.v1.Shielde" + + "dInstanceIdentity\"|\202\323\344\223\002^\022\\/compute/v1/p" + + "rojects/{project}/zones/{zone}/instances" + + "/{instance}/getShieldedInstanceIdentity\332" + + "A\025project,zone,instance\022\341\001\n\006Insert\022..goo" + + "gle.cloud.compute.v1.InsertInstanceReque" + + "st\032\".google.cloud.compute.v1.Operation\"\202" + + "\001\202\323\344\223\002J\"5/compute/v1/projects/{project}/" + + "zones/{zone}/instances:\021instance_resourc" + + "e\332A\036project,zone,instance_resource\212N\016Zon" + + "eOperations\022\252\001\n\004List\022-.google.cloud.comp" + + "ute.v1.ListInstancesRequest\032%.google.clo" + + "ud.compute.v1.InstanceList\"L\202\323\344\223\0027\0225/com" + "pute/v1/projects/{project}/zones/{zone}/" - + "instanceGroups/{instance_group}/listInst" - + "ances:/instance_groups_list_instances_re" - + "quest_resource\332AKproject,zone,instance_g" - + "roup,instance_groups_list_instances_requ" - + "est_resource\022\356\002\n\017RemoveInstances\022<.googl" - + "e.cloud.compute.v1.RemoveInstancesInstan" - + "ceGroupRequest\032\".google.cloud.compute.v1" - + ".Operation\"\370\001\202\323\344\223\002\220\001\"[/compute/v1/projec" - + "ts/{project}/zones/{zone}/instanceGroups" - + "/{instance_group}/removeInstances:1insta" - + "nce_groups_remove_instances_request_reso" - + "urce\332AMproject,zone,instance_group,insta" - + "nce_groups_remove_instances_request_reso" - + "urce\212N\016ZoneOperations\022\346\002\n\rSetNamedPorts\022" - + ":.google.cloud.compute.v1.SetNamedPortsI" - + "nstanceGroupRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\364\001\202\323\344\223\002\215\001\"Y/compute/v1/p" - + "rojects/{project}/zones/{zone}/instanceG" - + "roups/{instance_group}/setNamedPorts:0in" - + "stance_groups_set_named_ports_request_re" - + "source\332ALproject,zone,instance_group,ins" - + "tance_groups_set_named_ports_request_res" - + "ource\212N\016ZoneOperations\032r\312A\026compute.googl" - + "eapis.com\322AVhttps://www.googleapis.com/a" - + "uth/compute,https://www.googleapis.com/a" - + "uth/cloud-platform2\310\016\n\021InstanceTemplates" - + "\022\351\001\n\006Delete\0226.google.cloud.compute.v1.De" - + "leteInstanceTemplateRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\202\001\202\323\344\223\002M*K/compu" - + "te/v1/projects/{project}/global/instance" - + "Templates/{instance_template}\332A\031project," - + "instance_template\212N\020GlobalOperations\022\326\001\n" - + "\003Get\0223.google.cloud.compute.v1.GetInstan" - + "ceTemplateRequest\032).google.cloud.compute" - + ".v1.InstanceTemplate\"o\202\323\344\223\002M\022K/compute/v" - + "1/projects/{project}/global/instanceTemp" - + "lates/{instance_template}\332A\031project,inst" - + "ance_template\022\331\001\n\014GetIamPolicy\022<.google." - + "cloud.compute.v1.GetIamPolicyInstanceTem" - + "plateRequest\032\037.google.cloud.compute.v1.P" - + "olicy\"j\202\323\344\223\002Q\022O/compute/v1/projects/{pro" - + "ject}/global/instanceTemplates/{resource" - + "}/getIamPolicy\332A\020project,resource\022\372\001\n\006In" - + "sert\0226.google.cloud.compute.v1.InsertIns" - + "tanceTemplateRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\223\001\202\323\344\223\002U\"7/compute/v1/p" - + "rojects/{project}/global/instanceTemplat" - + "es:\032instance_template_resource\332A\"project" - + ",instance_template_resource\212N\020GlobalOper" - + "ations\022\267\001\n\004List\0225.google.cloud.compute.v" - + "1.ListInstanceTemplatesRequest\032-.google." - + "cloud.compute.v1.InstanceTemplateList\"I\202" - + "\323\344\223\0029\0227/compute/v1/projects/{project}/gl" - + "obal/instanceTemplates\332A\007project\022\241\002\n\014Set" - + "IamPolicy\022<.google.cloud.compute.v1.SetI" - + "amPolicyInstanceTemplateRequest\032\037.google" - + ".cloud.compute.v1.Policy\"\261\001\202\323\344\223\002u\"O/comp" - + "ute/v1/projects/{project}/global/instanc" - + "eTemplates/{resource}/setIamPolicy:\"glob" - + "al_set_policy_request_resource\332A3project" - + ",resource,global_set_policy_request_reso" - + "urce\022\302\002\n\022TestIamPermissions\022B.google.clo" - + "ud.compute.v1.TestIamPermissionsInstance" - + "TemplateRequest\0320.google.cloud.compute.v" - + "1.TestPermissionsResponse\"\265\001\202\323\344\223\002z\"U/com" - + "pute/v1/projects/{project}/global/instan" - + "ceTemplates/{resource}/testIamPermission" - + "s:!test_permissions_request_resource\332A2p" - + "roject,resource,test_permissions_request" - + "_resource\032r\312A\026compute.googleapis.com\322AVh" - + "ttps://www.googleapis.com/auth/compute,h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform2\215b\n\tInstances\022\263\002\n\017AddAccessConfig\022" - + "7.google.cloud.compute.v1.AddAccessConfi" - + "gInstanceRequest\032\".google.cloud.compute." - + "v1.Operation\"\302\001\202\323\344\223\002j\"P/compute/v1/proje" - + "cts/{project}/zones/{zone}/instances/{in" - + "stance}/addAccessConfig:\026access_config_r" - + "esource\332A>project,zone,instance,network_" - + "interface,access_config_resource\212N\016ZoneO" - + "perations\022\342\002\n\023AddResourcePolicies\022;.goog" - + "le.cloud.compute.v1.AddResourcePoliciesI" - + "nstanceRequest\032\".google.cloud.compute.v1" - + ".Operation\"\351\001\202\323\344\223\002\210\001\"T/compute/v1/projec" - + "ts/{project}/zones/{zone}/instances/{ins" - + "tance}/addResourcePolicies:0instances_ad" - + "d_resource_policies_request_resource\332AFp" - + "roject,zone,instance,instances_add_resou" - + "rce_policies_request_resource\212N\016ZoneOper" - + "ations\022\301\001\n\016AggregatedList\0227.google.cloud" - + ".compute.v1.AggregatedListInstancesReque" - + "st\032/.google.cloud.compute.v1.InstanceAgg" - + "regatedList\"E\202\323\344\223\0025\0223/compute/v1/project" - + "s/{project}/aggregated/instances\332A\007proje" - + "ct\022\222\002\n\nAttachDisk\0222.google.cloud.compute" - + ".v1.AttachDiskInstanceRequest\032\".google.c" - + "loud.compute.v1.Operation\"\253\001\202\323\344\223\002e\"K/com" + + "instances\332A\014project,zone\022\343\001\n\rListReferre" + + "rs\0226.google.cloud.compute.v1.ListReferre" + + "rsInstancesRequest\032..google.cloud.comput" + + "e.v1.InstanceListReferrers\"j\202\323\344\223\002L\022J/com" + "pute/v1/projects/{project}/zones/{zone}/" - + "instances/{instance}/attachDisk:\026attache" - + "d_disk_resource\332A,project,zone,instance," - + "attached_disk_resource\212N\016ZoneOperations\022" - + "\236\002\n\nBulkInsert\0222.google.cloud.compute.v1" - + ".BulkInsertInstanceRequest\032\".google.clou" - + "d.compute.v1.Operation\"\267\001\202\323\344\223\002j\"@/comput" - + "e/v1/projects/{project}/zones/{zone}/ins" - + "tances/bulkInsert:&bulk_insert_instance_" - + "resource_resource\332A3project,zone,bulk_in" - + "sert_instance_resource_resource\212N\016ZoneOp" - + "erations\022\317\001\n\006Delete\022..google.cloud.compu" - + "te.v1.DeleteInstanceRequest\032\".google.clo" - + "ud.compute.v1.Operation\"q\202\323\344\223\002B*@/comput" + + "instances/{instance}/referrers\332A\025project" + + ",zone,instance\022\361\002\n\026RemoveResourcePolicie" + + "s\022>.google.cloud.compute.v1.RemoveResour" + + "cePoliciesInstanceRequest\032\".google.cloud" + + ".compute.v1.Operation\"\362\001\202\323\344\223\002\216\001\"W/comput" + "e/v1/projects/{project}/zones/{zone}/ins" - + "tances/{instance}\332A\025project,zone,instanc" - + "e\212N\016ZoneOperations\022\233\002\n\022DeleteAccessConfi" - + "g\022:.google.cloud.compute.v1.DeleteAccess" - + "ConfigInstanceRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\244\001\202\323\344\223\002U\"S/compute/v1/" - + "projects/{project}/zones/{zone}/instance" - + "s/{instance}/deleteAccessConfig\332A5projec" - + "t,zone,instance,access_config,network_in" - + "terface\212N\016ZoneOperations\022\357\001\n\nDetachDisk\022" - + "2.google.cloud.compute.v1.DetachDiskInst" - + "anceRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\210\001\202\323\344\223\002M\"K/compute/v1/projects/{" - + "project}/zones/{zone}/instances/{instanc" - + "e}/detachDisk\332A!project,zone,instance,de" - + "vice_name\212N\016ZoneOperations\022\267\001\n\003Get\022+.goo" - + "gle.cloud.compute.v1.GetInstanceRequest\032" - + "!.google.cloud.compute.v1.Instance\"`\202\323\344\223" - + "\002B\022@/compute/v1/projects/{project}/zones" - + "/{zone}/instances/{instance}\332A\025project,z" - + "one,instance\022\242\002\n\025GetEffectiveFirewalls\022=" - + ".google.cloud.compute.v1.GetEffectiveFir" - + "ewallsInstanceRequest\032?.google.cloud.com" - + "pute.v1.InstancesGetEffectiveFirewallsRe" - + "sponse\"\210\001\202\323\344\223\002X\022V/compute/v1/projects/{p" - + "roject}/zones/{zone}/instances/{instance" - + "}/getEffectiveFirewalls\332A\'project,zone,i" - + "nstance,network_interface\022\357\001\n\022GetGuestAt" - + "tributes\022:.google.cloud.compute.v1.GetGu" - + "estAttributesInstanceRequest\032(.google.cl" - + "oud.compute.v1.GuestAttributes\"s\202\323\344\223\002U\022S" - + "/compute/v1/projects/{project}/zones/{zo" - + "ne}/instances/{instance}/getGuestAttribu" - + "tes\332A\025project,zone,instance\022\324\001\n\014GetIamPo" - + "licy\0224.google.cloud.compute.v1.GetIamPol" - + "icyInstanceRequest\032\037.google.cloud.comput" - + "e.v1.Policy\"m\202\323\344\223\002O\022M/compute/v1/project" - + "s/{project}/zones/{zone}/instances/{reso" - + "urce}/getIamPolicy\332A\025project,zone,resour" - + "ce\022\330\001\n\rGetScreenshot\0225.google.cloud.comp" - + "ute.v1.GetScreenshotInstanceRequest\032#.go" - + "ogle.cloud.compute.v1.Screenshot\"k\202\323\344\223\002M" - + "\022K/compute/v1/projects/{project}/zones/{" - + "zone}/instances/{instance}/screenshot\332A\025" - + "project,zone,instance\022\352\001\n\023GetSerialPortO" - + "utput\022;.google.cloud.compute.v1.GetSeria" - + "lPortOutputInstanceRequest\032).google.clou" - + "d.compute.v1.SerialPortOutput\"k\202\323\344\223\002M\022K/" - + "compute/v1/projects/{project}/zones/{zon" - + "e}/instances/{instance}/serialPort\332A\025pro" - + "ject,zone,instance\022\223\002\n\033GetShieldedInstan" - + "ceIdentity\022C.google.cloud.compute.v1.Get" - + "ShieldedInstanceIdentityInstanceRequest\032" - + "1.google.cloud.compute.v1.ShieldedInstan" - + "ceIdentity\"|\202\323\344\223\002^\022\\/compute/v1/projects" - + "/{project}/zones/{zone}/instances/{insta" - + "nce}/getShieldedInstanceIdentity\332A\025proje" - + "ct,zone,instance\022\341\001\n\006Insert\022..google.clo" - + "ud.compute.v1.InsertInstanceRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\202\001\202\323\344\223\002J" - + "\"5/compute/v1/projects/{project}/zones/{" - + "zone}/instances:\021instance_resource\332A\036pro" - + "ject,zone,instance_resource\212N\016ZoneOperat" - + "ions\022\252\001\n\004List\022-.google.cloud.compute.v1." - + "ListInstancesRequest\032%.google.cloud.comp" - + "ute.v1.InstanceList\"L\202\323\344\223\0027\0225/compute/v1" - + "/projects/{project}/zones/{zone}/instanc" - + "es\332A\014project,zone\022\343\001\n\rListReferrers\0226.go" - + "ogle.cloud.compute.v1.ListReferrersInsta" - + "ncesRequest\032..google.cloud.compute.v1.In" - + "stanceListReferrers\"j\202\323\344\223\002L\022J/compute/v1" - + "/projects/{project}/zones/{zone}/instanc" - + "es/{instance}/referrers\332A\025project,zone,i" - + "nstance\022\361\002\n\026RemoveResourcePolicies\022>.goo" - + "gle.cloud.compute.v1.RemoveResourcePolic" - + "iesInstanceRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\362\001\202\323\344\223\002\216\001\"W/compute/v1/pr" + + "tances/{instance}/removeResourcePolicies" + + ":3instances_remove_resource_policies_req" + + "uest_resource\332AIproject,zone,instance,in" + + "stances_remove_resource_policies_request" + + "_resource\212N\016ZoneOperations\022\323\001\n\005Reset\022-.g" + + "oogle.cloud.compute.v1.ResetInstanceRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "w\202\323\344\223\002H\"F/compute/v1/projects/{project}/" + + "zones/{zone}/instances/{instance}/reset\332" + + "A\025project,zone,instance\212N\016ZoneOperations" + + "\022\326\001\n\006Resume\022..google.cloud.compute.v1.Re" + + "sumeInstanceRequest\032\".google.cloud.compu" + + "te.v1.Operation\"x\202\323\344\223\002I\"G/compute/v1/pro" + + "jects/{project}/zones/{zone}/instances/{" + + "instance}/resume\332A\025project,zone,instance" + + "\212N\016ZoneOperations\022\226\002\n\027SendDiagnosticInte" + + "rrupt\022?.google.cloud.compute.v1.SendDiag" + + "nosticInterruptInstanceRequest\032@.google." + + "cloud.compute.v1.SendDiagnosticInterrupt" + + "InstanceResponse\"x\202\323\344\223\002Z\"X/compute/v1/pr" + "ojects/{project}/zones/{zone}/instances/" - + "{instance}/removeResourcePolicies:3insta" - + "nces_remove_resource_policies_request_re" - + "source\332AIproject,zone,instance,instances" - + "_remove_resource_policies_request_resour" - + "ce\212N\016ZoneOperations\022\323\001\n\005Reset\022-.google.c" - + "loud.compute.v1.ResetInstanceRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"w\202\323\344\223\002H" - + "\"F/compute/v1/projects/{project}/zones/{" - + "zone}/instances/{instance}/reset\332A\025proje" - + "ct,zone,instance\212N\016ZoneOperations\022\326\001\n\006Re" - + "sume\022..google.cloud.compute.v1.ResumeIns" - + "tanceRequest\032\".google.cloud.compute.v1.O" - + "peration\"x\202\323\344\223\002I\"G/compute/v1/projects/{" - + "project}/zones/{zone}/instances/{instanc" - + "e}/resume\332A\025project,zone,instance\212N\016Zone" - + "Operations\022\226\002\n\027SendDiagnosticInterrupt\022?" - + ".google.cloud.compute.v1.SendDiagnosticI" - + "nterruptInstanceRequest\032@.google.cloud.c" - + "ompute.v1.SendDiagnosticInterruptInstanc" - + "eResponse\"x\202\323\344\223\002Z\"X/compute/v1/projects/" - + "{project}/zones/{zone}/instances/{instan" - + "ce}/sendDiagnosticInterrupt\332A\025project,zo" - + "ne,instance\022\204\002\n\025SetDeletionProtection\022=." - + "google.cloud.compute.v1.SetDeletionProte" - + "ctionInstanceRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\207\001\202\323\344\223\002X\"V/compute/v1/p" - + "rojects/{project}/zones/{zone}/instances" - + "/{resource}/setDeletionProtection\332A\025proj" - + "ect,zone,resource\212N\016ZoneOperations\022\220\002\n\021S" - + "etDiskAutoDelete\0229.google.cloud.compute." - + "v1.SetDiskAutoDeleteInstanceRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\233\001\202\323\344\223\002T" - + "\"R/compute/v1/projects/{project}/zones/{" - + "zone}/instances/{instance}/setDiskAutoDe" - + "lete\332A-project,zone,instance,auto_delete" - + ",device_name\212N\016ZoneOperations\022\230\002\n\014SetIam" - + "Policy\0224.google.cloud.compute.v1.SetIamP" - + "olicyInstanceRequest\032\037.google.cloud.comp" - + "ute.v1.Policy\"\260\001\202\323\344\223\002q\"M/compute/v1/proj" - + "ects/{project}/zones/{zone}/instances/{r" - + "esource}/setIamPolicy: zone_set_policy_r" - + "equest_resource\332A6project,zone,resource," - + "zone_set_policy_request_resource\022\255\002\n\tSet" - + "Labels\0221.google.cloud.compute.v1.SetLabe" - + "lsInstanceRequest\032\".google.cloud.compute" - + ".v1.Operation\"\310\001\202\323\344\223\002s\"J/compute/v1/proj" - + "ects/{project}/zones/{zone}/instances/{i" - + "nstance}/setLabels:%instances_set_labels" - + "_request_resource\332A;project,zone,instanc" - + "e,instances_set_labels_request_resource\212" - + "N\016ZoneOperations\022\342\002\n\023SetMachineResources" - + "\022;.google.cloud.compute.v1.SetMachineRes" - + "ourcesInstanceRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\351\001\202\323\344\223\002\210\001\"T/compute/v1" - + "/projects/{project}/zones/{zone}/instanc" - + "es/{instance}/setMachineResources:0insta" - + "nces_set_machine_resources_request_resou" - + "rce\332AFproject,zone,instance,instances_se" - + "t_machine_resources_request_resource\212N\016Z" - + "oneOperations\022\310\002\n\016SetMachineType\0226.googl" - + "e.cloud.compute.v1.SetMachineTypeInstanc" - + "eRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"\331\001\202\323\344\223\002~\"O/compute/v1/projects/{pro" - + "ject}/zones/{zone}/instances/{instance}/" - + "setMachineType:+instances_set_machine_ty" - + "pe_request_resource\332AAproject,zone,insta" - + "nce,instances_set_machine_type_request_r" - + "esource\212N\016ZoneOperations\022\213\002\n\013SetMetadata" - + "\0223.google.cloud.compute.v1.SetMetadataIn" - + "stanceRequest\032\".google.cloud.compute.v1." - + "Operation\"\242\001\202\323\344\223\002a\"L/compute/v1/projects" - + "/{project}/zones/{zone}/instances/{insta" - + "nce}/setMetadata:\021metadata_resource\332A\'pr" - + "oject,zone,instance,metadata_resource\212N\016" - + "ZoneOperations\022\332\002\n\021SetMinCpuPlatform\0229.g" - + "oogle.cloud.compute.v1.SetMinCpuPlatform" + + "{instance}/sendDiagnosticInterrupt\332A\025pro" + + "ject,zone,instance\022\204\002\n\025SetDeletionProtec" + + "tion\022=.google.cloud.compute.v1.SetDeleti" + + "onProtectionInstanceRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\207\001\202\323\344\223\002X\"V/compu" + + "te/v1/projects/{project}/zones/{zone}/in" + + "stances/{resource}/setDeletionProtection" + + "\332A\025project,zone,resource\212N\016ZoneOperation" + + "s\022\220\002\n\021SetDiskAutoDelete\0229.google.cloud.c" + + "ompute.v1.SetDiskAutoDeleteInstanceReque" + + "st\032\".google.cloud.compute.v1.Operation\"\233" + + "\001\202\323\344\223\002T\"R/compute/v1/projects/{project}/" + + "zones/{zone}/instances/{instance}/setDis" + + "kAutoDelete\332A-project,zone,instance,auto" + + "_delete,device_name\212N\016ZoneOperations\022\230\002\n" + + "\014SetIamPolicy\0224.google.cloud.compute.v1." + + "SetIamPolicyInstanceRequest\032\037.google.clo" + + "ud.compute.v1.Policy\"\260\001\202\323\344\223\002q\"M/compute/" + + "v1/projects/{project}/zones/{zone}/insta" + + "nces/{resource}/setIamPolicy: zone_set_p" + + "olicy_request_resource\332A6project,zone,re" + + "source,zone_set_policy_request_resource\022" + + "\255\002\n\tSetLabels\0221.google.cloud.compute.v1." + + "SetLabelsInstanceRequest\032\".google.cloud." + + "compute.v1.Operation\"\310\001\202\323\344\223\002s\"J/compute/" + + "v1/projects/{project}/zones/{zone}/insta" + + "nces/{instance}/setLabels:%instances_set" + + "_labels_request_resource\332A;project,zone," + + "instance,instances_set_labels_request_re" + + "source\212N\016ZoneOperations\022\342\002\n\023SetMachineRe" + + "sources\022;.google.cloud.compute.v1.SetMac" + + "hineResourcesInstanceRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\351\001\202\323\344\223\002\210\001\"T/com" + + "pute/v1/projects/{project}/zones/{zone}/" + + "instances/{instance}/setMachineResources" + + ":0instances_set_machine_resources_reques" + + "t_resource\332AFproject,zone,instance,insta" + + "nces_set_machine_resources_request_resou", + "rce\212N\016ZoneOperations\022\310\002\n\016SetMachineType\022" + + "6.google.cloud.compute.v1.SetMachineType" + "InstanceRequest\032\".google.cloud.compute.v" - + "1.Operation\"\345\001\202\323\344\223\002\205\001\"R/compute/v1/proje" - + "cts/{project}/zones/{zone}/instances/{in" - + "stance}/setMinCpuPlatform:/instances_set" - + "_min_cpu_platform_request_resource\332AEpro" - + "ject,zone,instance,instances_set_min_cpu" - + "_platform_request_resource\212N\016ZoneOperati" - + "ons\022\225\002\n\rSetScheduling\0225.google.cloud.com" - + "pute.v1.SetSchedulingInstanceRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\250\001\202\323\344\223\002" - + "e\"N/compute/v1/projects/{project}/zones/" - + "{zone}/instances/{instance}/setSchedulin" - + "g:\023scheduling_resource\332A)project,zone,in" - + "stance,scheduling_resource\212N\016ZoneOperati" - + "ons\022\330\002\n\021SetServiceAccount\0229.google.cloud" - + ".compute.v1.SetServiceAccountInstanceReq" - + "uest\032\".google.cloud.compute.v1.Operation", - "\"\343\001\202\323\344\223\002\204\001\"R/compute/v1/projects/{projec" - + "t}/zones/{zone}/instances/{instance}/set" - + "ServiceAccount:.instances_set_service_ac" - + "count_request_resource\332ADproject,zone,in" - + "stance,instances_set_service_account_req" - + "uest_resource\212N\016ZoneOperations\022\205\003\n\"SetSh" - + "ieldedInstanceIntegrityPolicy\022J.google.c" - + "loud.compute.v1.SetShieldedInstanceInteg" - + "rityPolicyInstanceRequest\032\".google.cloud" - + ".compute.v1.Operation\"\356\001\202\323\344\223\002\222\0012c/comput" - + "e/v1/projects/{project}/zones/{zone}/ins" - + "tances/{instance}/setShieldedInstanceInt" - + "egrityPolicy:+shielded_instance_integrit" - + "y_policy_resource\332AAproject,zone,instanc" - + "e,shielded_instance_integrity_policy_res" - + "ource\212N\016ZoneOperations\022\367\001\n\007SetTags\022/.goo" - + "gle.cloud.compute.v1.SetTagsInstanceRequ" + + "1.Operation\"\331\001\202\323\344\223\002~\"O/compute/v1/projec" + + "ts/{project}/zones/{zone}/instances/{ins" + + "tance}/setMachineType:+instances_set_mac" + + "hine_type_request_resource\332AAproject,zon" + + "e,instance,instances_set_machine_type_re" + + "quest_resource\212N\016ZoneOperations\022\213\002\n\013SetM" + + "etadata\0223.google.cloud.compute.v1.SetMet" + + "adataInstanceRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\242\001\202\323\344\223\002a\"L/compute/v1/p" + + "rojects/{project}/zones/{zone}/instances" + + "/{instance}/setMetadata:\021metadata_resour" + + "ce\332A\'project,zone,instance,metadata_reso" + + "urce\212N\016ZoneOperations\022\332\002\n\021SetMinCpuPlatf" + + "orm\0229.google.cloud.compute.v1.SetMinCpuP" + + "latformInstanceRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\345\001\202\323\344\223\002\205\001\"R/compute/v" + + "1/projects/{project}/zones/{zone}/instan" + + "ces/{instance}/setMinCpuPlatform:/instan" + + "ces_set_min_cpu_platform_request_resourc" + + "e\332AEproject,zone,instance,instances_set_" + + "min_cpu_platform_request_resource\212N\016Zone" + + "Operations\022\225\002\n\rSetScheduling\0225.google.cl" + + "oud.compute.v1.SetSchedulingInstanceRequ" + "est\032\".google.cloud.compute.v1.Operation\"" - + "\226\001\202\323\344\223\002Y\"H/compute/v1/projects/{project}" - + "/zones/{zone}/instances/{instance}/setTa" - + "gs:\rtags_resource\332A#project,zone,instanc" - + "e,tags_resource\212N\016ZoneOperations\022\215\002\n\030Sim" - + "ulateMaintenanceEvent\022@.google.cloud.com" - + "pute.v1.SimulateMaintenanceEventInstance" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\212\001\202\323\344\223\002[\"Y/compute/v1/projects/{proj" + + "\250\001\202\323\344\223\002e\"N/compute/v1/projects/{project}" + + "/zones/{zone}/instances/{instance}/setSc" + + "heduling:\023scheduling_resource\332A)project," + + "zone,instance,scheduling_resource\212N\016Zone" + + "Operations\022\330\002\n\021SetServiceAccount\0229.googl" + + "e.cloud.compute.v1.SetServiceAccountInst" + + "anceRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\343\001\202\323\344\223\002\204\001\"R/compute/v1/projects/" + + "{project}/zones/{zone}/instances/{instan" + + "ce}/setServiceAccount:.instances_set_ser" + + "vice_account_request_resource\332ADproject," + + "zone,instance,instances_set_service_acco" + + "unt_request_resource\212N\016ZoneOperations\022\205\003" + + "\n\"SetShieldedInstanceIntegrityPolicy\022J.g" + + "oogle.cloud.compute.v1.SetShieldedInstan" + + "ceIntegrityPolicyInstanceRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\356\001\202\323\344\223\002\222\0012c" + + "/compute/v1/projects/{project}/zones/{zo" + + "ne}/instances/{instance}/setShieldedInst" + + "anceIntegrityPolicy:+shielded_instance_i" + + "ntegrity_policy_resource\332AAproject,zone," + + "instance,shielded_instance_integrity_pol" + + "icy_resource\212N\016ZoneOperations\022\367\001\n\007SetTag" + + "s\022/.google.cloud.compute.v1.SetTagsInsta" + + "nceRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\226\001\202\323\344\223\002Y\"H/compute/v1/projects/{p" + + "roject}/zones/{zone}/instances/{instance" + + "}/setTags:\rtags_resource\332A#project,zone," + + "instance,tags_resource\212N\016ZoneOperations\022" + + "\215\002\n\030SimulateMaintenanceEvent\022@.google.cl" + + "oud.compute.v1.SimulateMaintenanceEventI" + + "nstanceRequest\032\".google.cloud.compute.v1" + + ".Operation\"\212\001\202\323\344\223\002[\"Y/compute/v1/project" + + "s/{project}/zones/{zone}/instances/{inst" + + "ance}/simulateMaintenanceEvent\332A\025project" + + ",zone,instance\212N\016ZoneOperations\022\323\001\n\005Star" + + "t\022-.google.cloud.compute.v1.StartInstanc" + + "eRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"w\202\323\344\223\002H\"F/compute/v1/projects/{proj" + "ect}/zones/{zone}/instances/{instance}/s" - + "imulateMaintenanceEvent\332A\025project,zone,i" - + "nstance\212N\016ZoneOperations\022\323\001\n\005Start\022-.goo" - + "gle.cloud.compute.v1.StartInstanceReques" - + "t\032\".google.cloud.compute.v1.Operation\"w\202" - + "\323\344\223\002H\"F/compute/v1/projects/{project}/zo" - + "nes/{zone}/instances/{instance}/start\332A\025" - + "project,zone,instance\212N\016ZoneOperations\022\363" - + "\002\n\026StartWithEncryptionKey\022>.google.cloud" - + ".compute.v1.StartWithEncryptionKeyInstan" - + "ceRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\364\001\202\323\344\223\002\217\001\"W/compute/v1/projects/{p" + + "tart\332A\025project,zone,instance\212N\016ZoneOpera" + + "tions\022\363\002\n\026StartWithEncryptionKey\022>.googl" + + "e.cloud.compute.v1.StartWithEncryptionKe" + + "yInstanceRequest\032\".google.cloud.compute." + + "v1.Operation\"\364\001\202\323\344\223\002\217\001\"W/compute/v1/proj" + + "ects/{project}/zones/{zone}/instances/{i" + + "nstance}/startWithEncryptionKey:4instanc" + + "es_start_with_encryption_key_request_res" + + "ource\332AJproject,zone,instance,instances_" + + "start_with_encryption_key_request_resour" + + "ce\212N\016ZoneOperations\022\320\001\n\004Stop\022,.google.cl" + + "oud.compute.v1.StopInstanceRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"v\202\323\344\223\002G\"E" + + "/compute/v1/projects/{project}/zones/{zo" + + "ne}/instances/{instance}/stop\332A\025project," + + "zone,instance\212N\016ZoneOperations\022\331\001\n\007Suspe" + + "nd\022/.google.cloud.compute.v1.SuspendInst" + + "anceRequest\032\".google.cloud.compute.v1.Op" + + "eration\"y\202\323\344\223\002J\"H/compute/v1/projects/{p" + "roject}/zones/{zone}/instances/{instance" - + "}/startWithEncryptionKey:4instances_star" - + "t_with_encryption_key_request_resource\332A" - + "Jproject,zone,instance,instances_start_w" - + "ith_encryption_key_request_resource\212N\016Zo" - + "neOperations\022\320\001\n\004Stop\022,.google.cloud.com" - + "pute.v1.StopInstanceRequest\032\".google.clo" - + "ud.compute.v1.Operation\"v\202\323\344\223\002G\"E/comput" - + "e/v1/projects/{project}/zones/{zone}/ins" - + "tances/{instance}/stop\332A\025project,zone,in" - + "stance\212N\016ZoneOperations\022\331\001\n\007Suspend\022/.go" - + "ogle.cloud.compute.v1.SuspendInstanceReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"y\202\323\344\223\002J\"H/compute/v1/projects/{project}" - + "/zones/{zone}/instances/{instance}/suspe" - + "nd\332A\025project,zone,instance\212N\016ZoneOperati" - + "ons\022\275\002\n\022TestIamPermissions\022:.google.clou" - + "d.compute.v1.TestIamPermissionsInstanceR" - + "equest\0320.google.cloud.compute.v1.TestPer" - + "missionsResponse\"\270\001\202\323\344\223\002x\"S/compute/v1/p" - + "rojects/{project}/zones/{zone}/instances" - + "/{resource}/testIamPermissions:!test_per" - + "missions_request_resource\332A7project,zone" - + ",resource,test_permissions_request_resou" - + "rce\022\365\001\n\006Update\022..google.cloud.compute.v1" - + ".UpdateInstanceRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\226\001\202\323\344\223\002U\032@/compute/v1" + + "}/suspend\332A\025project,zone,instance\212N\016Zone" + + "Operations\022\275\002\n\022TestIamPermissions\022:.goog" + + "le.cloud.compute.v1.TestIamPermissionsIn" + + "stanceRequest\0320.google.cloud.compute.v1." + + "TestPermissionsResponse\"\270\001\202\323\344\223\002x\"S/compu" + + "te/v1/projects/{project}/zones/{zone}/in" + + "stances/{resource}/testIamPermissions:!t" + + "est_permissions_request_resource\332A7proje" + + "ct,zone,resource,test_permissions_reques" + + "t_resource\022\365\001\n\006Update\022..google.cloud.com" + + "pute.v1.UpdateInstanceRequest\032\".google.c" + + "loud.compute.v1.Operation\"\226\001\202\323\344\223\002U\032@/com" + + "pute/v1/projects/{project}/zones/{zone}/" + + "instances/{instance}:\021instance_resource\332" + + "A\'project,zone,instance,instance_resourc" + + "e\212N\016ZoneOperations\022\274\002\n\022UpdateAccessConfi" + + "g\022:.google.cloud.compute.v1.UpdateAccess" + + "ConfigInstanceRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\305\001\202\323\344\223\002m\"S/compute/v1/" + + "projects/{project}/zones/{zone}/instance" + + "s/{instance}/updateAccessConfig:\026access_" + + "config_resource\332A>project,zone,instance," + + "network_interface,access_config_resource" + + "\212N\016ZoneOperations\022\257\002\n\023UpdateDisplayDevic" + + "e\022;.google.cloud.compute.v1.UpdateDispla" + + "yDeviceInstanceRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\266\001\202\323\344\223\002o2T/compute/v1" + "/projects/{project}/zones/{zone}/instanc" - + "es/{instance}:\021instance_resource\332A\'proje" - + "ct,zone,instance,instance_resource\212N\016Zon" - + "eOperations\022\274\002\n\022UpdateAccessConfig\022:.goo" - + "gle.cloud.compute.v1.UpdateAccessConfigI" + + "es/{instance}/updateDisplayDevice:\027displ" + + "ay_device_resource\332A-project,zone,instan" + + "ce,display_device_resource\212N\016ZoneOperati" + + "ons\022\320\002\n\026UpdateNetworkInterface\022>.google." + + "cloud.compute.v1.UpdateNetworkInterfaceI" + "nstanceRequest\032\".google.cloud.compute.v1" - + ".Operation\"\305\001\202\323\344\223\002m\"S/compute/v1/project" + + ".Operation\"\321\001\202\323\344\223\002u2W/compute/v1/project" + "s/{project}/zones/{zone}/instances/{inst" - + "ance}/updateAccessConfig:\026access_config_" - + "resource\332A>project,zone,instance,network" - + "_interface,access_config_resource\212N\016Zone" - + "Operations\022\257\002\n\023UpdateDisplayDevice\022;.goo" - + "gle.cloud.compute.v1.UpdateDisplayDevice" - + "InstanceRequest\032\".google.cloud.compute.v" - + "1.Operation\"\266\001\202\323\344\223\002o2T/compute/v1/projec" - + "ts/{project}/zones/{zone}/instances/{ins" - + "tance}/updateDisplayDevice:\027display_devi" - + "ce_resource\332A-project,zone,instance,disp" - + "lay_device_resource\212N\016ZoneOperations\022\320\002\n" - + "\026UpdateNetworkInterface\022>.google.cloud.c" - + "ompute.v1.UpdateNetworkInterfaceInstance" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\321\001\202\323\344\223\002u2W/compute/v1/projects/{proj" - + "ect}/zones/{zone}/instances/{instance}/u" - + "pdateNetworkInterface:\032network_interface" - + "_resource\332ABproject,zone,instance,networ" - + "k_interface,network_interface_resource\212N" - + "\016ZoneOperations\022\337\002\n\034UpdateShieldedInstan" - + "ceConfig\022D.google.cloud.compute.v1.Updat" - + "eShieldedInstanceConfigInstanceRequest\032\"" - + ".google.cloud.compute.v1.Operation\"\324\001\202\323\344" - + "\223\002\202\0012]/compute/v1/projects/{project}/zon" - + "es/{zone}/instances/{instance}/updateShi" - + "eldedInstanceConfig:!shielded_instance_c" - + "onfig_resource\332A7project,zone,instance,s" - + "hielded_instance_config_resource\212N\016ZoneO" - + "perations\032r\312A\026compute.googleapis.com\322AVh" + + "ance}/updateNetworkInterface:\032network_in" + + "terface_resource\332ABproject,zone,instance" + + ",network_interface,network_interface_res" + + "ource\212N\016ZoneOperations\022\337\002\n\034UpdateShielde" + + "dInstanceConfig\022D.google.cloud.compute.v" + + "1.UpdateShieldedInstanceConfigInstanceRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\324\001\202\323\344\223\002\202\0012]/compute/v1/projects/{proje" + + "ct}/zones/{zone}/instances/{instance}/up" + + "dateShieldedInstanceConfig:!shielded_ins" + + "tance_config_resource\332A7project,zone,ins" + + "tance,shielded_instance_config_resource\212" + + "N\016ZoneOperations\032r\312A\026compute.googleapis." + + "com\322AVhttps://www.googleapis.com/auth/co" + + "mpute,https://www.googleapis.com/auth/cl" + + "oud-platform2\363\r\n\027InterconnectAttachments" + + "\022\353\001\n\016AggregatedList\022E.google.cloud.compu" + + "te.v1.AggregatedListInterconnectAttachme" + + "ntsRequest\032=.google.cloud.compute.v1.Int" + + "erconnectAttachmentAggregatedList\"S\202\323\344\223\002" + + "C\022A/compute/v1/projects/{project}/aggreg" + + "ated/interconnectAttachments\332A\007project\022\222" + + "\002\n\006Delete\022<.google.cloud.compute.v1.Dele" + + "teInterconnectAttachmentRequest\032\".google" + + ".cloud.compute.v1.Operation\"\245\001\202\323\344\223\002c*a/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/interconnectAttachments/{interconn" + + "ect_attachment}\332A&project,region,interco" + + "nnect_attachment\212N\020RegionOperations\022\206\002\n\003" + + "Get\0229.google.cloud.compute.v1.GetInterco" + + "nnectAttachmentRequest\032/.google.cloud.co" + + "mpute.v1.InterconnectAttachment\"\222\001\202\323\344\223\002c" + + "\022a/compute/v1/projects/{project}/regions" + + "/{region}/interconnectAttachments/{inter" + + "connect_attachment}\332A&project,region,int" + + "erconnect_attachment\022\243\002\n\006Insert\022<.google" + + ".cloud.compute.v1.InsertInterconnectAtta" + + "chmentRequest\032\".google.cloud.compute.v1." + + "Operation\"\266\001\202\323\344\223\002k\"G/compute/v1/projects" + + "/{project}/regions/{region}/interconnect" + + "Attachments: interconnect_attachment_res" + + "ource\332A/project,region,interconnect_atta" + + "chment_resource\212N\020RegionOperations\022\332\001\n\004L" + + "ist\022;.google.cloud.compute.v1.ListInterc" + + "onnectAttachmentsRequest\0323.google.cloud." + + "compute.v1.InterconnectAttachmentList\"`\202" + + "\323\344\223\002I\022G/compute/v1/projects/{project}/re" + + "gions/{region}/interconnectAttachments\332A" + + "\016project,region\022\324\002\n\005Patch\022;.google.cloud" + + ".compute.v1.PatchInterconnectAttachmentR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\351\001\202\323\344\223\002\205\0012a/compute/v1/projects/{proj" + + "ect}/regions/{region}/interconnectAttach" + + "ments/{interconnect_attachment}: interco" + + "nnect_attachment_resource\332AGproject,regi" + + "on,interconnect_attachment,interconnect_" + + "attachment_resource\212N\020RegionOperations\032r" + + "\312A\026compute.googleapis.com\322AVhttps://www." + + "googleapis.com/auth/compute,https://www." + + "googleapis.com/auth/cloud-platform2\361\004\n\025I" + + "nterconnectLocations\022\352\001\n\003Get\0227.google.cl" + + "oud.compute.v1.GetInterconnectLocationRe" + + "quest\032-.google.cloud.compute.v1.Intercon" + + "nectLocation\"{\202\323\344\223\002U\022S/compute/v1/projec" + + "ts/{project}/global/interconnectLocation" + + "s/{interconnect_location}\332A\035project,inte" + + "rconnect_location\022\303\001\n\004List\0229.google.clou" + + "d.compute.v1.ListInterconnectLocationsRe" + + "quest\0321.google.cloud.compute.v1.Intercon" + + "nectLocationList\"M\202\323\344\223\002=\022;/compute/v1/pr" + + "ojects/{project}/global/interconnectLoca" + + "tions\332A\007project\032\244\001\312A\026compute.googleapis." + + "com\322A\207\001https://www.googleapis.com/auth/c" + + "ompute.readonly,https://www.googleapis.c" + + "om/auth/compute,https://www.googleapis.c" + + "om/auth/cloud-platform2\274\013\n\rInterconnects" + + "\022\326\001\n\006Delete\0222.google.cloud.compute.v1.De" + + "leteInterconnectRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"t\202\323\344\223\002D*B/compute/v1" + + "/projects/{project}/global/interconnects" + + "/{interconnect}\332A\024project,interconnect\212N" + + "\020GlobalOperations\022\300\001\n\003Get\022/.google.cloud" + + ".compute.v1.GetInterconnectRequest\032%.goo" + + "gle.cloud.compute.v1.Interconnect\"a\202\323\344\223\002" + + "D\022B/compute/v1/projects/{project}/global" + + "/interconnects/{interconnect}\332A\024project," + + "interconnect\022\374\001\n\016GetDiagnostics\022:.google" + + ".cloud.compute.v1.GetDiagnosticsIntercon" + + "nectRequest\032<.google.cloud.compute.v1.In" + + "terconnectsGetDiagnosticsResponse\"p\202\323\344\223\002" + + "S\022Q/compute/v1/projects/{project}/global" + + "/interconnects/{interconnect}/getDiagnos" + + "tics\332A\024project,interconnect\022\350\001\n\006Insert\0222" + + ".google.cloud.compute.v1.InsertInterconn" + + "ectRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\205\001\202\323\344\223\002L\"3/compute/v1/projects/{p" + + "roject}/global/interconnects:\025interconne" + + "ct_resource\332A\035project,interconnect_resou" + + "rce\212N\020GlobalOperations\022\253\001\n\004List\0221.google" + + ".cloud.compute.v1.ListInterconnectsReque" + + "st\032).google.cloud.compute.v1.Interconnec" + + "tList\"E\202\323\344\223\0025\0223/compute/v1/projects/{pro" + + "ject}/global/interconnects\332A\007project\022\202\002\n" + + "\005Patch\0221.google.cloud.compute.v1.PatchIn" + + "terconnectRequest\032\".google.cloud.compute" + + ".v1.Operation\"\241\001\202\323\344\223\002[2B/compute/v1/proj" + + "ects/{project}/global/interconnects/{int" + + "erconnect}:\025interconnect_resource\332A*proj" + + "ect,interconnect,interconnect_resource\212N" + + "\020GlobalOperations\032r\312A\026compute.googleapis" + + ".com\322AVhttps://www.googleapis.com/auth/c" + + "ompute,https://www.googleapis.com/auth/c" + + "loud-platform2\260\005\n\014LicenseCodes\022\275\001\n\003Get\022." + + ".google.cloud.compute.v1.GetLicenseCodeR" + + "equest\032$.google.cloud.compute.v1.License" + + "Code\"`\202\323\344\223\002C\022A/compute/v1/projects/{proj" + + "ect}/global/licenseCodes/{license_code}\332" + + "A\024project,license_code\022\270\002\n\022TestIamPermis" + + "sions\022=.google.cloud.compute.v1.TestIamP" + + "ermissionsLicenseCodeRequest\0320.google.cl" + + "oud.compute.v1.TestPermissionsResponse\"\260" + + "\001\202\323\344\223\002u\"P/compute/v1/projects/{project}/" + + "global/licenseCodes/{resource}/testIamPe" + + "rmissions:!test_permissions_request_reso" + + "urce\332A2project,resource,test_permissions" + + "_request_resource\032\244\001\312A\026compute.googleapi" + + "s.com\322A\207\001https://www.googleapis.com/auth" + + "/compute.readonly,https://www.googleapis" + + ".com/auth/compute,https://www.googleapis" + + ".com/auth/cloud-platform2\372\014\n\010Licenses\022\302\001" + + "\n\006Delete\022-.google.cloud.compute.v1.Delet" + + "eLicenseRequest\032\".google.cloud.compute.v" + + "1.Operation\"e\202\323\344\223\002:*8/compute/v1/project" + + "s/{project}/global/licenses/{license}\332A\017" + + "project,license\212N\020GlobalOperations\022\247\001\n\003G" + + "et\022*.google.cloud.compute.v1.GetLicenseR" + + "equest\032 .google.cloud.compute.v1.License" + + "\"R\202\323\344\223\002:\0228/compute/v1/projects/{project}" + + "/global/licenses/{license}\332A\017project,lic" + + "ense\022\307\001\n\014GetIamPolicy\0223.google.cloud.com" + + "pute.v1.GetIamPolicyLicenseRequest\032\037.goo" + + "gle.cloud.compute.v1.Policy\"a\202\323\344\223\002H\022F/co" + + "mpute/v1/projects/{project}/global/licen" + + "ses/{resource}/getIamPolicy\332A\020project,re" + + "source\022\323\001\n\006Insert\022-.google.cloud.compute" + + ".v1.InsertLicenseRequest\032\".google.cloud." + + "compute.v1.Operation\"v\202\323\344\223\002B\"./compute/v" + + "1/projects/{project}/global/licenses:\020li" + + "cense_resource\332A\030project,license_resourc" + + "e\212N\020GlobalOperations\022\245\001\n\004List\022,.google.c" + + "loud.compute.v1.ListLicensesRequest\032-.go" + + "ogle.cloud.compute.v1.LicensesListRespon" + + "se\"@\202\323\344\223\0020\022./compute/v1/projects/{projec" + + "t}/global/licenses\332A\007project\022\217\002\n\014SetIamP" + + "olicy\0223.google.cloud.compute.v1.SetIamPo" + + "licyLicenseRequest\032\037.google.cloud.comput" + + "e.v1.Policy\"\250\001\202\323\344\223\002l\"F/compute/v1/projec" + + "ts/{project}/global/licenses/{resource}/" + + "setIamPolicy:\"global_set_policy_request_" + + "resource\332A3project,resource,global_set_p" + + "olicy_request_resource\022\260\002\n\022TestIamPermis" + + "sions\0229.google.cloud.compute.v1.TestIamP" + + "ermissionsLicenseRequest\0320.google.cloud." + + "compute.v1.TestPermissionsResponse\"\254\001\202\323\344" + + "\223\002q\"L/compute/v1/projects/{project}/glob" + + "al/licenses/{resource}/testIamPermission" + + "s:!test_permissions_request_resource\332A2p" + + "roject,resource,test_permissions_request" + + "_resource\032r\312A\026compute.googleapis.com\322AVh" + "ttps://www.googleapis.com/auth/compute,h" + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform2\363\r\n\027InterconnectAttachments\022\353\001\n\016Ag" - + "gregatedList\022E.google.cloud.compute.v1.A" - + "ggregatedListInterconnectAttachmentsRequ" - + "est\032=.google.cloud.compute.v1.Interconne" - + "ctAttachmentAggregatedList\"S\202\323\344\223\002C\022A/com" - + "pute/v1/projects/{project}/aggregated/in" - + "terconnectAttachments\332A\007project\022\222\002\n\006Dele" - + "te\022<.google.cloud.compute.v1.DeleteInter" - + "connectAttachmentRequest\032\".google.cloud." - + "compute.v1.Operation\"\245\001\202\323\344\223\002c*a/compute/" - + "v1/projects/{project}/regions/{region}/i" - + "nterconnectAttachments/{interconnect_att" - + "achment}\332A&project,region,interconnect_a" - + "ttachment\212N\020RegionOperations\022\206\002\n\003Get\0229.g" - + "oogle.cloud.compute.v1.GetInterconnectAt" - + "tachmentRequest\032/.google.cloud.compute.v" - + "1.InterconnectAttachment\"\222\001\202\323\344\223\002c\022a/comp" - + "ute/v1/projects/{project}/regions/{regio" - + "n}/interconnectAttachments/{interconnect" - + "_attachment}\332A&project,region,interconne" - + "ct_attachment\022\243\002\n\006Insert\022<.google.cloud." - + "compute.v1.InsertInterconnectAttachmentR" + + "tform2\353\r\n\rMachineImages\022\330\001\n\006Delete\0222.goo" + + "gle.cloud.compute.v1.DeleteMachineImageR" + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\266\001\202\323\344\223\002k\"G/compute/v1/projects/{proje" - + "ct}/regions/{region}/interconnectAttachm" - + "ents: interconnect_attachment_resource\332A" - + "/project,region,interconnect_attachment_" - + "resource\212N\020RegionOperations\022\332\001\n\004List\022;.g" - + "oogle.cloud.compute.v1.ListInterconnectA" - + "ttachmentsRequest\0323.google.cloud.compute" - + ".v1.InterconnectAttachmentList\"`\202\323\344\223\002I\022G" - + "/compute/v1/projects/{project}/regions/{" - + "region}/interconnectAttachments\332A\016projec" - + "t,region\022\324\002\n\005Patch\022;.google.cloud.comput" - + "e.v1.PatchInterconnectAttachmentRequest\032" - + "\".google.cloud.compute.v1.Operation\"\351\001\202\323" - + "\344\223\002\205\0012a/compute/v1/projects/{project}/re" - + "gions/{region}/interconnectAttachments/{" - + "interconnect_attachment}: interconnect_a" - + "ttachment_resource\332AGproject,region,inte" - + "rconnect_attachment,interconnect_attachm" - + "ent_resource\212N\020RegionOperations\032r\312A\026comp" - + "ute.googleapis.com\322AVhttps://www.googlea" - + "pis.com/auth/compute,https://www.googlea" - + "pis.com/auth/cloud-platform2\361\004\n\025Intercon" - + "nectLocations\022\352\001\n\003Get\0227.google.cloud.com" - + "pute.v1.GetInterconnectLocationRequest\032-" - + ".google.cloud.compute.v1.InterconnectLoc" - + "ation\"{\202\323\344\223\002U\022S/compute/v1/projects/{pro" - + "ject}/global/interconnectLocations/{inte" - + "rconnect_location}\332A\035project,interconnec" - + "t_location\022\303\001\n\004List\0229.google.cloud.compu" - + "te.v1.ListInterconnectLocationsRequest\0321" - + ".google.cloud.compute.v1.InterconnectLoc" - + "ationList\"M\202\323\344\223\002=\022;/compute/v1/projects/" - + "{project}/global/interconnectLocations\332A" - + "\007project\032\244\001\312A\026compute.googleapis.com\322A\207\001" - + "https://www.googleapis.com/auth/compute." - + "readonly,https://www.googleapis.com/auth" - + "/compute,https://www.googleapis.com/auth" - + "/cloud-platform2\274\013\n\rInterconnects\022\326\001\n\006De" - + "lete\0222.google.cloud.compute.v1.DeleteInt" - + "erconnectRequest\032\".google.cloud.compute." - + "v1.Operation\"t\202\323\344\223\002D*B/compute/v1/projec" - + "ts/{project}/global/interconnects/{inter" - + "connect}\332A\024project,interconnect\212N\020Global" - + "Operations\022\300\001\n\003Get\022/.google.cloud.comput" - + "e.v1.GetInterconnectRequest\032%.google.clo" - + "ud.compute.v1.Interconnect\"a\202\323\344\223\002D\022B/com" - + "pute/v1/projects/{project}/global/interc" - + "onnects/{interconnect}\332A\024project,interco" - + "nnect\022\374\001\n\016GetDiagnostics\022:.google.cloud." - + "compute.v1.GetDiagnosticsInterconnectReq" - + "uest\032<.google.cloud.compute.v1.Interconn" - + "ectsGetDiagnosticsResponse\"p\202\323\344\223\002S\022Q/com" - + "pute/v1/projects/{project}/global/interc" - + "onnects/{interconnect}/getDiagnostics\332A\024" - + "project,interconnect\022\350\001\n\006Insert\0222.google" - + ".cloud.compute.v1.InsertInterconnectRequ" - + "est\032\".google.cloud.compute.v1.Operation\"" - + "\205\001\202\323\344\223\002L\"3/compute/v1/projects/{project}" - + "/global/interconnects:\025interconnect_reso" - + "urce\332A\035project,interconnect_resource\212N\020G" - + "lobalOperations\022\253\001\n\004List\0221.google.cloud." - + "compute.v1.ListInterconnectsRequest\032).go" - + "ogle.cloud.compute.v1.InterconnectList\"E" - + "\202\323\344\223\0025\0223/compute/v1/projects/{project}/g" - + "lobal/interconnects\332A\007project\022\202\002\n\005Patch\022" - + "1.google.cloud.compute.v1.PatchInterconn" - + "ectRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\241\001\202\323\344\223\002[2B/compute/v1/projects/{p" - + "roject}/global/interconnects/{interconne" - + "ct}:\025interconnect_resource\332A*project,int" - + "erconnect,interconnect_resource\212N\020Global" - + "Operations\032r\312A\026compute.googleapis.com\322AV" - + "https://www.googleapis.com/auth/compute," - + "https://www.googleapis.com/auth/cloud-pl" - + "atform2\260\005\n\014LicenseCodes\022\275\001\n\003Get\022..google" - + ".cloud.compute.v1.GetLicenseCodeRequest\032" - + "$.google.cloud.compute.v1.LicenseCode\"`\202" - + "\323\344\223\002C\022A/compute/v1/projects/{project}/gl" - + "obal/licenseCodes/{license_code}\332A\024proje" - + "ct,license_code\022\270\002\n\022TestIamPermissions\022=" - + ".google.cloud.compute.v1.TestIamPermissi" - + "onsLicenseCodeRequest\0320.google.cloud.com" - + "pute.v1.TestPermissionsResponse\"\260\001\202\323\344\223\002u" - + "\"P/compute/v1/projects/{project}/global/" - + "licenseCodes/{resource}/testIamPermissio" - + "ns:!test_permissions_request_resource\332A2" - + "project,resource,test_permissions_reques" - + "t_resource\032\244\001\312A\026compute.googleapis.com\322A" - + "\207\001https://www.googleapis.com/auth/comput" - + "e.readonly,https://www.googleapis.com/au" - + "th/compute,https://www.googleapis.com/au" - + "th/cloud-platform2\372\014\n\010Licenses\022\302\001\n\006Delet" - + "e\022-.google.cloud.compute.v1.DeleteLicens" - + "eRequest\032\".google.cloud.compute.v1.Opera" - + "tion\"e\202\323\344\223\002:*8/compute/v1/projects/{proj" - + "ect}/global/licenses/{license}\332A\017project" - + ",license\212N\020GlobalOperations\022\247\001\n\003Get\022*.go" - + "ogle.cloud.compute.v1.GetLicenseRequest\032" - + " .google.cloud.compute.v1.License\"R\202\323\344\223\002" - + ":\0228/compute/v1/projects/{project}/global" - + "/licenses/{license}\332A\017project,license\022\307\001" - + "\n\014GetIamPolicy\0223.google.cloud.compute.v1" - + ".GetIamPolicyLicenseRequest\032\037.google.clo" - + "ud.compute.v1.Policy\"a\202\323\344\223\002H\022F/compute/v" - + "1/projects/{project}/global/licenses/{re" - + "source}/getIamPolicy\332A\020project,resource\022" - + "\323\001\n\006Insert\022-.google.cloud.compute.v1.Ins" - + "ertLicenseRequest\032\".google.cloud.compute" - + ".v1.Operation\"v\202\323\344\223\002B\"./compute/v1/proje" - + "cts/{project}/global/licenses:\020license_r" - + "esource\332A\030project,license_resource\212N\020Glo" - + "balOperations\022\245\001\n\004List\022,.google.cloud.co" - + "mpute.v1.ListLicensesRequest\032-.google.cl" - + "oud.compute.v1.LicensesListResponse\"@\202\323\344" - + "\223\0020\022./compute/v1/projects/{project}/glob" - + "al/licenses\332A\007project\022\217\002\n\014SetIamPolicy\0223" - + ".google.cloud.compute.v1.SetIamPolicyLic" - + "enseRequest\032\037.google.cloud.compute.v1.Po" - + "licy\"\250\001\202\323\344\223\002l\"F/compute/v1/projects/{pro" - + "ject}/global/licenses/{resource}/setIamP" - + "olicy:\"global_set_policy_request_resourc" - + "e\332A3project,resource,global_set_policy_r" - + "equest_resource\022\260\002\n\022TestIamPermissions\0229" - + ".google.cloud.compute.v1.TestIamPermissi" - + "onsLicenseRequest\0320.google.cloud.compute" - + ".v1.TestPermissionsResponse\"\254\001\202\323\344\223\002q\"L/c" - + "ompute/v1/projects/{project}/global/lice" - + "nses/{resource}/testIamPermissions:!test" - + "_permissions_request_resource\332A2project," - + "resource,test_permissions_request_resour" - + "ce\032r\312A\026compute.googleapis.com\322AVhttps://" - + "www.googleapis.com/auth/compute,https://" - + "www.googleapis.com/auth/cloud-platform2\353" - + "\r\n\rMachineImages\022\330\001\n\006Delete\0222.google.clo" - + "ud.compute.v1.DeleteMachineImageRequest\032" - + "\".google.cloud.compute.v1.Operation\"v\202\323\344" - + "\223\002E*C/compute/v1/projects/{project}/glob" - + "al/machineImages/{machine_image}\332A\025proje" - + "ct,machine_image\212N\020GlobalOperations\022\302\001\n\003" - + "Get\022/.google.cloud.compute.v1.GetMachine" - + "ImageRequest\032%.google.cloud.compute.v1.M" - + "achineImage\"c\202\323\344\223\002E\022C/compute/v1/project" - + "s/{project}/global/machineImages/{machin" - + "e_image}\332A\025project,machine_image\022\321\001\n\014Get" - + "IamPolicy\0228.google.cloud.compute.v1.GetI" - + "amPolicyMachineImageRequest\032\037.google.clo" - + "ud.compute.v1.Policy\"f\202\323\344\223\002M\022K/compute/v" - + "1/projects/{project}/global/machineImage" - + "s/{resource}/getIamPolicy\332A\020project,reso" - + "urce\022\352\001\n\006Insert\0222.google.cloud.compute.v" - + "1.InsertMachineImageRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\207\001\202\323\344\223\002M\"3/compu" - + "te/v1/projects/{project}/global/machineI" - + "mages:\026machine_image_resource\332A\036project," - + "machine_image_resource\212N\020GlobalOperation" - + "s\022\253\001\n\004List\0221.google.cloud.compute.v1.Lis" - + "tMachineImagesRequest\032).google.cloud.com" - + "pute.v1.MachineImageList\"E\202\323\344\223\0025\0223/compu" - + "te/v1/projects/{project}/global/machineI" - + "mages\332A\007project\022\231\002\n\014SetIamPolicy\0228.googl" - + "e.cloud.compute.v1.SetIamPolicyMachineIm" - + "ageRequest\032\037.google.cloud.compute.v1.Pol" - + "icy\"\255\001\202\323\344\223\002q\"K/compute/v1/projects/{proj" - + "ect}/global/machineImages/{resource}/set" - + "IamPolicy:\"global_set_policy_request_res" - + "ource\332A3project,resource,global_set_poli" - + "cy_request_resource\022\272\002\n\022TestIamPermissio" - + "ns\022>.google.cloud.compute.v1.TestIamPerm" - + "issionsMachineImageRequest\0320.google.clou" - + "d.compute.v1.TestPermissionsResponse\"\261\001\202" - + "\323\344\223\002v\"Q/compute/v1/projects/{project}/gl" - + "obal/machineImages/{resource}/testIamPer" - + "missions:!test_permissions_request_resou" - + "rce\332A2project,resource,test_permissions_" - + "request_resource\032r\312A\026compute.googleapis." - + "com\322AVhttps://www.googleapis.com/auth/co" - + "mpute,https://www.googleapis.com/auth/cl" - + "oud-platform2\203\006\n\014MachineTypes\022\312\001\n\016Aggreg" - + "atedList\022:.google.cloud.compute.v1.Aggre" - + "gatedListMachineTypesRequest\0322.google.cl" - + "oud.compute.v1.MachineTypeAggregatedList" - + "\"H\202\323\344\223\0028\0226/compute/v1/projects/{project}" - + "/aggregated/machineTypes\332A\007project\022\310\001\n\003G" - + "et\022..google.cloud.compute.v1.GetMachineT" - + "ypeRequest\032$.google.cloud.compute.v1.Mac" - + "hineType\"k\202\323\344\223\002I\022G/compute/v1/projects/{" - + "project}/zones/{zone}/machineTypes/{mach" - + "ine_type}\332A\031project,zone,machine_type\022\263\001" - + "\n\004List\0220.google.cloud.compute.v1.ListMac" - + "hineTypesRequest\032(.google.cloud.compute." - + "v1.MachineTypeList\"O\202\323\344\223\002:\0228/compute/v1/" - + "projects/{project}/zones/{zone}/machineT" - + "ypes\332A\014project,zone\032\244\001\312A\026compute.googlea" - + "pis.com\322A\207\001https://www.googleapis.com/au" - + "th/compute.readonly,https://www.googleap" + + "on\"v\202\323\344\223\002E*C/compute/v1/projects/{projec" + + "t}/global/machineImages/{machine_image}\332" + + "A\025project,machine_image\212N\020GlobalOperatio" + + "ns\022\302\001\n\003Get\022/.google.cloud.compute.v1.Get" + + "MachineImageRequest\032%.google.cloud.compu" + + "te.v1.MachineImage\"c\202\323\344\223\002E\022C/compute/v1/" + + "projects/{project}/global/machineImages/" + + "{machine_image}\332A\025project,machine_image\022" + + "\321\001\n\014GetIamPolicy\0228.google.cloud.compute." + + "v1.GetIamPolicyMachineImageRequest\032\037.goo" + + "gle.cloud.compute.v1.Policy\"f\202\323\344\223\002M\022K/co" + + "mpute/v1/projects/{project}/global/machi" + + "neImages/{resource}/getIamPolicy\332A\020proje" + + "ct,resource\022\352\001\n\006Insert\0222.google.cloud.co" + + "mpute.v1.InsertMachineImageRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\207\001\202\323\344\223\002M\"" + + "3/compute/v1/projects/{project}/global/m" + + "achineImages:\026machine_image_resource\332A\036p" + + "roject,machine_image_resource\212N\020GlobalOp" + + "erations\022\253\001\n\004List\0221.google.cloud.compute" + + ".v1.ListMachineImagesRequest\032).google.cl" + + "oud.compute.v1.MachineImageList\"E\202\323\344\223\0025\022" + + "3/compute/v1/projects/{project}/global/m" + + "achineImages\332A\007project\022\231\002\n\014SetIamPolicy\022" + + "8.google.cloud.compute.v1.SetIamPolicyMa" + + "chineImageRequest\032\037.google.cloud.compute" + + ".v1.Policy\"\255\001\202\323\344\223\002q\"K/compute/v1/project" + + "s/{project}/global/machineImages/{resour" + + "ce}/setIamPolicy:\"global_set_policy_requ" + + "est_resource\332A3project,resource,global_s" + + "et_policy_request_resource\022\272\002\n\022TestIamPe" + + "rmissions\022>.google.cloud.compute.v1.Test" + + "IamPermissionsMachineImageRequest\0320.goog" + + "le.cloud.compute.v1.TestPermissionsRespo" + + "nse\"\261\001\202\323\344\223\002v\"Q/compute/v1/projects/{proj" + + "ect}/global/machineImages/{resource}/tes" + + "tIamPermissions:!test_permissions_reques" + + "t_resource\332A2project,resource,test_permi" + + "ssions_request_resource\032r\312A\026compute.goog" + + "leapis.com\322AVhttps://www.googleapis.com/" + + "auth/compute,https://www.googleapis.com/" + + "auth/cloud-platform2\203\006\n\014MachineTypes\022\312\001\n" + + "\016AggregatedList\022:.google.cloud.compute.v" + + "1.AggregatedListMachineTypesRequest\0322.go" + + "ogle.cloud.compute.v1.MachineTypeAggrega" + + "tedList\"H\202\323\344\223\0028\0226/compute/v1/projects/{p" + + "roject}/aggregated/machineTypes\332A\007projec" + + "t\022\310\001\n\003Get\022..google.cloud.compute.v1.GetM" + + "achineTypeRequest\032$.google.cloud.compute" + + ".v1.MachineType\"k\202\323\344\223\002I\022G/compute/v1/pro" + + "jects/{project}/zones/{zone}/machineType" + + "s/{machine_type}\332A\031project,zone,machine_" + + "type\022\263\001\n\004List\0220.google.cloud.compute.v1." + + "ListMachineTypesRequest\032(.google.cloud.c" + + "ompute.v1.MachineTypeList\"O\202\323\344\223\002:\0228/comp" + + "ute/v1/projects/{project}/zones/{zone}/m" + + "achineTypes\332A\014project,zone\032\244\001\312A\026compute." + + "googleapis.com\322A\207\001https://www.googleapis" + + ".com/auth/compute.readonly,https://www.g" + + "oogleapis.com/auth/compute,https://www.g" + + "oogleapis.com/auth/cloud-platform2\206\r\n\033Ne" + + "tworkEdgeSecurityServices\022\367\001\n\016Aggregated" + + "List\022I.google.cloud.compute.v1.Aggregate" + + "dListNetworkEdgeSecurityServicesRequest\032" + + "A.google.cloud.compute.v1.NetworkEdgeSec" + + "urityServiceAggregatedList\"W\202\323\344\223\002G\022E/com" + + "pute/v1/projects/{project}/aggregated/ne" + + "tworkEdgeSecurityServices\332A\007project\022\246\002\n\006" + + "Delete\022@.google.cloud.compute.v1.DeleteN" + + "etworkEdgeSecurityServiceRequest\032\".googl" + + "e.cloud.compute.v1.Operation\"\265\001\202\323\344\223\002m*k/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/networkEdgeSecurityServices/{netw" + + "ork_edge_security_service}\332A,project,reg" + + "ion,network_edge_security_service\212N\020Regi" + + "onOperations\022\236\002\n\003Get\022=.google.cloud.comp" + + "ute.v1.GetNetworkEdgeSecurityServiceRequ" + + "est\0323.google.cloud.compute.v1.NetworkEdg" + + "eSecurityService\"\242\001\202\323\344\223\002m\022k/compute/v1/p" + + "rojects/{project}/regions/{region}/netwo" + + "rkEdgeSecurityServices/{network_edge_sec" + + "urity_service}\332A,project,region,network_" + + "edge_security_service\022\267\002\n\006Insert\022@.googl" + + "e.cloud.compute.v1.InsertNetworkEdgeSecu" + + "rityServiceRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\306\001\202\323\344\223\002u\"K/compute/v1/pro" + + "jects/{project}/regions/{region}/network" + + "EdgeSecurityServices:&network_edge_secur" + + "ity_service_resource\332A5project,region,ne" + + "twork_edge_security_service_resource\212N\020R" + + "egionOperations\022\364\002\n\005Patch\022?.google.cloud" + + ".compute.v1.PatchNetworkEdgeSecurityServ" + + "iceRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\205\002\202\323\344\223\002\225\0012k/compute/v1/projects/{" + + "project}/regions/{region}/networkEdgeSec" + + "urityServices/{network_edge_security_ser" + + "vice}:&network_edge_security_service_res" + + "ource\332ASproject,region,network_edge_secu" + + "rity_service,network_edge_security_servi" + + "ce_resource\212N\020RegionOperations\032r\312A\026compu" + + "te.googleapis.com\322AVhttps://www.googleap" + "is.com/auth/compute,https://www.googleap" - + "is.com/auth/cloud-platform2\331\027\n\025NetworkEn" - + "dpointGroups\022\345\001\n\016AggregatedList\022C.google" + + "is.com/auth/cloud-platform2\331\027\n\025NetworkEn", + "dpointGroups\022\345\001\n\016AggregatedList\022C.google" + ".cloud.compute.v1.AggregatedListNetworkE" + "ndpointGroupsRequest\032;.google.cloud.comp" + "ute.v1.NetworkEndpointGroupAggregatedLis" @@ -15475,2323 +16195,2610 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "rmissions_request_resource\032r\312A\026compute.g" + "oogleapis.com\322AVhttps://www.googleapis.c" + "om/auth/compute,https://www.googleapis.c" - + "om/auth/cloud-platform2\267\025\n\010Networks\022\243\002\n\n", - "AddPeering\0221.google.cloud.compute.v1.Add" - + "PeeringNetworkRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\275\001\202\323\344\223\002l\"C/compute/v1/" - + "projects/{project}/global/networks/{netw" - + "ork}/addPeering:%networks_add_peering_re" - + "quest_resource\332A5project,network,network" - + "s_add_peering_request_resource\212N\020GlobalO" - + "perations\022\302\001\n\006Delete\022-.google.cloud.comp" - + "ute.v1.DeleteNetworkRequest\032\".google.clo" - + "ud.compute.v1.Operation\"e\202\323\344\223\002:*8/comput" - + "e/v1/projects/{project}/global/networks/" - + "{network}\332A\017project,network\212N\020GlobalOper" - + "ations\022\247\001\n\003Get\022*.google.cloud.compute.v1" - + ".GetNetworkRequest\032 .google.cloud.comput" - + "e.v1.Network\"R\202\323\344\223\002:\0228/compute/v1/projec" - + "ts/{project}/global/networks/{network}\332A" - + "\017project,network\022\377\001\n\025GetEffectiveFirewal" - + "ls\022<.google.cloud.compute.v1.GetEffectiv" - + "eFirewallsNetworkRequest\032>.google.cloud." - + "compute.v1.NetworksGetEffectiveFirewalls" - + "Response\"h\202\323\344\223\002P\022N/compute/v1/projects/{" - + "project}/global/networks/{network}/getEf" - + "fectiveFirewalls\332A\017project,network\022\323\001\n\006I" - + "nsert\022-.google.cloud.compute.v1.InsertNe" - + "tworkRequest\032\".google.cloud.compute.v1.O" - + "peration\"v\202\323\344\223\002B\"./compute/v1/projects/{" - + "project}/global/networks:\020network_resour" - + "ce\332A\030project,network_resource\212N\020GlobalOp" - + "erations\022\234\001\n\004List\022,.google.cloud.compute" - + ".v1.ListNetworksRequest\032$.google.cloud.c" - + "ompute.v1.NetworkList\"@\202\323\344\223\0020\022./compute/" - + "v1/projects/{project}/global/networks\332A\007" - + "project\022\351\001\n\021ListPeeringRoutes\0229.google.c" - + "loud.compute.v1.ListPeeringRoutesNetwork" - + "sRequest\0323.google.cloud.compute.v1.Excha" - + "ngedPeeringRoutesList\"d\202\323\344\223\002L\022J/compute/" - + "v1/projects/{project}/global/networks/{n" - + "etwork}/listPeeringRoutes\332A\017project,netw" - + "ork\022\344\001\n\005Patch\022,.google.cloud.compute.v1." - + "PatchNetworkRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\210\001\202\323\344\223\002L28/compute/v1/pr" - + "ojects/{project}/global/networks/{networ" - + "k}:\020network_resource\332A project,network,n" - + "etwork_resource\212N\020GlobalOperations\022\262\002\n\rR" - + "emovePeering\0224.google.cloud.compute.v1.R" - + "emovePeeringNetworkRequest\032\".google.clou" - + "d.compute.v1.Operation\"\306\001\202\323\344\223\002r\"F/comput" - + "e/v1/projects/{project}/global/networks/" - + "{network}/removePeering:(networks_remove" - + "_peering_request_resource\332A8project,netw" - + "ork,networks_remove_peering_request_reso" - + "urce\212N\020GlobalOperations\022\355\001\n\022SwitchToCust" - + "omMode\0229.google.cloud.compute.v1.SwitchT" - + "oCustomModeNetworkRequest\032\".google.cloud" - + ".compute.v1.Operation\"x\202\323\344\223\002M\"K/compute/" - + "v1/projects/{project}/global/networks/{n" - + "etwork}/switchToCustomMode\332A\017project,net" - + "work\212N\020GlobalOperations\022\262\002\n\rUpdatePeerin" - + "g\0224.google.cloud.compute.v1.UpdatePeerin" - + "gNetworkRequest\032\".google.cloud.compute.v" - + "1.Operation\"\306\001\202\323\344\223\002r2F/compute/v1/projec" - + "ts/{project}/global/networks/{network}/u" - + "pdatePeering:(networks_update_peering_re" - + "quest_resource\332A8project,network,network" - + "s_update_peering_request_resource\212N\020Glob" - + "alOperations\032r\312A\026compute.googleapis.com\322" - + "AVhttps://www.googleapis.com/auth/comput" - + "e,https://www.googleapis.com/auth/cloud-" - + "platform2\373\032\n\nNodeGroups\022\262\002\n\010AddNodes\0221.g" - + "oogle.cloud.compute.v1.AddNodesNodeGroup" + + "om/auth/cloud-platform2\275\"\n\027NetworkFirewa" + + "llPolicies\022\323\002\n\016AddAssociation\022C.google.c" + + "loud.compute.v1.AddAssociationNetworkFir" + + "ewallPolicyRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\327\001\202\323\344\223\002\177\"W/compute/v1/pro" + + "jects/{project}/global/firewallPolicies/" + + "{firewall_policy}/addAssociation:$firewa" + + "ll_policy_association_resource\332A.google.clo" + + "ud.compute.v1.PatchRuleNetworkFirewallPo" + + "licyRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\304\001\202\323\344\223\002s\"R/compute/v1/projects/{" + + "project}/global/firewallPolicies/{firewa" + + "ll_policy}/patchRule:\035firewall_policy_ru" + + "le_resource\332A5project,firewall_policy,fi" + + "rewall_policy_rule_resource\212N\020GlobalOper" + + "ations\022\221\002\n\021RemoveAssociation\022F.google.cl" + + "oud.compute.v1.RemoveAssociationNetworkF" + + "irewallPolicyRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"\217\001\202\323\344\223\002\\\"Z/compute/v1/p" + + "rojects/{project}/global/firewallPolicie" + + "s/{firewall_policy}/removeAssociation\332A\027" + + "project,firewall_policy\212N\020GlobalOperatio" + + "ns\022\374\001\n\nRemoveRule\022?.google.cloud.compute" + + ".v1.RemoveRuleNetworkFirewallPolicyReque" + + "st\032\".google.cloud.compute.v1.Operation\"\210" + + "\001\202\323\344\223\002U\"S/compute/v1/projects/{project}/" + + "global/firewallPolicies/{firewall_policy" + + "}/removeRule\332A\027project,firewall_policy\212N" + + "\020GlobalOperations\022\245\002\n\014SetIamPolicy\022A.goo" + + "gle.cloud.compute.v1.SetIamPolicyNetwork" + + "FirewallPolicyRequest\032\037.google.cloud.com" + + "pute.v1.Policy\"\260\001\202\323\344\223\002t\"N/compute/v1/pro" + + "jects/{project}/global/firewallPolicies/" + + "{resource}/setIamPolicy:\"global_set_poli" + + "cy_request_resource\332A3project,resource,g" + + "lobal_set_policy_request_resource\022\306\002\n\022Te" + + "stIamPermissions\022G.google.cloud.compute." + + "v1.TestIamPermissionsNetworkFirewallPoli" + + "cyRequest\0320.google.cloud.compute.v1.Test" + + "PermissionsResponse\"\264\001\202\323\344\223\002y\"T/compute/v" + + "1/projects/{project}/global/firewallPoli" + + "cies/{resource}/testIamPermissions:!test" + + "_permissions_request_resource\332A2project," + + "resource,test_permissions_request_resour" + + "ce\032r\312A\026compute.googleapis.com\322AVhttps://" + + "www.googleapis.com/auth/compute,https://" + + "www.googleapis.com/auth/cloud-platform2\267" + + "\025\n\010Networks\022\243\002\n\nAddPeering\0221.google.clou" + + "d.compute.v1.AddPeeringNetworkRequest\032\"." + + "google.cloud.compute.v1.Operation\"\275\001\202\323\344\223" + + "\002l\"C/compute/v1/projects/{project}/globa" + + "l/networks/{network}/addPeering:%network" + + "s_add_peering_request_resource\332A5project" + + ",network,networks_add_peering_request_re" + + "source\212N\020GlobalOperations\022\302\001\n\006Delete\022-.g" + + "oogle.cloud.compute.v1.DeleteNetworkRequ" + + "est\032\".google.cloud.compute.v1.Operation\"" + + "e\202\323\344\223\002:*8/compute/v1/projects/{project}/" + + "global/networks/{network}\332A\017project,netw" + + "ork\212N\020GlobalOperations\022\247\001\n\003Get\022*.google." + + "cloud.compute.v1.GetNetworkRequest\032 .goo" + + "gle.cloud.compute.v1.Network\"R\202\323\344\223\002:\0228/c" + + "ompute/v1/projects/{project}/global/netw" + + "orks/{network}\332A\017project,network\022\377\001\n\025Get" + + "EffectiveFirewalls\022<.google.cloud.comput" + + "e.v1.GetEffectiveFirewallsNetworkRequest" + + "\032>.google.cloud.compute.v1.NetworksGetEf" + + "fectiveFirewallsResponse\"h\202\323\344\223\002P\022N/compu" + + "te/v1/projects/{project}/global/networks" + + "/{network}/getEffectiveFirewalls\332A\017proje" + + "ct,network\022\323\001\n\006Insert\022-.google.cloud.com" + + "pute.v1.InsertNetworkRequest\032\".google.cl" + + "oud.compute.v1.Operation\"v\202\323\344\223\002B\"./compu" + + "te/v1/projects/{project}/global/networks" + + ":\020network_resource\332A\030project,network_res" + + "ource\212N\020GlobalOperations\022\234\001\n\004List\022,.goog" + + "le.cloud.compute.v1.ListNetworksRequest\032" + + "$.google.cloud.compute.v1.NetworkList\"@\202" + + "\323\344\223\0020\022./compute/v1/projects/{project}/gl" + + "obal/networks\332A\007project\022\351\001\n\021ListPeeringR" + + "outes\0229.google.cloud.compute.v1.ListPeer" + + "ingRoutesNetworksRequest\0323.google.cloud." + + "compute.v1.ExchangedPeeringRoutesList\"d\202" + + "\323\344\223\002L\022J/compute/v1/projects/{project}/gl" + + "obal/networks/{network}/listPeeringRoute" + + "s\332A\017project,network\022\344\001\n\005Patch\022,.google.c" + + "loud.compute.v1.PatchNetworkRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\210\001\202\323\344\223\002L" + + "28/compute/v1/projects/{project}/global/" + + "networks/{network}:\020network_resource\332A p" + + "roject,network,network_resource\212N\020Global" + + "Operations\022\262\002\n\rRemovePeering\0224.google.cl" + + "oud.compute.v1.RemovePeeringNetworkReque" + + "st\032\".google.cloud.compute.v1.Operation\"\306" + + "\001\202\323\344\223\002r\"F/compute/v1/projects/{project}/" + + "global/networks/{network}/removePeering:" + + "(networks_remove_peering_request_resourc" + + "e\332A8project,network,networks_remove_peer" + + "ing_request_resource\212N\020GlobalOperations\022" + + "\355\001\n\022SwitchToCustomMode\0229.google.cloud.co" + + "mpute.v1.SwitchToCustomModeNetworkReques" + + "t\032\".google.cloud.compute.v1.Operation\"x\202" + + "\323\344\223\002M\"K/compute/v1/projects/{project}/gl" + + "obal/networks/{network}/switchToCustomMo" + + "de\332A\017project,network\212N\020GlobalOperations\022" + + "\262\002\n\rUpdatePeering\0224.google.cloud.compute" + + ".v1.UpdatePeeringNetworkRequest\032\".google" + + ".cloud.compute.v1.Operation\"\306\001\202\323\344\223\002r2F/c" + + "ompute/v1/projects/{project}/global/netw" + + "orks/{network}/updatePeering:(networks_u" + + "pdate_peering_request_resource\332A8project" + + ",network,networks_update_peering_request" + + "_resource\212N\020GlobalOperations\032r\312A\026compute" + + ".googleapis.com\322AVhttps://www.googleapis" + + ".com/auth/compute,https://www.googleapis" + + ".com/auth/cloud-platform2\373\032\n\nNodeGroups\022" + + "\262\002\n\010AddNodes\0221.google.cloud.compute.v1.A" + + "ddNodesNodeGroupRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\316\001\202\323\344\223\002v\"L/compute/v" + + "1/projects/{project}/zones/{zone}/nodeGr" + + "oups/{node_group}/addNodes:&node_groups_" + + "add_nodes_request_resource\332A>project,zon" + + "e,node_group,node_groups_add_nodes_reque" + + "st_resource\212N\016ZoneOperations\022\304\001\n\016Aggrega" + + "tedList\0228.google.cloud.compute.v1.Aggreg" + + "atedListNodeGroupsRequest\0320.google.cloud" + + ".compute.v1.NodeGroupAggregatedList\"F\202\323\344" + + "\223\0026\0224/compute/v1/projects/{project}/aggr" + + "egated/nodeGroups\332A\007project\022\325\001\n\006Delete\022/" + + ".google.cloud.compute.v1.DeleteNodeGroup" + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\316\001\202\323\344\223\002v\"L/compute/v1/projects/{proj" - + "ect}/zones/{zone}/nodeGroups/{node_group" - + "}/addNodes:&node_groups_add_nodes_reques" - + "t_resource\332A>project,zone,node_group,nod" - + "e_groups_add_nodes_request_resource\212N\016Zo" - + "neOperations\022\304\001\n\016AggregatedList\0228.google" - + ".cloud.compute.v1.AggregatedListNodeGrou" - + "psRequest\0320.google.cloud.compute.v1.Node" - + "GroupAggregatedList\"F\202\323\344\223\0026\0224/compute/v1" - + "/projects/{project}/aggregated/nodeGroup" - + "s\332A\007project\022\325\001\n\006Delete\022/.google.cloud.co" - + "mpute.v1.DeleteNodeGroupRequest\032\".google" - + ".cloud.compute.v1.Operation\"v\202\323\344\223\002E*C/co" - + "mpute/v1/projects/{project}/zones/{zone}" - + "/nodeGroups/{node_group}\332A\027project,zone," - + "node_group\212N\016ZoneOperations\022\301\002\n\013DeleteNo" - + "des\0224.google.cloud.compute.v1.DeleteNode" - + "sNodeGroupRequest\032\".google.cloud.compute" - + ".v1.Operation\"\327\001\202\323\344\223\002|\"O/compute/v1/proj" - + "ects/{project}/zones/{zone}/nodeGroups/{" - + "node_group}/deleteNodes:)node_groups_del" - + "ete_nodes_request_resource\332AAproject,zon" - + "e,node_group,node_groups_delete_nodes_re" - + "quest_resource\212N\016ZoneOperations\022\276\001\n\003Get\022" - + ",.google.cloud.compute.v1.GetNodeGroupRe" - + "quest\032\".google.cloud.compute.v1.NodeGrou" - + "p\"e\202\323\344\223\002E\022C/compute/v1/projects/{project" - + "}/zones/{zone}/nodeGroups/{node_group}\332A" - + "\027project,zone,node_group\022\326\001\n\014GetIamPolic" - + "y\0225.google.cloud.compute.v1.GetIamPolicy" - + "NodeGroupRequest\032\037.google.cloud.compute." - + "v1.Policy\"n\202\323\344\223\002P\022N/compute/v1/projects/" - + "{project}/zones/{zone}/nodeGroups/{resou" - + "rce}/getIamPolicy\332A\025project,zone,resourc" - + "e\022\372\001\n\006Insert\022/.google.cloud.compute.v1.I" - + "nsertNodeGroupRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\232\001\202\323\344\223\002M\"6/compute/v1/" - + "projects/{project}/zones/{zone}/nodeGrou" - + "ps:\023node_group_resource\332A3project,zone,i" - + "nitial_node_count,node_group_resource\212N\016" - + "ZoneOperations\022\255\001\n\004List\022..google.cloud.c" - + "ompute.v1.ListNodeGroupsRequest\032&.google" - + ".cloud.compute.v1.NodeGroupList\"M\202\323\344\223\0028\022" - + "6/compute/v1/projects/{project}/zones/{z" - + "one}/nodeGroups\332A\014project,zone\022\337\001\n\tListN" - + "odes\0223.google.cloud.compute.v1.ListNodes" - + "NodeGroupsRequest\032,.google.cloud.compute" - + ".v1.NodeGroupsListNodes\"o\202\323\344\223\002O\"M/comput" - + "e/v1/projects/{project}/zones/{zone}/nod" - + "eGroups/{node_group}/listNodes\332A\027project" - + ",zone,node_group\022\375\001\n\005Patch\022..google.clou" - + "d.compute.v1.PatchNodeGroupRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\237\001\202\323\344\223\002Z2" - + "C/compute/v1/projects/{project}/zones/{z" - + "one}/nodeGroups/{node_group}:\023node_group" - + "_resource\332A+project,zone,node_group,node" - + "_group_resource\212N\016ZoneOperations\022\232\002\n\014Set" - + "IamPolicy\0225.google.cloud.compute.v1.SetI" - + "amPolicyNodeGroupRequest\032\037.google.cloud." - + "compute.v1.Policy\"\261\001\202\323\344\223\002r\"N/compute/v1/" - + "projects/{project}/zones/{zone}/nodeGrou" - + "ps/{resource}/setIamPolicy: zone_set_pol" - + "icy_request_resource\332A6project,zone,reso" - + "urce,zone_set_policy_request_resource\022\330\002" - + "\n\017SetNodeTemplate\0228.google.cloud.compute" - + ".v1.SetNodeTemplateNodeGroupRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\346\001\202\323\344\223\002\205" - + "\001\"S/compute/v1/projects/{project}/zones/" - + "{zone}/nodeGroups/{node_group}/setNodeTe" - + "mplate:.node_groups_set_node_template_re" - + "quest_resource\332AFproject,zone,node_group" - + ",node_groups_set_node_template_request_r" - + "esource\212N\016ZoneOperations\022\277\002\n\022TestIamPerm" - + "issions\022;.google.cloud.compute.v1.TestIa" - + "mPermissionsNodeGroupRequest\0320.google.cl" - + "oud.compute.v1.TestPermissionsResponse\"\271" - + "\001\202\323\344\223\002y\"T/compute/v1/projects/{project}/" - + "zones/{zone}/nodeGroups/{resource}/testI" - + "amPermissions:!test_permissions_request_" - + "resource\332A7project,zone,resource,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\264\020\n\rNodeTemplates" - + "\022\315\001\n\016AggregatedList\022;.google.cloud.compu" - + "te.v1.AggregatedListNodeTemplatesRequest" - + "\0323.google.cloud.compute.v1.NodeTemplateA" - + "ggregatedList\"I\202\323\344\223\0029\0227/compute/v1/proje" - + "cts/{project}/aggregated/nodeTemplates\332A" - + "\007project\022\352\001\n\006Delete\0222.google.cloud.compu" - + "te.v1.DeleteNodeTemplateRequest\032\".google" - + ".cloud.compute.v1.Operation\"\207\001\202\323\344\223\002O*M/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/nodeTemplates/{node_template}\332A\034pr" - + "oject,region,node_template\212N\020RegionOpera" - + "tions\022\323\001\n\003Get\022/.google.cloud.compute.v1." - + "GetNodeTemplateRequest\032%.google.cloud.co" - + "mpute.v1.NodeTemplate\"t\202\323\344\223\002O\022M/compute/" + + "ion\"v\202\323\344\223\002E*C/compute/v1/projects/{proje" + + "ct}/zones/{zone}/nodeGroups/{node_group}" + + "\332A\027project,zone,node_group\212N\016ZoneOperati" + + "ons\022\301\002\n\013DeleteNodes\0224.google.cloud.compu" + + "te.v1.DeleteNodesNodeGroupRequest\032\".goog" + + "le.cloud.compute.v1.Operation\"\327\001\202\323\344\223\002|\"O" + + "/compute/v1/projects/{project}/zones/{zo" + + "ne}/nodeGroups/{node_group}/deleteNodes:" + + ")node_groups_delete_nodes_request_resour" + + "ce\332AAproject,zone,node_group,node_groups" + + "_delete_nodes_request_resource\212N\016ZoneOpe" + + "rations\022\276\001\n\003Get\022,.google.cloud.compute.v" + + "1.GetNodeGroupRequest\032\".google.cloud.com" + + "pute.v1.NodeGroup\"e\202\323\344\223\002E\022C/compute/v1/p" + + "rojects/{project}/zones/{zone}/nodeGroup" + + "s/{node_group}\332A\027project,zone,node_group" + + "\022\326\001\n\014GetIamPolicy\0225.google.cloud.compute" + + ".v1.GetIamPolicyNodeGroupRequest\032\037.googl" + + "e.cloud.compute.v1.Policy\"n\202\323\344\223\002P\022N/comp" + + "ute/v1/projects/{project}/zones/{zone}/n" + + "odeGroups/{resource}/getIamPolicy\332A\025proj" + + "ect,zone,resource\022\372\001\n\006Insert\022/.google.cl" + + "oud.compute.v1.InsertNodeGroupRequest\032\"." + + "google.cloud.compute.v1.Operation\"\232\001\202\323\344\223" + + "\002M\"6/compute/v1/projects/{project}/zones" + + "/{zone}/nodeGroups:\023node_group_resource\332" + + "A3project,zone,initial_node_count,node_g" + + "roup_resource\212N\016ZoneOperations\022\255\001\n\004List\022" + + "..google.cloud.compute.v1.ListNodeGroups" + + "Request\032&.google.cloud.compute.v1.NodeGr" + + "oupList\"M\202\323\344\223\0028\0226/compute/v1/projects/{p" + + "roject}/zones/{zone}/nodeGroups\332A\014projec" + + "t,zone\022\337\001\n\tListNodes\0223.google.cloud.comp" + + "ute.v1.ListNodesNodeGroupsRequest\032,.goog" + + "le.cloud.compute.v1.NodeGroupsListNodes\"" + + "o\202\323\344\223\002O\"M/compute/v1/projects/{project}/" + + "zones/{zone}/nodeGroups/{node_group}/lis" + + "tNodes\332A\027project,zone,node_group\022\375\001\n\005Pat" + + "ch\022..google.cloud.compute.v1.PatchNodeGr" + + "oupRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\237\001\202\323\344\223\002Z2C/compute/v1/projects/{p" + + "roject}/zones/{zone}/nodeGroups/{node_gr" + + "oup}:\023node_group_resource\332A+project,zone" + + ",node_group,node_group_resource\212N\016ZoneOp" + + "erations\022\232\002\n\014SetIamPolicy\0225.google.cloud" + + ".compute.v1.SetIamPolicyNodeGroupRequest" + + "\032\037.google.cloud.compute.v1.Policy\"\261\001\202\323\344\223" + + "\002r\"N/compute/v1/projects/{project}/zones" + + "/{zone}/nodeGroups/{resource}/setIamPoli" + + "cy: zone_set_policy_request_resource\332A6p" + + "roject,zone,resource,zone_set_policy_req" + + "uest_resource\022\330\002\n\017SetNodeTemplate\0228.goog" + + "le.cloud.compute.v1.SetNodeTemplateNodeG" + + "roupRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\346\001\202\323\344\223\002\205\001\"S/compute/v1/projects/" + + "{project}/zones/{zone}/nodeGroups/{node_" + + "group}/setNodeTemplate:.node_groups_set_" + + "node_template_request_resource\332AFproject" + + ",zone,node_group,node_groups_set_node_te" + + "mplate_request_resource\212N\016ZoneOperations" + + "\022\277\002\n\022TestIamPermissions\022;.google.cloud.c" + + "ompute.v1.TestIamPermissionsNodeGroupReq" + + "uest\0320.google.cloud.compute.v1.TestPermi" + + "ssionsResponse\"\271\001\202\323\344\223\002y\"T/compute/v1/pro" + + "jects/{project}/zones/{zone}/nodeGroups/" + + "{resource}/testIamPermissions:!test_perm" + + "issions_request_resource\332A7project,zone," + + "resource,test_permissions_request_resour" + + "ce\032r\312A\026compute.googleapis.com\322AVhttps://" + + "www.googleapis.com/auth/compute,https://" + + "www.googleapis.com/auth/cloud-platform2\264" + + "\020\n\rNodeTemplates\022\315\001\n\016AggregatedList\022;.go" + + "ogle.cloud.compute.v1.AggregatedListNode" + + "TemplatesRequest\0323.google.cloud.compute." + + "v1.NodeTemplateAggregatedList\"I\202\323\344\223\0029\0227/" + + "compute/v1/projects/{project}/aggregated" + + "/nodeTemplates\332A\007project\022\352\001\n\006Delete\0222.go" + + "ogle.cloud.compute.v1.DeleteNodeTemplate" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\207\001\202\323\344\223\002O*M/compute/v1/projects/{proj" + + "ect}/regions/{region}/nodeTemplates/{nod" + + "e_template}\332A\034project,region,node_templa" + + "te\212N\020RegionOperations\022\323\001\n\003Get\022/.google.c" + + "loud.compute.v1.GetNodeTemplateRequest\032%" + + ".google.cloud.compute.v1.NodeTemplate\"t\202" + + "\323\344\223\002O\022M/compute/v1/projects/{project}/re" + + "gions/{region}/nodeTemplates/{node_templ" + + "ate}\332A\034project,region,node_template\022\342\001\n\014" + + "GetIamPolicy\0228.google.cloud.compute.v1.G" + + "etIamPolicyNodeTemplateRequest\032\037.google." + + "cloud.compute.v1.Policy\"w\202\323\344\223\002W\022U/comput" + + "e/v1/projects/{project}/regions/{region}" + + "/nodeTemplates/{resource}/getIamPolicy\332A" + + "\027project,region,resource\022\373\001\n\006Insert\0222.go" + + "ogle.cloud.compute.v1.InsertNodeTemplate" + + "Request\032\".google.cloud.compute.v1.Operat" + + "ion\"\230\001\202\323\344\223\002W\"=/compute/v1/projects/{proj" + + "ect}/regions/{region}/nodeTemplates:\026nod" + + "e_template_resource\332A%project,region,nod" + + "e_template_resource\212N\020RegionOperations\022\274" + + "\001\n\004List\0221.google.cloud.compute.v1.ListNo" + + "deTemplatesRequest\032).google.cloud.comput" + + "e.v1.NodeTemplateList\"V\202\323\344\223\002?\022=/compute/" + "v1/projects/{project}/regions/{region}/n" - + "odeTemplates/{node_template}\332A\034project,r" - + "egion,node_template\022\342\001\n\014GetIamPolicy\0228.g" - + "oogle.cloud.compute.v1.GetIamPolicyNodeT" - + "emplateRequest\032\037.google.cloud.compute.v1" - + ".Policy\"w\202\323\344\223\002W\022U/compute/v1/projects/{p" - + "roject}/regions/{region}/nodeTemplates/{" - + "resource}/getIamPolicy\332A\027project,region," - + "resource\022\373\001\n\006Insert\0222.google.cloud.compu" - + "te.v1.InsertNodeTemplateRequest\032\".google" - + ".cloud.compute.v1.Operation\"\230\001\202\323\344\223\002W\"=/c" + + "odeTemplates\332A\016project,region\022\252\002\n\014SetIam" + + "Policy\0228.google.cloud.compute.v1.SetIamP" + + "olicyNodeTemplateRequest\032\037.google.cloud." + + "compute.v1.Policy\"\276\001\202\323\344\223\002{\"U/compute/v1/" + + "projects/{project}/regions/{region}/node" + + "Templates/{resource}/setIamPolicy:\"regio" + + "n_set_policy_request_resource\332A:project," + + "region,resource,region_set_policy_reques" + + "t_resource\022\314\002\n\022TestIamPermissions\022>.goog" + + "le.cloud.compute.v1.TestIamPermissionsNo" + + "deTemplateRequest\0320.google.cloud.compute" + + ".v1.TestPermissionsResponse\"\303\001\202\323\344\223\002\200\001\"[/" + + "compute/v1/projects/{project}/regions/{r" + + "egion}/nodeTemplates/{resource}/testIamP" + + "ermissions:!test_permissions_request_res" + + "ource\332A9project,region,resource,test_per" + + "missions_request_resource\032r\312A\026compute.go" + + "ogleapis.com\322AVhttps://www.googleapis.co" + + "m/auth/compute,https://www.googleapis.co" + + "m/auth/cloud-platform2\337\005\n\tNodeTypes\022\301\001\n\016" + + "AggregatedList\0227.google.cloud.compute.v1" + + ".AggregatedListNodeTypesRequest\032/.google" + + ".cloud.compute.v1.NodeTypeAggregatedList" + + "\"E\202\323\344\223\0025\0223/compute/v1/projects/{project}" + + "/aggregated/nodeTypes\332A\007project\022\271\001\n\003Get\022" + + "+.google.cloud.compute.v1.GetNodeTypeReq", + "uest\032!.google.cloud.compute.v1.NodeType\"" + + "b\202\323\344\223\002C\022A/compute/v1/projects/{project}/" + + "zones/{zone}/nodeTypes/{node_type}\332A\026pro" + + "ject,zone,node_type\022\252\001\n\004List\022-.google.cl" + + "oud.compute.v1.ListNodeTypesRequest\032%.go" + + "ogle.cloud.compute.v1.NodeTypeList\"L\202\323\344\223" + + "\0027\0225/compute/v1/projects/{project}/zones" + + "/{zone}/nodeTypes\332A\014project,zone\032\244\001\312A\026co" + + "mpute.googleapis.com\322A\207\001https://www.goog" + + "leapis.com/auth/compute.readonly,https:/" + + "/www.googleapis.com/auth/compute,https:/" + + "/www.googleapis.com/auth/cloud-platform2" + + "\220\017\n\020PacketMirrorings\022\326\001\n\016AggregatedList\022" + + ">.google.cloud.compute.v1.AggregatedList" + + "PacketMirroringsRequest\0326.google.cloud.c" + + "ompute.v1.PacketMirroringAggregatedList\"" + + "L\202\323\344\223\002<\022:/compute/v1/projects/{project}/" + + "aggregated/packetMirrorings\332A\007project\022\366\001" + + "\n\006Delete\0225.google.cloud.compute.v1.Delet" + + "ePacketMirroringRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\220\001\202\323\344\223\002U*S/compute/v" + + "1/projects/{project}/regions/{region}/pa" + + "cketMirrorings/{packet_mirroring}\332A\037proj" + + "ect,region,packet_mirroring\212N\020RegionOper" + + "ations\022\342\001\n\003Get\0222.google.cloud.compute.v1" + + ".GetPacketMirroringRequest\032(.google.clou" + + "d.compute.v1.PacketMirroring\"}\202\323\344\223\002U\022S/c" + "ompute/v1/projects/{project}/regions/{re" - + "gion}/nodeTemplates:\026node_template_resou" - + "rce\332A%project,region,node_template_resou" - + "rce\212N\020RegionOperations\022\274\001\n\004List\0221.google" - + ".cloud.compute.v1.ListNodeTemplatesReque" - + "st\032).google.cloud.compute.v1.NodeTemplat" - + "eList\"V\202\323\344\223\002?\022=/compute/v1/projects/{pro" - + "ject}/regions/{region}/nodeTemplates\332A\016p" - + "roject,region\022\252\002\n\014SetIamPolicy\0228.google." - + "cloud.compute.v1.SetIamPolicyNodeTemplat" - + "eRequest\032\037.google.cloud.compute.v1.Polic" - + "y\"\276\001\202\323\344\223\002{\"U/compute/v1/projects/{projec" - + "t}/regions/{region}/nodeTemplates/{resou" - + "rce}/setIamPolicy:\"region_set_policy_req" - + "uest_resource\332A:project,region,resource," - + "region_set_policy_request_resource\022\314\002\n\022T" - + "estIamPermissions\022>.google.cloud.compute" - + ".v1.TestIamPermissionsNodeTemplateReques" - + "t\0320.google.cloud.compute.v1.TestPermissi" - + "onsResponse\"\303\001\202\323\344\223\002\200\001\"[/compute/v1/proje" - + "cts/{project}/regions/{region}/nodeTempl" - + "ates/{resource}/testIamPermissions:!test" - + "_permissions_request_resource\332A9project," - + "region,resource,test_permissions_request" - + "_resource\032r\312A\026compute.googleapis.com\322AVh" - + "ttps://www.googleapis.com/auth/compute,h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform2\337\005\n\tNodeTypes\022\301\001\n\016AggregatedList\0227" - + ".google.cloud.compute.v1.AggregatedListN" - + "odeTypesRequest\032/.google.cloud.compute.v" - + "1.NodeTypeAggregatedList\"E\202\323\344\223\0025\0223/compu" - + "te/v1/projects/{project}/aggregated/node" - + "Types\332A\007project\022\271\001\n\003Get\022+.google.cloud.c" - + "ompute.v1.GetNodeTypeRequest\032!.google.cl" - + "oud.compute.v1.NodeType\"b\202\323\344\223\002C\022A/comput" - + "e/v1/projects/{project}/zones/{zone}/nod" - + "eTypes/{node_type}\332A\026project,zone,node_t" - + "ype\022\252\001\n\004List\022-.google.cloud.compute.v1.L" - + "istNodeTypesRequest\032%.google.cloud.compu" - + "te.v1.NodeTypeList\"L\202\323\344\223\0027\0225/compute/v1/" - + "projects/{project}/zones/{zone}/nodeType" - + "s\332A\014project,zone\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\220\017\n\020PacketMirror" - + "ings\022\326\001\n\016AggregatedList\022>.google.cloud.c" - + "ompute.v1.AggregatedListPacketMirrorings" - + "Request\0326.google.cloud.compute.v1.Packet" - + "MirroringAggregatedList\"L\202\323\344\223\002<\022:/comput" - + "e/v1/projects/{project}/aggregated/packe" - + "tMirrorings\332A\007project\022\366\001\n\006Delete\0225.googl" - + "e.cloud.compute.v1.DeletePacketMirroring" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\220\001\202\323\344\223\002U*S/compute/v1/projects/{proj" - + "ect}/regions/{region}/packetMirrorings/{" - + "packet_mirroring}\332A\037project,region,packe" - + "t_mirroring\212N\020RegionOperations\022\342\001\n\003Get\0222" - + ".google.cloud.compute.v1.GetPacketMirror" - + "ingRequest\032(.google.cloud.compute.v1.Pac" - + "ketMirroring\"}\202\323\344\223\002U\022S/compute/v1/projec" - + "ts/{project}/regions/{region}/packetMirr" - + "orings/{packet_mirroring}\332A\037project,regi" - + "on,packet_mirroring\022\207\002\n\006Insert\0225.google." - + "cloud.compute.v1.InsertPacketMirroringRe" + + "gion}/packetMirrorings/{packet_mirroring" + + "}\332A\037project,region,packet_mirroring\022\207\002\n\006" + + "Insert\0225.google.cloud.compute.v1.InsertP" + + "acketMirroringRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\241\001\202\323\344\223\002]\"@/compute/v1/" + + "projects/{project}/regions/{region}/pack" + + "etMirrorings:\031packet_mirroring_resource\332" + + "A(project,region,packet_mirroring_resour" + + "ce\212N\020RegionOperations\022\305\001\n\004List\0224.google." + + "cloud.compute.v1.ListPacketMirroringsReq" + + "uest\032,.google.cloud.compute.v1.PacketMir" + + "roringList\"Y\202\323\344\223\002B\022@/compute/v1/projects" + + "/{project}/regions/{region}/packetMirror" + + "ings\332A\016project,region\022\251\002\n\005Patch\0224.google" + + ".cloud.compute.v1.PatchPacketMirroringRe" + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\241\001\202\323\344\223\002]\"@/compute/v1/projects/{projec" - + "t}/regions/{region}/packetMirrorings:\031pa" - + "cket_mirroring_resource\332A(project,region" - + ",packet_mirroring_resource\212N\020RegionOpera" - + "tions\022\305\001\n\004List\0224.google.cloud.compute.v1" - + ".ListPacketMirroringsRequest\032,.google.cl" - + "oud.compute.v1.PacketMirroringList\"Y\202\323\344\223" - + "\002B\022@/compute/v1/projects/{project}/regio" - + "ns/{region}/packetMirrorings\332A\016project,r" - + "egion\022\251\002\n\005Patch\0224.google.cloud.compute.v" - + "1.PatchPacketMirroringRequest\032\".google.c" - + "loud.compute.v1.Operation\"\305\001\202\323\344\223\002p2S/com" - + "pute/v1/projects/{project}/regions/{regi" - + "on}/packetMirrorings/{packet_mirroring}:" - + "\031packet_mirroring_resource\332A9project,reg" - + "ion,packet_mirroring,packet_mirroring_re" - + "source\212N\020RegionOperations\022\322\002\n\022TestIamPer" - + "missions\022A.google.cloud.compute.v1.TestI" - + "amPermissionsPacketMirroringRequest\0320.go" - + "ogle.cloud.compute.v1.TestPermissionsRes" - + "ponse\"\306\001\202\323\344\223\002\203\001\"^/compute/v1/projects/{p" - + "roject}/regions/{region}/packetMirroring" - + "s/{resource}/testIamPermissions:!test_pe" - + "rmissions_request_resource\332A9project,reg" - + "ion,resource,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\200\031\n\010Projects\022\277\001\n\016DisableXpnHost\0225.goo" - + "gle.cloud.compute.v1.DisableXpnHostProje" - + "ctRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"R\202\323\344\223\002/\"-/compute/v1/projects/{pro" - + "ject}/disableXpnHost\332A\007project\212N\020GlobalO" - + "perations\022\253\002\n\022DisableXpnResource\0229.googl" - + "e.cloud.compute.v1.DisableXpnResourcePro" - + "jectRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\265\001\202\323\344\223\002c\"1/compute/v1/projects/{" - + "project}/disableXpnResource:.projects_di" - + "sable_xpn_resource_request_resource\332A6pr" - + "oject,projects_disable_xpn_resource_requ" - + "est_resource\212N\020GlobalOperations\022\274\001\n\rEnab" - + "leXpnHost\0224.google.cloud.compute.v1.Enab" - + "leXpnHostProjectRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"Q\202\323\344\223\002.\",/compute/v1" - + "/projects/{project}/enableXpnHost\332A\007proj" - + "ect\212N\020GlobalOperations\022\246\002\n\021EnableXpnReso" - + "urce\0228.google.cloud.compute.v1.EnableXpn" - + "ResourceProjectRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\262\001\202\323\344\223\002a\"0/compute/v1" - + "/projects/{project}/enableXpnResource:-p" - + "rojects_enable_xpn_resource_request_reso" - + "urce\332A5project,projects_enable_xpn_resou" - + "rce_request_resource\212N\020GlobalOperations\022" - + "\205\001\n\003Get\022*.google.cloud.compute.v1.GetPro" - + "jectRequest\032 .google.cloud.compute.v1.Pr" - + "oject\"0\202\323\344\223\002 \022\036/compute/v1/projects/{pro" - + "ject}\332A\007project\022\236\001\n\nGetXpnHost\0221.google." - + "cloud.compute.v1.GetXpnHostProjectReques" - + "t\032 .google.cloud.compute.v1.Project\";\202\323\344" - + "\223\002+\022)/compute/v1/projects/{project}/getX" - + "pnHost\332A\007project\022\276\001\n\017GetXpnResources\0227.g" - + "oogle.cloud.compute.v1.GetXpnResourcesPr" - + "ojectsRequest\0320.google.cloud.compute.v1." - + "ProjectsGetXpnResources\"@\202\323\344\223\0020\022./comput" - + "e/v1/projects/{project}/getXpnResources\332" - + "A\007project\022\375\001\n\014ListXpnHosts\0224.google.clou" - + "d.compute.v1.ListXpnHostsProjectsRequest" - + "\032$.google.cloud.compute.v1.XpnHostList\"\220" - + "\001\202\323\344\223\002W\"+/compute/v1/projects/{project}/" - + "listXpnHosts:(projects_list_xpn_hosts_re" - + "quest_resource\332A0project,projects_list_x" - + "pn_hosts_request_resource\022\345\001\n\010MoveDisk\022/" - + ".google.cloud.compute.v1.MoveDiskProject" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\203\001\202\323\344\223\002E\"\'/compute/v1/projects/{proj" - + "ect}/moveDisk:\032disk_move_request_resourc" - + "e\332A\"project,disk_move_request_resource\212N" - + "\020GlobalOperations\022\371\001\n\014MoveInstance\0223.goo" - + "gle.cloud.compute.v1.MoveInstanceProject" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\217\001\202\323\344\223\002M\"+/compute/v1/projects/{proj" - + "ect}/moveInstance:\036instance_move_request" - + "_resource\332A&project,instance_move_reques" - + "t_resource\212N\020GlobalOperations\022\206\002\n\031SetCom" - + "monInstanceMetadata\022@.google.cloud.compu" - + "te.v1.SetCommonInstanceMetadataProjectRe" + + "n\"\305\001\202\323\344\223\002p2S/compute/v1/projects/{projec" + + "t}/regions/{region}/packetMirrorings/{pa" + + "cket_mirroring}:\031packet_mirroring_resour" + + "ce\332A9project,region,packet_mirroring,pac" + + "ket_mirroring_resource\212N\020RegionOperation" + + "s\022\322\002\n\022TestIamPermissions\022A.google.cloud." + + "compute.v1.TestIamPermissionsPacketMirro" + + "ringRequest\0320.google.cloud.compute.v1.Te" + + "stPermissionsResponse\"\306\001\202\323\344\223\002\203\001\"^/comput" + + "e/v1/projects/{project}/regions/{region}" + + "/packetMirrorings/{resource}/testIamPerm" + + "issions:!test_permissions_request_resour" + + "ce\332A9project,region,resource,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\200\031\n\010Projects\022\277\001\n\016Disa" + + "bleXpnHost\0225.google.cloud.compute.v1.Dis" + + "ableXpnHostProjectRequest\032\".google.cloud" + + ".compute.v1.Operation\"R\202\323\344\223\002/\"-/compute/" + + "v1/projects/{project}/disableXpnHost\332A\007p" + + "roject\212N\020GlobalOperations\022\253\002\n\022DisableXpn" + + "Resource\0229.google.cloud.compute.v1.Disab" + + "leXpnResourceProjectRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\265\001\202\323\344\223\002c\"1/compu" + + "te/v1/projects/{project}/disableXpnResou" + + "rce:.projects_disable_xpn_resource_reque" + + "st_resource\332A6project,projects_disable_x" + + "pn_resource_request_resource\212N\020GlobalOpe" + + "rations\022\274\001\n\rEnableXpnHost\0224.google.cloud" + + ".compute.v1.EnableXpnHostProjectRequest\032" + + "\".google.cloud.compute.v1.Operation\"Q\202\323\344" + + "\223\002.\",/compute/v1/projects/{project}/enab" + + "leXpnHost\332A\007project\212N\020GlobalOperations\022\246" + + "\002\n\021EnableXpnResource\0228.google.cloud.comp" + + "ute.v1.EnableXpnResourceProjectRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\262\001\202\323\344" + + "\223\002a\"0/compute/v1/projects/{project}/enab" + + "leXpnResource:-projects_enable_xpn_resou" + + "rce_request_resource\332A5project,projects_" + + "enable_xpn_resource_request_resource\212N\020G" + + "lobalOperations\022\205\001\n\003Get\022*.google.cloud.c" + + "ompute.v1.GetProjectRequest\032 .google.clo" + + "ud.compute.v1.Project\"0\202\323\344\223\002 \022\036/compute/" + + "v1/projects/{project}\332A\007project\022\236\001\n\nGetX" + + "pnHost\0221.google.cloud.compute.v1.GetXpnH" + + "ostProjectRequest\032 .google.cloud.compute" + + ".v1.Project\";\202\323\344\223\002+\022)/compute/v1/project" + + "s/{project}/getXpnHost\332A\007project\022\276\001\n\017Get" + + "XpnResources\0227.google.cloud.compute.v1.G" + + "etXpnResourcesProjectsRequest\0320.google.c" + + "loud.compute.v1.ProjectsGetXpnResources\"" + + "@\202\323\344\223\0020\022./compute/v1/projects/{project}/" + + "getXpnResources\332A\007project\022\375\001\n\014ListXpnHos" + + "ts\0224.google.cloud.compute.v1.ListXpnHost" + + "sProjectsRequest\032$.google.cloud.compute." + + "v1.XpnHostList\"\220\001\202\323\344\223\002W\"+/compute/v1/pro" + + "jects/{project}/listXpnHosts:(projects_l" + + "ist_xpn_hosts_request_resource\332A0project" + + ",projects_list_xpn_hosts_request_resourc" + + "e\022\345\001\n\010MoveDisk\022/.google.cloud.compute.v1" + + ".MoveDiskProjectRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\203\001\202\323\344\223\002E\"\'/compute/v" + + "1/projects/{project}/moveDisk:\032disk_move" + + "_request_resource\332A\"project,disk_move_re" + + "quest_resource\212N\020GlobalOperations\022\371\001\n\014Mo" + + "veInstance\0223.google.cloud.compute.v1.Mov" + + "eInstanceProjectRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\217\001\202\323\344\223\002M\"+/compute/v" + + "1/projects/{project}/moveInstance:\036insta" + + "nce_move_request_resource\332A&project,inst" + + "ance_move_request_resource\212N\020GlobalOpera" + + "tions\022\206\002\n\031SetCommonInstanceMetadata\022@.go" + + "ogle.cloud.compute.v1.SetCommonInstanceM" + + "etadataProjectRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\202\001\202\323\344\223\002M\"8/compute/v1/" + + "projects/{project}/setCommonInstanceMeta" + + "data:\021metadata_resource\332A\031project,metada" + + "ta_resource\212N\020GlobalOperations\022\274\002\n\025SetDe" + + "faultNetworkTier\022<.google.cloud.compute." + + "v1.SetDefaultNetworkTierProjectRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\300\001\202\323\344" + + "\223\002j\"4/compute/v1/projects/{project}/setD" + + "efaultNetworkTier:2projects_set_default_" + + "network_tier_request_resource\332A:project," + + "projects_set_default_network_tier_reques" + + "t_resource\212N\020GlobalOperations\022\221\002\n\024SetUsa" + + "geExportBucket\022;.google.cloud.compute.v1" + + ".SetUsageExportBucketProjectRequest\032\".go" + + "ogle.cloud.compute.v1.Operation\"\227\001\202\323\344\223\002U" + + "\"3/compute/v1/projects/{project}/setUsag" + + "eExportBucket:\036usage_export_location_res" + + "ource\332A&project,usage_export_location_re" + + "source\212N\020GlobalOperations\032r\312A\026compute.go" + + "ogleapis.com\322AVhttps://www.googleapis.co" + + "m/auth/compute,https://www.googleapis.co" + + "m/auth/cloud-platform2\304\013\n\030PublicAdvertis" + + "edPrefixes\022\205\002\n\006Delete\022=.google.cloud.com" + + "pute.v1.DeletePublicAdvertisedPrefixeReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\227\001\202\323\344\223\002[*Y/compute/v1/projects/{project" + + "}/global/publicAdvertisedPrefixes/{publi" + + "c_advertised_prefix}\332A project,public_ad" + + "vertised_prefix\212N\020GlobalOperations\022\371\001\n\003G" + + "et\022:.google.cloud.compute.v1.GetPublicAd" + + "vertisedPrefixeRequest\032/.google.cloud.co" + + "mpute.v1.PublicAdvertisedPrefix\"\204\001\202\323\344\223\002[" + + "\022Y/compute/v1/projects/{project}/global/" + + "publicAdvertisedPrefixes/{public_adverti" + + "sed_prefix}\332A project,public_advertised_" + + "prefix\022\226\002\n\006Insert\022=.google.cloud.compute" + + ".v1.InsertPublicAdvertisedPrefixeRequest" + + "\032\".google.cloud.compute.v1.Operation\"\250\001\202" + + "\323\344\223\002c\">/compute/v1/projects/{project}/gl" + + "obal/publicAdvertisedPrefixes:!public_ad" + + "vertised_prefix_resource\332A)project,publi" + + "c_advertised_prefix_resource\212N\020GlobalOpe" + + "rations\022\313\001\n\004List\022<.google.cloud.compute." + + "v1.ListPublicAdvertisedPrefixesRequest\0323" + + ".google.cloud.compute.v1.PublicAdvertise" + + "dPrefixList\"P\202\323\344\223\002@\022>/compute/v1/project" + + "s/{project}/global/publicAdvertisedPrefi" + + "xes\332A\007project\022\310\002\n\005Patch\022<.google.cloud.c" + + "ompute.v1.PatchPublicAdvertisedPrefixeRe" + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\202\001\202\323\344\223\002M\"8/compute/v1/projects/{projec" - + "t}/setCommonInstanceMetadata:\021metadata_r" - + "esource\332A\031project,metadata_resource\212N\020Gl" - + "obalOperations\022\274\002\n\025SetDefaultNetworkTier" - + "\022<.google.cloud.compute.v1.SetDefaultNet" - + "workTierProjectRequest\032\".google.cloud.co" - + "mpute.v1.Operation\"\300\001\202\323\344\223\002j\"4/compute/v1" - + "/projects/{project}/setDefaultNetworkTie" - + "r:2projects_set_default_network_tier_req" - + "uest_resource\332A:project,projects_set_def" - + "ault_network_tier_request_resource\212N\020Glo" - + "balOperations\022\221\002\n\024SetUsageExportBucket\022;" - + ".google.cloud.compute.v1.SetUsageExportB" - + "ucketProjectRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\227\001\202\323\344\223\002U\"3/compute/v1/pr" - + "ojects/{project}/setUsageExportBucket:\036u" - + "sage_export_location_resource\332A&project," - + "usage_export_location_resource\212N\020GlobalO" - + "perations\032r\312A\026compute.googleapis.com\322AVh" - + "ttps://www.googleapis.com/auth/compute,h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform2\304\013\n\030PublicAdvertisedPrefixes\022\205\002\n\006D" - + "elete\022=.google.cloud.compute.v1.DeletePu" - + "blicAdvertisedPrefixeRequest\032\".google.cl" - + "oud.compute.v1.Operation\"\227\001\202\323\344\223\002[*Y/comp" - + "ute/v1/projects/{project}/global/publicA" - + "dvertisedPrefixes/{public_advertised_pre" - + "fix}\332A project,public_advertised_prefix\212" - + "N\020GlobalOperations\022\371\001\n\003Get\022:.google.clou" - + "d.compute.v1.GetPublicAdvertisedPrefixeR" - + "equest\032/.google.cloud.compute.v1.PublicA" - + "dvertisedPrefix\"\204\001\202\323\344\223\002[\022Y/compute/v1/pr" - + "ojects/{project}/global/publicAdvertised" - + "Prefixes/{public_advertised_prefix}\332A pr" - + "oject,public_advertised_prefix\022\226\002\n\006Inser" - + "t\022=.google.cloud.compute.v1.InsertPublic" - + "AdvertisedPrefixeRequest\032\".google.cloud." - + "compute.v1.Operation\"\250\001\202\323\344\223\002c\">/compute/" - + "v1/projects/{project}/global/publicAdver" - + "tisedPrefixes:!public_advertised_prefix_" - + "resource\332A)project,public_advertised_pre" - + "fix_resource\212N\020GlobalOperations\022\313\001\n\004List" - + "\022<.google.cloud.compute.v1.ListPublicAdv" - + "ertisedPrefixesRequest\0323.google.cloud.co" - + "mpute.v1.PublicAdvertisedPrefixList\"P\202\323\344" - + "\223\002@\022>/compute/v1/projects/{project}/glob" - + "al/publicAdvertisedPrefixes\332A\007project\022\310\002" - + "\n\005Patch\022<.google.cloud.compute.v1.PatchP" - + "ublicAdvertisedPrefixeRequest\032\".google.c" - + "loud.compute.v1.Operation\"\334\001\202\323\344\223\002~2Y/com" - + "pute/v1/projects/{project}/global/public" - + "AdvertisedPrefixes/{public_advertised_pr" - + "efix}:!public_advertised_prefix_resource" - + "\332ABproject,public_advertised_prefix,publ" - + "ic_advertised_prefix_resource\212N\020GlobalOp" - + "erations\032r\312A\026compute.googleapis.com\322AVht" - + "tps://www.googleapis.com/auth/compute,ht" - + "tps://www.googleapis.com/auth/cloud-plat" - + "form2\360\r\n\027PublicDelegatedPrefixes\022\352\001\n\016Agg" - + "regatedList\022E.google.cloud.compute.v1.Ag" - + "gregatedListPublicDelegatedPrefixesReque" - + "st\032<.google.cloud.compute.v1.PublicDeleg" - + "atedPrefixAggregatedList\"S\202\323\344\223\002C\022A/compu" - + "te/v1/projects/{project}/aggregated/publ" - + "icDelegatedPrefixes\332A\007project\022\222\002\n\006Delete" - + "\022<.google.cloud.compute.v1.DeletePublicD" - + "elegatedPrefixeRequest\032\".google.cloud.co", - "mpute.v1.Operation\"\245\001\202\323\344\223\002c*a/compute/v1" - + "/projects/{project}/regions/{region}/pub" - + "licDelegatedPrefixes/{public_delegated_p" - + "refix}\332A&project,region,public_delegated" - + "_prefix\212N\020RegionOperations\022\205\002\n\003Get\0229.goo" - + "gle.cloud.compute.v1.GetPublicDelegatedP" - + "refixeRequest\032..google.cloud.compute.v1." - + "PublicDelegatedPrefix\"\222\001\202\323\344\223\002c\022a/compute" + + "n\"\334\001\202\323\344\223\002~2Y/compute/v1/projects/{projec" + + "t}/global/publicAdvertisedPrefixes/{publ" + + "ic_advertised_prefix}:!public_advertised" + + "_prefix_resource\332ABproject,public_advert" + + "ised_prefix,public_advertised_prefix_res" + + "ource\212N\020GlobalOperations\032r\312A\026compute.goo" + + "gleapis.com\322AVhttps://www.googleapis.com" + + "/auth/compute,https://www.googleapis.com" + + "/auth/cloud-platform2\360\r\n\027PublicDelegated" + + "Prefixes\022\352\001\n\016AggregatedList\022E.google.clo" + + "ud.compute.v1.AggregatedListPublicDelega" + + "tedPrefixesRequest\032<.google.cloud.comput" + + "e.v1.PublicDelegatedPrefixAggregatedList" + + "\"S\202\323\344\223\002C\022A/compute/v1/projects/{project}" + + "/aggregated/publicDelegatedPrefixes\332A\007pr" + + "oject\022\222\002\n\006Delete\022<.google.cloud.compute." + + "v1.DeletePublicDelegatedPrefixeRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\245\001\202\323\344" + + "\223\002c*a/compute/v1/projects/{project}/regi" + + "ons/{region}/publicDelegatedPrefixes/{pu" + + "blic_delegated_prefix}\332A&project,region," + + "public_delegated_prefix\212N\020RegionOperatio" + + "ns\022\205\002\n\003Get\0229.google.cloud.compute.v1.Get" + + "PublicDelegatedPrefixeRequest\032..google.c" + + "loud.compute.v1.PublicDelegatedPrefix\"\222\001" + + "\202\323\344\223\002c\022a/compute/v1/projects/{project}/r" + + "egions/{region}/publicDelegatedPrefixes/" + + "{public_delegated_prefix}\332A&project,regi" + + "on,public_delegated_prefix\022\243\002\n\006Insert\022<." + + "google.cloud.compute.v1.InsertPublicDele" + + "gatedPrefixeRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\266\001\202\323\344\223\002k\"G/compute/v1/pr" + + "ojects/{project}/regions/{region}/public" + + "DelegatedPrefixes: public_delegated_pref" + + "ix_resource\332A/project,region,public_dele" + + "gated_prefix_resource\212N\020RegionOperations" + + "\022\331\001\n\004List\022;.google.cloud.compute.v1.List" + + "PublicDelegatedPrefixesRequest\0322.google." + + "cloud.compute.v1.PublicDelegatedPrefixLi" + + "st\"`\202\323\344\223\002I\022G/compute/v1/projects/{projec" + + "t}/regions/{region}/publicDelegatedPrefi" + + "xes\332A\016project,region\022\324\002\n\005Patch\022;.google." + + "cloud.compute.v1.PatchPublicDelegatedPre" + + "fixeRequest\032\".google.cloud.compute.v1.Op" + + "eration\"\351\001\202\323\344\223\002\205\0012a/compute/v1/projects/" + + "{project}/regions/{region}/publicDelegat" + + "edPrefixes/{public_delegated_prefix}: pu" + + "blic_delegated_prefix_resource\332AGproject" + + ",region,public_delegated_prefix,public_d" + + "elegated_prefix_resource\212N\020RegionOperati" + + "ons\032r\312A\026compute.googleapis.com\322AVhttps:/" + + "/www.googleapis.com/auth/compute,https:/" + + "/www.googleapis.com/auth/cloud-platform2" + + "\360\013\n\021RegionAutoscalers\022\345\001\n\006Delete\0226.googl" + + "e.cloud.compute.v1.DeleteRegionAutoscale" + + "rRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\177\202\323\344\223\002J*H/compute/v1/projects/{proj" + + "ect}/regions/{region}/autoscalers/{autos" + + "caler}\332A\031project,region,autoscaler\212N\020Reg" + + "ionOperations\022\315\001\n\003Get\0223.google.cloud.com" + + "pute.v1.GetRegionAutoscalerRequest\032#.goo" + + "gle.cloud.compute.v1.Autoscaler\"l\202\323\344\223\002J\022" + + "H/compute/v1/projects/{project}/regions/" + + "{region}/autoscalers/{autoscaler}\332A\031proj" + + "ect,region,autoscaler\022\367\001\n\006Insert\0226.googl" + + "e.cloud.compute.v1.InsertRegionAutoscale" + + "rRequest\032\".google.cloud.compute.v1.Opera" + + "tion\"\220\001\202\323\344\223\002R\";/compute/v1/projects/{pro" + + "ject}/regions/{region}/autoscalers:\023auto" + + "scaler_resource\332A\"project,region,autosca" + + "ler_resource\212N\020RegionOperations\022\302\001\n\004List" + + "\0225.google.cloud.compute.v1.ListRegionAut" + + "oscalersRequest\032-.google.cloud.compute.v" + + "1.RegionAutoscalerList\"T\202\323\344\223\002=\022;/compute" + "/v1/projects/{project}/regions/{region}/" - + "publicDelegatedPrefixes/{public_delegate" - + "d_prefix}\332A&project,region,public_delega" - + "ted_prefix\022\243\002\n\006Insert\022<.google.cloud.com" - + "pute.v1.InsertPublicDelegatedPrefixeRequ" - + "est\032\".google.cloud.compute.v1.Operation\"" - + "\266\001\202\323\344\223\002k\"G/compute/v1/projects/{project}" - + "/regions/{region}/publicDelegatedPrefixe" - + "s: public_delegated_prefix_resource\332A/pr" - + "oject,region,public_delegated_prefix_res" - + "ource\212N\020RegionOperations\022\331\001\n\004List\022;.goog" - + "le.cloud.compute.v1.ListPublicDelegatedP" - + "refixesRequest\0322.google.cloud.compute.v1" - + ".PublicDelegatedPrefixList\"`\202\323\344\223\002I\022G/com" - + "pute/v1/projects/{project}/regions/{regi" - + "on}/publicDelegatedPrefixes\332A\016project,re" - + "gion\022\324\002\n\005Patch\022;.google.cloud.compute.v1" - + ".PatchPublicDelegatedPrefixeRequest\032\".go" - + "ogle.cloud.compute.v1.Operation\"\351\001\202\323\344\223\002\205" - + "\0012a/compute/v1/projects/{project}/region" - + "s/{region}/publicDelegatedPrefixes/{publ" - + "ic_delegated_prefix}: public_delegated_p" - + "refix_resource\332AGproject,region,public_d" - + "elegated_prefix,public_delegated_prefix_" - + "resource\212N\020RegionOperations\032r\312A\026compute." - + "googleapis.com\322AVhttps://www.googleapis." - + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\360\013\n\021RegionAutosc" - + "alers\022\345\001\n\006Delete\0226.google.cloud.compute." - + "v1.DeleteRegionAutoscalerRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\177\202\323\344\223\002J*H/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/autoscalers/{autoscaler}\332A\031project" - + ",region,autoscaler\212N\020RegionOperations\022\315\001" - + "\n\003Get\0223.google.cloud.compute.v1.GetRegio" - + "nAutoscalerRequest\032#.google.cloud.comput" - + "e.v1.Autoscaler\"l\202\323\344\223\002J\022H/compute/v1/pro" - + "jects/{project}/regions/{region}/autosca" - + "lers/{autoscaler}\332A\031project,region,autos" - + "caler\022\367\001\n\006Insert\0226.google.cloud.compute." - + "v1.InsertRegionAutoscalerRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\220\001\202\323\344\223\002R\";/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/autoscalers:\023autoscaler_resource\332" - + "A\"project,region,autoscaler_resource\212N\020R" - + "egionOperations\022\302\001\n\004List\0225.google.cloud." - + "compute.v1.ListRegionAutoscalersRequest\032" - + "-.google.cloud.compute.v1.RegionAutoscal" - + "erList\"T\202\323\344\223\002=\022;/compute/v1/projects/{pr" - + "oject}/regions/{region}/autoscalers\332A\016pr" - + "oject,region\022\365\001\n\005Patch\0225.google.cloud.co" - + "mpute.v1.PatchRegionAutoscalerRequest\032\"." - + "google.cloud.compute.v1.Operation\"\220\001\202\323\344\223" - + "\002R2;/compute/v1/projects/{project}/regio" - + "ns/{region}/autoscalers:\023autoscaler_reso" - + "urce\332A\"project,region,autoscaler_resourc" - + "e\212N\020RegionOperations\022\367\001\n\006Update\0226.google" - + ".cloud.compute.v1.UpdateRegionAutoscaler" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\220\001\202\323\344\223\002R\032;/compute/v1/projects/{proj" - + "ect}/regions/{region}/autoscalers:\023autos" - + "caler_resource\332A\"project,region,autoscal" - + "er_resource\212N\020RegionOperations\032r\312A\026compu" - + "te.googleapis.com\322AVhttps://www.googleap" - + "is.com/auth/compute,https://www.googleap" - + "is.com/auth/cloud-platform2\353\017\n\025RegionBac" - + "kendServices\022\370\001\n\006Delete\022:.google.cloud.c" - + "ompute.v1.DeleteRegionBackendServiceRequ" - + "est\032\".google.cloud.compute.v1.Operation\"" - + "\215\001\202\323\344\223\002S*Q/compute/v1/projects/{project}" + + "autoscalers\332A\016project,region\022\365\001\n\005Patch\0225" + + ".google.cloud.compute.v1.PatchRegionAuto" + + "scalerRequest\032\".google.cloud.compute.v1." + + "Operation\"\220\001\202\323\344\223\002R2;/compute/v1/projects" + + "/{project}/regions/{region}/autoscalers:" + + "\023autoscaler_resource\332A\"project,region,au" + + "toscaler_resource\212N\020RegionOperations\022\367\001\n" + + "\006Update\0226.google.cloud.compute.v1.Update" + + "RegionAutoscalerRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\220\001\202\323\344\223\002R\032;/compute/v" + + "1/projects/{project}/regions/{region}/au" + + "toscalers:\023autoscaler_resource\332A\"project" + + ",region,autoscaler_resource\212N\020RegionOper" + + "ations\032r\312A\026compute.googleapis.com\322AVhttp" + + "s://www.googleapis.com/auth/compute,http" + + "s://www.googleapis.com/auth/cloud-platfo" + + "rm2\353\017\n\025RegionBackendServices\022\370\001\n\006Delete\022" + + ":.google.cloud.compute.v1.DeleteRegionBa" + + "ckendServiceRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\215\001\202\323\344\223\002S*Q/compute/v1/pr" + + "ojects/{project}/regions/{region}/backen" + + "dServices/{backend_service}\332A\036project,re" + + "gion,backend_service\212N\020RegionOperations\022" + + "\343\001\n\003Get\0227.google.cloud.compute.v1.GetReg" + + "ionBackendServiceRequest\032\'.google.cloud." + + "compute.v1.BackendService\"z\202\323\344\223\002S\022Q/comp" + + "ute/v1/projects/{project}/regions/{regio" + + "n}/backendServices/{backend_service}\332A\036p" + + "roject,region,backend_service\022\313\002\n\tGetHea" + + "lth\022=.google.cloud.compute.v1.GetHealthR" + + "egionBackendServiceRequest\0322.google.clou" + + "d.compute.v1.BackendServiceGroupHealth\"\312" + + "\001\202\323\344\223\002\200\001\"[/compute/v1/projects/{project}" + "/regions/{region}/backendServices/{backe" - + "nd_service}\332A\036project,region,backend_ser" - + "vice\212N\020RegionOperations\022\343\001\n\003Get\0227.google" - + ".cloud.compute.v1.GetRegionBackendServic" - + "eRequest\032\'.google.cloud.compute.v1.Backe" - + "ndService\"z\202\323\344\223\002S\022Q/compute/v1/projects/" - + "{project}/regions/{region}/backendServic" - + "es/{backend_service}\332A\036project,region,ba" - + "ckend_service\022\313\002\n\tGetHealth\022=.google.clo" - + "ud.compute.v1.GetHealthRegionBackendServ" - + "iceRequest\0322.google.cloud.compute.v1.Bac" - + "kendServiceGroupHealth\"\312\001\202\323\344\223\002\200\001\"[/compu" + + "nd_service}/getHealth:!resource_group_re" + + "ference_resource\332A@project,region,backen" + + "d_service,resource_group_reference_resou" + + "rce\022\211\002\n\006Insert\022:.google.cloud.compute.v1" + + ".InsertRegionBackendServiceRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\236\001\202\323\344\223\002[\"" + + "?/compute/v1/projects/{project}/regions/" + + "{region}/backendServices:\030backend_servic" + + "e_resource\332A\'project,region,backend_serv" + + "ice_resource\212N\020RegionOperations\022\310\001\n\004List" + + "\0229.google.cloud.compute.v1.ListRegionBac" + + "kendServicesRequest\032+.google.cloud.compu" + + "te.v1.BackendServiceList\"X\202\323\344\223\002A\022?/compu" + "te/v1/projects/{project}/regions/{region" - + "}/backendServices/{backend_service}/getH" - + "ealth:!resource_group_reference_resource" - + "\332A@project,region,backend_service,resour" - + "ce_group_reference_resource\022\211\002\n\006Insert\022:" - + ".google.cloud.compute.v1.InsertRegionBac" - + "kendServiceRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\236\001\202\323\344\223\002[\"?/compute/v1/pro" - + "jects/{project}/regions/{region}/backend" - + "Services:\030backend_service_resource\332A\'pro" - + "ject,region,backend_service_resource\212N\020R" - + "egionOperations\022\310\001\n\004List\0229.google.cloud." - + "compute.v1.ListRegionBackendServicesRequ" - + "est\032+.google.cloud.compute.v1.BackendSer" - + "viceList\"X\202\323\344\223\002A\022?/compute/v1/projects/{" - + "project}/regions/{region}/backendService" - + "s\332A\016project,region\022\251\002\n\005Patch\0229.google.cl" - + "oud.compute.v1.PatchRegionBackendService" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\300\001\202\323\344\223\002m2Q/compute/v1/projects/{proj" - + "ect}/regions/{region}/backendServices/{b" - + "ackend_service}:\030backend_service_resourc" - + "e\332A7project,region,backend_service,backe" - + "nd_service_resource\212N\020RegionOperations\022\253" - + "\002\n\006Update\022:.google.cloud.compute.v1.Upda" - + "teRegionBackendServiceRequest\032\".google.c" - + "loud.compute.v1.Operation\"\300\001\202\323\344\223\002m\032Q/com" - + "pute/v1/projects/{project}/regions/{regi" - + "on}/backendServices/{backend_service}:\030b" - + "ackend_service_resource\332A7project,region" - + ",backend_service,backend_service_resourc" + + "}/backendServices\332A\016project,region\022\251\002\n\005P" + + "atch\0229.google.cloud.compute.v1.PatchRegi" + + "onBackendServiceRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\300\001\202\323\344\223\002m2Q/compute/v" + + "1/projects/{project}/regions/{region}/ba" + + "ckendServices/{backend_service}:\030backend" + + "_service_resource\332A7project,region,backe" + + "nd_service,backend_service_resource\212N\020Re" + + "gionOperations\022\253\002\n\006Update\022:.google.cloud" + + ".compute.v1.UpdateRegionBackendServiceRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\300\001\202\323\344\223\002m\032Q/compute/v1/projects/{projec" + + "t}/regions/{region}/backendServices/{bac" + + "kend_service}:\030backend_service_resource\332" + + "A7project,region,backend_service,backend" + + "_service_resource\212N\020RegionOperations\032r\312A" + + "\026compute.googleapis.com\322AVhttps://www.go" + + "ogleapis.com/auth/compute,https://www.go" + + "ogleapis.com/auth/cloud-platform2\362\t\n\021Reg" + + "ionCommitments\022\315\001\n\016AggregatedList\022?.goog" + + "le.cloud.compute.v1.AggregatedListRegion" + + "CommitmentsRequest\0321.google.cloud.comput" + + "e.v1.CommitmentAggregatedList\"G\202\323\344\223\0027\0225/" + + "compute/v1/projects/{project}/aggregated" + + "/commitments\332A\007project\022\315\001\n\003Get\0223.google." + + "cloud.compute.v1.GetRegionCommitmentRequ" + + "est\032#.google.cloud.compute.v1.Commitment" + + "\"l\202\323\344\223\002J\022H/compute/v1/projects/{project}" + + "/regions/{region}/commitments/{commitmen" + + "t}\332A\031project,region,commitment\022\367\001\n\006Inser" + + "t\0226.google.cloud.compute.v1.InsertRegion" + + "CommitmentRequest\032\".google.cloud.compute" + + ".v1.Operation\"\220\001\202\323\344\223\002R\";/compute/v1/proj" + + "ects/{project}/regions/{region}/commitme" + + "nts:\023commitment_resource\332A\"project,regio" + + "n,commitment_resource\212N\020RegionOperations" + + "\022\274\001\n\004List\0225.google.cloud.compute.v1.List" + + "RegionCommitmentsRequest\032\'.google.cloud." + + "compute.v1.CommitmentList\"T\202\323\344\223\002=\022;/comp" + + "ute/v1/projects/{project}/regions/{regio" + + "n}/commitments\332A\016project,region\022\217\002\n\006Upda" + + "te\0226.google.cloud.compute.v1.UpdateRegio" + + "nCommitmentRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\250\001\202\323\344\223\002_2H/compute/v1/pro" + + "jects/{project}/regions/{region}/commitm" + + "ents/{commitment}:\023commitment_resource\332A" + + "-project,region,commitment,commitment_re" + + "source\212N\020RegionOperations\032r\312A\026compute.go" + + "ogleapis.com\322AVhttps://www.googleapis.co" + + "m/auth/compute,https://www.googleapis.co" + + "m/auth/cloud-platform2\277\004\n\017RegionDiskType" + + "s\022\305\001\n\003Get\0221.google.cloud.compute.v1.GetR" + + "egionDiskTypeRequest\032!.google.cloud.comp" + + "ute.v1.DiskType\"h\202\323\344\223\002G\022E/compute/v1/pro" + + "jects/{project}/regions/{region}/diskTyp" + + "es/{disk_type}\332A\030project,region,disk_typ" + + "e\022\274\001\n\004List\0223.google.cloud.compute.v1.Lis" + + "tRegionDiskTypesRequest\032+.google.cloud.c" + + "ompute.v1.RegionDiskTypeList\"R\202\323\344\223\002;\0229/c" + + "ompute/v1/projects/{project}/regions/{re" + + "gion}/diskTypes\332A\016project,region\032\244\001\312A\026co" + + "mpute.googleapis.com\322A\207\001https://www.goog" + + "leapis.com/auth/compute.readonly,https:/" + + "/www.googleapis.com/auth/compute,https:/" + + "/www.googleapis.com/auth/cloud-platform2" + + "\234\032\n\013RegionDisks\022\346\002\n\023AddResourcePolicies\022" + + "=.google.cloud.compute.v1.AddResourcePol" + + "iciesRegionDiskRequest\032\".google.cloud.co" + + "mpute.v1.Operation\"\353\001\202\323\344\223\002\207\001\"P/compute/v" + + "1/projects/{project}/regions/{region}/di" + + "sks/{disk}/addResourcePolicies:3region_d" + + "isks_add_resource_policies_request_resou" + + "rce\332AGproject,region,disk,region_disks_a" + + "dd_resource_policies_request_resource\212N\020" + + "RegionOperations\022\222\002\n\016CreateSnapshot\0228.go" + + "ogle.cloud.compute.v1.CreateSnapshotRegi" + + "onDiskRequest\032\".google.cloud.compute.v1." + + "Operation\"\241\001\202\323\344\223\002`\"K/compute/v1/projects" + + "/{project}/regions/{region}/disks/{disk}" + + "/createSnapshot:\021snapshot_resource\332A%pro" + + "ject,region,disk,snapshot_resource\212N\020Reg" + + "ionOperations\022\315\001\n\006Delete\0220.google.cloud." + + "compute.v1.DeleteRegionDiskRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"m\202\323\344\223\002>*<" + + "/compute/v1/projects/{project}/regions/{" + + "region}/disks/{disk}\332A\023project,region,di" + + "sk\212N\020RegionOperations\022\257\001\n\003Get\022-.google.c" + + "loud.compute.v1.GetRegionDiskRequest\032\035.g" + + "oogle.cloud.compute.v1.Disk\"Z\202\323\344\223\002>\022.google.cloud.compute.v1.DeleteRegionHe" + + "althCheckServiceRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\233\001\202\323\344\223\002\\*Z/compute/v" + + "1/projects/{project}/regions/{region}/he" + + "althCheckServices/{health_check_service}" + + "\332A#project,region,health_check_service\212N" + + "\020RegionOperations\022\372\001\n\003Get\022;.google.cloud" + + ".compute.v1.GetRegionHealthCheckServiceR" + + "equest\032+.google.cloud.compute.v1.HealthC" + + "heckService\"\210\001\202\323\344\223\002\\\022Z/compute/v1/projec" + + "ts/{project}/regions/{region}/healthChec" + + "kServices/{health_check_service}\332A#proje" + + "ct,region,health_check_service\022\233\002\n\006Inser" + + "t\022>.google.cloud.compute.v1.InsertRegion" + + "HealthCheckServiceRequest\032\".google.cloud" + + ".compute.v1.Operation\"\254\001\202\323\344\223\002d\"C/compute" + + "/v1/projects/{project}/regions/{region}/" + + "healthCheckServices:\035health_check_servic" + + "e_resource\332A,project,region,health_check" + + "_service_resource\212N\020RegionOperations\022\325\001\n" + + "\004List\022=.google.cloud.compute.v1.ListRegi" + + "onHealthCheckServicesRequest\0320.google.cl" + + "oud.compute.v1.HealthCheckServicesList\"\\" + + "\202\323\344\223\002E\022C/compute/v1/projects/{project}/r" + + "egions/{region}/healthCheckServices\332A\016pr" + + "oject,region\022\305\002\n\005Patch\022=.google.cloud.co" + + "mpute.v1.PatchRegionHealthCheckServiceRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\330\001\202\323\344\223\002{2Z/compute/v1/projects/{projec" + + "t}/regions/{region}/healthCheckServices/" + + "{health_check_service}:\035health_check_ser" + + "vice_resource\332AAproject,region,health_ch" + + "eck_service,health_check_service_resourc" + "e\212N\020RegionOperations\032r\312A\026compute.googlea" + "pis.com\322AVhttps://www.googleapis.com/aut" + "h/compute,https://www.googleapis.com/aut" - + "h/cloud-platform2\362\t\n\021RegionCommitments\022\315" - + "\001\n\016AggregatedList\022?.google.cloud.compute" - + ".v1.AggregatedListRegionCommitmentsReque" - + "st\0321.google.cloud.compute.v1.CommitmentA" - + "ggregatedList\"G\202\323\344\223\0027\0225/compute/v1/proje" - + "cts/{project}/aggregated/commitments\332A\007p" - + "roject\022\315\001\n\003Get\0223.google.cloud.compute.v1" - + ".GetRegionCommitmentRequest\032#.google.clo" - + "ud.compute.v1.Commitment\"l\202\323\344\223\002J\022H/compu" + + "h/cloud-platform2\306\014\n\022RegionHealthChecks\022" + + "\354\001\n\006Delete\0227.google.cloud.compute.v1.Del" + + "eteRegionHealthCheckRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\204\001\202\323\344\223\002M*K/compu" + "te/v1/projects/{project}/regions/{region" - + "}/commitments/{commitment}\332A\031project,reg" - + "ion,commitment\022\367\001\n\006Insert\0226.google.cloud" - + ".compute.v1.InsertRegionCommitmentReques" - + "t\032\".google.cloud.compute.v1.Operation\"\220\001" - + "\202\323\344\223\002R\";/compute/v1/projects/{project}/r" - + "egions/{region}/commitments:\023commitment_" - + "resource\332A\"project,region,commitment_res" - + "ource\212N\020RegionOperations\022\274\001\n\004List\0225.goog" - + "le.cloud.compute.v1.ListRegionCommitment" - + "sRequest\032\'.google.cloud.compute.v1.Commi" - + "tmentList\"T\202\323\344\223\002=\022;/compute/v1/projects/" - + "{project}/regions/{region}/commitments\332A" - + "\016project,region\022\217\002\n\006Update\0226.google.clou" - + "d.compute.v1.UpdateRegionCommitmentReque" - + "st\032\".google.cloud.compute.v1.Operation\"\250" - + "\001\202\323\344\223\002_2H/compute/v1/projects/{project}/" - + "regions/{region}/commitments/{commitment" - + "}:\023commitment_resource\332A-project,region," - + "commitment,commitment_resource\212N\020RegionO" - + "perations\032r\312A\026compute.googleapis.com\322AVh" - + "ttps://www.googleapis.com/auth/compute,h" - + "ttps://www.googleapis.com/auth/cloud-pla" - + "tform2\277\004\n\017RegionDiskTypes\022\305\001\n\003Get\0221.goog" - + "le.cloud.compute.v1.GetRegionDiskTypeReq" - + "uest\032!.google.cloud.compute.v1.DiskType\"" - + "h\202\323\344\223\002G\022E/compute/v1/projects/{project}/" - + "regions/{region}/diskTypes/{disk_type}\332A" - + "\030project,region,disk_type\022\274\001\n\004List\0223.goo" - + "gle.cloud.compute.v1.ListRegionDiskTypes" - + "Request\032+.google.cloud.compute.v1.Region" - + "DiskTypeList\"R\202\323\344\223\002;\0229/compute/v1/projec" - + "ts/{project}/regions/{region}/diskTypes\332" - + "A\016project,region\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\234\032\n\013RegionDisks\022" - + "\346\002\n\023AddResourcePolicies\022=.google.cloud.c" - + "ompute.v1.AddResourcePoliciesRegionDiskR" + + "}/healthChecks/{health_check}\332A\033project," + + "region,health_check\212N\020RegionOperations\022\324" + + "\001\n\003Get\0224.google.cloud.compute.v1.GetRegi" + + "onHealthCheckRequest\032$.google.cloud.comp" + + "ute.v1.HealthCheck\"q\202\323\344\223\002M\022K/compute/v1/" + + "projects/{project}/regions/{region}/heal" + + "thChecks/{health_check}\332A\033project,region" + + ",health_check\022\375\001\n\006Insert\0227.google.cloud." + + "compute.v1.InsertRegionHealthCheckReques" + + "t\032\".google.cloud.compute.v1.Operation\"\225\001" + + "\202\323\344\223\002U\"\022*\022.google.cloud.c" - + "ompute.v1.DeleteRegionHealthCheckService" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\233\001\202\323\344\223\002\\*Z/compute/v1/projects/{proj" - + "ect}/regions/{region}/healthCheckService" - + "s/{health_check_service}\332A#project,regio" - + "n,health_check_service\212N\020RegionOperation" - + "s\022\372\001\n\003Get\022;.google.cloud.compute.v1.GetR" - + "egionHealthCheckServiceRequest\032+.google." - + "cloud.compute.v1.HealthCheckService\"\210\001\202\323" - + "\344\223\002\\\022Z/compute/v1/projects/{project}/reg" - + "ions/{region}/healthCheckServices/{healt" - + "h_check_service}\332A#project,region,health" - + "_check_service\022\233\002\n\006Insert\022>.google.cloud" - + ".compute.v1.InsertRegionHealthCheckServi" - + "ceRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\254\001\202\323\344\223\002d\"C/compute/v1/projects/{pr" - + "oject}/regions/{region}/healthCheckServi" - + "ces:\035health_check_service_resource\332A,pro" - + "ject,region,health_check_service_resourc" - + "e\212N\020RegionOperations\022\325\001\n\004List\022=.google.c" - + "loud.compute.v1.ListRegionHealthCheckSer" - + "vicesRequest\0320.google.cloud.compute.v1.H" - + "ealthCheckServicesList\"\\\202\323\344\223\002E\022C/compute" - + "/v1/projects/{project}/regions/{region}/" - + "healthCheckServices\332A\016project,region\022\305\002\n" - + "\005Patch\022=.google.cloud.compute.v1.PatchRe" - + "gionHealthCheckServiceRequest\032\".google.c" - + "loud.compute.v1.Operation\"\330\001\202\323\344\223\002{2Z/com" + + "on\"\241\001\202\323\344\223\002`*^/compute/v1/projects/{proje" + + "ct}/regions/{region}/instanceGroupManage" + + "rs/{instance_group_manager}\332A%project,re" + + "gion,instance_group_manager\212N\020RegionOper" + + "ations\022\270\003\n\017DeleteInstances\022I.google.clou" + + "d.compute.v1.DeleteInstancesRegionInstan" + + "ceGroupManagerRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\265\002\202\323\344\223\002\262\001\"n/compute/v1" + + "/projects/{project}/regions/{region}/ins" + + "tanceGroupManagers/{instance_group_manag" + + "er}/deleteInstances:@region_instance_gro" + + "up_managers_delete_instances_request_res" + + "ource\332Afproject,region,instance_group_ma" + + "nager,region_instance_group_managers_del" + + "ete_instances_request_resource\212N\020RegionO" + + "perations\022\325\003\n\030DeletePerInstanceConfigs\022R" + + ".google.cloud.compute.v1.DeletePerInstan" + + "ceConfigsRegionInstanceGroupManagerReque" + + "st\032\".google.cloud.compute.v1.Operation\"\300" + + "\002\202\323\344\223\002\274\001\"w/compute/v1/projects/{project}" + + "/regions/{region}/instanceGroupManagers/" + + "{instance_group_manager}/deletePerInstan" + + "ceConfigs:Aregion_instance_group_manager" + + "_delete_instance_config_req_resource\332Agp" + + "roject,region,instance_group_manager,reg" + + "ion_instance_group_manager_delete_instan" + + "ce_config_req_resource\212N\020RegionOperation" + + "s\022\204\002\n\003Get\022=.google.cloud.compute.v1.GetR" + + "egionInstanceGroupManagerRequest\032-.googl" + + "e.cloud.compute.v1.InstanceGroupManager\"" + + "\216\001\202\323\344\223\002`\022^/compute/v1/projects/{project}" + + "/regions/{region}/instanceGroupManagers/" + + "{instance_group_manager}\332A%project,regio" + + "n,instance_group_manager\022\243\002\n\006Insert\022@.go" + + "ogle.cloud.compute.v1.InsertRegionInstan" + + "ceGroupManagerRequest\032\".google.cloud.com" + + "pute.v1.Operation\"\262\001\202\323\344\223\002h\"E/compute/v1/" + + "projects/{project}/regions/{region}/inst" + + "anceGroupManagers:\037instance_group_manage" + + "r_resource\332A.project,region,instance_gro" + + "up_manager_resource\212N\020RegionOperations\022\340" + + "\001\n\004List\022?.google.cloud.compute.v1.ListRe" + + "gionInstanceGroupManagersRequest\0327.googl" + + "e.cloud.compute.v1.RegionInstanceGroupMa" + + "nagerList\"^\202\323\344\223\002G\022E/compute/v1/projects/" + + "{project}/regions/{region}/instanceGroup" + + "Managers\332A\016project,region\022\267\002\n\nListErrors" + + "\022E.google.cloud.compute.v1.ListErrorsReg" + + "ionInstanceGroupManagersRequest\032F.google" + + ".cloud.compute.v1.RegionInstanceGroupMan" + + "agersListErrorsResponse\"\231\001\202\323\344\223\002k\022i/compu" + + "te/v1/projects/{project}/regions/{region" + + "}/instanceGroupManagers/{instance_group_" + + "manager}/listErrors\332A%project,region,ins" + + "tance_group_manager\022\330\002\n\024ListManagedInsta" + + "nces\022O.google.cloud.compute.v1.ListManag" + + "edInstancesRegionInstanceGroupManagersRe" + + "quest\032I.google.cloud.compute.v1.RegionIn" + + "stanceGroupManagersListInstancesResponse" + + "\"\243\001\202\323\344\223\002u\"s/compute/v1/projects/{project" + + "}/regions/{region}/instanceGroupManagers" + + "/{instance_group_manager}/listManagedIns" + + "tances\332A%project,region,instance_group_m" + + "anager\022\340\002\n\026ListPerInstanceConfigs\022Q.goog" + + "le.cloud.compute.v1.ListPerInstanceConfi" + + "gsRegionInstanceGroupManagersRequest\032K.g" + + "oogle.cloud.compute.v1.RegionInstanceGro" + + "upManagersListInstanceConfigsResp\"\245\001\202\323\344\223" + + "\002w\"u/compute/v1/projects/{project}/regio" + + "ns/{region}/instanceGroupManagers/{insta" + + "nce_group_manager}/listPerInstanceConfig" + + "s\332A%project,region,instance_group_manage" + + "r\022\322\002\n\005Patch\022?.google.cloud.compute.v1.Pa" + + "tchRegionInstanceGroupManagerRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\343\001\202\323\344\223\002" + + "\201\0012^/compute/v1/projects/{project}/regio" + + "ns/{region}/instanceGroupManagers/{insta" + + "nce_group_manager}:\037instance_group_manag" + + "er_resource\332AEproject,region,instance_gr" + + "oup_manager,instance_group_manager_resou" + + "rce\212N\020RegionOperations\022\320\003\n\027PatchPerInsta" + + "nceConfigs\022Q.google.cloud.compute.v1.Pat" + + "chPerInstanceConfigsRegionInstanceGroupM" + + "anagerRequest\032\".google.cloud.compute.v1." + + "Operation\"\275\002\202\323\344\223\002\272\001\"v/compute/v1/project" + + "s/{project}/regions/{region}/instanceGro" + + "upManagers/{instance_group_manager}/patc" + + "hPerInstanceConfigs:@region_instance_gro" + + "up_manager_patch_instance_config_req_res" + + "ource\332Afproject,region,instance_group_ma" + + "nager,region_instance_group_manager_patc" + + "h_instance_config_req_resource\212N\020RegionO" + + "perations\022\256\003\n\021RecreateInstances\022K.google" + + ".cloud.compute.v1.RecreateInstancesRegio" + + "nInstanceGroupManagerRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\247\002\202\323\344\223\002\254\001\"p/com" + "pute/v1/projects/{project}/regions/{regi" - + "on}/healthCheckServices/{health_check_se" - + "rvice}:\035health_check_service_resource\332AA" - + "project,region,health_check_service,heal" - + "th_check_service_resource\212N\020RegionOperat" + + "on}/instanceGroupManagers/{instance_grou" + + "p_manager}/recreateInstances:8region_ins" + + "tance_group_managers_recreate_request_re" + + "source\332A^project,region,instance_group_m" + + "anager,region_instance_group_managers_re" + + "create_request_resource\212N\020RegionOperatio" + + "ns\022\236\002\n\006Resize\022@.google.cloud.compute.v1." + + "ResizeRegionInstanceGroupManagerRequest\032" + + "\".google.cloud.compute.v1.Operation\"\255\001\202\323" + + "\344\223\002g\"e/compute/v1/projects/{project}/reg" + + "ions/{region}/instanceGroupManagers/{ins" + + "tance_group_manager}/resize\332A*project,re" + + "gion,instance_group_manager,size\212N\020Regio" + + "nOperations\022\274\003\n\023SetInstanceTemplate\022M.go" + + "ogle.cloud.compute.v1.SetInstanceTemplat" + + "eRegionInstanceGroupManagerRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\261\002\202\323\344\223\002\262\001" + + "\"r/compute/v1/projects/{project}/regions" + + "/{region}/instanceGroupManagers/{instanc" + + "e_group_manager}/setInstanceTemplate:/compute/v1/proje" + + "cts/{project}/regions/{region}/instanceG" + + "roups\332A\016project,region\022\206\003\n\rListInstances" + + "\022A.google.cloud.compute.v1.ListInstances" + + "RegionInstanceGroupsRequest\032:.google.clo" + + "ud.compute.v1.RegionInstanceGroupsListIn" + + "stances\"\365\001\202\323\344\223\002\227\001\"]/compute/v1/projects/" + + "{project}/regions/{region}/instanceGroup" + + "s/{instance_group}/listInstances:6region" + + "_instance_groups_list_instances_request_" + + "resource\332ATproject,region,instance_group" + + ",region_instance_groups_list_instances_r" + + "equest_resource\022\202\003\n\rSetNamedPorts\022@.goog" + + "le.cloud.compute.v1.SetNamedPortsRegionI" + + "nstanceGroupRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\212\002\202\323\344\223\002\230\001\"]/compute/v1/p" + + "rojects/{project}/regions/{region}/insta" + + "nceGroups/{instance_group}/setNamedPorts" + + ":7region_instance_groups_set_named_ports" + + "_request_resource\332AUproject,region,insta" + + "nce_group,region_instance_groups_set_nam" + + "ed_ports_request_resource\212N\020RegionOperat" + "ions\032r\312A\026compute.googleapis.com\322AVhttps:" + "//www.googleapis.com/auth/compute,https:" + "//www.googleapis.com/auth/cloud-platform" - + "2\306\014\n\022RegionHealthChecks\022\354\001\n\006Delete\0227.goo" - + "gle.cloud.compute.v1.DeleteRegionHealthC" - + "heckRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\204\001\202\323\344\223\002M*K/compute/v1/projects/{" - + "project}/regions/{region}/healthChecks/{" - + "health_check}\332A\033project,region,health_ch" - + "eck\212N\020RegionOperations\022\324\001\n\003Get\0224.google." - + "cloud.compute.v1.GetRegionHealthCheckReq" - + "uest\032$.google.cloud.compute.v1.HealthChe" - + "ck\"q\202\323\344\223\002M\022K/compute/v1/projects/{projec" - + "t}/regions/{region}/healthChecks/{health" - + "_check}\332A\033project,region,health_check\022\375\001" - + "\n\006Insert\0227.google.cloud.compute.v1.Inser" - + "tRegionHealthCheckRequest\032\".google.cloud" - + ".compute.v1.Operation\"\225\001\202\323\344\223\002U\"\022." + + "google.cloud.compute.v1.GetRegionNetwork" + + "FirewallPolicyRequest\032\'.google.cloud.com" + + "pute.v1.FirewallPolicy\"{\202\323\344\223\002T\022R/compute" + + "/v1/projects/{project}/regions/{region}/" + + "firewallPolicies/{firewall_policy}\332A\036pro" + + "ject,region,firewall_policy\022\234\002\n\016GetAssoc" + + "iation\022I.google.cloud.compute.v1.GetAsso" + + "ciationRegionNetworkFirewallPolicyReques" + + "t\0322.google.cloud.compute.v1.FirewallPoli" + + "cyAssociation\"\212\001\202\323\344\223\002c\022a/compute/v1/proj" + + "ects/{project}/regions/{region}/firewall" + + "Policies/{firewall_policy}/getAssociatio" + + "n\332A\036project,region,firewall_policy\022\267\002\n\025G" + + "etEffectiveFirewalls\022P.google.cloud.comp" + + "ute.v1.GetEffectiveFirewallsRegionNetwor" + + "kFirewallPolicyRequest\032S.google.cloud.co" + + "mpute.v1.RegionNetworkFirewallPoliciesGe" + + "tEffectiveFirewallsResponse\"w\202\323\344\223\002X\022V/co" + "mpute/v1/projects/{project}/regions/{reg" - + "ion}/instanceGroupManagers/{instance_gro" - + "up_manager}\332A%project,region,instance_gr" - + "oup_manager\212N\020RegionOperations\022\270\003\n\017Delet" - + "eInstances\022I.google.cloud.compute.v1.Del" - + "eteInstancesRegionInstanceGroupManagerRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\265\002\202\323\344\223\002\262\001\"n/compute/v1/projects/{proje" - + "ct}/regions/{region}/instanceGroupManage" - + "rs/{instance_group_manager}/deleteInstan" - + "ces:@region_instance_group_managers_dele" - + "te_instances_request_resource\332Afproject," - + "region,instance_group_manager,region_ins" - + "tance_group_managers_delete_instances_re" - + "quest_resource\212N\020RegionOperations\022\325\003\n\030De" - + "letePerInstanceConfigs\022R.google.cloud.co" - + "mpute.v1.DeletePerInstanceConfigsRegionI" - + "nstanceGroupManagerRequest\032\".google.clou" - + "d.compute.v1.Operation\"\300\002\202\323\344\223\002\274\001\"w/compu" - + "te/v1/projects/{project}/regions/{region" - + "}/instanceGroupManagers/{instance_group_" - + "manager}/deletePerInstanceConfigs:Aregio" - + "n_instance_group_manager_delete_instance" - + "_config_req_resource\332Agproject,region,in" - + "stance_group_manager,region_instance_gro" - + "up_manager_delete_instance_config_req_re" - + "source\212N\020RegionOperations\022\204\002\n\003Get\022=.goog" - + "le.cloud.compute.v1.GetRegionInstanceGro" - + "upManagerRequest\032-.google.cloud.compute." - + "v1.InstanceGroupManager\"\216\001\202\323\344\223\002`\022^/compu", - "te/v1/projects/{project}/regions/{region" - + "}/instanceGroupManagers/{instance_group_" - + "manager}\332A%project,region,instance_group" - + "_manager\022\243\002\n\006Insert\022@.google.cloud.compu" - + "te.v1.InsertRegionInstanceGroupManagerRe" - + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\262\001\202\323\344\223\002h\"E/compute/v1/projects/{projec" - + "t}/regions/{region}/instanceGroupManager" - + "s:\037instance_group_manager_resource\332A.pro" - + "ject,region,instance_group_manager_resou" - + "rce\212N\020RegionOperations\022\340\001\n\004List\022?.google" - + ".cloud.compute.v1.ListRegionInstanceGrou" - + "pManagersRequest\0327.google.cloud.compute." - + "v1.RegionInstanceGroupManagerList\"^\202\323\344\223\002" - + "G\022E/compute/v1/projects/{project}/region" - + "s/{region}/instanceGroupManagers\332A\016proje" - + "ct,region\022\267\002\n\nListErrors\022E.google.cloud." - + "compute.v1.ListErrorsRegionInstanceGroup" - + "ManagersRequest\032F.google.cloud.compute.v" - + "1.RegionInstanceGroupManagersListErrorsR" - + "esponse\"\231\001\202\323\344\223\002k\022i/compute/v1/projects/{" - + "project}/regions/{region}/instanceGroupM" - + "anagers/{instance_group_manager}/listErr" - + "ors\332A%project,region,instance_group_mana" - + "ger\022\330\002\n\024ListManagedInstances\022O.google.cl" - + "oud.compute.v1.ListManagedInstancesRegio" - + "nInstanceGroupManagersRequest\032I.google.c" - + "loud.compute.v1.RegionInstanceGroupManag" - + "ersListInstancesResponse\"\243\001\202\323\344\223\002u\"s/comp" - + "ute/v1/projects/{project}/regions/{regio" - + "n}/instanceGroupManagers/{instance_group" - + "_manager}/listManagedInstances\332A%project" - + ",region,instance_group_manager\022\340\002\n\026ListP" - + "erInstanceConfigs\022Q.google.cloud.compute" - + ".v1.ListPerInstanceConfigsRegionInstance" - + "GroupManagersRequest\032K.google.cloud.comp" - + "ute.v1.RegionInstanceGroupManagersListIn" - + "stanceConfigsResp\"\245\001\202\323\344\223\002w\"u/compute/v1/" - + "projects/{project}/regions/{region}/inst" - + "anceGroupManagers/{instance_group_manage" - + "r}/listPerInstanceConfigs\332A%project,regi" - + "on,instance_group_manager\022\322\002\n\005Patch\022?.go" - + "ogle.cloud.compute.v1.PatchRegionInstanc" - + "eGroupManagerRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"\343\001\202\323\344\223\002\201\0012^/compute/v1/" - + "projects/{project}/regions/{region}/inst" - + "anceGroupManagers/{instance_group_manage" - + "r}:\037instance_group_manager_resource\332AEpr" - + "oject,region,instance_group_manager,inst" - + "ance_group_manager_resource\212N\020RegionOper" - + "ations\022\320\003\n\027PatchPerInstanceConfigs\022Q.goo" - + "gle.cloud.compute.v1.PatchPerInstanceCon" - + "figsRegionInstanceGroupManagerRequest\032\"." - + "google.cloud.compute.v1.Operation\"\275\002\202\323\344\223" - + "\002\272\001\"v/compute/v1/projects/{project}/regi" - + "ons/{region}/instanceGroupManagers/{inst" - + "ance_group_manager}/patchPerInstanceConf" - + "igs:@region_instance_group_manager_patch" - + "_instance_config_req_resource\332Afproject," - + "region,instance_group_manager,region_ins" - + "tance_group_manager_patch_instance_confi" - + "g_req_resource\212N\020RegionOperations\022\256\003\n\021Re" - + "createInstances\022K.google.cloud.compute.v" - + "1.RecreateInstancesRegionInstanceGroupMa" - + "nagerRequest\032\".google.cloud.compute.v1.O" - + "peration\"\247\002\202\323\344\223\002\254\001\"p/compute/v1/projects" - + "/{project}/regions/{region}/instanceGrou" - + "pManagers/{instance_group_manager}/recre" - + "ateInstances:8region_instance_group_mana" - + "gers_recreate_request_resource\332A^project" - + ",region,instance_group_manager,region_in" - + "stance_group_managers_recreate_request_r" - + "esource\212N\020RegionOperations\022\236\002\n\006Resize\022@." - + "google.cloud.compute.v1.ResizeRegionInst" - + "anceGroupManagerRequest\032\".google.cloud.c" - + "ompute.v1.Operation\"\255\001\202\323\344\223\002g\"e/compute/v" - + "1/projects/{project}/regions/{region}/in" - + "stanceGroupManagers/{instance_group_mana" - + "ger}/resize\332A*project,region,instance_gr" - + "oup_manager,size\212N\020RegionOperations\022\274\003\n\023" - + "SetInstanceTemplate\022M.google.cloud.compu" - + "te.v1.SetInstanceTemplateRegionInstanceG" - + "roupManagerRequest\032\".google.cloud.comput" - + "e.v1.Operation\"\261\002\202\323\344\223\002\262\001\"r/compute/v1/pr" - + "ojects/{project}/regions/{region}/instan" - + "ceGroupManagers/{instance_group_manager}" - + "/setInstanceTemplate:/compute/v1/projects/{project}/re" - + "gions/{region}/instanceGroups\332A\016project," - + "region\022\206\003\n\rListInstances\022A.google.cloud." - + "compute.v1.ListInstancesRegionInstanceGr" - + "oupsRequest\032:.google.cloud.compute.v1.Re" - + "gionInstanceGroupsListInstances\"\365\001\202\323\344\223\002\227" - + "\001\"]/compute/v1/projects/{project}/region" - + "s/{region}/instanceGroups/{instance_grou" - + "p}/listInstances:6region_instance_groups" - + "_list_instances_request_resource\332ATproje" - + "ct,region,instance_group,region_instance" - + "_groups_list_instances_request_resource\022" - + "\202\003\n\rSetNamedPorts\022@.google.cloud.compute" - + ".v1.SetNamedPortsRegionInstanceGroupRequ" - + "est\032\".google.cloud.compute.v1.Operation\"" - + "\212\002\202\323\344\223\002\230\001\"]/compute/v1/projects/{project" - + "}/regions/{region}/instanceGroups/{insta" - + "nce_group}/setNamedPorts:7region_instanc" - + "e_groups_set_named_ports_request_resourc" - + "e\332AUproject,region,instance_group,region" - + "_instance_groups_set_named_ports_request" - + "_resource\212N\020RegionOperations\032r\312A\026compute" - + ".googleapis.com\322AVhttps://www.googleapis" - + ".com/auth/compute,https://www.googleapis" - + ".com/auth/cloud-platform2\264\003\n\017RegionInsta" - + "nces\022\254\002\n\nBulkInsert\0228.google.cloud.compu" - + "te.v1.BulkInsertRegionInstanceRequest\032\"." - + "google.cloud.compute.v1.Operation\"\277\001\202\323\344\223" - + "\002n\"D/compute/v1/projects/{project}/regio" - + "ns/{region}/instances/bulkInsert:&bulk_i" - + "nsert_instance_resource_resource\332A5proje" - + "ct,region,bulk_insert_instance_resource_" - + "resource\212N\020RegionOperations\032r\312A\026compute." - + "googleapis.com\322AVhttps://www.googleapis." - + "com/auth/compute,https://www.googleapis." - + "com/auth/cloud-platform2\260\t\n\033RegionNetwor" - + "kEndpointGroups\022\222\002\n\006Delete\022@.google.clou" - + "d.compute.v1.DeleteRegionNetworkEndpoint" - + "GroupRequest\032\".google.cloud.compute.v1.O" - + "peration\"\241\001\202\323\344\223\002`*^/compute/v1/projects/" - + "{project}/regions/{region}/networkEndpoi" - + "ntGroups/{network_endpoint_group}\332A%proj" - + "ect,region,network_endpoint_group\212N\020Regi" - + "onOperations\022\204\002\n\003Get\022=.google.cloud.comp" - + "ute.v1.GetRegionNetworkEndpointGroupRequ" - + "est\032-.google.cloud.compute.v1.NetworkEnd" - + "pointGroup\"\216\001\202\323\344\223\002`\022^/compute/v1/project" - + "s/{project}/regions/{region}/networkEndp" - + "ointGroups/{network_endpoint_group}\332A%pr" - + "oject,region,network_endpoint_group\022\243\002\n\006" - + "Insert\022@.google.cloud.compute.v1.InsertR" - + "egionNetworkEndpointGroupRequest\032\".googl" - + "e.cloud.compute.v1.Operation\"\262\001\202\323\344\223\002h\"E/" - + "compute/v1/projects/{project}/regions/{r" - + "egion}/networkEndpointGroups:\037network_en" - + "dpoint_group_resource\332A.project,region,n" - + "etwork_endpoint_group_resource\212N\020RegionO" - + "perations\022\332\001\n\004List\022?.google.cloud.comput" - + "e.v1.ListRegionNetworkEndpointGroupsRequ" - + "est\0321.google.cloud.compute.v1.NetworkEnd" - + "pointGroupList\"^\202\323\344\223\002G\022E/compute/v1/proj" - + "ects/{project}/regions/{region}/networkE" - + "ndpointGroups\332A\016project,region\032r\312A\026compu" + + "ion}/firewallPolicies/getEffectiveFirewa" + + "lls\332A\026project,region,network\022\364\001\n\014GetIamP" + + "olicy\022G.google.cloud.compute.v1.GetIamPo" + + "licyRegionNetworkFirewallPolicyRequest\032\037" + + ".google.cloud.compute.v1.Policy\"z\202\323\344\223\002Z\022" + + "X/compute/v1/projects/{project}/regions/" + + "{region}/firewallPolicies/{resource}/get" + + "IamPolicy\332A\027project,region,resource\022\200\002\n\007" + + "GetRule\022B.google.cloud.compute.v1.GetRul" + + "eRegionNetworkFirewallPolicyRequest\032+.go" + + "ogle.cloud.compute.v1.FirewallPolicyRule" + + "\"\203\001\202\323\344\223\002\\\022Z/compute/v1/projects/{project" + + "}/regions/{region}/firewallPolicies/{fir" + + "ewall_policy}/getRule\332A\036project,region,f" + + "irewall_policy\022\221\002\n\006Insert\022A.google.cloud" + + ".compute.v1.InsertRegionNetworkFirewallP" + + "olicyRequest\032\".google.cloud.compute.v1.O" + + "peration\"\237\001\202\323\344\223\002\\\"@/compute/v1/projects/" + + "{project}/regions/{region}/firewallPolic" + + "ies:\030firewall_policy_resource\332A\'project," + + "region,firewall_policy_resource\212N\020Region" + + "Operations\022\321\001\n\004List\022A.google.cloud.compu" + + "te.v1.ListRegionNetworkFirewallPoliciesR" + + "equest\032+.google.cloud.compute.v1.Firewal" + + "lPolicyList\"Y\202\323\344\223\002B\022@/compute/v1/project" + + "s/{project}/regions/{region}/firewallPol" + + "icies\332A\016project,region\022\261\002\n\005Patch\022@.googl" + + "e.cloud.compute.v1.PatchRegionNetworkFir" + + "ewallPolicyRequest\032\".google.cloud.comput" + + "e.v1.Operation\"\301\001\202\323\344\223\002n2R/compute/v1/pro" + + "jects/{project}/regions/{region}/firewal" + + "lPolicies/{firewall_policy}:\030firewall_po" + + "licy_resource\332A7project,region,firewall_" + + "policy,firewall_policy_resource\212N\020Region" + + "Operations\022\315\002\n\tPatchRule\022D.google.cloud." + + "compute.v1.PatchRuleRegionNetworkFirewal" + + "lPolicyRequest\032\".google.cloud.compute.v1" + + ".Operation\"\325\001\202\323\344\223\002}\"\\/compute/v1/project" + + "s/{project}/regions/{region}/firewallPol" + + "icies/{firewall_policy}/patchRule:\035firew" + + "all_policy_rule_resource\332A.go" + + "ogle.cloud.compute.v1.SetUrlMapRegionTar" + + "getHttpProxyRequest\032\".google.cloud.compu" + + "te.v1.Operation\"\324\001\202\323\344\223\002}\"_/compute/v1/pr" + + "ojects/{project}/regions/{region}/target" + + "HttpProxies/{target_http_proxy}/setUrlMa" + + "p:\032url_map_reference_resource\332A;project," + + "region,target_http_proxy,url_map_referen" + + "ce_resource\212N\020RegionOperations\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\202\323\344\223\002_*]/compute/v1/projec" - + "ts/{project}/regions/{region}/notificati" - + "onEndpoints/{notification_endpoint}\332A$pr" - + "oject,region,notification_endpoint\212N\020Reg" - + "ionOperations\022\202\002\n\003Get\022=.google.cloud.com" - + "pute.v1.GetRegionNotificationEndpointReq" - + "uest\032-.google.cloud.compute.v1.Notificat" - + "ionEndpoint\"\214\001\202\323\344\223\002_\022]/compute/v1/projec" - + "ts/{project}/regions/{region}/notificati" - + "onEndpoints/{notification_endpoint}\332A$pr" - + "oject,region,notification_endpoint\022\241\002\n\006I" - + "nsert\022@.google.cloud.compute.v1.InsertRe" - + "gionNotificationEndpointRequest\032\".google" - + ".cloud.compute.v1.Operation\"\260\001\202\323\344\223\002g\"E/c" + + "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\202\323\344\223\002Y*W/compute/v1/projects/{pro" + + "ject}/regions/{region}/targetHttpsProxie" + + "s/{target_https_proxy}\332A!project,region," + + "target_https_proxy\212N\020RegionOperations\022\361\001" + + "\n\003Get\0229.google.cloud.compute.v1.GetRegio" + + "nTargetHttpsProxyRequest\032).google.cloud." + + "compute.v1.TargetHttpsProxy\"\203\001\202\323\344\223\002Y\022W/c" + "ompute/v1/projects/{project}/regions/{re" - + "gion}/notificationEndpoints:\036notificatio" - + "n_endpoint_resource\332A-project,region,not" - + "ification_endpoint_resource\212N\020RegionOper" - + "ations\022\332\001\n\004List\022?.google.cloud.compute.v" - + "1.ListRegionNotificationEndpointsRequest" - + "\0321.google.cloud.compute.v1.NotificationE" - + "ndpointList\"^\202\323\344\223\002G\022E/compute/v1/project" - + "s/{project}/regions/{region}/notificatio" - + "nEndpoints\332A\016project,region\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\202\323\344\223\002H*F/compute/v1/projects/{pr" - + "oject}/regions/{region}/operations/{oper" - + "ation}\332A\030project,region,operation\022\313\001\n\003Ge" - + "t\0222.google.cloud.compute.v1.GetRegionOpe" - + "rationRequest\032\".google.cloud.compute.v1." - + "Operation\"l\202\323\344\223\002H\022F/compute/v1/projects/" - + "{project}/regions/{region}/operations/{o" - + "peration}\332A\030project,region,operation\220N\001\022" - + "\271\001\n\004List\0224.google.cloud.compute.v1.ListR" - + "egionOperationsRequest\032&.google.cloud.co" - + "mpute.v1.OperationList\"S\202\323\344\223\002<\022:/compute" - + "/v1/projects/{project}/regions/{region}/" - + "operations\332A\016project,region\022\317\001\n\004Wait\0223.g" - + "oogle.cloud.compute.v1.WaitRegionOperati" - + "onRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"n\202\323\344\223\002M\"K/compute/v1/projects/{pro" - + "ject}/regions/{region}/operations/{opera" - + "tion}/wait\332A\030project,region,operation\032r\312" - + "A\026compute.googleapis.com\322AVhttps://www.g" - + "oogleapis.com/auth/compute,https://www.g" - + "oogleapis.com/auth/cloud-platform2\303\010\n\025Re" - + "gionSslCertificates\022\370\001\n\006Delete\022:.google." - + "cloud.compute.v1.DeleteRegionSslCertific" - + "ateRequest\032\".google.cloud.compute.v1.Ope" - + "ration\"\215\001\202\323\344\223\002S*Q/compute/v1/projects/{p" - + "roject}/regions/{region}/sslCertificates" - + "/{ssl_certificate}\332A\036project,region,ssl_" - + "certificate\212N\020RegionOperations\022\343\001\n\003Get\0227" - + ".google.cloud.compute.v1.GetRegionSslCer" - + "tificateRequest\032\'.google.cloud.compute.v" - + "1.SslCertificate\"z\202\323\344\223\002S\022Q/compute/v1/pr" - + "ojects/{project}/regions/{region}/sslCer" - + "tificates/{ssl_certificate}\332A\036project,re" - + "gion,ssl_certificate\022\211\002\n\006Insert\022:.google" - + ".cloud.compute.v1.InsertRegionSslCertifi" - + "cateRequest\032\".google.cloud.compute.v1.Op" - + "eration\"\236\001\202\323\344\223\002[\"?/compute/v1/projects/{" - + "project}/regions/{region}/sslCertificate" - + "s:\030ssl_certificate_resource\332A\'project,re" - + "gion,ssl_certificate_resource\212N\020RegionOp" - + "erations\022\310\001\n\004List\0229.google.cloud.compute" - + ".v1.ListRegionSslCertificatesRequest\032+.g" - + "oogle.cloud.compute.v1.SslCertificateLis" - + "t\"X\202\323\344\223\002A\022?/compute/v1/projects/{project" - + "}/regions/{region}/sslCertificates\332A\016pro" - + "ject,region\032r\312A\026compute.googleapis.com\322A" - + "Vhttps://www.googleapis.com/auth/compute" - + ",https://www.googleapis.com/auth/cloud-p" - + "latform2\252\013\n\027RegionTargetHttpProxies\022\377\001\n\006" - + "Delete\022;.google.cloud.compute.v1.DeleteR" - + "egionTargetHttpProxyRequest\032\".google.clo" - + "ud.compute.v1.Operation\"\223\001\202\323\344\223\002W*U/compu" - + "te/v1/projects/{project}/regions/{region" - + "}/targetHttpProxies/{target_http_proxy}\332" - + "A project,region,target_http_proxy\212N\020Reg" - + "ionOperations\022\354\001\n\003Get\0228.google.cloud.com" - + "pute.v1.GetRegionTargetHttpProxyRequest\032" - + "(.google.cloud.compute.v1.TargetHttpProx" - + "y\"\200\001\202\323\344\223\002W\022U/compute/v1/projects/{projec" - + "t}/regions/{region}/targetHttpProxies/{t" - + "arget_http_proxy}\332A project,region,targe" - + "t_http_proxy\022\220\002\n\006Insert\022;.google.cloud.c" - + "ompute.v1.InsertRegionTargetHttpProxyReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\244\001\202\323\344\223\002_\"A/compute/v1/projects/{project" - + "}/regions/{region}/targetHttpProxies:\032ta" - + "rget_http_proxy_resource\332A)project,regio" - + "n,target_http_proxy_resource\212N\020RegionOpe" - + "rations\022\315\001\n\004List\022;.google.cloud.compute." - + "v1.ListRegionTargetHttpProxiesRequest\032,." - + "google.cloud.compute.v1.TargetHttpProxyL" - + "ist\"Z\202\323\344\223\002C\022A/compute/v1/projects/{proje" - + "ct}/regions/{region}/targetHttpProxies\332A" - + "\016project,region\022\306\002\n\tSetUrlMap\022>.google.c" - + "loud.compute.v1.SetUrlMapRegionTargetHtt" - + "pProxyRequest\032\".google.cloud.compute.v1." - + "Operation\"\324\001\202\323\344\223\002}\"_/compute/v1/projects" - + "/{project}/regions/{region}/targetHttpPr" - + "oxies/{target_http_proxy}/setUrlMap:\032url" - + "_map_reference_resource\332A;project,region" - + ",target_http_proxy,url_map_reference_res" - + "ource\212N\020RegionOperations\032r\312A\026compute.goo" - + "gleapis.com\322AVhttps://www.googleapis.com" - + "/auth/compute,https://www.googleapis.com" - + "/auth/cloud-platform2\366\016\n\030RegionTargetHtt" - + "psProxies\022\203\002\n\006Delete\022<.google.cloud.comp" - + "ute.v1.DeleteRegionTargetHttpsProxyReque" - + "st\032\".google.cloud.compute.v1.Operation\"\226" - + "\001\202\323\344\223\002Y*W/compute/v1/projects/{project}/" + + "gion}/targetHttpsProxies/{target_https_p" + + "roxy}\332A!project,region,target_https_prox" + + "y\022\224\002\n\006Insert\022<.google.cloud.compute.v1.I" + + "nsertRegionTargetHttpsProxyRequest\032\".goo" + + "gle.cloud.compute.v1.Operation\"\247\001\202\323\344\223\002a\"" + + "B/compute/v1/projects/{project}/regions/" + + "{region}/targetHttpsProxies:\033target_http" + + "s_proxy_resource\332A*project,region,target" + + "_https_proxy_resource\212N\020RegionOperations" + + "\022\320\001\n\004List\022<.google.cloud.compute.v1.List" + + "RegionTargetHttpsProxiesRequest\032-.google" + + ".cloud.compute.v1.TargetHttpsProxyList\"[" + + "\202\323\344\223\002D\022B/compute/v1/projects/{project}/r" + + "egions/{region}/targetHttpsProxies\332A\016pro" + + "ject,region\022\272\002\n\005Patch\022;.google.cloud.com" + + "pute.v1.PatchRegionTargetHttpsProxyReque" + + "st\032\".google.cloud.compute.v1.Operation\"\317" + + "\001\202\323\344\223\002v2W/compute/v1/projects/{project}/" + "regions/{region}/targetHttpsProxies/{tar" - + "get_https_proxy}\332A!project,region,target" - + "_https_proxy\212N\020RegionOperations\022\361\001\n\003Get\022" - + "9.google.cloud.compute.v1.GetRegionTarge" - + "tHttpsProxyRequest\032).google.cloud.comput" - + "e.v1.TargetHttpsProxy\"\203\001\202\323\344\223\002Y\022W/compute" + + "get_https_proxy}:\033target_https_proxy_res" + + "ource\332A=project,region,target_https_prox" + + "y,target_https_proxy_resource\212N\020RegionOp" + + "erations\022\264\003\n\022SetSslCertificates\022H.google" + + ".cloud.compute.v1.SetSslCertificatesRegi" + + "onTargetHttpsProxyRequest\032\".google.cloud" + + ".compute.v1.Operation\"\257\002\202\323\344\223\002\257\001\"j/comput" + + "e/v1/projects/{project}/regions/{region}" + + "/targetHttpsProxies/{target_https_proxy}" + + "/setSslCertificates:Aregion_target_https" + + "_proxies_set_ssl_certificates_request_re" + + "source\332Acproject,region,target_https_pro" + + "xy,region_target_https_proxies_set_ssl_c" + + "ertificates_request_resource\212N\020RegionOpe" + + "rations\022\312\002\n\tSetUrlMap\022?.google.cloud.com" + + "pute.v1.SetUrlMapRegionTargetHttpsProxyR" + + "equest\032\".google.cloud.compute.v1.Operati" + + "on\"\327\001\202\323\344\223\002\177\"a/compute/v1/projects/{proje" + + "ct}/regions/{region}/targetHttpsProxies/" + + "{target_https_proxy}/setUrlMap:\032url_map_" + + "reference_resource\332A.google.cloud." - + "compute.v1.AggregatedListResourcePolicie" - + "sRequest\0325.google.cloud.compute.v1.Resou" - + "rcePolicyAggregatedList\"L\202\323\344\223\002<\022:/comput" - + "e/v1/projects/{project}/aggregated/resou" - + "rcePolicies\332A\007project\022\363\001\n\006Delete\0224.googl" - + "e.cloud.compute.v1.DeleteResourcePolicyR" - + "equest\032\".google.cloud.compute.v1.Operati" - + "on\"\216\001\202\323\344\223\002T*R/compute/v1/projects/{proje" - + "ct}/regions/{region}/resourcePolicies/{r" - + "esource_policy}\332A\036project,region,resourc" - + "e_policy\212N\020RegionOperations\022\336\001\n\003Get\0221.go" - + "ogle.cloud.compute.v1.GetResourcePolicyR" - + "equest\032\'.google.cloud.compute.v1.Resourc" - + "ePolicy\"{\202\323\344\223\002T\022R/compute/v1/projects/{p" - + "roject}/regions/{region}/resourcePolicie" - + "s/{resource_policy}\332A\036project,region,res" - + "ource_policy\022\347\001\n\014GetIamPolicy\022:.google.c" - + "loud.compute.v1.GetIamPolicyResourcePoli" - + "cyRequest\032\037.google.cloud.compute.v1.Poli" - + "cy\"z\202\323\344\223\002Z\022X/compute/v1/projects/{projec" - + "t}/regions/{region}/resourcePolicies/{re" - + "source}/getIamPolicy\332A\027project,region,re" - + "source\022\204\002\n\006Insert\0224.google.cloud.compute" - + ".v1.InsertResourcePolicyRequest\032\".google" - + ".cloud.compute.v1.Operation\"\237\001\202\323\344\223\002\\\"@/c" - + "ompute/v1/projects/{project}/regions/{re" - + "gion}/resourcePolicies:\030resource_policy_" - + "resource\332A\'project,region,resource_polic" - + "y_resource\212N\020RegionOperations\022\304\001\n\004List\0224" - + ".google.cloud.compute.v1.ListResourcePol" - + "iciesRequest\032+.google.cloud.compute.v1.R" - + "esourcePolicyList\"Y\202\323\344\223\002B\022@/compute/v1/p" - + "rojects/{project}/regions/{region}/resou" - + "rcePolicies\332A\016project,region\022\257\002\n\014SetIamP" - + "olicy\022:.google.cloud.compute.v1.SetIamPo" - + "licyResourcePolicyRequest\032\037.google.cloud" - + ".compute.v1.Policy\"\301\001\202\323\344\223\002~\"X/compute/v1" - + "/projects/{project}/regions/{region}/res" - + "ourcePolicies/{resource}/setIamPolicy:\"r" - + "egion_set_policy_request_resource\332A:proj" - + "ect,region,resource,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\202\323\344\223" - + "\002\203\001\"^/compute/v1/projects/{project}/regi" - + "ons/{region}/resourcePolicies/{resource}" - + "/testIamPermissions:!test_permissions_re" - + "quest_resource\332A9project,region,resource" - + ",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\226\022\n\007Route" - + "rs\022\273\001\n\016AggregatedList\0225.google.cloud.com" - + "pute.v1.AggregatedListRoutersRequest\032-.g" - + "oogle.cloud.compute.v1.RouterAggregatedL" - + "ist\"C\202\323\344\223\0023\0221/compute/v1/projects/{proje" - + "ct}/aggregated/routers\332A\007project\022\317\001\n\006Del" - + "ete\022,.google.cloud.compute.v1.DeleteRout" - + "erRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"s\202\323\344\223\002B*@/compute/v1/projects/{pro" - + "ject}/regions/{region}/routers/{router}\332" - + "A\025project,region,router\212N\020RegionOperatio" - + "ns\022\263\001\n\003Get\022).google.cloud.compute.v1.Get" - + "RouterRequest\032\037.google.cloud.compute.v1." - + "Router\"`\202\323\344\223\002B\022@/compute/v1/projects/{pr" - + "oject}/regions/{region}/routers/{router}" - + "\332A\025project,region,router\022\365\001\n\021GetNatMappi" - + "ngInfo\0228.google.cloud.compute.v1.GetNatM" - + "appingInfoRoutersRequest\0322.google.cloud." - + "compute.v1.VmEndpointNatMappingsList\"r\202\323" - + "\344\223\002T\022R/compute/v1/projects/{project}/reg" - + "ions/{region}/routers/{router}/getNatMap" - + "pingInfo\332A\025project,region,router\022\351\001\n\017Get" - + "RouterStatus\0225.google.cloud.compute.v1.G" - + "etRouterStatusRouterRequest\032-.google.clo" - + "ud.compute.v1.RouterStatusResponse\"p\202\323\344\223" - + "\002R\022P/compute/v1/projects/{project}/regio" - + "ns/{region}/routers/{router}/getRouterSt" - + "atus\332A\025project,region,router\022\341\001\n\006Insert\022" - + ",.google.cloud.compute.v1.InsertRouterRe" + + "s/{reservation}\332A\030project,zone,reservati" + + "on\022\332\001\n\014GetIamPolicy\0227.google.cloud.compu" + + "te.v1.GetIamPolicyReservationRequest\032\037.g" + + "oogle.cloud.compute.v1.Policy\"p\202\323\344\223\002R\022P/" + + "compute/v1/projects/{project}/zones/{zon" + + "e}/reservations/{resource}/getIamPolicy\332" + + "A\025project,zone,resource\022\355\001\n\006Insert\0221.goo" + + "gle.cloud.compute.v1.InsertReservationRe" + "quest\032\".google.cloud.compute.v1.Operatio" - + "n\"\204\001\202\323\344\223\002J\"7/compute/v1/projects/{projec" - + "t}/regions/{region}/routers:\017router_reso" - + "urce\332A\036project,region,router_resource\212N\020" - + "RegionOperations\022\252\001\n\004List\022+.google.cloud" - + ".compute.v1.ListRoutersRequest\032#.google." - + "cloud.compute.v1.RouterList\"P\202\323\344\223\0029\0227/co" - + "mpute/v1/projects/{project}/regions/{reg" - + "ion}/routers\332A\016project,region\022\357\001\n\005Patch\022" - + "+.google.cloud.compute.v1.PatchRouterReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\224\001\202\323\344\223\002S2@/compute/v1/projects/{project" - + "}/regions/{region}/routers/{router}:\017rou" - + "ter_resource\332A%project,region,router,rou" - + "ter_resource\212N\020RegionOperations\022\365\001\n\007Prev" - + "iew\022-.google.cloud.compute.v1.PreviewRou" - + "terRequest\032/.google.cloud.compute.v1.Rou" - + "tersPreviewResponse\"\211\001\202\323\344\223\002[\"H/compute/v" - + "1/projects/{project}/regions/{region}/ro" - + "uters/{router}/preview:\017router_resource\332" - + "A%project,region,router,router_resource\022" - + "\361\001\n\006Update\022,.google.cloud.compute.v1.Upd" - + "ateRouterRequest\032\".google.cloud.compute." - + "v1.Operation\"\224\001\202\323\344\223\002S\032@/compute/v1/proje" - + "cts/{project}/regions/{region}/routers/{" - + "router}:\017router_resource\332A%project,regio" - + "n,router,router_resource\212N\020RegionOperati" - + "ons\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\006Delete\022+.google.cloud.com" - + "pute.v1.DeleteRouteRequest\032\".google.clou" - + "d.compute.v1.Operation\"_\202\323\344\223\0026*4/compute" - + "/v1/projects/{project}/global/routes/{ro" - + "ute}\332A\rproject,route\212N\020GlobalOperations\022" - + "\235\001\n\003Get\022(.google.cloud.compute.v1.GetRou" - + "teRequest\032\036.google.cloud.compute.v1.Rout" - + "e\"L\202\323\344\223\0026\0224/compute/v1/projects/{project" - + "}/global/routes/{route}\332A\rproject,route\022" - + "\313\001\n\006Insert\022+.google.cloud.compute.v1.Ins" - + "ertRouteRequest\032\".google.cloud.compute.v" - + "1.Operation\"p\202\323\344\223\002>\",/compute/v1/project" - + "s/{project}/global/routes:\016route_resourc" - + "e\332A\026project,route_resource\212N\020GlobalOpera" - + "tions\022\226\001\n\004List\022*.google.cloud.compute.v1" - + ".ListRoutesRequest\032\".google.cloud.comput" - + "e.v1.RouteList\">\202\323\344\223\002.\022,/compute/v1/proj" - + "ects/{project}/global/routes\332A\007project\032r" - + "\312A\026compute.googleapis.com\322AVhttps://www." - + "googleapis.com/auth/compute,https://www." - + "googleapis.com/auth/cloud-platform2\347\024\n\020S" - + "ecurityPolicies\022\251\002\n\007AddRule\0225.google.clo" - + "ud.compute.v1.AddRuleSecurityPolicyReque" - + "st\032\".google.cloud.compute.v1.Operation\"\302" - + "\001\202\323\344\223\002q\"P/compute/v1/projects/{project}/" - + "global/securityPolicies/{security_policy" - + "}/addRule:\035security_policy_rule_resource" - + "\332A5project,security_policy,security_poli" - + "cy_rule_resource\212N\020GlobalOperations\022\341\001\n\006" - + "Delete\0224.google.cloud.compute.v1.DeleteS" - + "ecurityPolicyRequest\032\".google.cloud.comp" - + "ute.v1.Operation\"}\202\323\344\223\002J*H/compute/v1/pr" - + "ojects/{project}/global/securityPolicies" - + "/{security_policy}\332A\027project,security_po" - + "licy\212N\020GlobalOperations\022\315\001\n\003Get\0221.google" - + ".cloud.compute.v1.GetSecurityPolicyReque" - + "st\032\'.google.cloud.compute.v1.SecurityPol" - + "icy\"j\202\323\344\223\002J\022H/compute/v1/projects/{proje" - + "ct}/global/securityPolicies/{security_po" - + "licy}\332A\027project,security_policy\022\341\001\n\007GetR" - + "ule\0225.google.cloud.compute.v1.GetRuleSec" - + "urityPolicyRequest\032+.google.cloud.comput" - + "e.v1.SecurityPolicyRule\"r\202\323\344\223\002R\022P/comput" - + "e/v1/projects/{project}/global/securityP" - + "olicies/{security_policy}/getRule\332A\027proj" - + "ect,security_policy\022\363\001\n\006Insert\0224.google." - + "cloud.compute.v1.InsertSecurityPolicyReq" - + "uest\032\".google.cloud.compute.v1.Operation" - + "\"\216\001\202\323\344\223\002R\"6/compute/v1/projects/{project" - + "}/global/securityPolicies:\030security_poli" - + "cy_resource\332A project,security_policy_re" - + "source\212N\020GlobalOperations\022\263\001\n\004List\0224.goo" - + "gle.cloud.compute.v1.ListSecurityPolicie" - + "sRequest\032+.google.cloud.compute.v1.Secur" - + "ityPolicyList\"H\202\323\344\223\0028\0226/compute/v1/proje" - + "cts/{project}/global/securityPolicies\332A\007" - + "project\022\256\002\n\037ListPreconfiguredExpressionS" - + "ets\022O.google.cloud.compute.v1.ListPrecon" - + "figuredExpressionSetsSecurityPoliciesReq" - + "uest\032P.google.cloud.compute.v1.SecurityP" - + "oliciesListPreconfiguredExpressionSetsRe" - + "sponse\"h\202\323\344\223\002X\022V/compute/v1/projects/{pr" - + "oject}/global/securityPolicies/listPreco" - + "nfiguredExpressionSets\332A\007project\022\223\002\n\005Pat" - + "ch\0223.google.cloud.compute.v1.PatchSecuri" - + "tyPolicyRequest\032\".google.cloud.compute.v" - + "1.Operation\"\260\001\202\323\344\223\002d2H/compute/v1/projec" - + "ts/{project}/global/securityPolicies/{se" - + "curity_policy}:\030security_policy_resource" - + "\332A0project,security_policy,security_poli" - + "cy_resource\212N\020GlobalOperations\022\257\002\n\tPatch" - + "Rule\0227.google.cloud.compute.v1.PatchRule" - + "SecurityPolicyRequest\032\".google.cloud.com" - + "pute.v1.Operation\"\304\001\202\323\344\223\002s\"R/compute/v1/" - + "projects/{project}/global/securityPolici" - + "es/{security_policy}/patchRule:\035security" - + "_policy_rule_resource\332A5project,security" - + "_policy,security_policy_rule_resource\212N\020" - + "GlobalOperations\022\365\001\n\nRemoveRule\0228.google" - + ".cloud.compute.v1.RemoveRuleSecurityPoli" + + "n\"\213\001\202\323\344\223\002P\"8/compute/v1/projects/{projec" + + "t}/zones/{zone}/reservations:\024reservatio" + + "n_resource\332A!project,zone,reservation_re" + + "source\212N\016ZoneOperations\022\263\001\n\004List\0220.googl" + + "e.cloud.compute.v1.ListReservationsReque", + "st\032(.google.cloud.compute.v1.Reservation" + + "List\"O\202\323\344\223\002:\0228/compute/v1/projects/{proj" + + "ect}/zones/{zone}/reservations\332A\014project" + + ",zone\022\256\002\n\006Resize\0221.google.cloud.compute." + + "v1.ResizeReservationRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\314\001\202\323\344\223\002u\"M/compu" + + "te/v1/projects/{project}/zones/{zone}/re" + + "servations/{reservation}/resize:$reserva" + + "tions_resize_request_resource\332A=project," + + "zone,reservation,reservations_resize_req" + + "uest_resource\212N\016ZoneOperations\022\236\002\n\014SetIa" + + "mPolicy\0227.google.cloud.compute.v1.SetIam" + + "PolicyReservationRequest\032\037.google.cloud." + + "compute.v1.Policy\"\263\001\202\323\344\223\002t\"P/compute/v1/" + + "projects/{project}/zones/{zone}/reservat" + + "ions/{resource}/setIamPolicy: zone_set_p" + + "olicy_request_resource\332A6project,zone,re" + + "source,zone_set_policy_request_resource\022" + + "\303\002\n\022TestIamPermissions\022=.google.cloud.co" + + "mpute.v1.TestIamPermissionsReservationRe" + + "quest\0320.google.cloud.compute.v1.TestPerm" + + "issionsResponse\"\273\001\202\323\344\223\002{\"V/compute/v1/pr" + + "ojects/{project}/zones/{zone}/reservatio" + + "ns/{resource}/testIamPermissions:!test_p" + + "ermissions_request_resource\332A7project,zo" + + "ne,resource,test_permissions_request_res" + + "ource\022\207\002\n\006Update\0221.google.cloud.compute." + + "v1.UpdateReservationRequest\032\".google.clo" + + "ud.compute.v1.Operation\"\245\001\202\323\344\223\002^2F/compu" + + "te/v1/projects/{project}/zones/{zone}/re" + + "servations/{reservation}:\024reservation_re" + + "source\332A-project,zone,reservation,reserv" + + "ation_resource\212N\016ZoneOperations\032r\312A\026comp" + + "ute.googleapis.com\322AVhttps://www.googlea" + + "pis.com/auth/compute,https://www.googlea" + + "pis.com/auth/cloud-platform2\363\020\n\020Resource" + + "Policies\022\325\001\n\016AggregatedList\022>.google.clo" + + "ud.compute.v1.AggregatedListResourcePoli" + + "ciesRequest\0325.google.cloud.compute.v1.Re" + + "sourcePolicyAggregatedList\"L\202\323\344\223\002<\022:/com" + + "pute/v1/projects/{project}/aggregated/re" + + "sourcePolicies\332A\007project\022\363\001\n\006Delete\0224.go" + + "ogle.cloud.compute.v1.DeleteResourcePoli" + "cyRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\210\001\202\323\344\223\002U\"S/compute/v1/projects/{pr" - + "oject}/global/securityPolicies/{security" - + "_policy}/removeRule\332A\027project,security_p" - + "olicy\212N\020GlobalOperations\032r\312A\026compute.goo" - + "gleapis.com\322AVhttps://www.googleapis.com" - + "/auth/compute,https://www.googleapis.com" - + "/auth/cloud-platform2\360\023\n\022ServiceAttachme" - + "nts\022\334\001\n\016AggregatedList\022@.google.cloud.co" - + "mpute.v1.AggregatedListServiceAttachment" - + "sRequest\0328.google.cloud.compute.v1.Servi" - + "ceAttachmentAggregatedList\"N\202\323\344\223\002>\022\",/compute/v1/proj" + + "ects/{project}/global/routes:\016route_reso" + + "urce\332A\026project,route_resource\212N\020GlobalOp" + + "erations\022\226\001\n\004List\022*.google.cloud.compute" + + ".v1.ListRoutesRequest\032\".google.cloud.com" + + "pute.v1.RouteList\">\202\323\344\223\002.\022,/compute/v1/p" + + "rojects/{project}/global/routes\332A\007projec" + + "t\032r\312A\026compute.googleapis.com\322AVhttps://w" + + "ww.googleapis.com/auth/compute,https://w" + + "ww.googleapis.com/auth/cloud-platform2\301\026" + + "\n\020SecurityPolicies\022\251\002\n\007AddRule\0225.google." + + "cloud.compute.v1.AddRuleSecurityPolicyRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\302\001\202\323\344\223\002q\"P/compute/v1/projects/{projec" + + "t}/global/securityPolicies/{security_pol" + + "icy}/addRule:\035security_policy_rule_resou" + + "rce\332A5project,security_policy,security_p" + + "olicy_rule_resource\212N\020GlobalOperations\022\327" + + "\001\n\016AggregatedList\022>.google.cloud.compute" + + ".v1.AggregatedListSecurityPoliciesReques" + + "t\0327.google.cloud.compute.v1.SecurityPoli" + + "ciesAggregatedList\"L\202\323\344\223\002<\022:/compute/v1/" + + "projects/{project}/aggregated/securityPo" + + "licies\332A\007project\022\341\001\n\006Delete\0224.google.clo" + + "ud.compute.v1.DeleteSecurityPolicyReques" + + "t\032\".google.cloud.compute.v1.Operation\"}\202" + + "\323\344\223\002J*H/compute/v1/projects/{project}/gl" + + "obal/securityPolicies/{security_policy}\332" + + "A\027project,security_policy\212N\020GlobalOperat" + + "ions\022\315\001\n\003Get\0221.google.cloud.compute.v1.G" + + "etSecurityPolicyRequest\032\'.google.cloud.c" + + "ompute.v1.SecurityPolicy\"j\202\323\344\223\002J\022H/compu" + + "te/v1/projects/{project}/global/security" + + "Policies/{security_policy}\332A\027project,sec" + + "urity_policy\022\341\001\n\007GetRule\0225.google.cloud." + + "compute.v1.GetRuleSecurityPolicyRequest\032" + + "+.google.cloud.compute.v1.SecurityPolicy" + + "Rule\"r\202\323\344\223\002R\022P/compute/v1/projects/{proj" + + "ect}/global/securityPolicies/{security_p" + + "olicy}/getRule\332A\027project,security_policy" + + "\022\363\001\n\006Insert\0224.google.cloud.compute.v1.In" + + "sertSecurityPolicyRequest\032\".google.cloud" + + ".compute.v1.Operation\"\216\001\202\323\344\223\002R\"6/compute" + + "/v1/projects/{project}/global/securityPo" + + "licies:\030security_policy_resource\332A proje" + + "ct,security_policy_resource\212N\020GlobalOper" + + "ations\022\263\001\n\004List\0224.google.cloud.compute.v" + + "1.ListSecurityPoliciesRequest\032+.google.c" + + "loud.compute.v1.SecurityPolicyList\"H\202\323\344\223" + + "\0028\0226/compute/v1/projects/{project}/globa" + + "l/securityPolicies\332A\007project\022\256\002\n\037ListPre" + + "configuredExpressionSets\022O.google.cloud." + + "compute.v1.ListPreconfiguredExpressionSe" + + "tsSecurityPoliciesRequest\032P.google.cloud" + + ".compute.v1.SecurityPoliciesListPreconfi" + + "guredExpressionSetsResponse\"h\202\323\344\223\002X\022V/co" + + "mpute/v1/projects/{project}/global/secur" + + "ityPolicies/listPreconfiguredExpressionS" + + "ets\332A\007project\022\223\002\n\005Patch\0223.google.cloud.c" + + "ompute.v1.PatchSecurityPolicyRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\260\001\202\323\344\223\002" + + "d2H/compute/v1/projects/{project}/global" + + "/securityPolicies/{security_policy}:\030sec" + + "urity_policy_resource\332A0project,security" + + "_policy,security_policy_resource\212N\020Globa" + + "lOperations\022\257\002\n\tPatchRule\0227.google.cloud" + + ".compute.v1.PatchRuleSecurityPolicyReque" + + "st\032\".google.cloud.compute.v1.Operation\"\304" + + "\001\202\323\344\223\002s\"R/compute/v1/projects/{project}/" + + "global/securityPolicies/{security_policy" + + "}/patchRule:\035security_policy_rule_resour" + + "ce\332A5project,security_policy,security_po" + + "licy_rule_resource\212N\020GlobalOperations\022\365\001" + + "\n\nRemoveRule\0228.google.cloud.compute.v1.R" + + "emoveRuleSecurityPolicyRequest\032\".google." + + "cloud.compute.v1.Operation\"\210\001\202\323\344\223\002U\"S/co" + + "mpute/v1/projects/{project}/global/secur" + + "ityPolicies/{security_policy}/removeRule" + + "\332A\027project,security_policy\212N\020GlobalOpera" + + "tions\032r\312A\026compute.googleapis.com\322AVhttps" + + "://www.googleapis.com/auth/compute,https" + + "://www.googleapis.com/auth/cloud-platfor" + + "m2\360\023\n\022ServiceAttachments\022\334\001\n\016AggregatedL" + + "ist\022@.google.cloud.compute.v1.Aggregated" + + "ListServiceAttachmentsRequest\0328.google.c" + + "loud.compute.v1.ServiceAttachmentAggrega" + + "tedList\"N\202\323\344\223\002>\022/compute/v1/projec" - + "ts/{project}/global/sslPolicies/{ssl_pol" - + "icy}\332A\022project,ssl_policy\212N\020GlobalOperat" - + "ions\022\264\001\n\003Get\022,.google.cloud.compute.v1.G" - + "etSslPolicyRequest\032\".google.cloud.comput" - + "e.v1.SslPolicy\"[\202\323\344\223\002@\022>/compute/v1/proj" - + "ects/{project}/global/sslPolicies/{ssl_p" - + "olicy}\332A\022project,ssl_policy\022\336\001\n\006Insert\022/" - + ".google.cloud.compute.v1.InsertSslPolicy" - + "Request\032\".google.cloud.compute.v1.Operat" - + "ion\"\177\202\323\344\223\002H\"1/compute/v1/projects/{proje" - + "ct}/global/sslPolicies:\023ssl_policy_resou" - + "rce\332A\033project,ssl_policy_resource\212N\020Glob" - + "alOperations\022\246\001\n\004List\022/.google.cloud.com" - + "pute.v1.ListSslPoliciesRequest\032(.google." - + "cloud.compute.v1.SslPoliciesList\"C\202\323\344\223\0023" - + "\0221/compute/v1/projects/{project}/global/" - + "sslPolicies\332A\007project\022\367\001\n\025ListAvailableF" - + "eatures\022@.google.cloud.compute.v1.ListAv" - + "ailableFeaturesSslPoliciesRequest\032A.goog" - + "le.cloud.compute.v1.SslPoliciesListAvail" - + "ableFeaturesResponse\"Y\202\323\344\223\002I\022G/compute/v" - + "1/projects/{project}/global/sslPolicies/" - + "listAvailableFeatures\332A\007project\022\365\001\n\005Patc" - + "h\022..google.cloud.compute.v1.PatchSslPoli" - + "cyRequest\032\".google.cloud.compute.v1.Oper" - + "ation\"\227\001\202\323\344\223\002U2>/compute/v1/projects/{pr" - + "oject}/global/sslPolicies/{ssl_policy}:\023" - + "ssl_policy_resource\332A&project,ssl_policy" - + ",ssl_policy_resource\212N\020GlobalOperations\032" - + "r\312A\026compute.googleapis.com\322AVhttps://www" - + ".googleapis.com/auth/compute,https://www" - + ".googleapis.com/auth/cloud-platform2\335\031\n\013" - + "Subnetworks\022\307\001\n\016AggregatedList\0229.google." - + "cloud.compute.v1.AggregatedListSubnetwor" - + "ksRequest\0321.google.cloud.compute.v1.Subn" - + "etworkAggregatedList\"G\202\323\344\223\0027\0225/compute/v" - + "1/projects/{project}/aggregated/subnetwo" - + "rks\332A\007project\022\337\001\n\006Delete\0220.google.cloud." - + "compute.v1.DeleteSubnetworkRequest\032\".goo" - + "gle.cloud.compute.v1.Operation\"\177\202\323\344\223\002J*H" - + "/compute/v1/projects/{project}/regions/{" - + "region}/subnetworks/{subnetwork}\332A\031proje" - + "ct,region,subnetwork\212N\020RegionOperations\022" - + "\356\002\n\021ExpandIpCidrRange\022;.google.cloud.com" - + "pute.v1.ExpandIpCidrRangeSubnetworkReque" - + "st\032\".google.cloud.compute.v1.Operation\"\367" - + "\001\202\323\344\223\002\217\001\"Z/compute/v1/projects/{project}" - + "/regions/{region}/subnetworks/{subnetwor" - + "k}/expandIpCidrRange:1subnetworks_expand" - + "_ip_cidr_range_request_resource\332AKprojec" - + "t,region,subnetwork,subnetworks_expand_i" - + "p_cidr_range_request_resource\212N\020RegionOp" - + "erations\022\307\001\n\003Get\022-.google.cloud.compute." - + "v1.GetSubnetworkRequest\032#.google.cloud.c" - + "ompute.v1.Subnetwork\"l\202\323\344\223\002J\022H/compute/v" - + "1/projects/{project}/regions/{region}/su" - + "bnetworks/{subnetwork}\332A\031project,region," - + "subnetwork\022\336\001\n\014GetIamPolicy\0226.google.clo" - + "ud.compute.v1.GetIamPolicySubnetworkRequ" - + "est\032\037.google.cloud.compute.v1.Policy\"u\202\323" - + "\344\223\002U\022S/compute/v1/projects/{project}/reg" - + "ions/{region}/subnetworks/{resource}/get" - + "IamPolicy\332A\027project,region,resource\022\361\001\n\006" - + "Insert\0220.google.cloud.compute.v1.InsertS" - + "ubnetworkRequest\032\".google.cloud.compute." - + "v1.Operation\"\220\001\202\323\344\223\002R\";/compute/v1/proje" - + "cts/{project}/regions/{region}/subnetwor" - + "ks:\023subnetwork_resource\332A\"project,region" - + ",subnetwork_resource\212N\020RegionOperations\022" - + "\266\001\n\004List\022/.google.cloud.compute.v1.ListS" - + "ubnetworksRequest\032\'.google.cloud.compute" - + ".v1.SubnetworkList\"T\202\323\344\223\002=\022;/compute/v1/" - + "projects/{project}/regions/{region}/subn" - + "etworks\332A\016project,region\022\321\001\n\nListUsable\022" - + "5.google.cloud.compute.v1.ListUsableSubn" - + "etworksRequest\0328.google.cloud.compute.v1" - + ".UsableSubnetworksAggregatedList\"R\202\323\344\223\002B" - + "\022@/compute/v1/projects/{project}/aggrega" - + "ted/subnetworks/listUsable\332A\007project\022\207\002\n" - + "\005Patch\022/.google.cloud.compute.v1.PatchSu" + + "resource}/testIamPermissions:!test_permi" + + "ssions_request_resource\332A2project,resour" + + "ce,test_permissions_request_resource\032r\312A" + + "\026compute.googleapis.com\322AVhttps://www.go" + + "ogleapis.com/auth/compute,https://www.go" + + "ogleapis.com/auth/cloud-platform2\266\t\n\017Ssl" + + "Certificates\022\323\001\n\016AggregatedList\022=.google" + + ".cloud.compute.v1.AggregatedListSslCerti" + + "ficatesRequest\0325.google.cloud.compute.v1" + + ".SslCertificateAggregatedList\"K\202\323\344\223\002;\0229/" + + "compute/v1/projects/{project}/aggregated" + + "/sslCertificates\332A\007project\022\340\001\n\006Delete\0224." + + "google.cloud.compute.v1.DeleteSslCertifi" + + "cateRequest\032\".google.cloud.compute.v1.Op" + + "eration\"|\202\323\344\223\002I*G/compute/v1/projects/{p" + + "roject}/global/sslCertificates/{ssl_cert" + + "ificate}\332A\027project,ssl_certificate\212N\020Glo" + + "balOperations\022\314\001\n\003Get\0221.google.cloud.com" + + "pute.v1.GetSslCertificateRequest\032\'.googl" + + "e.cloud.compute.v1.SslCertificate\"i\202\323\344\223\002" + + "I\022G/compute/v1/projects/{project}/global" + + "/sslCertificates/{ssl_certificate}\332A\027pro" + + "ject,ssl_certificate\022\362\001\n\006Insert\0224.google" + + ".cloud.compute.v1.InsertSslCertificateRe" + + "quest\032\".google.cloud.compute.v1.Operatio" + + "n\"\215\001\202\323\344\223\002Q\"5/compute/v1/projects/{projec" + + "t}/global/sslCertificates:\030ssl_certifica" + + "te_resource\332A project,ssl_certificate_re" + + "source\212N\020GlobalOperations\022\261\001\n\004List\0223.goo" + + "gle.cloud.compute.v1.ListSslCertificates" + + "Request\032+.google.cloud.compute.v1.SslCer" + + "tificateList\"G\202\323\344\223\0027\0225/compute/v1/projec" + + "ts/{project}/global/sslCertificates\332A\007pr" + + "oject\032r\312A\026compute.googleapis.com\322AVhttps" + + "://www.googleapis.com/auth/compute,https" + + "://www.googleapis.com/auth/cloud-platfor" + + "m2\204\013\n\013SslPolicies\022\315\001\n\006Delete\022/.google.cl" + + "oud.compute.v1.DeleteSslPolicyRequest\032\"." + + "google.cloud.compute.v1.Operation\"n\202\323\344\223\002" + + "@*>/compute/v1/projects/{project}/global" + + "/sslPolicies/{ssl_policy}\332A\022project,ssl_" + + "policy\212N\020GlobalOperations\022\264\001\n\003Get\022,.goog" + + "le.cloud.compute.v1.GetSslPolicyRequest\032" + + "\".google.cloud.compute.v1.SslPolicy\"[\202\323\344" + + "\223\002@\022>/compute/v1/projects/{project}/glob" + + "al/sslPolicies/{ssl_policy}\332A\022project,ss" + + "l_policy\022\336\001\n\006Insert\022/.google.cloud.compu" + + "te.v1.InsertSslPolicyRequest\032\".google.cl" + + "oud.compute.v1.Operation\"\177\202\323\344\223\002H\"1/compu" + + "te/v1/projects/{project}/global/sslPolic" + + "ies:\023ssl_policy_resource\332A\033project,ssl_p" + + "olicy_resource\212N\020GlobalOperations\022\246\001\n\004Li", + "st\022/.google.cloud.compute.v1.ListSslPoli" + + "ciesRequest\032(.google.cloud.compute.v1.Ss" + + "lPoliciesList\"C\202\323\344\223\0023\0221/compute/v1/proje" + + "cts/{project}/global/sslPolicies\332A\007proje" + + "ct\022\367\001\n\025ListAvailableFeatures\022@.google.cl" + + "oud.compute.v1.ListAvailableFeaturesSslP" + + "oliciesRequest\032A.google.cloud.compute.v1" + + ".SslPoliciesListAvailableFeaturesRespons" + + "e\"Y\202\323\344\223\002I\022G/compute/v1/projects/{project" + + "}/global/sslPolicies/listAvailableFeatur" + + "es\332A\007project\022\365\001\n\005Patch\022..google.cloud.co" + + "mpute.v1.PatchSslPolicyRequest\032\".google." + + "cloud.compute.v1.Operation\"\227\001\202\323\344\223\002U2>/co" + + "mpute/v1/projects/{project}/global/sslPo" + + "licies/{ssl_policy}:\023ssl_policy_resource" + + "\332A&project,ssl_policy,ssl_policy_resourc" + + "e\212N\020GlobalOperations\032r\312A\026compute.googlea" + + "pis.com\322AVhttps://www.googleapis.com/aut" + + "h/compute,https://www.googleapis.com/aut" + + "h/cloud-platform2\335\031\n\013Subnetworks\022\307\001\n\016Agg" + + "regatedList\0229.google.cloud.compute.v1.Ag" + + "gregatedListSubnetworksRequest\0321.google." + + "cloud.compute.v1.SubnetworkAggregatedLis" + + "t\"G\202\323\344\223\0027\0225/compute/v1/projects/{project" + + "}/aggregated/subnetworks\332A\007project\022\337\001\n\006D" + + "elete\0220.google.cloud.compute.v1.DeleteSu" + "bnetworkRequest\032\".google.cloud.compute.v" - + "1.Operation\"\250\001\202\323\344\223\002_2H/compute/v1/projec" - + "ts/{project}/regions/{region}/subnetwork" - + "s/{subnetwork}:\023subnetwork_resource\332A-pr" - + "oject,region,subnetwork,subnetwork_resou" - + "rce\212N\020RegionOperations\022\246\002\n\014SetIamPolicy\022" - + "6.google.cloud.compute.v1.SetIamPolicySu" - + "bnetworkRequest\032\037.google.cloud.compute.v" - + "1.Policy\"\274\001\202\323\344\223\002y\"S/compute/v1/projects/" - + "{project}/regions/{region}/subnetworks/{" - + "resource}/setIamPolicy:\"region_set_polic" - + "y_request_resource\332A:project,region,reso" - + "urce,region_set_policy_request_resource\022" - + "\223\003\n\030SetPrivateIpGoogleAccess\022B.google.cl" - + "oud.compute.v1.SetPrivateIpGoogleAccessS" - + "ubnetworkRequest\032\".google.cloud.compute." - + "v1.Operation\"\216\002\202\323\344\223\002\236\001\"a/compute/v1/proj" - + "ects/{project}/regions/{region}/subnetwo" - + "rks/{subnetwork}/setPrivateIpGoogleAcces" - + "s:9subnetworks_set_private_ip_google_acc" - + "ess_request_resource\332ASproject,region,su" - + "bnetwork,subnetworks_set_private_ip_goog" - + "le_access_request_resource\212N\020RegionOpera" - + "tions\022\307\002\n\022TestIamPermissions\022<.google.cl" - + "oud.compute.v1.TestIamPermissionsSubnetw" - + "orkRequest\0320.google.cloud.compute.v1.Tes" - + "tPermissionsResponse\"\300\001\202\323\344\223\002~\"Y/compute/" + + "1.Operation\"\177\202\323\344\223\002J*H/compute/v1/project" + + "s/{project}/regions/{region}/subnetworks" + + "/{subnetwork}\332A\031project,region,subnetwor" + + "k\212N\020RegionOperations\022\356\002\n\021ExpandIpCidrRan" + + "ge\022;.google.cloud.compute.v1.ExpandIpCid" + + "rRangeSubnetworkRequest\032\".google.cloud.c" + + "ompute.v1.Operation\"\367\001\202\323\344\223\002\217\001\"Z/compute/" + "v1/projects/{project}/regions/{region}/s" - + "ubnetworks/{resource}/testIamPermissions" - + ":!test_permissions_request_resource\332A9pr" - + "oject,region,resource,test_permissions_r" - + "equest_resource\032r\312A\026compute.googleapis.c" - + "om\322AVhttps://www.googleapis.com/auth/com" - + "pute,https://www.googleapis.com/auth/clo" - + "ud-platform2\236\n\n\021TargetGrpcProxies\022\350\001\n\006De" - + "lete\0225.google.cloud.compute.v1.DeleteTar" - + "getGrpcProxyRequest\032\".google.cloud.compu" - + "te.v1.Operation\"\202\001\202\323\344\223\002M*K/compute/v1/pr" - + "ojects/{project}/global/targetGrpcProxie" - + "s/{target_grpc_proxy}\332A\031project,target_g" - + "rpc_proxy\212N\020GlobalOperations\022\324\001\n\003Get\0222.g" - + "oogle.cloud.compute.v1.GetTargetGrpcProx" - + "yRequest\032(.google.cloud.compute.v1.Targe" - + "tGrpcProxy\"o\202\323\344\223\002M\022K/compute/v1/projects" - + "/{project}/global/targetGrpcProxies/{tar" - + "get_grpc_proxy}\332A\031project,target_grpc_pr" - + "oxy\022\371\001\n\006Insert\0225.google.cloud.compute.v1" - + ".InsertTargetGrpcProxyRequest\032\".google.c" - + "loud.compute.v1.Operation\"\223\001\202\323\344\223\002U\"7/com" + + "ubnetworks/{subnetwork}/expandIpCidrRang" + + "e:1subnetworks_expand_ip_cidr_range_requ" + + "est_resource\332AKproject,region,subnetwork" + + ",subnetworks_expand_ip_cidr_range_reques" + + "t_resource\212N\020RegionOperations\022\307\001\n\003Get\022-." + + "google.cloud.compute.v1.GetSubnetworkReq" + + "uest\032#.google.cloud.compute.v1.Subnetwor" + + "k\"l\202\323\344\223\002J\022H/compute/v1/projects/{project" + + "}/regions/{region}/subnetworks/{subnetwo" + + "rk}\332A\031project,region,subnetwork\022\336\001\n\014GetI" + + "amPolicy\0226.google.cloud.compute.v1.GetIa" + + "mPolicySubnetworkRequest\032\037.google.cloud." + + "compute.v1.Policy\"u\202\323\344\223\002U\022S/compute/v1/p" + + "rojects/{project}/regions/{region}/subne" + + "tworks/{resource}/getIamPolicy\332A\027project" + + ",region,resource\022\361\001\n\006Insert\0220.google.clo" + + "ud.compute.v1.InsertSubnetworkRequest\032\"." + + "google.cloud.compute.v1.Operation\"\220\001\202\323\344\223" + + "\002R\";/compute/v1/projects/{project}/regio" + + "ns/{region}/subnetworks:\023subnetwork_reso" + + "urce\332A\"project,region,subnetwork_resourc" + + "e\212N\020RegionOperations\022\266\001\n\004List\022/.google.c" + + "loud.compute.v1.ListSubnetworksRequest\032\'" + + ".google.cloud.compute.v1.SubnetworkList\"" + + "T\202\323\344\223\002=\022;/compute/v1/projects/{project}/" + + "regions/{region}/subnetworks\332A\016project,r" + + "egion\022\321\001\n\nListUsable\0225.google.cloud.comp" + + "ute.v1.ListUsableSubnetworksRequest\0328.go" + + "ogle.cloud.compute.v1.UsableSubnetworksA" + + "ggregatedList\"R\202\323\344\223\002B\022@/compute/v1/proje" + + "cts/{project}/aggregated/subnetworks/lis" + + "tUsable\332A\007project\022\207\002\n\005Patch\022/.google.clo" + + "ud.compute.v1.PatchSubnetworkRequest\032\".g" + + "oogle.cloud.compute.v1.Operation\"\250\001\202\323\344\223\002" + + "_2H/compute/v1/projects/{project}/region" + + "s/{region}/subnetworks/{subnetwork}:\023sub" + + "network_resource\332A-project,region,subnet" + + "work,subnetwork_resource\212N\020RegionOperati" + + "ons\022\246\002\n\014SetIamPolicy\0226.google.cloud.comp" + + "ute.v1.SetIamPolicySubnetworkRequest\032\037.g" + + "oogle.cloud.compute.v1.Policy\"\274\001\202\323\344\223\002y\"S" + + "/compute/v1/projects/{project}/regions/{" + + "region}/subnetworks/{resource}/setIamPol" + + "icy:\"region_set_policy_request_resource\332" + + "A:project,region,resource,region_set_pol" + + "icy_request_resource\022\223\003\n\030SetPrivateIpGoo" + + "gleAccess\022B.google.cloud.compute.v1.SetP" + + "rivateIpGoogleAccessSubnetworkRequest\032\"." + + "google.cloud.compute.v1.Operation\"\216\002\202\323\344\223" + + "\002\236\001\"a/compute/v1/projects/{project}/regi" + + "ons/{region}/subnetworks/{subnetwork}/se" + + "tPrivateIpGoogleAccess:9subnetworks_set_" + + "private_ip_google_access_request_resourc" + + "e\332ASproject,region,subnetwork,subnetwork" + + "s_set_private_ip_google_access_request_r" + + "esource\212N\020RegionOperations\022\307\002\n\022TestIamPe" + + "rmissions\022<.google.cloud.compute.v1.Test" + + "IamPermissionsSubnetworkRequest\0320.google" + + ".cloud.compute.v1.TestPermissionsRespons" + + "e\"\300\001\202\323\344\223\002~\"Y/compute/v1/projects/{projec" + + "t}/regions/{region}/subnetworks/{resourc" + + "e}/testIamPermissions:!test_permissions_" + + "request_resource\332A9project,region,resour" + + "ce,test_permissions_request_resource\032r\312A" + + "\026compute.googleapis.com\322AVhttps://www.go" + + "ogleapis.com/auth/compute,https://www.go" + + "ogleapis.com/auth/cloud-platform2\236\n\n\021Tar" + + "getGrpcProxies\022\350\001\n\006Delete\0225.google.cloud" + + ".compute.v1.DeleteTargetGrpcProxyRequest" + + "\032\".google.cloud.compute.v1.Operation\"\202\001\202" + + "\323\344\223\002M*K/compute/v1/projects/{project}/gl" + + "obal/targetGrpcProxies/{target_grpc_prox" + + "y}\332A\031project,target_grpc_proxy\212N\020GlobalO" + + "perations\022\324\001\n\003Get\0222.google.cloud.compute" + + ".v1.GetTargetGrpcProxyRequest\032(.google.c" + + "loud.compute.v1.TargetGrpcProxy\"o\202\323\344\223\002M\022" + + "K/compute/v1/projects/{project}/global/t" + + "argetGrpcProxies/{target_grpc_proxy}\332A\031p" + + "roject,target_grpc_proxy\022\371\001\n\006Insert\0225.go" + + "ogle.cloud.compute.v1.InsertTargetGrpcPr" + + "oxyRequest\032\".google.cloud.compute.v1.Ope" + + "ration\"\223\001\202\323\344\223\002U\"7/compute/v1/projects/{p" + + "roject}/global/targetGrpcProxies:\032target" + + "_grpc_proxy_resource\332A\"project,target_gr" + + "pc_proxy_resource\212N\020GlobalOperations\022\266\001\n" + + "\004List\0225.google.cloud.compute.v1.ListTarg" + + "etGrpcProxiesRequest\032,.google.cloud.comp" + + "ute.v1.TargetGrpcProxyList\"I\202\323\344\223\0029\0227/com" + "pute/v1/projects/{project}/global/target" - + "GrpcProxies:\032target_grpc_proxy_resource\332" - + "A\"project,target_grpc_proxy_resource\212N\020G" - + "lobalOperations\022\266\001\n\004List\0225.google.cloud." - + "compute.v1.ListTargetGrpcProxiesRequest\032" - + ",.google.cloud.compute.v1.TargetGrpcProx" - + "yList\"I\202\323\344\223\0029\0227/compute/v1/projects/{pro" - + "ject}/global/targetGrpcProxies\332A\007project" - + "\022\235\002\n\005Patch\0224.google.cloud.compute.v1.Pat" - + "chTargetGrpcProxyRequest\032\".google.cloud." - + "compute.v1.Operation\"\271\001\202\323\344\223\002i2K/compute/" - + "v1/projects/{project}/global/targetGrpcP" - + "roxies/{target_grpc_proxy}:\032target_grpc_" - + "proxy_resource\332A4project,target_grpc_pro" - + "xy,target_grpc_proxy_resource\212N\020GlobalOp" - + "erations\032r\312A\026compute.googleapis.com\322AVht" - + "tps://www.googleapis.com/auth/compute,ht" - + "tps://www.googleapis.com/auth/cloud-plat" - + "form2\244\016\n\021TargetHttpProxies\022\330\001\n\016Aggregate" - + "dList\022?.google.cloud.compute.v1.Aggregat" - + "edListTargetHttpProxiesRequest\0326.google." - + "cloud.compute.v1.TargetHttpProxyAggregat" - + "edList\"M\202\323\344\223\002=\022;/compute/v1/projects/{pr" - + "oject}/aggregated/targetHttpProxies\332A\007pr" - + "oject\022\350\001\n\006Delete\0225.google.cloud.compute." - + "v1.DeleteTargetHttpProxyRequest\032\".google" - + ".cloud.compute.v1.Operation\"\202\001\202\323\344\223\002M*K/c" - + "ompute/v1/projects/{project}/global/targ" - + "etHttpProxies/{target_http_proxy}\332A\031proj" - + "ect,target_http_proxy\212N\020GlobalOperations" - + "\022\324\001\n\003Get\0222.google.cloud.compute.v1.GetTa" - + "rgetHttpProxyRequest\032(.google.cloud.comp" - + "ute.v1.TargetHttpProxy\"o\202\323\344\223\002M\022K/compute" - + "/v1/projects/{project}/global/targetHttp" - + "Proxies/{target_http_proxy}\332A\031project,ta" - + "rget_http_proxy\022\371\001\n\006Insert\0225.google.clou" - + "d.compute.v1.InsertTargetHttpProxyReques" - + "t\032\".google.cloud.compute.v1.Operation\"\223\001" - + "\202\323\344\223\002U\"7/compute/v1/projects/{project}/g" - + "lobal/targetHttpProxies:\032target_http_pro" - + "xy_resource\332A\"project,target_http_proxy_" - + "resource\212N\020GlobalOperations\022\266\001\n\004List\0225.g" - + "oogle.cloud.compute.v1.ListTargetHttpPro" - + "xiesRequest\032,.google.cloud.compute.v1.Ta" - + "rgetHttpProxyList\"I\202\323\344\223\0029\0227/compute/v1/p" - + "rojects/{project}/global/targetHttpProxi" - + "es\332A\007project\022\235\002\n\005Patch\0224.google.cloud.co" - + "mpute.v1.PatchTargetHttpProxyRequest\032\".g" - + "oogle.cloud.compute.v1.Operation\"\271\001\202\323\344\223\002" - + "i2K/compute/v1/projects/{project}/global" - + "/targetHttpProxies/{target_http_proxy}:\032" - + "target_http_proxy_resource\332A4project,tar" - + "get_http_proxy,target_http_proxy_resourc" - + "e\212N\020GlobalOperations\022\250\002\n\tSetUrlMap\0228.goo" - + "gle.cloud.compute.v1.SetUrlMapTargetHttp" - + "ProxyRequest\032\".google.cloud.compute.v1.O" - + "peration\"\274\001\202\323\344\223\002l\"N/compute/v1/projects/" - + "{project}/targetHttpProxies/{target_http" - + "_proxy}/setUrlMap:\032url_map_reference_res" - + "ource\332A4project,target_http_proxy,url_ma" - + "p_reference_resource\212N\020GlobalOperations\032" - + "r\312A\026compute.googleapis.com\322AVhttps://www" - + ".googleapis.com/auth/compute,https://www" - + ".googleapis.com/auth/cloud-platform2\225\027\n\022" - + "TargetHttpsProxies\022\333\001\n\016AggregatedList\022@." - + "google.cloud.compute.v1.AggregatedListTa" - + "rgetHttpsProxiesRequest\0327.google.cloud.c" - + "ompute.v1.TargetHttpsProxyAggregatedList" - + "\"N\202\323\344\223\002>\022\022google.golang.org/genproto/googleapis/c" - + "loud/compute/v1;compute\252\002\027Google.Cloud.C" - + "ompute.V1\312\002\027Google\\Cloud\\Compute\\V1\352\002\032Go" - + "ogle::Cloud::Compute::V1b\006proto3" + + "tform2\237\020\n\013VpnGateways\022\307\001\n\016AggregatedList" + + "\0229.google.cloud.compute.v1.AggregatedLis" + + "tVpnGatewaysRequest\0321.google.cloud.compu" + + "te.v1.VpnGatewayAggregatedList\"G\202\323\344\223\0027\0225" + + "/compute/v1/projects/{project}/aggregate" + + "d/vpnGateways\332A\007project\022\342\001\n\006Delete\0220.goo" + + "gle.cloud.compute.v1.DeleteVpnGatewayReq" + + "uest\032\".google.cloud.compute.v1.Operation" + + "\"\201\001\202\323\344\223\002K*I/compute/v1/projects/{project" + + "}/regions/{region}/vpnGateways/{vpn_gate" + + "way}\332A\032project,region,vpn_gateway\212N\020Regi" + + "onOperations\022\311\001\n\003Get\022-.google.cloud.comp" + + "ute.v1.GetVpnGatewayRequest\032#.google.clo" + + "ud.compute.v1.VpnGateway\"n\202\323\344\223\002K\022I/compu" + + "te/v1/projects/{project}/regions/{region" + + "}/vpnGateways/{vpn_gateway}\332A\032project,re" + + "gion,vpn_gateway\022\361\001\n\tGetStatus\0223.google." + + "cloud.compute.v1.GetStatusVpnGatewayRequ" + + "est\0325.google.cloud.compute.v1.VpnGateway" + + "sGetStatusResponse\"x\202\323\344\223\002U\022S/compute/v1/" + + "projects/{project}/regions/{region}/vpnG" + + "ateways/{vpn_gateway}/getStatus\332A\032projec" + + "t,region,vpn_gateway\022\363\001\n\006Insert\0220.google" + + ".cloud.compute.v1.InsertVpnGatewayReques" + + "t\032\".google.cloud.compute.v1.Operation\"\222\001" + + "\202\323\344\223\002S\";/compute/v1/projects/{project}/r" + + "egions/{region}/vpnGateways:\024vpn_gateway" + + "_resource\332A#project,region,vpn_gateway_r" + + "esource\212N\020RegionOperations\022\266\001\n\004List\022/.go" + + "ogle.cloud.compute.v1.ListVpnGatewaysReq" + + "uest\032\'.google.cloud.compute.v1.VpnGatewa" + + "yList\"T\202\323\344\223\002=\022;/compute/v1/projects/{pro" + + "ject}/regions/{region}/vpnGateways\332A\016pro" + + "ject,region\022\263\002\n\tSetLabels\0223.google.cloud" + + ".compute.v1.SetLabelsVpnGatewayRequest\032\"" + + ".google.cloud.compute.v1.Operation\"\314\001\202\323\344" + + "\223\002v\"P/compute/v1/projects/{project}/regi" + + "ons/{region}/vpnGateways/{resource}/setL" + + "abels:\"region_set_labels_request_resourc" + + "e\332A:project,region,resource,region_set_l" + + "abels_request_resource\212N\020RegionOperation" + + "s\022\307\002\n\022TestIamPermissions\022<.google.cloud." + + "compute.v1.TestIamPermissionsVpnGatewayR" + + "equest\0320.google.cloud.compute.v1.TestPer" + + "missionsResponse\"\300\001\202\323\344\223\002~\"Y/compute/v1/p" + + "rojects/{project}/regions/{region}/vpnGa" + + "teways/{resource}/testIamPermissions:!te" + + "st_permissions_request_resource\332A9projec" + + "t,region,resource,test_permissions_reque" + + "st_resource\032r\312A\026compute.googleapis.com\322A" + + "Vhttps://www.googleapis.com/auth/compute" + + ",https://www.googleapis.com/auth/cloud-p" + + "latform2\226\t\n\nVpnTunnels\022\304\001\n\016AggregatedLis" + + "t\0228.google.cloud.compute.v1.AggregatedLi" + + "stVpnTunnelsRequest\0320.google.cloud.compu" + + "te.v1.VpnTunnelAggregatedList\"F\202\323\344\223\0026\0224/" + + "compute/v1/projects/{project}/aggregated" + + "/vpnTunnels\332A\007project\022\335\001\n\006Delete\022/.googl" + + "e.cloud.compute.v1.DeleteVpnTunnelReques" + + "t\032\".google.cloud.compute.v1.Operation\"~\202" + + "\323\344\223\002I*G/compute/v1/projects/{project}/re" + + "gions/{region}/vpnTunnels/{vpn_tunnel}\332A" + + "\031project,region,vpn_tunnel\212N\020RegionOpera" + + "tions\022\304\001\n\003Get\022,.google.cloud.compute.v1." + + "GetVpnTunnelRequest\032\".google.cloud.compu" + + "te.v1.VpnTunnel\"k\202\323\344\223\002I\022G/compute/v1/pro" + + "jects/{project}/regions/{region}/vpnTunn" + + "els/{vpn_tunnel}\332A\031project,region,vpn_tu" + + "nnel\022\357\001\n\006Insert\022/.google.cloud.compute.v" + + "1.InsertVpnTunnelRequest\032\".google.cloud." + + "compute.v1.Operation\"\217\001\202\323\344\223\002Q\":/compute/" + + "v1/projects/{project}/regions/{region}/v" + + "pnTunnels:\023vpn_tunnel_resource\332A\"project" + + ",region,vpn_tunnel_resource\212N\020RegionOper" + + "ations\022\263\001\n\004List\022..google.cloud.compute.v" + + "1.ListVpnTunnelsRequest\032&.google.cloud.c" + + "ompute.v1.VpnTunnelList\"S\202\323\344\223\002<\022:/comput" + + "e/v1/projects/{project}/regions/{region}" + + "/vpnTunnels\332A\016project,region\032r\312A\026compute" + + ".googleapis.com\322AVhttps://www.googleapis" + + ".com/auth/compute,https://www.googleapis" + + ".com/auth/cloud-platform2\243\007\n\016ZoneOperati" + + "ons\022\330\001\n\006Delete\0223.google.cloud.compute.v1" + + ".DeleteZoneOperationRequest\0324.google.clo" + + "ud.compute.v1.DeleteZoneOperationRespons" + + "e\"c\202\323\344\223\002D*B/compute/v1/projects/{project" + + "}/zones/{zone}/operations/{operation}\332A\026" + + "project,zone,operation\022\303\001\n\003Get\0220.google." + + "cloud.compute.v1.GetZoneOperationRequest" + + "\032\".google.cloud.compute.v1.Operation\"f\202\323" + + "\344\223\002D\022B/compute/v1/projects/{project}/zon" + + "es/{zone}/operations/{operation}\332A\026proje" + + "ct,zone,operation\220N\001\022\261\001\n\004List\0222.google.c" + + "loud.compute.v1.ListZoneOperationsReques" + + "t\032&.google.cloud.compute.v1.OperationLis" + + "t\"M\202\323\344\223\0028\0226/compute/v1/projects/{project" + + "}/zones/{zone}/operations\332A\014project,zone" + + "\022\307\001\n\004Wait\0221.google.cloud.compute.v1.Wait" + + "ZoneOperationRequest\032\".google.cloud.comp" + + "ute.v1.Operation\"h\202\323\344\223\002I\"G/compute/v1/pr" + + "ojects/{project}/zones/{zone}/operations" + + "/{operation}/wait\332A\026project,zone,operati" + + "on\032r\312A\026compute.googleapis.com\322AVhttps://" + + "www.googleapis.com/auth/compute,https://" + + "www.googleapis.com/auth/cloud-platform2\321" + + "\003\n\005Zones\022\221\001\n\003Get\022\'.google.cloud.compute." + + "v1.GetZoneRequest\032\035.google.cloud.compute" + + ".v1.Zone\"B\202\323\344\223\002-\022+/compute/v1/projects/{" + + "project}/zones/{zone}\332A\014project,zone\022\214\001\n" + + "\004List\022).google.cloud.compute.v1.ListZone" + + "sRequest\032!.google.cloud.compute.v1.ZoneL" + + "ist\"6\202\323\344\223\002&\022$/compute/v1/projects/{proje" + + "ct}/zones\332A\007project\032\244\001\312A\026compute.googlea" + + "pis.com\322A\207\001https://www.googleapis.com/au" + + "th/compute.readonly,https://www.googleap" + + "is.com/auth/compute,https://www.googleap" + + "is.com/auth/cloud-platformB\260\001\n\033com.googl" + + "e.cloud.compute.v1P\001Z>google.golang.org/" + + "genproto/googleapis/cloud/compute/v1;com" + + "pute\252\002\027Google.Cloud.Compute.V1\312\002\027Google\\" + + "Cloud\\Compute\\V1\352\002\032Google::Cloud::Comput" + + "e::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -17953,35 +18960,64 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SetPublicPtr", "Type", }); - internal_static_google_cloud_compute_v1_AddAccessConfigInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_compute_v1_AddAccessConfigInstanceRequest_fieldAccessorTable = + internal_static_google_cloud_compute_v1_AddAccessConfigInstanceRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_compute_v1_AddAccessConfigInstanceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_AddAccessConfigInstanceRequest_descriptor, + new java.lang.String[] { + "AccessConfigResource", + "Instance", + "NetworkInterface", + "Project", + "RequestId", + "Zone", + "RequestId", + }); + internal_static_google_cloud_compute_v1_AddAssociationFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_compute_v1_AddAssociationFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_AddAssociationFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", + "FirewallPolicyAssociationResource", + "ReplaceExistingAssociation", + "RequestId", + "ReplaceExistingAssociation", + "RequestId", + }); + internal_static_google_cloud_compute_v1_AddAssociationNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_compute_v1_AddAssociationNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_compute_v1_AddAccessConfigInstanceRequest_descriptor, + internal_static_google_cloud_compute_v1_AddAssociationNetworkFirewallPolicyRequest_descriptor, new java.lang.String[] { - "AccessConfigResource", - "Instance", - "NetworkInterface", + "FirewallPolicy", + "FirewallPolicyAssociationResource", "Project", + "ReplaceExistingAssociation", "RequestId", - "Zone", + "ReplaceExistingAssociation", "RequestId", }); - internal_static_google_cloud_compute_v1_AddAssociationFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_compute_v1_AddAssociationFirewallPolicyRequest_fieldAccessorTable = + internal_static_google_cloud_compute_v1_AddAssociationRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_compute_v1_AddAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_compute_v1_AddAssociationFirewallPolicyRequest_descriptor, + internal_static_google_cloud_compute_v1_AddAssociationRegionNetworkFirewallPolicyRequest_descriptor, new java.lang.String[] { "FirewallPolicy", "FirewallPolicyAssociationResource", + "Project", + "Region", "ReplaceExistingAssociation", "RequestId", "ReplaceExistingAssociation", "RequestId", }); internal_static_google_cloud_compute_v1_AddHealthCheckTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(11); + getDescriptor().getMessageTypes().get(13); internal_static_google_cloud_compute_v1_AddHealthCheckTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddHealthCheckTargetPoolRequest_descriptor, @@ -17994,7 +19030,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AddInstanceTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(12); + getDescriptor().getMessageTypes().get(14); internal_static_google_cloud_compute_v1_AddInstanceTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddInstanceTargetPoolRequest_descriptor, @@ -18007,7 +19043,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AddInstancesInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(13); + getDescriptor().getMessageTypes().get(15); internal_static_google_cloud_compute_v1_AddInstancesInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddInstancesInstanceGroupRequest_descriptor, @@ -18020,7 +19056,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AddNodesNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(14); + getDescriptor().getMessageTypes().get(16); internal_static_google_cloud_compute_v1_AddNodesNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddNodesNodeGroupRequest_descriptor, @@ -18033,7 +19069,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AddPeeringNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(15); + getDescriptor().getMessageTypes().get(17); internal_static_google_cloud_compute_v1_AddPeeringNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddPeeringNetworkRequest_descriptor, @@ -18041,7 +19077,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Network", "NetworksAddPeeringRequestResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_AddResourcePoliciesDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(16); + getDescriptor().getMessageTypes().get(18); internal_static_google_cloud_compute_v1_AddResourcePoliciesDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddResourcePoliciesDiskRequest_descriptor, @@ -18054,7 +19090,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AddResourcePoliciesInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(17); + getDescriptor().getMessageTypes().get(19); internal_static_google_cloud_compute_v1_AddResourcePoliciesInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddResourcePoliciesInstanceRequest_descriptor, @@ -18067,7 +19103,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AddResourcePoliciesRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(18); + getDescriptor().getMessageTypes().get(20); internal_static_google_cloud_compute_v1_AddResourcePoliciesRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddResourcePoliciesRegionDiskRequest_descriptor, @@ -18080,15 +19116,48 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AddRuleFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(19); + getDescriptor().getMessageTypes().get(21); internal_static_google_cloud_compute_v1_AddRuleFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddRuleFirewallPolicyRequest_descriptor, new java.lang.String[] { "FirewallPolicy", "FirewallPolicyRuleResource", "RequestId", "RequestId", }); + internal_static_google_cloud_compute_v1_AddRuleNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_compute_v1_AddRuleNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_AddRuleNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", + "FirewallPolicyRuleResource", + "MaxPriority", + "MinPriority", + "Project", + "RequestId", + "MaxPriority", + "MinPriority", + "RequestId", + }); + internal_static_google_cloud_compute_v1_AddRuleRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_compute_v1_AddRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_AddRuleRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", + "FirewallPolicyRuleResource", + "MaxPriority", + "MinPriority", + "Project", + "Region", + "RequestId", + "MaxPriority", + "MinPriority", + "RequestId", + }); internal_static_google_cloud_compute_v1_AddRuleSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(20); + getDescriptor().getMessageTypes().get(24); internal_static_google_cloud_compute_v1_AddRuleSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddRuleSecurityPolicyRequest_descriptor, @@ -18096,7 +19165,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "SecurityPolicy", "SecurityPolicyRuleResource", }); internal_static_google_cloud_compute_v1_AddSignedUrlKeyBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(21); + getDescriptor().getMessageTypes().get(25); internal_static_google_cloud_compute_v1_AddSignedUrlKeyBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddSignedUrlKeyBackendBucketRequest_descriptor, @@ -18104,7 +19173,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendBucket", "Project", "RequestId", "SignedUrlKeyResource", "RequestId", }); internal_static_google_cloud_compute_v1_AddSignedUrlKeyBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(22); + getDescriptor().getMessageTypes().get(26); internal_static_google_cloud_compute_v1_AddSignedUrlKeyBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddSignedUrlKeyBackendServiceRequest_descriptor, @@ -18112,7 +19181,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "RequestId", "SignedUrlKeyResource", "RequestId", }); internal_static_google_cloud_compute_v1_Address_descriptor = - getDescriptor().getMessageTypes().get(23); + getDescriptor().getMessageTypes().get(27); internal_static_google_cloud_compute_v1_Address_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Address_descriptor, @@ -18152,7 +19221,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Subnetwork", }); internal_static_google_cloud_compute_v1_AddressAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(24); + getDescriptor().getMessageTypes().get(28); internal_static_google_cloud_compute_v1_AddressAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddressAggregatedList_descriptor, @@ -18181,7 +19250,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_AddressList_descriptor = - getDescriptor().getMessageTypes().get(25); + getDescriptor().getMessageTypes().get(29); internal_static_google_cloud_compute_v1_AddressList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddressList_descriptor, @@ -18199,7 +19268,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_AddressesScopedList_descriptor = - getDescriptor().getMessageTypes().get(26); + getDescriptor().getMessageTypes().get(30); internal_static_google_cloud_compute_v1_AddressesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AddressesScopedList_descriptor, @@ -18207,7 +19276,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Addresses", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_AdvancedMachineFeatures_descriptor = - getDescriptor().getMessageTypes().get(27); + getDescriptor().getMessageTypes().get(31); internal_static_google_cloud_compute_v1_AdvancedMachineFeatures_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AdvancedMachineFeatures_descriptor, @@ -18220,7 +19289,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ThreadsPerCore", }); internal_static_google_cloud_compute_v1_AggregatedListAcceleratorTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(28); + getDescriptor().getMessageTypes().get(32); internal_static_google_cloud_compute_v1_AggregatedListAcceleratorTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListAcceleratorTypesRequest_descriptor, @@ -18240,7 +19309,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListAddressesRequest_descriptor = - getDescriptor().getMessageTypes().get(29); + getDescriptor().getMessageTypes().get(33); internal_static_google_cloud_compute_v1_AggregatedListAddressesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListAddressesRequest_descriptor, @@ -18260,7 +19329,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListAutoscalersRequest_descriptor = - getDescriptor().getMessageTypes().get(30); + getDescriptor().getMessageTypes().get(34); internal_static_google_cloud_compute_v1_AggregatedListAutoscalersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListAutoscalersRequest_descriptor, @@ -18280,7 +19349,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListBackendServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(31); + getDescriptor().getMessageTypes().get(35); internal_static_google_cloud_compute_v1_AggregatedListBackendServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListBackendServicesRequest_descriptor, @@ -18300,7 +19369,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListDiskTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(32); + getDescriptor().getMessageTypes().get(36); internal_static_google_cloud_compute_v1_AggregatedListDiskTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListDiskTypesRequest_descriptor, @@ -18320,7 +19389,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListDisksRequest_descriptor = - getDescriptor().getMessageTypes().get(33); + getDescriptor().getMessageTypes().get(37); internal_static_google_cloud_compute_v1_AggregatedListDisksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListDisksRequest_descriptor, @@ -18340,7 +19409,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListForwardingRulesRequest_descriptor = - getDescriptor().getMessageTypes().get(34); + getDescriptor().getMessageTypes().get(38); internal_static_google_cloud_compute_v1_AggregatedListForwardingRulesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListForwardingRulesRequest_descriptor, @@ -18360,7 +19429,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListGlobalOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(35); + getDescriptor().getMessageTypes().get(39); internal_static_google_cloud_compute_v1_AggregatedListGlobalOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListGlobalOperationsRequest_descriptor, @@ -18380,7 +19449,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListHealthChecksRequest_descriptor = - getDescriptor().getMessageTypes().get(36); + getDescriptor().getMessageTypes().get(40); internal_static_google_cloud_compute_v1_AggregatedListHealthChecksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListHealthChecksRequest_descriptor, @@ -18400,7 +19469,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(37); + getDescriptor().getMessageTypes().get(41); internal_static_google_cloud_compute_v1_AggregatedListInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListInstanceGroupManagersRequest_descriptor, @@ -18420,7 +19489,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListInstanceGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(38); + getDescriptor().getMessageTypes().get(42); internal_static_google_cloud_compute_v1_AggregatedListInstanceGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListInstanceGroupsRequest_descriptor, @@ -18440,7 +19509,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(39); + getDescriptor().getMessageTypes().get(43); internal_static_google_cloud_compute_v1_AggregatedListInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListInstancesRequest_descriptor, @@ -18460,7 +19529,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListInterconnectAttachmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(40); + getDescriptor().getMessageTypes().get(44); internal_static_google_cloud_compute_v1_AggregatedListInterconnectAttachmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListInterconnectAttachmentsRequest_descriptor, @@ -18480,7 +19549,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListMachineTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(41); + getDescriptor().getMessageTypes().get(45); internal_static_google_cloud_compute_v1_AggregatedListMachineTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListMachineTypesRequest_descriptor, @@ -18499,8 +19568,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PageToken", "ReturnPartialSuccess", }); + internal_static_google_cloud_compute_v1_AggregatedListNetworkEdgeSecurityServicesRequest_descriptor = + getDescriptor().getMessageTypes().get(46); + internal_static_google_cloud_compute_v1_AggregatedListNetworkEdgeSecurityServicesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_AggregatedListNetworkEdgeSecurityServicesRequest_descriptor, + new java.lang.String[] { + "Filter", + "IncludeAllScopes", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "ReturnPartialSuccess", + "Filter", + "IncludeAllScopes", + "MaxResults", + "OrderBy", + "PageToken", + "ReturnPartialSuccess", + }); internal_static_google_cloud_compute_v1_AggregatedListNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(42); + getDescriptor().getMessageTypes().get(47); internal_static_google_cloud_compute_v1_AggregatedListNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListNetworkEndpointGroupsRequest_descriptor, @@ -18520,7 +19609,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListNodeGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(43); + getDescriptor().getMessageTypes().get(48); internal_static_google_cloud_compute_v1_AggregatedListNodeGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListNodeGroupsRequest_descriptor, @@ -18540,7 +19629,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListNodeTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(44); + getDescriptor().getMessageTypes().get(49); internal_static_google_cloud_compute_v1_AggregatedListNodeTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListNodeTemplatesRequest_descriptor, @@ -18560,7 +19649,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListNodeTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(45); + getDescriptor().getMessageTypes().get(50); internal_static_google_cloud_compute_v1_AggregatedListNodeTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListNodeTypesRequest_descriptor, @@ -18580,7 +19669,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListPacketMirroringsRequest_descriptor = - getDescriptor().getMessageTypes().get(46); + getDescriptor().getMessageTypes().get(51); internal_static_google_cloud_compute_v1_AggregatedListPacketMirroringsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListPacketMirroringsRequest_descriptor, @@ -18600,7 +19689,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListPublicDelegatedPrefixesRequest_descriptor = - getDescriptor().getMessageTypes().get(47); + getDescriptor().getMessageTypes().get(52); internal_static_google_cloud_compute_v1_AggregatedListPublicDelegatedPrefixesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListPublicDelegatedPrefixesRequest_descriptor, @@ -18620,7 +19709,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListRegionCommitmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(48); + getDescriptor().getMessageTypes().get(53); internal_static_google_cloud_compute_v1_AggregatedListRegionCommitmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListRegionCommitmentsRequest_descriptor, @@ -18640,7 +19729,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListReservationsRequest_descriptor = - getDescriptor().getMessageTypes().get(49); + getDescriptor().getMessageTypes().get(54); internal_static_google_cloud_compute_v1_AggregatedListReservationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListReservationsRequest_descriptor, @@ -18660,7 +19749,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(50); + getDescriptor().getMessageTypes().get(55); internal_static_google_cloud_compute_v1_AggregatedListResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListResourcePoliciesRequest_descriptor, @@ -18680,7 +19769,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListRoutersRequest_descriptor = - getDescriptor().getMessageTypes().get(51); + getDescriptor().getMessageTypes().get(56); internal_static_google_cloud_compute_v1_AggregatedListRoutersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListRoutersRequest_descriptor, @@ -18699,8 +19788,28 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PageToken", "ReturnPartialSuccess", }); + internal_static_google_cloud_compute_v1_AggregatedListSecurityPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(57); + internal_static_google_cloud_compute_v1_AggregatedListSecurityPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_AggregatedListSecurityPoliciesRequest_descriptor, + new java.lang.String[] { + "Filter", + "IncludeAllScopes", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "ReturnPartialSuccess", + "Filter", + "IncludeAllScopes", + "MaxResults", + "OrderBy", + "PageToken", + "ReturnPartialSuccess", + }); internal_static_google_cloud_compute_v1_AggregatedListServiceAttachmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(52); + getDescriptor().getMessageTypes().get(58); internal_static_google_cloud_compute_v1_AggregatedListServiceAttachmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListServiceAttachmentsRequest_descriptor, @@ -18720,7 +19829,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(53); + getDescriptor().getMessageTypes().get(59); internal_static_google_cloud_compute_v1_AggregatedListSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListSslCertificatesRequest_descriptor, @@ -18740,7 +19849,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListSubnetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(54); + getDescriptor().getMessageTypes().get(60); internal_static_google_cloud_compute_v1_AggregatedListSubnetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListSubnetworksRequest_descriptor, @@ -18760,7 +19869,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListTargetHttpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(55); + getDescriptor().getMessageTypes().get(61); internal_static_google_cloud_compute_v1_AggregatedListTargetHttpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetHttpProxiesRequest_descriptor, @@ -18780,7 +19889,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListTargetHttpsProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(56); + getDescriptor().getMessageTypes().get(62); internal_static_google_cloud_compute_v1_AggregatedListTargetHttpsProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetHttpsProxiesRequest_descriptor, @@ -18800,7 +19909,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListTargetInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(57); + getDescriptor().getMessageTypes().get(63); internal_static_google_cloud_compute_v1_AggregatedListTargetInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetInstancesRequest_descriptor, @@ -18820,7 +19929,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListTargetPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(58); + getDescriptor().getMessageTypes().get(64); internal_static_google_cloud_compute_v1_AggregatedListTargetPoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetPoolsRequest_descriptor, @@ -18840,7 +19949,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListTargetVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(59); + getDescriptor().getMessageTypes().get(65); internal_static_google_cloud_compute_v1_AggregatedListTargetVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListTargetVpnGatewaysRequest_descriptor, @@ -18860,7 +19969,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListUrlMapsRequest_descriptor = - getDescriptor().getMessageTypes().get(60); + getDescriptor().getMessageTypes().get(66); internal_static_google_cloud_compute_v1_AggregatedListUrlMapsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListUrlMapsRequest_descriptor, @@ -18880,7 +19989,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(61); + getDescriptor().getMessageTypes().get(67); internal_static_google_cloud_compute_v1_AggregatedListVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListVpnGatewaysRequest_descriptor, @@ -18900,7 +20009,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AggregatedListVpnTunnelsRequest_descriptor = - getDescriptor().getMessageTypes().get(62); + getDescriptor().getMessageTypes().get(68); internal_static_google_cloud_compute_v1_AggregatedListVpnTunnelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AggregatedListVpnTunnelsRequest_descriptor, @@ -18920,7 +20029,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_AliasIpRange_descriptor = - getDescriptor().getMessageTypes().get(63); + getDescriptor().getMessageTypes().get(69); internal_static_google_cloud_compute_v1_AliasIpRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AliasIpRange_descriptor, @@ -18928,7 +20037,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IpCidrRange", "SubnetworkRangeName", "IpCidrRange", "SubnetworkRangeName", }); internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_descriptor = - getDescriptor().getMessageTypes().get(64); + getDescriptor().getMessageTypes().get(70); internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk_descriptor, @@ -18936,7 +20045,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskSizeGb", "Interface", "DiskSizeGb", "Interface", }); internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationReservedInstanceProperties_descriptor = - getDescriptor().getMessageTypes().get(65); + getDescriptor().getMessageTypes().get(71); internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationReservedInstanceProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationSpecificSKUAllocationReservedInstanceProperties_descriptor, @@ -18951,20 +20060,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MinCpuPlatform", }); internal_static_google_cloud_compute_v1_AllocationSpecificSKUReservation_descriptor = - getDescriptor().getMessageTypes().get(66); + getDescriptor().getMessageTypes().get(72); internal_static_google_cloud_compute_v1_AllocationSpecificSKUReservation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AllocationSpecificSKUReservation_descriptor, new java.lang.String[] { + "AssuredCount", "Count", "InUseCount", "InstanceProperties", + "AssuredCount", "Count", "InUseCount", "InstanceProperties", }); internal_static_google_cloud_compute_v1_Allowed_descriptor = - getDescriptor().getMessageTypes().get(67); + getDescriptor().getMessageTypes().get(73); internal_static_google_cloud_compute_v1_Allowed_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Allowed_descriptor, @@ -18972,7 +20083,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IPProtocol", "Ports", "IPProtocol", }); internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(68); + getDescriptor().getMessageTypes().get(74); internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesInstanceGroupManagerRequest_descriptor, @@ -18983,7 +20094,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(69); + getDescriptor().getMessageTypes().get(75); internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest_descriptor, @@ -18994,7 +20105,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RegionInstanceGroupManagersApplyUpdatesRequestResource", }); internal_static_google_cloud_compute_v1_AttachDiskInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(70); + getDescriptor().getMessageTypes().get(76); internal_static_google_cloud_compute_v1_AttachDiskInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachDiskInstanceRequest_descriptor, @@ -19009,7 +20120,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(71); + getDescriptor().getMessageTypes().get(77); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest_descriptor, @@ -19021,7 +20132,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(72); + getDescriptor().getMessageTypes().get(78); internal_static_google_cloud_compute_v1_AttachNetworkEndpointsNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachNetworkEndpointsNetworkEndpointGroupRequest_descriptor, @@ -19034,7 +20145,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_AttachedDisk_descriptor = - getDescriptor().getMessageTypes().get(73); + getDescriptor().getMessageTypes().get(79); internal_static_google_cloud_compute_v1_AttachedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachedDisk_descriptor, @@ -19069,7 +20180,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", }); internal_static_google_cloud_compute_v1_AttachedDiskInitializeParams_descriptor = - getDescriptor().getMessageTypes().get(74); + getDescriptor().getMessageTypes().get(80); internal_static_google_cloud_compute_v1_AttachedDiskInitializeParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AttachedDiskInitializeParams_descriptor, @@ -19109,7 +20220,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_AuditConfig_descriptor = - getDescriptor().getMessageTypes().get(75); + getDescriptor().getMessageTypes().get(81); internal_static_google_cloud_compute_v1_AuditConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AuditConfig_descriptor, @@ -19117,7 +20228,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AuditLogConfigs", "ExemptedMembers", "Service", "Service", }); internal_static_google_cloud_compute_v1_AuditLogConfig_descriptor = - getDescriptor().getMessageTypes().get(76); + getDescriptor().getMessageTypes().get(82); internal_static_google_cloud_compute_v1_AuditLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AuditLogConfig_descriptor, @@ -19129,7 +20240,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LogType", }); internal_static_google_cloud_compute_v1_AuthorizationLoggingOptions_descriptor = - getDescriptor().getMessageTypes().get(77); + getDescriptor().getMessageTypes().get(83); internal_static_google_cloud_compute_v1_AuthorizationLoggingOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AuthorizationLoggingOptions_descriptor, @@ -19137,7 +20248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PermissionType", "PermissionType", }); internal_static_google_cloud_compute_v1_Autoscaler_descriptor = - getDescriptor().getMessageTypes().get(78); + getDescriptor().getMessageTypes().get(84); internal_static_google_cloud_compute_v1_Autoscaler_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Autoscaler_descriptor, @@ -19178,7 +20289,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_AutoscalerAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(79); + getDescriptor().getMessageTypes().get(85); internal_static_google_cloud_compute_v1_AutoscalerAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalerAggregatedList_descriptor, @@ -19207,7 +20318,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_AutoscalerList_descriptor = - getDescriptor().getMessageTypes().get(80); + getDescriptor().getMessageTypes().get(86); internal_static_google_cloud_compute_v1_AutoscalerList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalerList_descriptor, @@ -19225,7 +20336,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_AutoscalerStatusDetails_descriptor = - getDescriptor().getMessageTypes().get(81); + getDescriptor().getMessageTypes().get(87); internal_static_google_cloud_compute_v1_AutoscalerStatusDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalerStatusDetails_descriptor, @@ -19233,7 +20344,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Message", "Type", "Message", "Type", }); internal_static_google_cloud_compute_v1_AutoscalersScopedList_descriptor = - getDescriptor().getMessageTypes().get(82); + getDescriptor().getMessageTypes().get(88); internal_static_google_cloud_compute_v1_AutoscalersScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalersScopedList_descriptor, @@ -19241,7 +20352,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscalers", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_AutoscalingPolicy_descriptor = - getDescriptor().getMessageTypes().get(83); + getDescriptor().getMessageTypes().get(89); internal_static_google_cloud_compute_v1_AutoscalingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicy_descriptor, @@ -19274,7 +20385,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyCpuUtilization_descriptor = - getDescriptor().getMessageTypes().get(84); + getDescriptor().getMessageTypes().get(90); internal_static_google_cloud_compute_v1_AutoscalingPolicyCpuUtilization_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyCpuUtilization_descriptor, @@ -19282,7 +20393,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PredictiveMethod", "UtilizationTarget", "PredictiveMethod", "UtilizationTarget", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyCustomMetricUtilization_descriptor = - getDescriptor().getMessageTypes().get(85); + getDescriptor().getMessageTypes().get(91); internal_static_google_cloud_compute_v1_AutoscalingPolicyCustomMetricUtilization_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyCustomMetricUtilization_descriptor, @@ -19299,7 +20410,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UtilizationTargetType", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyLoadBalancingUtilization_descriptor = - getDescriptor().getMessageTypes().get(86); + getDescriptor().getMessageTypes().get(92); internal_static_google_cloud_compute_v1_AutoscalingPolicyLoadBalancingUtilization_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyLoadBalancingUtilization_descriptor, @@ -19307,7 +20418,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UtilizationTarget", "UtilizationTarget", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyScaleInControl_descriptor = - getDescriptor().getMessageTypes().get(87); + getDescriptor().getMessageTypes().get(93); internal_static_google_cloud_compute_v1_AutoscalingPolicyScaleInControl_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyScaleInControl_descriptor, @@ -19315,7 +20426,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaxScaledInReplicas", "TimeWindowSec", "MaxScaledInReplicas", "TimeWindowSec", }); internal_static_google_cloud_compute_v1_AutoscalingPolicyScalingSchedule_descriptor = - getDescriptor().getMessageTypes().get(88); + getDescriptor().getMessageTypes().get(94); internal_static_google_cloud_compute_v1_AutoscalingPolicyScalingSchedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_AutoscalingPolicyScalingSchedule_descriptor, @@ -19334,7 +20445,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TimeZone", }); internal_static_google_cloud_compute_v1_Backend_descriptor = - getDescriptor().getMessageTypes().get(89); + getDescriptor().getMessageTypes().get(95); internal_static_google_cloud_compute_v1_Backend_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Backend_descriptor, @@ -19365,7 +20476,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaxUtilization", }); internal_static_google_cloud_compute_v1_BackendBucket_descriptor = - getDescriptor().getMessageTypes().get(90); + getDescriptor().getMessageTypes().get(96); internal_static_google_cloud_compute_v1_BackendBucket_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucket_descriptor, @@ -19393,7 +20504,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SelfLink", }); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicy_descriptor = - getDescriptor().getMessageTypes().get(91); + getDescriptor().getMessageTypes().get(97); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketCdnPolicy_descriptor, @@ -19421,7 +20532,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SignedUrlCacheMaxAgeSec", }); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyBypassCacheOnRequestHeader_descriptor = - getDescriptor().getMessageTypes().get(92); + getDescriptor().getMessageTypes().get(98); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyBypassCacheOnRequestHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyBypassCacheOnRequestHeader_descriptor, @@ -19429,7 +20540,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HeaderName", "HeaderName", }); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyCacheKeyPolicy_descriptor = - getDescriptor().getMessageTypes().get(93); + getDescriptor().getMessageTypes().get(99); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyCacheKeyPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyCacheKeyPolicy_descriptor, @@ -19437,7 +20548,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IncludeHttpHeaders", "QueryStringWhitelist", }); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyNegativeCachingPolicy_descriptor = - getDescriptor().getMessageTypes().get(94); + getDescriptor().getMessageTypes().get(100); internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyNegativeCachingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketCdnPolicyNegativeCachingPolicy_descriptor, @@ -19445,7 +20556,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Code", "Ttl", "Code", "Ttl", }); internal_static_google_cloud_compute_v1_BackendBucketList_descriptor = - getDescriptor().getMessageTypes().get(95); + getDescriptor().getMessageTypes().get(101); internal_static_google_cloud_compute_v1_BackendBucketList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendBucketList_descriptor, @@ -19463,7 +20574,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_BackendService_descriptor = - getDescriptor().getMessageTypes().get(96); + getDescriptor().getMessageTypes().get(102); internal_static_google_cloud_compute_v1_BackendService_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendService_descriptor, @@ -19488,6 +20599,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "Kind", "LoadBalancingScheme", + "LocalityLbPolicies", "LocalityLbPolicy", "LogConfig", "MaxStreamDuration", @@ -19538,7 +20650,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TimeoutSec", }); internal_static_google_cloud_compute_v1_BackendServiceAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(97); + getDescriptor().getMessageTypes().get(103); internal_static_google_cloud_compute_v1_BackendServiceAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceAggregatedList_descriptor, @@ -19567,7 +20679,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicy_descriptor = - getDescriptor().getMessageTypes().get(98); + getDescriptor().getMessageTypes().get(104); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceCdnPolicy_descriptor, @@ -19595,7 +20707,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SignedUrlCacheMaxAgeSec", }); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyBypassCacheOnRequestHeader_descriptor = - getDescriptor().getMessageTypes().get(99); + getDescriptor().getMessageTypes().get(105); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyBypassCacheOnRequestHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyBypassCacheOnRequestHeader_descriptor, @@ -19603,7 +20715,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HeaderName", "HeaderName", }); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyNegativeCachingPolicy_descriptor = - getDescriptor().getMessageTypes().get(100); + getDescriptor().getMessageTypes().get(106); internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyNegativeCachingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceCdnPolicyNegativeCachingPolicy_descriptor, @@ -19611,20 +20723,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Code", "Ttl", "Code", "Ttl", }); internal_static_google_cloud_compute_v1_BackendServiceConnectionTrackingPolicy_descriptor = - getDescriptor().getMessageTypes().get(101); + getDescriptor().getMessageTypes().get(107); internal_static_google_cloud_compute_v1_BackendServiceConnectionTrackingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceConnectionTrackingPolicy_descriptor, new java.lang.String[] { "ConnectionPersistenceOnUnhealthyBackends", + "EnableStrongAffinity", "IdleTimeoutSec", "TrackingMode", "ConnectionPersistenceOnUnhealthyBackends", + "EnableStrongAffinity", "IdleTimeoutSec", "TrackingMode", }); internal_static_google_cloud_compute_v1_BackendServiceFailoverPolicy_descriptor = - getDescriptor().getMessageTypes().get(102); + getDescriptor().getMessageTypes().get(108); internal_static_google_cloud_compute_v1_BackendServiceFailoverPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceFailoverPolicy_descriptor, @@ -19637,7 +20751,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FailoverRatio", }); internal_static_google_cloud_compute_v1_BackendServiceGroupHealth_descriptor = - getDescriptor().getMessageTypes().get(103); + getDescriptor().getMessageTypes().get(109); internal_static_google_cloud_compute_v1_BackendServiceGroupHealth_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceGroupHealth_descriptor, @@ -19655,7 +20769,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_BackendServiceIAP_descriptor = - getDescriptor().getMessageTypes().get(104); + getDescriptor().getMessageTypes().get(110); internal_static_google_cloud_compute_v1_BackendServiceIAP_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceIAP_descriptor, @@ -19670,7 +20784,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Oauth2ClientSecretSha256", }); internal_static_google_cloud_compute_v1_BackendServiceList_descriptor = - getDescriptor().getMessageTypes().get(105); + getDescriptor().getMessageTypes().get(111); internal_static_google_cloud_compute_v1_BackendServiceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceList_descriptor, @@ -19687,8 +20801,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SelfLink", "Warning", }); + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_descriptor = + getDescriptor().getMessageTypes().get(112); + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfig_descriptor, + new java.lang.String[] { + "CustomPolicy", "Policy", "CustomPolicy", "Policy", + }); + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_descriptor = + getDescriptor().getMessageTypes().get(113); + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy_descriptor, + new java.lang.String[] { + "Data", "Name", "Data", "Name", + }); + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_descriptor = + getDescriptor().getMessageTypes().get(114); + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_BackendServiceLocalityLoadBalancingPolicyConfigPolicy_descriptor, + new java.lang.String[] { + "Name", "Name", + }); internal_static_google_cloud_compute_v1_BackendServiceLogConfig_descriptor = - getDescriptor().getMessageTypes().get(106); + getDescriptor().getMessageTypes().get(115); internal_static_google_cloud_compute_v1_BackendServiceLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceLogConfig_descriptor, @@ -19696,7 +20834,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enable", "SampleRate", "Enable", "SampleRate", }); internal_static_google_cloud_compute_v1_BackendServiceReference_descriptor = - getDescriptor().getMessageTypes().get(107); + getDescriptor().getMessageTypes().get(116); internal_static_google_cloud_compute_v1_BackendServiceReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServiceReference_descriptor, @@ -19704,7 +20842,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "BackendService", }); internal_static_google_cloud_compute_v1_BackendServicesScopedList_descriptor = - getDescriptor().getMessageTypes().get(108); + getDescriptor().getMessageTypes().get(117); internal_static_google_cloud_compute_v1_BackendServicesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BackendServicesScopedList_descriptor, @@ -19712,7 +20850,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendServices", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_BfdPacket_descriptor = - getDescriptor().getMessageTypes().get(109); + getDescriptor().getMessageTypes().get(118); internal_static_google_cloud_compute_v1_BfdPacket_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BfdPacket_descriptor, @@ -19751,7 +20889,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "YourDiscriminator", }); internal_static_google_cloud_compute_v1_BfdStatus_descriptor = - getDescriptor().getMessageTypes().get(110); + getDescriptor().getMessageTypes().get(119); internal_static_google_cloud_compute_v1_BfdStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BfdStatus_descriptor, @@ -19777,7 +20915,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "UptimeMs", }); internal_static_google_cloud_compute_v1_BfdStatusPacketCounts_descriptor = - getDescriptor().getMessageTypes().get(111); + getDescriptor().getMessageTypes().get(120); internal_static_google_cloud_compute_v1_BfdStatusPacketCounts_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BfdStatusPacketCounts_descriptor, @@ -19792,7 +20930,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NumTx", }); internal_static_google_cloud_compute_v1_Binding_descriptor = - getDescriptor().getMessageTypes().get(112); + getDescriptor().getMessageTypes().get(121); internal_static_google_cloud_compute_v1_Binding_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Binding_descriptor, @@ -19800,7 +20938,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BindingId", "Condition", "Members", "Role", "BindingId", "Condition", "Role", }); internal_static_google_cloud_compute_v1_BulkInsertInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(113); + getDescriptor().getMessageTypes().get(122); internal_static_google_cloud_compute_v1_BulkInsertInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertInstanceRequest_descriptor, @@ -19808,7 +20946,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BulkInsertInstanceResourceResource", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_BulkInsertInstanceResource_descriptor = - getDescriptor().getMessageTypes().get(114); + getDescriptor().getMessageTypes().get(123); internal_static_google_cloud_compute_v1_BulkInsertInstanceResource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertInstanceResource_descriptor, @@ -19838,7 +20976,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_BulkInsertInstanceResourcePerInstanceProperties_descriptor = - getDescriptor().getMessageTypes().get(115); + getDescriptor().getMessageTypes().get(124); internal_static_google_cloud_compute_v1_BulkInsertInstanceResourcePerInstanceProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertInstanceResourcePerInstanceProperties_descriptor, @@ -19846,7 +20984,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Name", }); internal_static_google_cloud_compute_v1_BulkInsertRegionInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(116); + getDescriptor().getMessageTypes().get(125); internal_static_google_cloud_compute_v1_BulkInsertRegionInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_BulkInsertRegionInstanceRequest_descriptor, @@ -19854,7 +20992,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BulkInsertInstanceResourceResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_CacheInvalidationRule_descriptor = - getDescriptor().getMessageTypes().get(117); + getDescriptor().getMessageTypes().get(126); internal_static_google_cloud_compute_v1_CacheInvalidationRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CacheInvalidationRule_descriptor, @@ -19862,7 +21000,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Host", "Path", "Host", "Path", }); internal_static_google_cloud_compute_v1_CacheKeyPolicy_descriptor = - getDescriptor().getMessageTypes().get(118); + getDescriptor().getMessageTypes().get(127); internal_static_google_cloud_compute_v1_CacheKeyPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CacheKeyPolicy_descriptor, @@ -19879,7 +21017,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IncludeQueryString", }); internal_static_google_cloud_compute_v1_CircuitBreakers_descriptor = - getDescriptor().getMessageTypes().get(119); + getDescriptor().getMessageTypes().get(128); internal_static_google_cloud_compute_v1_CircuitBreakers_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CircuitBreakers_descriptor, @@ -19896,7 +21034,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaxRetries", }); internal_static_google_cloud_compute_v1_CloneRulesFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(120); + getDescriptor().getMessageTypes().get(129); internal_static_google_cloud_compute_v1_CloneRulesFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CloneRulesFirewallPolicyRequest_descriptor, @@ -19907,8 +21045,35 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", "SourceFirewallPolicy", }); + internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(130); + internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_CloneRulesNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", + "Project", + "RequestId", + "SourceFirewallPolicy", + "RequestId", + "SourceFirewallPolicy", + }); + internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(131); + internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_CloneRulesRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", + "Project", + "Region", + "RequestId", + "SourceFirewallPolicy", + "RequestId", + "SourceFirewallPolicy", + }); internal_static_google_cloud_compute_v1_Commitment_descriptor = - getDescriptor().getMessageTypes().get(121); + getDescriptor().getMessageTypes().get(132); internal_static_google_cloud_compute_v1_Commitment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Commitment_descriptor, @@ -19949,7 +21114,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", }); internal_static_google_cloud_compute_v1_CommitmentAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(122); + getDescriptor().getMessageTypes().get(133); internal_static_google_cloud_compute_v1_CommitmentAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CommitmentAggregatedList_descriptor, @@ -19978,7 +21143,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_CommitmentList_descriptor = - getDescriptor().getMessageTypes().get(123); + getDescriptor().getMessageTypes().get(134); internal_static_google_cloud_compute_v1_CommitmentList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CommitmentList_descriptor, @@ -19996,7 +21161,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_CommitmentsScopedList_descriptor = - getDescriptor().getMessageTypes().get(124); + getDescriptor().getMessageTypes().get(135); internal_static_google_cloud_compute_v1_CommitmentsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CommitmentsScopedList_descriptor, @@ -20004,7 +21169,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Commitments", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_Condition_descriptor = - getDescriptor().getMessageTypes().get(125); + getDescriptor().getMessageTypes().get(136); internal_static_google_cloud_compute_v1_Condition_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Condition_descriptor, @@ -20012,7 +21177,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Iam", "Op", "Svc", "Sys", "Values", "Iam", "Op", "Svc", "Sys", }); internal_static_google_cloud_compute_v1_ConfidentialInstanceConfig_descriptor = - getDescriptor().getMessageTypes().get(126); + getDescriptor().getMessageTypes().get(137); internal_static_google_cloud_compute_v1_ConfidentialInstanceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ConfidentialInstanceConfig_descriptor, @@ -20020,7 +21185,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EnableConfidentialCompute", "EnableConfidentialCompute", }); internal_static_google_cloud_compute_v1_ConnectionDraining_descriptor = - getDescriptor().getMessageTypes().get(127); + getDescriptor().getMessageTypes().get(138); internal_static_google_cloud_compute_v1_ConnectionDraining_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ConnectionDraining_descriptor, @@ -20028,7 +21193,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DrainingTimeoutSec", "DrainingTimeoutSec", }); internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettings_descriptor = - getDescriptor().getMessageTypes().get(128); + getDescriptor().getMessageTypes().get(139); internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettings_descriptor, @@ -20041,7 +21206,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MinimumRingSize", }); internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettingsHttpCookie_descriptor = - getDescriptor().getMessageTypes().get(129); + getDescriptor().getMessageTypes().get(140); internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettingsHttpCookie_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ConsistentHashLoadBalancerSettingsHttpCookie_descriptor, @@ -20049,7 +21214,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Name", "Path", "Ttl", "Name", "Path", "Ttl", }); internal_static_google_cloud_compute_v1_CorsPolicy_descriptor = - getDescriptor().getMessageTypes().get(130); + getDescriptor().getMessageTypes().get(141); internal_static_google_cloud_compute_v1_CorsPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CorsPolicy_descriptor, @@ -20067,7 +21232,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MaxAge", }); internal_static_google_cloud_compute_v1_CreateInstancesInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(131); + getDescriptor().getMessageTypes().get(142); internal_static_google_cloud_compute_v1_CreateInstancesInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CreateInstancesInstanceGroupManagerRequest_descriptor, @@ -20080,7 +21245,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_CreateInstancesRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(132); + getDescriptor().getMessageTypes().get(143); internal_static_google_cloud_compute_v1_CreateInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CreateInstancesRegionInstanceGroupManagerRequest_descriptor, @@ -20093,7 +21258,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_CreateSnapshotDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(133); + getDescriptor().getMessageTypes().get(144); internal_static_google_cloud_compute_v1_CreateSnapshotDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CreateSnapshotDiskRequest_descriptor, @@ -20108,7 +21273,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_CreateSnapshotRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(134); + getDescriptor().getMessageTypes().get(145); internal_static_google_cloud_compute_v1_CreateSnapshotRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CreateSnapshotRegionDiskRequest_descriptor, @@ -20116,7 +21281,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "Region", "RequestId", "SnapshotResource", "RequestId", }); internal_static_google_cloud_compute_v1_CustomerEncryptionKey_descriptor = - getDescriptor().getMessageTypes().get(135); + getDescriptor().getMessageTypes().get(146); internal_static_google_cloud_compute_v1_CustomerEncryptionKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CustomerEncryptionKey_descriptor, @@ -20133,7 +21298,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Sha256", }); internal_static_google_cloud_compute_v1_CustomerEncryptionKeyProtectedDisk_descriptor = - getDescriptor().getMessageTypes().get(136); + getDescriptor().getMessageTypes().get(147); internal_static_google_cloud_compute_v1_CustomerEncryptionKeyProtectedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_CustomerEncryptionKeyProtectedDisk_descriptor, @@ -20141,7 +21306,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskEncryptionKey", "Source", "DiskEncryptionKey", "Source", }); internal_static_google_cloud_compute_v1_Data_descriptor = - getDescriptor().getMessageTypes().get(137); + getDescriptor().getMessageTypes().get(148); internal_static_google_cloud_compute_v1_Data_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Data_descriptor, @@ -20149,7 +21314,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", "Key", "Value", }); internal_static_google_cloud_compute_v1_DeleteAccessConfigInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(138); + getDescriptor().getMessageTypes().get(149); internal_static_google_cloud_compute_v1_DeleteAccessConfigInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteAccessConfigInstanceRequest_descriptor, @@ -20163,7 +21328,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_DeleteAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(139); + getDescriptor().getMessageTypes().get(150); internal_static_google_cloud_compute_v1_DeleteAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteAddressRequest_descriptor, @@ -20171,7 +21336,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(140); + getDescriptor().getMessageTypes().get(151); internal_static_google_cloud_compute_v1_DeleteAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteAutoscalerRequest_descriptor, @@ -20179,7 +21344,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscaler", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(141); + getDescriptor().getMessageTypes().get(152); internal_static_google_cloud_compute_v1_DeleteBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteBackendBucketRequest_descriptor, @@ -20187,7 +21352,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendBucket", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(142); + getDescriptor().getMessageTypes().get(153); internal_static_google_cloud_compute_v1_DeleteBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteBackendServiceRequest_descriptor, @@ -20195,7 +21360,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(143); + getDescriptor().getMessageTypes().get(154); internal_static_google_cloud_compute_v1_DeleteDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteDiskRequest_descriptor, @@ -20203,7 +21368,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(144); + getDescriptor().getMessageTypes().get(155); internal_static_google_cloud_compute_v1_DeleteExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteExternalVpnGatewayRequest_descriptor, @@ -20211,7 +21376,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ExternalVpnGateway", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(145); + getDescriptor().getMessageTypes().get(156); internal_static_google_cloud_compute_v1_DeleteFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteFirewallPolicyRequest_descriptor, @@ -20219,7 +21384,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(146); + getDescriptor().getMessageTypes().get(157); internal_static_google_cloud_compute_v1_DeleteFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteFirewallRequest_descriptor, @@ -20227,7 +21392,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Firewall", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(147); + getDescriptor().getMessageTypes().get(158); internal_static_google_cloud_compute_v1_DeleteForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteForwardingRuleRequest_descriptor, @@ -20235,7 +21400,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteGlobalAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(148); + getDescriptor().getMessageTypes().get(159); internal_static_google_cloud_compute_v1_DeleteGlobalAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalAddressRequest_descriptor, @@ -20243,7 +21408,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(149); + getDescriptor().getMessageTypes().get(160); internal_static_google_cloud_compute_v1_DeleteGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalForwardingRuleRequest_descriptor, @@ -20251,7 +21416,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(150); + getDescriptor().getMessageTypes().get(161); internal_static_google_cloud_compute_v1_DeleteGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalNetworkEndpointGroupRequest_descriptor, @@ -20259,7 +21424,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpointGroup", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteGlobalOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(151); + getDescriptor().getMessageTypes().get(162); internal_static_google_cloud_compute_v1_DeleteGlobalOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalOperationRequest_descriptor, @@ -20267,13 +21432,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", }); internal_static_google_cloud_compute_v1_DeleteGlobalOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(152); + getDescriptor().getMessageTypes().get(163); 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(153); + getDescriptor().getMessageTypes().get(164); internal_static_google_cloud_compute_v1_DeleteGlobalOrganizationOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalOrganizationOperationRequest_descriptor, @@ -20281,13 +21446,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "ParentId", "ParentId", }); internal_static_google_cloud_compute_v1_DeleteGlobalOrganizationOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(154); + getDescriptor().getMessageTypes().get(165); 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(155); + getDescriptor().getMessageTypes().get(166); internal_static_google_cloud_compute_v1_DeleteGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteGlobalPublicDelegatedPrefixeRequest_descriptor, @@ -20295,7 +21460,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicDelegatedPrefix", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(156); + getDescriptor().getMessageTypes().get(167); internal_static_google_cloud_compute_v1_DeleteHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteHealthCheckRequest_descriptor, @@ -20303,7 +21468,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheck", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteImageRequest_descriptor = - getDescriptor().getMessageTypes().get(157); + getDescriptor().getMessageTypes().get(168); internal_static_google_cloud_compute_v1_DeleteImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteImageRequest_descriptor, @@ -20311,7 +21476,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Image", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(158); + getDescriptor().getMessageTypes().get(169); internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstanceGroupManagerRequest_descriptor, @@ -20319,7 +21484,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroupManager", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(159); + getDescriptor().getMessageTypes().get(170); internal_static_google_cloud_compute_v1_DeleteInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstanceGroupRequest_descriptor, @@ -20327,7 +21492,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroup", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(160); + getDescriptor().getMessageTypes().get(171); internal_static_google_cloud_compute_v1_DeleteInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstanceRequest_descriptor, @@ -20335,7 +21500,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(161); + getDescriptor().getMessageTypes().get(172); internal_static_google_cloud_compute_v1_DeleteInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstanceTemplateRequest_descriptor, @@ -20343,7 +21508,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceTemplate", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInstancesInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(162); + getDescriptor().getMessageTypes().get(173); internal_static_google_cloud_compute_v1_DeleteInstancesInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstancesInstanceGroupManagerRequest_descriptor, @@ -20356,7 +21521,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInstancesRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(163); + getDescriptor().getMessageTypes().get(174); internal_static_google_cloud_compute_v1_DeleteInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInstancesRegionInstanceGroupManagerRequest_descriptor, @@ -20369,7 +21534,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInterconnectAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(164); + getDescriptor().getMessageTypes().get(175); internal_static_google_cloud_compute_v1_DeleteInterconnectAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInterconnectAttachmentRequest_descriptor, @@ -20377,7 +21542,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InterconnectAttachment", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(165); + getDescriptor().getMessageTypes().get(176); internal_static_google_cloud_compute_v1_DeleteInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteInterconnectRequest_descriptor, @@ -20385,7 +21550,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Interconnect", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(166); + getDescriptor().getMessageTypes().get(177); internal_static_google_cloud_compute_v1_DeleteLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteLicenseRequest_descriptor, @@ -20393,23 +21558,39 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "License", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(167); + getDescriptor().getMessageTypes().get(178); internal_static_google_cloud_compute_v1_DeleteMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteMachineImageRequest_descriptor, new java.lang.String[] { "MachineImage", "Project", "RequestId", "RequestId", }); + internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(179); + internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_descriptor, + new java.lang.String[] { + "NetworkEdgeSecurityService", "Project", "Region", "RequestId", "RequestId", + }); internal_static_google_cloud_compute_v1_DeleteNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(168); + getDescriptor().getMessageTypes().get(180); internal_static_google_cloud_compute_v1_DeleteNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNetworkEndpointGroupRequest_descriptor, new java.lang.String[] { "NetworkEndpointGroup", "Project", "RequestId", "Zone", "RequestId", }); + internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(181); + internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Project", "RequestId", "RequestId", + }); internal_static_google_cloud_compute_v1_DeleteNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(169); + getDescriptor().getMessageTypes().get(182); internal_static_google_cloud_compute_v1_DeleteNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNetworkRequest_descriptor, @@ -20417,7 +21598,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Network", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(170); + getDescriptor().getMessageTypes().get(183); internal_static_google_cloud_compute_v1_DeleteNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNodeGroupRequest_descriptor, @@ -20425,7 +21606,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeGroup", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(171); + getDescriptor().getMessageTypes().get(184); internal_static_google_cloud_compute_v1_DeleteNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNodeTemplateRequest_descriptor, @@ -20433,7 +21614,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeTemplate", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteNodesNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(172); + getDescriptor().getMessageTypes().get(185); internal_static_google_cloud_compute_v1_DeleteNodesNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteNodesNodeGroupRequest_descriptor, @@ -20446,7 +21627,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_DeletePacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(173); + getDescriptor().getMessageTypes().get(186); internal_static_google_cloud_compute_v1_DeletePacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePacketMirroringRequest_descriptor, @@ -20454,7 +21635,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PacketMirroring", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(174); + getDescriptor().getMessageTypes().get(187); internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsInstanceGroupManagerRequest_descriptor, @@ -20465,7 +21646,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(175); + getDescriptor().getMessageTypes().get(188); internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor, @@ -20476,7 +21657,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RegionInstanceGroupManagerDeleteInstanceConfigReqResource", }); internal_static_google_cloud_compute_v1_DeletePublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(176); + getDescriptor().getMessageTypes().get(189); internal_static_google_cloud_compute_v1_DeletePublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePublicAdvertisedPrefixeRequest_descriptor, @@ -20484,7 +21665,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicAdvertisedPrefix", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeletePublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(177); + getDescriptor().getMessageTypes().get(190); internal_static_google_cloud_compute_v1_DeletePublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeletePublicDelegatedPrefixeRequest_descriptor, @@ -20492,7 +21673,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicDelegatedPrefix", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(178); + getDescriptor().getMessageTypes().get(191); internal_static_google_cloud_compute_v1_DeleteRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionAutoscalerRequest_descriptor, @@ -20500,7 +21681,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscaler", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(179); + getDescriptor().getMessageTypes().get(192); internal_static_google_cloud_compute_v1_DeleteRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionBackendServiceRequest_descriptor, @@ -20508,7 +21689,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(180); + getDescriptor().getMessageTypes().get(193); internal_static_google_cloud_compute_v1_DeleteRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionDiskRequest_descriptor, @@ -20516,7 +21697,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(181); + getDescriptor().getMessageTypes().get(194); internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckRequest_descriptor, @@ -20524,7 +21705,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheck", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(182); + getDescriptor().getMessageTypes().get(195); internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionHealthCheckServiceRequest_descriptor, @@ -20532,7 +21713,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheckService", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(183); + getDescriptor().getMessageTypes().get(196); internal_static_google_cloud_compute_v1_DeleteRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionInstanceGroupManagerRequest_descriptor, @@ -20540,15 +21721,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroupManager", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(184); + getDescriptor().getMessageTypes().get(197); internal_static_google_cloud_compute_v1_DeleteRegionNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionNetworkEndpointGroupRequest_descriptor, new java.lang.String[] { "NetworkEndpointGroup", "Project", "Region", "RequestId", "RequestId", }); + internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(198); + internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Project", "Region", "RequestId", "RequestId", + }); internal_static_google_cloud_compute_v1_DeleteRegionNotificationEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(185); + getDescriptor().getMessageTypes().get(199); internal_static_google_cloud_compute_v1_DeleteRegionNotificationEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionNotificationEndpointRequest_descriptor, @@ -20556,7 +21745,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NotificationEndpoint", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(186); + getDescriptor().getMessageTypes().get(200); internal_static_google_cloud_compute_v1_DeleteRegionOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionOperationRequest_descriptor, @@ -20564,13 +21753,21 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", "Region", }); internal_static_google_cloud_compute_v1_DeleteRegionOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(187); + getDescriptor().getMessageTypes().get(201); 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(202); + internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_descriptor, + new java.lang.String[] { + "Project", "Region", "RequestId", "SecurityPolicy", "RequestId", + }); internal_static_google_cloud_compute_v1_DeleteRegionSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(188); + getDescriptor().getMessageTypes().get(203); internal_static_google_cloud_compute_v1_DeleteRegionSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionSslCertificateRequest_descriptor, @@ -20578,7 +21775,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "SslCertificate", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(189); + getDescriptor().getMessageTypes().get(204); internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpProxyRequest_descriptor, @@ -20586,7 +21783,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "TargetHttpProxy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(190); + getDescriptor().getMessageTypes().get(205); internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionTargetHttpsProxyRequest_descriptor, @@ -20594,7 +21791,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "TargetHttpsProxy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(191); + getDescriptor().getMessageTypes().get(206); internal_static_google_cloud_compute_v1_DeleteRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRegionUrlMapRequest_descriptor, @@ -20602,7 +21799,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "UrlMap", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(192); + getDescriptor().getMessageTypes().get(207); internal_static_google_cloud_compute_v1_DeleteReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteReservationRequest_descriptor, @@ -20610,7 +21807,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "Reservation", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(193); + getDescriptor().getMessageTypes().get(208); internal_static_google_cloud_compute_v1_DeleteResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteResourcePolicyRequest_descriptor, @@ -20618,7 +21815,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "ResourcePolicy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRouteRequest_descriptor = - getDescriptor().getMessageTypes().get(194); + getDescriptor().getMessageTypes().get(209); internal_static_google_cloud_compute_v1_DeleteRouteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRouteRequest_descriptor, @@ -20626,7 +21823,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "Route", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(195); + getDescriptor().getMessageTypes().get(210); internal_static_google_cloud_compute_v1_DeleteRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteRouterRequest_descriptor, @@ -20634,7 +21831,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "Router", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(196); + getDescriptor().getMessageTypes().get(211); internal_static_google_cloud_compute_v1_DeleteSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSecurityPolicyRequest_descriptor, @@ -20642,7 +21839,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "SecurityPolicy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(197); + getDescriptor().getMessageTypes().get(212); internal_static_google_cloud_compute_v1_DeleteServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteServiceAttachmentRequest_descriptor, @@ -20650,7 +21847,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "ServiceAttachment", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(198); + getDescriptor().getMessageTypes().get(213); internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendBucketRequest_descriptor, @@ -20658,7 +21855,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendBucket", "KeyName", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(199); + getDescriptor().getMessageTypes().get(214); internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSignedUrlKeyBackendServiceRequest_descriptor, @@ -20666,7 +21863,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "KeyName", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(200); + getDescriptor().getMessageTypes().get(215); internal_static_google_cloud_compute_v1_DeleteSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSnapshotRequest_descriptor, @@ -20674,7 +21871,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "Snapshot", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(201); + getDescriptor().getMessageTypes().get(216); internal_static_google_cloud_compute_v1_DeleteSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSslCertificateRequest_descriptor, @@ -20682,7 +21879,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "SslCertificate", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(202); + getDescriptor().getMessageTypes().get(217); internal_static_google_cloud_compute_v1_DeleteSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSslPolicyRequest_descriptor, @@ -20690,7 +21887,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "SslPolicy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(203); + getDescriptor().getMessageTypes().get(218); internal_static_google_cloud_compute_v1_DeleteSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteSubnetworkRequest_descriptor, @@ -20698,7 +21895,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "Subnetwork", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteTargetGrpcProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(204); + getDescriptor().getMessageTypes().get(219); internal_static_google_cloud_compute_v1_DeleteTargetGrpcProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetGrpcProxyRequest_descriptor, @@ -20706,7 +21903,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetGrpcProxy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(205); + getDescriptor().getMessageTypes().get(220); internal_static_google_cloud_compute_v1_DeleteTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetHttpProxyRequest_descriptor, @@ -20714,7 +21911,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetHttpProxy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(206); + getDescriptor().getMessageTypes().get(221); internal_static_google_cloud_compute_v1_DeleteTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetHttpsProxyRequest_descriptor, @@ -20722,7 +21919,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetHttpsProxy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteTargetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(207); + getDescriptor().getMessageTypes().get(222); internal_static_google_cloud_compute_v1_DeleteTargetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetInstanceRequest_descriptor, @@ -20730,7 +21927,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetInstance", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(208); + getDescriptor().getMessageTypes().get(223); internal_static_google_cloud_compute_v1_DeleteTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetPoolRequest_descriptor, @@ -20738,7 +21935,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "TargetPool", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(209); + getDescriptor().getMessageTypes().get(224); internal_static_google_cloud_compute_v1_DeleteTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetSslProxyRequest_descriptor, @@ -20746,7 +21943,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetSslProxy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(210); + getDescriptor().getMessageTypes().get(225); internal_static_google_cloud_compute_v1_DeleteTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetTcpProxyRequest_descriptor, @@ -20754,7 +21951,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "TargetTcpProxy", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteTargetVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(211); + getDescriptor().getMessageTypes().get(226); internal_static_google_cloud_compute_v1_DeleteTargetVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteTargetVpnGatewayRequest_descriptor, @@ -20762,7 +21959,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "TargetVpnGateway", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(212); + getDescriptor().getMessageTypes().get(227); internal_static_google_cloud_compute_v1_DeleteUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteUrlMapRequest_descriptor, @@ -20770,7 +21967,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "UrlMap", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(213); + getDescriptor().getMessageTypes().get(228); internal_static_google_cloud_compute_v1_DeleteVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteVpnGatewayRequest_descriptor, @@ -20778,7 +21975,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "VpnGateway", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteVpnTunnelRequest_descriptor = - getDescriptor().getMessageTypes().get(214); + getDescriptor().getMessageTypes().get(229); internal_static_google_cloud_compute_v1_DeleteVpnTunnelRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteVpnTunnelRequest_descriptor, @@ -20786,7 +21983,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "RequestId", "VpnTunnel", "RequestId", }); internal_static_google_cloud_compute_v1_DeleteZoneOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(215); + getDescriptor().getMessageTypes().get(230); internal_static_google_cloud_compute_v1_DeleteZoneOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeleteZoneOperationRequest_descriptor, @@ -20794,13 +21991,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", "Zone", }); internal_static_google_cloud_compute_v1_DeleteZoneOperationResponse_descriptor = - getDescriptor().getMessageTypes().get(216); + getDescriptor().getMessageTypes().get(231); 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(217); + getDescriptor().getMessageTypes().get(232); internal_static_google_cloud_compute_v1_Denied_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Denied_descriptor, @@ -20808,7 +22005,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IPProtocol", "Ports", "IPProtocol", }); internal_static_google_cloud_compute_v1_DeprecateImageRequest_descriptor = - getDescriptor().getMessageTypes().get(218); + getDescriptor().getMessageTypes().get(233); internal_static_google_cloud_compute_v1_DeprecateImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeprecateImageRequest_descriptor, @@ -20816,7 +22013,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DeprecationStatusResource", "Image", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DeprecationStatus_descriptor = - getDescriptor().getMessageTypes().get(219); + getDescriptor().getMessageTypes().get(234); internal_static_google_cloud_compute_v1_DeprecationStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DeprecationStatus_descriptor, @@ -20833,7 +22030,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "State", }); internal_static_google_cloud_compute_v1_DetachDiskInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(220); + getDescriptor().getMessageTypes().get(235); internal_static_google_cloud_compute_v1_DetachDiskInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DetachDiskInstanceRequest_descriptor, @@ -20841,7 +22038,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DeviceName", "Instance", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(221); + getDescriptor().getMessageTypes().get(236); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest_descriptor, @@ -20853,7 +22050,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(222); + getDescriptor().getMessageTypes().get(237); internal_static_google_cloud_compute_v1_DetachNetworkEndpointsNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DetachNetworkEndpointsNetworkEndpointGroupRequest_descriptor, @@ -20866,7 +22063,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_DisableXpnHostProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(223); + getDescriptor().getMessageTypes().get(238); internal_static_google_cloud_compute_v1_DisableXpnHostProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisableXpnHostProjectRequest_descriptor, @@ -20874,7 +22071,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_DisableXpnResourceProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(224); + getDescriptor().getMessageTypes().get(239); internal_static_google_cloud_compute_v1_DisableXpnResourceProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisableXpnResourceProjectRequest_descriptor, @@ -20882,7 +22079,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "ProjectsDisableXpnResourceRequestResource", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_Disk_descriptor = - getDescriptor().getMessageTypes().get(225); + getDescriptor().getMessageTypes().get(240); internal_static_google_cloud_compute_v1_Disk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Disk_descriptor, @@ -20962,7 +22159,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_DiskAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(226); + getDescriptor().getMessageTypes().get(241); internal_static_google_cloud_compute_v1_DiskAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskAggregatedList_descriptor, @@ -20991,7 +22188,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_DiskInstantiationConfig_descriptor = - getDescriptor().getMessageTypes().get(227); + getDescriptor().getMessageTypes().get(242); internal_static_google_cloud_compute_v1_DiskInstantiationConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskInstantiationConfig_descriptor, @@ -21006,7 +22203,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstantiateFrom", }); internal_static_google_cloud_compute_v1_DiskList_descriptor = - getDescriptor().getMessageTypes().get(228); + getDescriptor().getMessageTypes().get(243); internal_static_google_cloud_compute_v1_DiskList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskList_descriptor, @@ -21024,7 +22221,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_DiskMoveRequest_descriptor = - getDescriptor().getMessageTypes().get(229); + getDescriptor().getMessageTypes().get(244); internal_static_google_cloud_compute_v1_DiskMoveRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskMoveRequest_descriptor, @@ -21032,7 +22229,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DestinationZone", "TargetDisk", "DestinationZone", "TargetDisk", }); internal_static_google_cloud_compute_v1_DiskType_descriptor = - getDescriptor().getMessageTypes().get(230); + getDescriptor().getMessageTypes().get(245); internal_static_google_cloud_compute_v1_DiskType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskType_descriptor, @@ -21061,7 +22258,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", }); internal_static_google_cloud_compute_v1_DiskTypeAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(231); + getDescriptor().getMessageTypes().get(246); internal_static_google_cloud_compute_v1_DiskTypeAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskTypeAggregatedList_descriptor, @@ -21090,7 +22287,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_DiskTypeList_descriptor = - getDescriptor().getMessageTypes().get(232); + getDescriptor().getMessageTypes().get(247); internal_static_google_cloud_compute_v1_DiskTypeList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskTypeList_descriptor, @@ -21108,7 +22305,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_DiskTypesScopedList_descriptor = - getDescriptor().getMessageTypes().get(233); + getDescriptor().getMessageTypes().get(248); internal_static_google_cloud_compute_v1_DiskTypesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DiskTypesScopedList_descriptor, @@ -21116,7 +22313,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskTypes", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_DisksAddResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(234); + getDescriptor().getMessageTypes().get(249); internal_static_google_cloud_compute_v1_DisksAddResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksAddResourcePoliciesRequest_descriptor, @@ -21124,7 +22321,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_DisksRemoveResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(235); + getDescriptor().getMessageTypes().get(250); internal_static_google_cloud_compute_v1_DisksRemoveResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksRemoveResourcePoliciesRequest_descriptor, @@ -21132,7 +22329,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_DisksResizeRequest_descriptor = - getDescriptor().getMessageTypes().get(236); + getDescriptor().getMessageTypes().get(251); internal_static_google_cloud_compute_v1_DisksResizeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksResizeRequest_descriptor, @@ -21140,7 +22337,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SizeGb", "SizeGb", }); internal_static_google_cloud_compute_v1_DisksScopedList_descriptor = - getDescriptor().getMessageTypes().get(237); + getDescriptor().getMessageTypes().get(252); internal_static_google_cloud_compute_v1_DisksScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisksScopedList_descriptor, @@ -21148,7 +22345,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disks", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_DisplayDevice_descriptor = - getDescriptor().getMessageTypes().get(238); + getDescriptor().getMessageTypes().get(253); internal_static_google_cloud_compute_v1_DisplayDevice_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DisplayDevice_descriptor, @@ -21156,7 +22353,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "EnableDisplay", "EnableDisplay", }); internal_static_google_cloud_compute_v1_DistributionPolicy_descriptor = - getDescriptor().getMessageTypes().get(239); + getDescriptor().getMessageTypes().get(254); internal_static_google_cloud_compute_v1_DistributionPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DistributionPolicy_descriptor, @@ -21164,7 +22361,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "TargetShape", "Zones", "TargetShape", }); internal_static_google_cloud_compute_v1_DistributionPolicyZoneConfiguration_descriptor = - getDescriptor().getMessageTypes().get(240); + getDescriptor().getMessageTypes().get(255); internal_static_google_cloud_compute_v1_DistributionPolicyZoneConfiguration_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_DistributionPolicyZoneConfiguration_descriptor, @@ -21172,7 +22369,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Zone", "Zone", }); internal_static_google_cloud_compute_v1_Duration_descriptor = - getDescriptor().getMessageTypes().get(241); + getDescriptor().getMessageTypes().get(256); internal_static_google_cloud_compute_v1_Duration_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Duration_descriptor, @@ -21180,7 +22377,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Nanos", "Seconds", "Nanos", "Seconds", }); internal_static_google_cloud_compute_v1_EnableXpnHostProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(242); + getDescriptor().getMessageTypes().get(257); internal_static_google_cloud_compute_v1_EnableXpnHostProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_EnableXpnHostProjectRequest_descriptor, @@ -21188,7 +22385,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_EnableXpnResourceProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(243); + getDescriptor().getMessageTypes().get(258); internal_static_google_cloud_compute_v1_EnableXpnResourceProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_EnableXpnResourceProjectRequest_descriptor, @@ -21196,7 +22393,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "ProjectsEnableXpnResourceRequestResource", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_Error_descriptor = - getDescriptor().getMessageTypes().get(244); + getDescriptor().getMessageTypes().get(259); internal_static_google_cloud_compute_v1_Error_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Error_descriptor, @@ -21204,7 +22401,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Errors", }); internal_static_google_cloud_compute_v1_Errors_descriptor = - getDescriptor().getMessageTypes().get(245); + getDescriptor().getMessageTypes().get(260); internal_static_google_cloud_compute_v1_Errors_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Errors_descriptor, @@ -21212,7 +22409,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Code", "Location", "Message", "Code", "Location", "Message", }); internal_static_google_cloud_compute_v1_ExchangedPeeringRoute_descriptor = - getDescriptor().getMessageTypes().get(246); + getDescriptor().getMessageTypes().get(261); internal_static_google_cloud_compute_v1_ExchangedPeeringRoute_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExchangedPeeringRoute_descriptor, @@ -21229,7 +22426,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", }); internal_static_google_cloud_compute_v1_ExchangedPeeringRoutesList_descriptor = - getDescriptor().getMessageTypes().get(247); + getDescriptor().getMessageTypes().get(262); internal_static_google_cloud_compute_v1_ExchangedPeeringRoutesList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExchangedPeeringRoutesList_descriptor, @@ -21247,7 +22444,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_ExpandIpCidrRangeSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(248); + getDescriptor().getMessageTypes().get(263); internal_static_google_cloud_compute_v1_ExpandIpCidrRangeSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExpandIpCidrRangeSubnetworkRequest_descriptor, @@ -21260,7 +22457,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestId", }); internal_static_google_cloud_compute_v1_Expr_descriptor = - getDescriptor().getMessageTypes().get(249); + getDescriptor().getMessageTypes().get(264); internal_static_google_cloud_compute_v1_Expr_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Expr_descriptor, @@ -21275,7 +22472,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Title", }); internal_static_google_cloud_compute_v1_ExternalVpnGateway_descriptor = - getDescriptor().getMessageTypes().get(250); + getDescriptor().getMessageTypes().get(265); internal_static_google_cloud_compute_v1_ExternalVpnGateway_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExternalVpnGateway_descriptor, @@ -21310,7 +22507,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ExternalVpnGatewayInterface_descriptor = - getDescriptor().getMessageTypes().get(251); + getDescriptor().getMessageTypes().get(266); internal_static_google_cloud_compute_v1_ExternalVpnGatewayInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExternalVpnGatewayInterface_descriptor, @@ -21318,7 +22515,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Id", "IpAddress", "Id", "IpAddress", }); internal_static_google_cloud_compute_v1_ExternalVpnGatewayList_descriptor = - getDescriptor().getMessageTypes().get(252); + getDescriptor().getMessageTypes().get(267); internal_static_google_cloud_compute_v1_ExternalVpnGatewayList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ExternalVpnGatewayList_descriptor, @@ -21338,7 +22535,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_FileContentBuffer_descriptor = - getDescriptor().getMessageTypes().get(253); + getDescriptor().getMessageTypes().get(268); internal_static_google_cloud_compute_v1_FileContentBuffer_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FileContentBuffer_descriptor, @@ -21346,7 +22543,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Content", "FileType", "Content", "FileType", }); internal_static_google_cloud_compute_v1_Firewall_descriptor = - getDescriptor().getMessageTypes().get(254); + getDescriptor().getMessageTypes().get(269); internal_static_google_cloud_compute_v1_Firewall_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Firewall_descriptor, @@ -21383,7 +22580,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SelfLink", }); internal_static_google_cloud_compute_v1_FirewallList_descriptor = - getDescriptor().getMessageTypes().get(255); + getDescriptor().getMessageTypes().get(270); internal_static_google_cloud_compute_v1_FirewallList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallList_descriptor, @@ -21401,7 +22598,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_FirewallLogConfig_descriptor = - getDescriptor().getMessageTypes().get(256); + getDescriptor().getMessageTypes().get(271); internal_static_google_cloud_compute_v1_FirewallLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallLogConfig_descriptor, @@ -21409,7 +22606,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Enable", "Metadata", "Enable", "Metadata", }); internal_static_google_cloud_compute_v1_FirewallPoliciesListAssociationsResponse_descriptor = - getDescriptor().getMessageTypes().get(257); + getDescriptor().getMessageTypes().get(272); internal_static_google_cloud_compute_v1_FirewallPoliciesListAssociationsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPoliciesListAssociationsResponse_descriptor, @@ -21417,7 +22614,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Associations", "Kind", "Kind", }); internal_static_google_cloud_compute_v1_FirewallPolicy_descriptor = - getDescriptor().getMessageTypes().get(258); + getDescriptor().getMessageTypes().get(273); internal_static_google_cloud_compute_v1_FirewallPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicy_descriptor, @@ -21431,6 +22628,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Kind", "Name", "Parent", + "Region", "RuleTupleCount", "Rules", "SelfLink", @@ -21444,13 +22642,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Kind", "Name", "Parent", + "Region", "RuleTupleCount", "SelfLink", "SelfLinkWithId", "ShortName", }); internal_static_google_cloud_compute_v1_FirewallPolicyAssociation_descriptor = - getDescriptor().getMessageTypes().get(259); + getDescriptor().getMessageTypes().get(274); internal_static_google_cloud_compute_v1_FirewallPolicyAssociation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyAssociation_descriptor, @@ -21467,7 +22666,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ShortName", }); internal_static_google_cloud_compute_v1_FirewallPolicyList_descriptor = - getDescriptor().getMessageTypes().get(260); + getDescriptor().getMessageTypes().get(275); internal_static_google_cloud_compute_v1_FirewallPolicyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyList_descriptor, @@ -21483,7 +22682,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_FirewallPolicyRule_descriptor = - getDescriptor().getMessageTypes().get(261); + getDescriptor().getMessageTypes().get(276); internal_static_google_cloud_compute_v1_FirewallPolicyRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyRule_descriptor, @@ -21496,8 +22695,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Kind", "Match", "Priority", + "RuleName", "RuleTupleCount", "TargetResources", + "TargetSecureTags", "TargetServiceAccounts", "Action", "Description", @@ -21507,26 +22708,35 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Kind", "Match", "Priority", + "RuleName", "RuleTupleCount", }); internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcher_descriptor = - getDescriptor().getMessageTypes().get(262); + getDescriptor().getMessageTypes().get(277); internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcher_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcher_descriptor, new java.lang.String[] { - "DestIpRanges", "Layer4Configs", "SrcIpRanges", + "DestIpRanges", "Layer4Configs", "SrcIpRanges", "SrcSecureTags", }); internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcherLayer4Config_descriptor = - getDescriptor().getMessageTypes().get(263); + getDescriptor().getMessageTypes().get(278); internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcherLayer4Config_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FirewallPolicyRuleMatcherLayer4Config_descriptor, new java.lang.String[] { "IpProtocol", "Ports", "IpProtocol", }); + internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_descriptor = + getDescriptor().getMessageTypes().get(279); + internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_descriptor, + new java.lang.String[] { + "Name", "State", "Name", "State", + }); internal_static_google_cloud_compute_v1_FixedOrPercent_descriptor = - getDescriptor().getMessageTypes().get(264); + getDescriptor().getMessageTypes().get(280); internal_static_google_cloud_compute_v1_FixedOrPercent_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_FixedOrPercent_descriptor, @@ -21534,7 +22744,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Calculated", "Fixed", "Percent", "Calculated", "Fixed", "Percent", }); internal_static_google_cloud_compute_v1_ForwardingRule_descriptor = - getDescriptor().getMessageTypes().get(265); + getDescriptor().getMessageTypes().get(281); internal_static_google_cloud_compute_v1_ForwardingRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRule_descriptor, @@ -21605,7 +22815,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ForwardingRuleAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(266); + getDescriptor().getMessageTypes().get(282); internal_static_google_cloud_compute_v1_ForwardingRuleAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRuleAggregatedList_descriptor, @@ -21634,7 +22844,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ForwardingRuleList_descriptor = - getDescriptor().getMessageTypes().get(267); + getDescriptor().getMessageTypes().get(283); internal_static_google_cloud_compute_v1_ForwardingRuleList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRuleList_descriptor, @@ -21652,7 +22862,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Warning", }); internal_static_google_cloud_compute_v1_ForwardingRuleReference_descriptor = - getDescriptor().getMessageTypes().get(268); + getDescriptor().getMessageTypes().get(284); internal_static_google_cloud_compute_v1_ForwardingRuleReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRuleReference_descriptor, @@ -21660,7 +22870,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", "ForwardingRule", }); internal_static_google_cloud_compute_v1_ForwardingRuleServiceDirectoryRegistration_descriptor = - getDescriptor().getMessageTypes().get(269); + getDescriptor().getMessageTypes().get(285); internal_static_google_cloud_compute_v1_ForwardingRuleServiceDirectoryRegistration_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRuleServiceDirectoryRegistration_descriptor, @@ -21673,7 +22883,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ServiceDirectoryRegion", }); internal_static_google_cloud_compute_v1_ForwardingRulesScopedList_descriptor = - getDescriptor().getMessageTypes().get(270); + getDescriptor().getMessageTypes().get(286); internal_static_google_cloud_compute_v1_ForwardingRulesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ForwardingRulesScopedList_descriptor, @@ -21681,7 +22891,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRules", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_GRPCHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(271); + getDescriptor().getMessageTypes().get(287); internal_static_google_cloud_compute_v1_GRPCHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GRPCHealthCheck_descriptor, @@ -21696,7 +22906,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PortSpecification", }); internal_static_google_cloud_compute_v1_GetAcceleratorTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(272); + getDescriptor().getMessageTypes().get(288); internal_static_google_cloud_compute_v1_GetAcceleratorTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAcceleratorTypeRequest_descriptor, @@ -21704,7 +22914,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "AcceleratorType", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(273); + getDescriptor().getMessageTypes().get(289); internal_static_google_cloud_compute_v1_GetAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAddressRequest_descriptor, @@ -21712,15 +22922,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetAssociationFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(274); + getDescriptor().getMessageTypes().get(290); internal_static_google_cloud_compute_v1_GetAssociationFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAssociationFirewallPolicyRequest_descriptor, new java.lang.String[] { "FirewallPolicy", "Name", "Name", }); + internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(291); + internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Name", "Project", "Name", + }); + internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(292); + internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Name", "Project", "Region", "Name", + }); internal_static_google_cloud_compute_v1_GetAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(275); + getDescriptor().getMessageTypes().get(293); internal_static_google_cloud_compute_v1_GetAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetAutoscalerRequest_descriptor, @@ -21728,7 +22954,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscaler", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(276); + getDescriptor().getMessageTypes().get(294); internal_static_google_cloud_compute_v1_GetBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetBackendBucketRequest_descriptor, @@ -21736,7 +22962,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendBucket", "Project", }); internal_static_google_cloud_compute_v1_GetBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(277); + getDescriptor().getMessageTypes().get(295); internal_static_google_cloud_compute_v1_GetBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetBackendServiceRequest_descriptor, @@ -21744,7 +22970,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", }); internal_static_google_cloud_compute_v1_GetDiagnosticsInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(278); + getDescriptor().getMessageTypes().get(296); internal_static_google_cloud_compute_v1_GetDiagnosticsInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetDiagnosticsInterconnectRequest_descriptor, @@ -21752,7 +22978,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Interconnect", "Project", }); internal_static_google_cloud_compute_v1_GetDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(279); + getDescriptor().getMessageTypes().get(297); internal_static_google_cloud_compute_v1_GetDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetDiskRequest_descriptor, @@ -21760,7 +22986,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetDiskTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(280); + getDescriptor().getMessageTypes().get(298); internal_static_google_cloud_compute_v1_GetDiskTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetDiskTypeRequest_descriptor, @@ -21768,7 +22994,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskType", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(281); + getDescriptor().getMessageTypes().get(299); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetEffectiveFirewallsInstanceRequest_descriptor, @@ -21776,15 +23002,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "NetworkInterface", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(282); + getDescriptor().getMessageTypes().get(300); internal_static_google_cloud_compute_v1_GetEffectiveFirewallsNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetEffectiveFirewallsNetworkRequest_descriptor, new java.lang.String[] { "Network", "Project", }); + internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(301); + internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "Network", "Project", "Region", + }); internal_static_google_cloud_compute_v1_GetExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(283); + getDescriptor().getMessageTypes().get(302); internal_static_google_cloud_compute_v1_GetExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetExternalVpnGatewayRequest_descriptor, @@ -21792,7 +23026,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ExternalVpnGateway", "Project", }); internal_static_google_cloud_compute_v1_GetFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(284); + getDescriptor().getMessageTypes().get(303); internal_static_google_cloud_compute_v1_GetFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetFirewallPolicyRequest_descriptor, @@ -21800,7 +23034,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "FirewallPolicy", }); internal_static_google_cloud_compute_v1_GetFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(285); + getDescriptor().getMessageTypes().get(304); internal_static_google_cloud_compute_v1_GetFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetFirewallRequest_descriptor, @@ -21808,7 +23042,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Firewall", "Project", }); internal_static_google_cloud_compute_v1_GetForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(286); + getDescriptor().getMessageTypes().get(305); internal_static_google_cloud_compute_v1_GetForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetForwardingRuleRequest_descriptor, @@ -21816,7 +23050,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetFromFamilyImageRequest_descriptor = - getDescriptor().getMessageTypes().get(287); + getDescriptor().getMessageTypes().get(306); internal_static_google_cloud_compute_v1_GetFromFamilyImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetFromFamilyImageRequest_descriptor, @@ -21824,7 +23058,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Family", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(288); + getDescriptor().getMessageTypes().get(307); internal_static_google_cloud_compute_v1_GetGlobalAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalAddressRequest_descriptor, @@ -21832,7 +23066,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Address", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(289); + getDescriptor().getMessageTypes().get(308); internal_static_google_cloud_compute_v1_GetGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalForwardingRuleRequest_descriptor, @@ -21840,7 +23074,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ForwardingRule", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(290); + getDescriptor().getMessageTypes().get(309); internal_static_google_cloud_compute_v1_GetGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalNetworkEndpointGroupRequest_descriptor, @@ -21848,7 +23082,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpointGroup", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(291); + getDescriptor().getMessageTypes().get(310); internal_static_google_cloud_compute_v1_GetGlobalOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalOperationRequest_descriptor, @@ -21856,7 +23090,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", }); internal_static_google_cloud_compute_v1_GetGlobalOrganizationOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(292); + getDescriptor().getMessageTypes().get(311); internal_static_google_cloud_compute_v1_GetGlobalOrganizationOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalOrganizationOperationRequest_descriptor, @@ -21864,7 +23098,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "ParentId", "ParentId", }); internal_static_google_cloud_compute_v1_GetGlobalPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(293); + getDescriptor().getMessageTypes().get(312); internal_static_google_cloud_compute_v1_GetGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGlobalPublicDelegatedPrefixeRequest_descriptor, @@ -21872,7 +23106,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicDelegatedPrefix", }); internal_static_google_cloud_compute_v1_GetGuestAttributesInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(294); + getDescriptor().getMessageTypes().get(313); internal_static_google_cloud_compute_v1_GetGuestAttributesInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetGuestAttributesInstanceRequest_descriptor, @@ -21880,7 +23114,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Project", "QueryPath", "VariableKey", "Zone", "QueryPath", "VariableKey", }); internal_static_google_cloud_compute_v1_GetHealthBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(295); + getDescriptor().getMessageTypes().get(314); internal_static_google_cloud_compute_v1_GetHealthBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetHealthBackendServiceRequest_descriptor, @@ -21888,7 +23122,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "ResourceGroupReferenceResource", }); internal_static_google_cloud_compute_v1_GetHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(296); + getDescriptor().getMessageTypes().get(315); internal_static_google_cloud_compute_v1_GetHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetHealthCheckRequest_descriptor, @@ -21896,7 +23130,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheck", "Project", }); internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(297); + getDescriptor().getMessageTypes().get(316); internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetHealthRegionBackendServiceRequest_descriptor, @@ -21904,7 +23138,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "Region", "ResourceGroupReferenceResource", }); internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(298); + getDescriptor().getMessageTypes().get(317); internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetHealthTargetPoolRequest_descriptor, @@ -21912,7 +23146,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceReferenceResource", "Project", "Region", "TargetPool", }); internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(299); + getDescriptor().getMessageTypes().get(318); internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyDiskRequest_descriptor, @@ -21924,7 +23158,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(300); + getDescriptor().getMessageTypes().get(319); internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyFirewallPolicyRequest_descriptor, @@ -21932,7 +23166,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", "Resource", "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_descriptor = - getDescriptor().getMessageTypes().get(301); + getDescriptor().getMessageTypes().get(320); internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyImageRequest_descriptor, @@ -21943,7 +23177,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(302); + getDescriptor().getMessageTypes().get(321); internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyInstanceRequest_descriptor, @@ -21955,7 +23189,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(303); + getDescriptor().getMessageTypes().get(322); internal_static_google_cloud_compute_v1_GetIamPolicyInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyInstanceTemplateRequest_descriptor, @@ -21966,7 +23200,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(304); + getDescriptor().getMessageTypes().get(323); internal_static_google_cloud_compute_v1_GetIamPolicyLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyLicenseRequest_descriptor, @@ -21977,7 +23211,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(305); + getDescriptor().getMessageTypes().get(324); internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyMachineImageRequest_descriptor, @@ -21987,8 +23221,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Resource", "OptionsRequestedPolicyVersion", }); + internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(325); + internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "OptionsRequestedPolicyVersion", + "Project", + "Resource", + "OptionsRequestedPolicyVersion", + }); internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(306); + getDescriptor().getMessageTypes().get(326); internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyNodeGroupRequest_descriptor, @@ -22000,7 +23245,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(307); + getDescriptor().getMessageTypes().get(327); internal_static_google_cloud_compute_v1_GetIamPolicyNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyNodeTemplateRequest_descriptor, @@ -22012,7 +23257,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(308); + getDescriptor().getMessageTypes().get(328); internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyRegionDiskRequest_descriptor, @@ -22023,8 +23268,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Resource", "OptionsRequestedPolicyVersion", }); + internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(329); + internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "OptionsRequestedPolicyVersion", + "Project", + "Region", + "Resource", + "OptionsRequestedPolicyVersion", + }); internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(309); + getDescriptor().getMessageTypes().get(330); internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyReservationRequest_descriptor, @@ -22036,7 +23293,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(310); + getDescriptor().getMessageTypes().get(331); internal_static_google_cloud_compute_v1_GetIamPolicyResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyResourcePolicyRequest_descriptor, @@ -22048,7 +23305,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicyServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(311); + getDescriptor().getMessageTypes().get(332); internal_static_google_cloud_compute_v1_GetIamPolicyServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicyServiceAttachmentRequest_descriptor, @@ -22060,7 +23317,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(312); + getDescriptor().getMessageTypes().get(333); internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicySnapshotRequest_descriptor, @@ -22071,7 +23328,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(313); + getDescriptor().getMessageTypes().get(334); internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetIamPolicySubnetworkRequest_descriptor, @@ -22083,7 +23340,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "OptionsRequestedPolicyVersion", }); internal_static_google_cloud_compute_v1_GetImageFamilyViewRequest_descriptor = - getDescriptor().getMessageTypes().get(314); + getDescriptor().getMessageTypes().get(335); internal_static_google_cloud_compute_v1_GetImageFamilyViewRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetImageFamilyViewRequest_descriptor, @@ -22091,7 +23348,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Family", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetImageRequest_descriptor = - getDescriptor().getMessageTypes().get(315); + getDescriptor().getMessageTypes().get(336); internal_static_google_cloud_compute_v1_GetImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetImageRequest_descriptor, @@ -22099,7 +23356,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Image", "Project", }); internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(316); + getDescriptor().getMessageTypes().get(337); internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInstanceGroupManagerRequest_descriptor, @@ -22107,7 +23364,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroupManager", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(317); + getDescriptor().getMessageTypes().get(338); internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInstanceGroupRequest_descriptor, @@ -22115,7 +23372,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroup", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(318); + getDescriptor().getMessageTypes().get(339); internal_static_google_cloud_compute_v1_GetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInstanceRequest_descriptor, @@ -22123,7 +23380,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(319); + getDescriptor().getMessageTypes().get(340); internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInstanceTemplateRequest_descriptor, @@ -22131,7 +23388,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceTemplate", "Project", }); internal_static_google_cloud_compute_v1_GetInterconnectAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(320); + getDescriptor().getMessageTypes().get(341); internal_static_google_cloud_compute_v1_GetInterconnectAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInterconnectAttachmentRequest_descriptor, @@ -22139,7 +23396,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InterconnectAttachment", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetInterconnectLocationRequest_descriptor = - getDescriptor().getMessageTypes().get(321); + getDescriptor().getMessageTypes().get(342); internal_static_google_cloud_compute_v1_GetInterconnectLocationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInterconnectLocationRequest_descriptor, @@ -22147,7 +23404,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InterconnectLocation", "Project", }); internal_static_google_cloud_compute_v1_GetInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(322); + getDescriptor().getMessageTypes().get(343); internal_static_google_cloud_compute_v1_GetInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetInterconnectRequest_descriptor, @@ -22155,7 +23412,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Interconnect", "Project", }); internal_static_google_cloud_compute_v1_GetLicenseCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(323); + getDescriptor().getMessageTypes().get(344); internal_static_google_cloud_compute_v1_GetLicenseCodeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetLicenseCodeRequest_descriptor, @@ -22163,7 +23420,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "LicenseCode", "Project", }); internal_static_google_cloud_compute_v1_GetLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(324); + getDescriptor().getMessageTypes().get(345); internal_static_google_cloud_compute_v1_GetLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetLicenseRequest_descriptor, @@ -22171,7 +23428,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "License", "Project", }); internal_static_google_cloud_compute_v1_GetMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(325); + getDescriptor().getMessageTypes().get(346); internal_static_google_cloud_compute_v1_GetMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetMachineImageRequest_descriptor, @@ -22179,7 +23436,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MachineImage", "Project", }); internal_static_google_cloud_compute_v1_GetMachineTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(326); + getDescriptor().getMessageTypes().get(347); internal_static_google_cloud_compute_v1_GetMachineTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetMachineTypeRequest_descriptor, @@ -22187,7 +23444,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "MachineType", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_descriptor = - getDescriptor().getMessageTypes().get(327); + getDescriptor().getMessageTypes().get(348); internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNatMappingInfoRoutersRequest_descriptor, @@ -22206,16 +23463,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PageToken", "ReturnPartialSuccess", }); + internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(349); + internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_descriptor, + new java.lang.String[] { + "NetworkEdgeSecurityService", "Project", "Region", + }); internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(328); + getDescriptor().getMessageTypes().get(350); internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNetworkEndpointGroupRequest_descriptor, new java.lang.String[] { "NetworkEndpointGroup", "Project", "Zone", }); + internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(351); + internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Project", + }); internal_static_google_cloud_compute_v1_GetNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(329); + getDescriptor().getMessageTypes().get(352); internal_static_google_cloud_compute_v1_GetNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNetworkRequest_descriptor, @@ -22223,7 +23496,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Network", "Project", }); internal_static_google_cloud_compute_v1_GetNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(330); + getDescriptor().getMessageTypes().get(353); internal_static_google_cloud_compute_v1_GetNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNodeGroupRequest_descriptor, @@ -22231,7 +23504,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeGroup", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(331); + getDescriptor().getMessageTypes().get(354); internal_static_google_cloud_compute_v1_GetNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNodeTemplateRequest_descriptor, @@ -22239,7 +23512,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeTemplate", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetNodeTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(332); + getDescriptor().getMessageTypes().get(355); internal_static_google_cloud_compute_v1_GetNodeTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetNodeTypeRequest_descriptor, @@ -22247,7 +23520,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NodeType", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetPacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(333); + getDescriptor().getMessageTypes().get(356); internal_static_google_cloud_compute_v1_GetPacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetPacketMirroringRequest_descriptor, @@ -22255,7 +23528,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "PacketMirroring", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(334); + getDescriptor().getMessageTypes().get(357); internal_static_google_cloud_compute_v1_GetProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetProjectRequest_descriptor, @@ -22263,7 +23536,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", }); internal_static_google_cloud_compute_v1_GetPublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(335); + getDescriptor().getMessageTypes().get(358); internal_static_google_cloud_compute_v1_GetPublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetPublicAdvertisedPrefixeRequest_descriptor, @@ -22271,7 +23544,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicAdvertisedPrefix", }); internal_static_google_cloud_compute_v1_GetPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(336); + getDescriptor().getMessageTypes().get(359); internal_static_google_cloud_compute_v1_GetPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetPublicDelegatedPrefixeRequest_descriptor, @@ -22279,7 +23552,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "PublicDelegatedPrefix", "Region", }); internal_static_google_cloud_compute_v1_GetRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(337); + getDescriptor().getMessageTypes().get(360); internal_static_google_cloud_compute_v1_GetRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionAutoscalerRequest_descriptor, @@ -22287,7 +23560,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Autoscaler", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(338); + getDescriptor().getMessageTypes().get(361); internal_static_google_cloud_compute_v1_GetRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionBackendServiceRequest_descriptor, @@ -22295,7 +23568,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "BackendService", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(339); + getDescriptor().getMessageTypes().get(362); internal_static_google_cloud_compute_v1_GetRegionCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionCommitmentRequest_descriptor, @@ -22303,7 +23576,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Commitment", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(340); + getDescriptor().getMessageTypes().get(363); internal_static_google_cloud_compute_v1_GetRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionDiskRequest_descriptor, @@ -22311,7 +23584,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Disk", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionDiskTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(341); + getDescriptor().getMessageTypes().get(364); internal_static_google_cloud_compute_v1_GetRegionDiskTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionDiskTypeRequest_descriptor, @@ -22319,7 +23592,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DiskType", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(342); + getDescriptor().getMessageTypes().get(365); internal_static_google_cloud_compute_v1_GetRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionHealthCheckRequest_descriptor, @@ -22327,7 +23600,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheck", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionHealthCheckServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(343); + getDescriptor().getMessageTypes().get(366); internal_static_google_cloud_compute_v1_GetRegionHealthCheckServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionHealthCheckServiceRequest_descriptor, @@ -22335,7 +23608,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "HealthCheckService", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(344); + getDescriptor().getMessageTypes().get(367); internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionInstanceGroupManagerRequest_descriptor, @@ -22343,7 +23616,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroupManager", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(345); + getDescriptor().getMessageTypes().get(368); internal_static_google_cloud_compute_v1_GetRegionInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionInstanceGroupRequest_descriptor, @@ -22351,15 +23624,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "InstanceGroup", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(346); + getDescriptor().getMessageTypes().get(369); internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionNetworkEndpointGroupRequest_descriptor, new java.lang.String[] { "NetworkEndpointGroup", "Project", "Region", }); + internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(370); + internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Project", "Region", + }); internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(347); + getDescriptor().getMessageTypes().get(371); internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionNotificationEndpointRequest_descriptor, @@ -22367,7 +23648,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NotificationEndpoint", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(348); + getDescriptor().getMessageTypes().get(372); internal_static_google_cloud_compute_v1_GetRegionOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionOperationRequest_descriptor, @@ -22375,15 +23656,23 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", "Region", }); internal_static_google_cloud_compute_v1_GetRegionRequest_descriptor = - getDescriptor().getMessageTypes().get(349); + getDescriptor().getMessageTypes().get(373); internal_static_google_cloud_compute_v1_GetRegionRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionRequest_descriptor, new java.lang.String[] { "Project", "Region", }); + internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(374); + internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_descriptor, + new java.lang.String[] { + "Project", "Region", "SecurityPolicy", + }); internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(350); + getDescriptor().getMessageTypes().get(375); internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionSslCertificateRequest_descriptor, @@ -22391,7 +23680,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "SslCertificate", }); internal_static_google_cloud_compute_v1_GetRegionTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(351); + getDescriptor().getMessageTypes().get(376); internal_static_google_cloud_compute_v1_GetRegionTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionTargetHttpProxyRequest_descriptor, @@ -22399,7 +23688,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "TargetHttpProxy", }); internal_static_google_cloud_compute_v1_GetRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(352); + getDescriptor().getMessageTypes().get(377); internal_static_google_cloud_compute_v1_GetRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionTargetHttpsProxyRequest_descriptor, @@ -22407,7 +23696,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_GetRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(353); + getDescriptor().getMessageTypes().get(378); internal_static_google_cloud_compute_v1_GetRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRegionUrlMapRequest_descriptor, @@ -22415,7 +23704,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "UrlMap", }); internal_static_google_cloud_compute_v1_GetReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(354); + getDescriptor().getMessageTypes().get(379); internal_static_google_cloud_compute_v1_GetReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetReservationRequest_descriptor, @@ -22423,7 +23712,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Reservation", "Zone", }); internal_static_google_cloud_compute_v1_GetResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(355); + getDescriptor().getMessageTypes().get(380); internal_static_google_cloud_compute_v1_GetResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetResourcePolicyRequest_descriptor, @@ -22431,7 +23720,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "ResourcePolicy", }); internal_static_google_cloud_compute_v1_GetRouteRequest_descriptor = - getDescriptor().getMessageTypes().get(356); + getDescriptor().getMessageTypes().get(381); internal_static_google_cloud_compute_v1_GetRouteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRouteRequest_descriptor, @@ -22439,7 +23728,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Route", }); internal_static_google_cloud_compute_v1_GetRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(357); + getDescriptor().getMessageTypes().get(382); internal_static_google_cloud_compute_v1_GetRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRouterRequest_descriptor, @@ -22447,7 +23736,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "Router", }); internal_static_google_cloud_compute_v1_GetRouterStatusRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(358); + getDescriptor().getMessageTypes().get(383); internal_static_google_cloud_compute_v1_GetRouterStatusRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRouterStatusRouterRequest_descriptor, @@ -22455,15 +23744,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "Router", }); internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(359); + getDescriptor().getMessageTypes().get(384); internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRuleFirewallPolicyRequest_descriptor, new java.lang.String[] { "FirewallPolicy", "Priority", "Priority", }); + internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(385); + internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Priority", "Project", "Priority", + }); + internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(386); + internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Priority", "Project", "Region", "Priority", + }); internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(360); + getDescriptor().getMessageTypes().get(387); internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetRuleSecurityPolicyRequest_descriptor, @@ -22471,7 +23776,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Priority", "Project", "SecurityPolicy", "Priority", }); internal_static_google_cloud_compute_v1_GetScreenshotInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(361); + getDescriptor().getMessageTypes().get(388); internal_static_google_cloud_compute_v1_GetScreenshotInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetScreenshotInstanceRequest_descriptor, @@ -22479,7 +23784,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(362); + getDescriptor().getMessageTypes().get(389); internal_static_google_cloud_compute_v1_GetSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSecurityPolicyRequest_descriptor, @@ -22487,7 +23792,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_GetSerialPortOutputInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(363); + getDescriptor().getMessageTypes().get(390); internal_static_google_cloud_compute_v1_GetSerialPortOutputInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSerialPortOutputInstanceRequest_descriptor, @@ -22495,7 +23800,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Instance", "Port", "Project", "Start", "Zone", "Port", "Start", }); internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(364); + getDescriptor().getMessageTypes().get(391); internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetServiceAttachmentRequest_descriptor, @@ -22503,15 +23808,19 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "ServiceAttachment", }); internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(365); + getDescriptor().getMessageTypes().get(392); internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetShieldedInstanceIdentityInstanceRequest_descriptor, new java.lang.String[] { "Instance", "Project", "Zone", }); + _clinit_autosplit_dinit_1(); + } + + private static void _clinit_autosplit_dinit_1() { internal_static_google_cloud_compute_v1_GetSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(366); + getDescriptor().getMessageTypes().get(393); internal_static_google_cloud_compute_v1_GetSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSnapshotRequest_descriptor, @@ -22519,7 +23828,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Snapshot", }); internal_static_google_cloud_compute_v1_GetSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(367); + getDescriptor().getMessageTypes().get(394); internal_static_google_cloud_compute_v1_GetSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSslCertificateRequest_descriptor, @@ -22527,7 +23836,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "SslCertificate", }); internal_static_google_cloud_compute_v1_GetSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(368); + getDescriptor().getMessageTypes().get(395); internal_static_google_cloud_compute_v1_GetSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSslPolicyRequest_descriptor, @@ -22535,7 +23844,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "SslPolicy", }); internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(369); + getDescriptor().getMessageTypes().get(396); internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetStatusVpnGatewayRequest_descriptor, @@ -22543,7 +23852,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "VpnGateway", }); internal_static_google_cloud_compute_v1_GetSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(370); + getDescriptor().getMessageTypes().get(397); internal_static_google_cloud_compute_v1_GetSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetSubnetworkRequest_descriptor, @@ -22551,7 +23860,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "Subnetwork", }); internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(371); + getDescriptor().getMessageTypes().get(398); internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetGrpcProxyRequest_descriptor, @@ -22559,7 +23868,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetGrpcProxy", }); internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(372); + getDescriptor().getMessageTypes().get(399); internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetHttpProxyRequest_descriptor, @@ -22567,7 +23876,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetHttpProxy", }); internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(373); + getDescriptor().getMessageTypes().get(400); internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetHttpsProxyRequest_descriptor, @@ -22575,7 +23884,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetHttpsProxy", }); internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(374); + getDescriptor().getMessageTypes().get(401); internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetInstanceRequest_descriptor, @@ -22583,7 +23892,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetInstance", "Zone", }); internal_static_google_cloud_compute_v1_GetTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(375); + getDescriptor().getMessageTypes().get(402); internal_static_google_cloud_compute_v1_GetTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetPoolRequest_descriptor, @@ -22591,7 +23900,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "TargetPool", }); internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(376); + getDescriptor().getMessageTypes().get(403); internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetSslProxyRequest_descriptor, @@ -22599,7 +23908,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetSslProxy", }); internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(377); + getDescriptor().getMessageTypes().get(404); internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetTcpProxyRequest_descriptor, @@ -22607,7 +23916,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "TargetTcpProxy", }); internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(378); + getDescriptor().getMessageTypes().get(405); internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetTargetVpnGatewayRequest_descriptor, @@ -22615,7 +23924,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "TargetVpnGateway", }); internal_static_google_cloud_compute_v1_GetUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(379); + getDescriptor().getMessageTypes().get(406); internal_static_google_cloud_compute_v1_GetUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetUrlMapRequest_descriptor, @@ -22623,7 +23932,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "UrlMap", }); internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(380); + getDescriptor().getMessageTypes().get(407); internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetVpnGatewayRequest_descriptor, @@ -22631,7 +23940,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "VpnGateway", }); internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_descriptor = - getDescriptor().getMessageTypes().get(381); + getDescriptor().getMessageTypes().get(408); internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetVpnTunnelRequest_descriptor, @@ -22639,7 +23948,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Region", "VpnTunnel", }); internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(382); + getDescriptor().getMessageTypes().get(409); internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetXpnHostProjectRequest_descriptor, @@ -22647,7 +23956,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", }); internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_descriptor = - getDescriptor().getMessageTypes().get(383); + getDescriptor().getMessageTypes().get(410); internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetXpnResourcesProjectsRequest_descriptor, @@ -22665,7 +23974,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_GetZoneOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(384); + getDescriptor().getMessageTypes().get(411); internal_static_google_cloud_compute_v1_GetZoneOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetZoneOperationRequest_descriptor, @@ -22673,7 +23982,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Operation", "Project", "Zone", }); internal_static_google_cloud_compute_v1_GetZoneRequest_descriptor = - getDescriptor().getMessageTypes().get(385); + getDescriptor().getMessageTypes().get(412); internal_static_google_cloud_compute_v1_GetZoneRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GetZoneRequest_descriptor, @@ -22681,7 +23990,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Project", "Zone", }); internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(386); + getDescriptor().getMessageTypes().get(413); internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsAttachEndpointsRequest_descriptor, @@ -22689,7 +23998,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(387); + getDescriptor().getMessageTypes().get(414); internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalNetworkEndpointGroupsDetachEndpointsRequest_descriptor, @@ -22697,7 +24006,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(388); + getDescriptor().getMessageTypes().get(415); internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalOrganizationSetPolicyRequest_descriptor, @@ -22705,7 +24014,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Bindings", "Etag", "Policy", "Etag", "Policy", }); internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(389); + getDescriptor().getMessageTypes().get(416); internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalSetLabelsRequest_descriptor, @@ -22723,7 +24032,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Value", }); internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(390); + getDescriptor().getMessageTypes().get(417); internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GlobalSetPolicyRequest_descriptor, @@ -22731,7 +24040,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Bindings", "Etag", "Policy", "Etag", "Policy", }); internal_static_google_cloud_compute_v1_GuestAttributes_descriptor = - getDescriptor().getMessageTypes().get(391); + getDescriptor().getMessageTypes().get(418); internal_static_google_cloud_compute_v1_GuestAttributes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GuestAttributes_descriptor, @@ -22750,7 +24059,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "VariableValue", }); internal_static_google_cloud_compute_v1_GuestAttributesEntry_descriptor = - getDescriptor().getMessageTypes().get(392); + getDescriptor().getMessageTypes().get(419); internal_static_google_cloud_compute_v1_GuestAttributesEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GuestAttributesEntry_descriptor, @@ -22758,7 +24067,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Key", "Namespace", "Value", "Key", "Namespace", "Value", }); internal_static_google_cloud_compute_v1_GuestAttributesValue_descriptor = - getDescriptor().getMessageTypes().get(393); + getDescriptor().getMessageTypes().get(420); internal_static_google_cloud_compute_v1_GuestAttributesValue_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GuestAttributesValue_descriptor, @@ -22766,7 +24075,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Items", }); internal_static_google_cloud_compute_v1_GuestOsFeature_descriptor = - getDescriptor().getMessageTypes().get(394); + getDescriptor().getMessageTypes().get(421); internal_static_google_cloud_compute_v1_GuestOsFeature_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_GuestOsFeature_descriptor, @@ -22774,7 +24083,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Type", "Type", }); internal_static_google_cloud_compute_v1_HTTP2HealthCheck_descriptor = - getDescriptor().getMessageTypes().get(395); + getDescriptor().getMessageTypes().get(422); internal_static_google_cloud_compute_v1_HTTP2HealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HTTP2HealthCheck_descriptor, @@ -22795,7 +24104,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Response", }); internal_static_google_cloud_compute_v1_HTTPHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(396); + getDescriptor().getMessageTypes().get(423); internal_static_google_cloud_compute_v1_HTTPHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HTTPHealthCheck_descriptor, @@ -22815,12 +24124,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "RequestPath", "Response", }); - _clinit_autosplit_dinit_1(); - } - - private static void _clinit_autosplit_dinit_1() { internal_static_google_cloud_compute_v1_HTTPSHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(397); + getDescriptor().getMessageTypes().get(424); internal_static_google_cloud_compute_v1_HTTPSHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HTTPSHealthCheck_descriptor, @@ -22841,7 +24146,7 @@ private static void _clinit_autosplit_dinit_1() { "Response", }); internal_static_google_cloud_compute_v1_HealthCheck_descriptor = - getDescriptor().getMessageTypes().get(398); + getDescriptor().getMessageTypes().get(425); internal_static_google_cloud_compute_v1_HealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheck_descriptor, @@ -22886,7 +24191,7 @@ private static void _clinit_autosplit_dinit_1() { "UnhealthyThreshold", }); internal_static_google_cloud_compute_v1_HealthCheckList_descriptor = - getDescriptor().getMessageTypes().get(399); + getDescriptor().getMessageTypes().get(426); internal_static_google_cloud_compute_v1_HealthCheckList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckList_descriptor, @@ -22904,7 +24209,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_HealthCheckLogConfig_descriptor = - getDescriptor().getMessageTypes().get(400); + getDescriptor().getMessageTypes().get(427); internal_static_google_cloud_compute_v1_HealthCheckLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckLogConfig_descriptor, @@ -22912,7 +24217,7 @@ private static void _clinit_autosplit_dinit_1() { "Enable", "Enable", }); internal_static_google_cloud_compute_v1_HealthCheckReference_descriptor = - getDescriptor().getMessageTypes().get(401); + getDescriptor().getMessageTypes().get(428); internal_static_google_cloud_compute_v1_HealthCheckReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckReference_descriptor, @@ -22920,7 +24225,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheck", "HealthCheck", }); internal_static_google_cloud_compute_v1_HealthCheckService_descriptor = - getDescriptor().getMessageTypes().get(402); + getDescriptor().getMessageTypes().get(429); internal_static_google_cloud_compute_v1_HealthCheckService_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckService_descriptor, @@ -22948,7 +24253,7 @@ private static void _clinit_autosplit_dinit_1() { "SelfLink", }); internal_static_google_cloud_compute_v1_HealthCheckServiceReference_descriptor = - getDescriptor().getMessageTypes().get(403); + getDescriptor().getMessageTypes().get(430); internal_static_google_cloud_compute_v1_HealthCheckServiceReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckServiceReference_descriptor, @@ -22956,7 +24261,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheckService", "HealthCheckService", }); internal_static_google_cloud_compute_v1_HealthCheckServicesList_descriptor = - getDescriptor().getMessageTypes().get(404); + getDescriptor().getMessageTypes().get(431); internal_static_google_cloud_compute_v1_HealthCheckServicesList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthCheckServicesList_descriptor, @@ -22974,7 +24279,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_HealthChecksAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(405); + getDescriptor().getMessageTypes().get(432); internal_static_google_cloud_compute_v1_HealthChecksAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthChecksAggregatedList_descriptor, @@ -23003,7 +24308,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_HealthChecksScopedList_descriptor = - getDescriptor().getMessageTypes().get(406); + getDescriptor().getMessageTypes().get(433); internal_static_google_cloud_compute_v1_HealthChecksScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthChecksScopedList_descriptor, @@ -23011,7 +24316,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthChecks", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_HealthStatus_descriptor = - getDescriptor().getMessageTypes().get(407); + getDescriptor().getMessageTypes().get(434); internal_static_google_cloud_compute_v1_HealthStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthStatus_descriptor, @@ -23043,7 +24348,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_HealthStatusForNetworkEndpoint_descriptor = - getDescriptor().getMessageTypes().get(408); + getDescriptor().getMessageTypes().get(435); internal_static_google_cloud_compute_v1_HealthStatusForNetworkEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HealthStatusForNetworkEndpoint_descriptor, @@ -23060,7 +24365,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthState", }); internal_static_google_cloud_compute_v1_HostRule_descriptor = - getDescriptor().getMessageTypes().get(409); + getDescriptor().getMessageTypes().get(436); internal_static_google_cloud_compute_v1_HostRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HostRule_descriptor, @@ -23068,7 +24373,7 @@ private static void _clinit_autosplit_dinit_1() { "Description", "Hosts", "PathMatcher", "Description", "PathMatcher", }); internal_static_google_cloud_compute_v1_HttpFaultAbort_descriptor = - getDescriptor().getMessageTypes().get(410); + getDescriptor().getMessageTypes().get(437); internal_static_google_cloud_compute_v1_HttpFaultAbort_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpFaultAbort_descriptor, @@ -23076,7 +24381,7 @@ private static void _clinit_autosplit_dinit_1() { "HttpStatus", "Percentage", "HttpStatus", "Percentage", }); internal_static_google_cloud_compute_v1_HttpFaultDelay_descriptor = - getDescriptor().getMessageTypes().get(411); + getDescriptor().getMessageTypes().get(438); internal_static_google_cloud_compute_v1_HttpFaultDelay_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpFaultDelay_descriptor, @@ -23084,7 +24389,7 @@ private static void _clinit_autosplit_dinit_1() { "FixedDelay", "Percentage", "FixedDelay", "Percentage", }); internal_static_google_cloud_compute_v1_HttpFaultInjection_descriptor = - getDescriptor().getMessageTypes().get(412); + getDescriptor().getMessageTypes().get(439); internal_static_google_cloud_compute_v1_HttpFaultInjection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpFaultInjection_descriptor, @@ -23092,7 +24397,7 @@ private static void _clinit_autosplit_dinit_1() { "Abort", "Delay", "Abort", "Delay", }); internal_static_google_cloud_compute_v1_HttpHeaderAction_descriptor = - getDescriptor().getMessageTypes().get(413); + getDescriptor().getMessageTypes().get(440); internal_static_google_cloud_compute_v1_HttpHeaderAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpHeaderAction_descriptor, @@ -23103,7 +24408,7 @@ private static void _clinit_autosplit_dinit_1() { "ResponseHeadersToRemove", }); internal_static_google_cloud_compute_v1_HttpHeaderMatch_descriptor = - getDescriptor().getMessageTypes().get(414); + getDescriptor().getMessageTypes().get(441); internal_static_google_cloud_compute_v1_HttpHeaderMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpHeaderMatch_descriptor, @@ -23126,7 +24431,7 @@ private static void _clinit_autosplit_dinit_1() { "SuffixMatch", }); internal_static_google_cloud_compute_v1_HttpHeaderOption_descriptor = - getDescriptor().getMessageTypes().get(415); + getDescriptor().getMessageTypes().get(442); internal_static_google_cloud_compute_v1_HttpHeaderOption_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpHeaderOption_descriptor, @@ -23134,7 +24439,7 @@ private static void _clinit_autosplit_dinit_1() { "HeaderName", "HeaderValue", "Replace", "HeaderName", "HeaderValue", "Replace", }); internal_static_google_cloud_compute_v1_HttpQueryParameterMatch_descriptor = - getDescriptor().getMessageTypes().get(416); + getDescriptor().getMessageTypes().get(443); internal_static_google_cloud_compute_v1_HttpQueryParameterMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpQueryParameterMatch_descriptor, @@ -23149,7 +24454,7 @@ private static void _clinit_autosplit_dinit_1() { "RegexMatch", }); internal_static_google_cloud_compute_v1_HttpRedirectAction_descriptor = - getDescriptor().getMessageTypes().get(417); + getDescriptor().getMessageTypes().get(444); internal_static_google_cloud_compute_v1_HttpRedirectAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRedirectAction_descriptor, @@ -23168,7 +24473,7 @@ private static void _clinit_autosplit_dinit_1() { "StripQuery", }); internal_static_google_cloud_compute_v1_HttpRetryPolicy_descriptor = - getDescriptor().getMessageTypes().get(418); + getDescriptor().getMessageTypes().get(445); internal_static_google_cloud_compute_v1_HttpRetryPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRetryPolicy_descriptor, @@ -23176,7 +24481,7 @@ private static void _clinit_autosplit_dinit_1() { "NumRetries", "PerTryTimeout", "RetryConditions", "NumRetries", "PerTryTimeout", }); internal_static_google_cloud_compute_v1_HttpRouteAction_descriptor = - getDescriptor().getMessageTypes().get(419); + getDescriptor().getMessageTypes().get(446); internal_static_google_cloud_compute_v1_HttpRouteAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRouteAction_descriptor, @@ -23198,7 +24503,7 @@ private static void _clinit_autosplit_dinit_1() { "UrlRewrite", }); internal_static_google_cloud_compute_v1_HttpRouteRule_descriptor = - getDescriptor().getMessageTypes().get(420); + getDescriptor().getMessageTypes().get(447); internal_static_google_cloud_compute_v1_HttpRouteRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRouteRule_descriptor, @@ -23218,7 +24523,7 @@ private static void _clinit_autosplit_dinit_1() { "UrlRedirect", }); internal_static_google_cloud_compute_v1_HttpRouteRuleMatch_descriptor = - getDescriptor().getMessageTypes().get(421); + getDescriptor().getMessageTypes().get(448); internal_static_google_cloud_compute_v1_HttpRouteRuleMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_HttpRouteRuleMatch_descriptor, @@ -23236,7 +24541,7 @@ private static void _clinit_autosplit_dinit_1() { "RegexMatch", }); internal_static_google_cloud_compute_v1_Image_descriptor = - getDescriptor().getMessageTypes().get(422); + getDescriptor().getMessageTypes().get(449); internal_static_google_cloud_compute_v1_Image_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Image_descriptor, @@ -23308,7 +24613,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ImageFamilyView_descriptor = - getDescriptor().getMessageTypes().get(423); + getDescriptor().getMessageTypes().get(450); internal_static_google_cloud_compute_v1_ImageFamilyView_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ImageFamilyView_descriptor, @@ -23316,7 +24621,7 @@ private static void _clinit_autosplit_dinit_1() { "Image", "Image", }); internal_static_google_cloud_compute_v1_ImageList_descriptor = - getDescriptor().getMessageTypes().get(424); + getDescriptor().getMessageTypes().get(451); internal_static_google_cloud_compute_v1_ImageList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ImageList_descriptor, @@ -23334,7 +24639,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InitialStateConfig_descriptor = - getDescriptor().getMessageTypes().get(425); + getDescriptor().getMessageTypes().get(452); internal_static_google_cloud_compute_v1_InitialStateConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InitialStateConfig_descriptor, @@ -23342,7 +24647,7 @@ private static void _clinit_autosplit_dinit_1() { "Dbs", "Dbxs", "Keks", "Pk", "Pk", }); internal_static_google_cloud_compute_v1_InsertAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(426); + getDescriptor().getMessageTypes().get(453); internal_static_google_cloud_compute_v1_InsertAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertAddressRequest_descriptor, @@ -23350,7 +24655,7 @@ private static void _clinit_autosplit_dinit_1() { "AddressResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(427); + getDescriptor().getMessageTypes().get(454); internal_static_google_cloud_compute_v1_InsertAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertAutoscalerRequest_descriptor, @@ -23358,7 +24663,7 @@ private static void _clinit_autosplit_dinit_1() { "AutoscalerResource", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_InsertBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(428); + getDescriptor().getMessageTypes().get(455); internal_static_google_cloud_compute_v1_InsertBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertBackendBucketRequest_descriptor, @@ -23366,7 +24671,7 @@ private static void _clinit_autosplit_dinit_1() { "BackendBucketResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(429); + getDescriptor().getMessageTypes().get(456); internal_static_google_cloud_compute_v1_InsertBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertBackendServiceRequest_descriptor, @@ -23374,7 +24679,7 @@ private static void _clinit_autosplit_dinit_1() { "BackendServiceResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(430); + getDescriptor().getMessageTypes().get(457); internal_static_google_cloud_compute_v1_InsertDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertDiskRequest_descriptor, @@ -23388,7 +24693,7 @@ private static void _clinit_autosplit_dinit_1() { "SourceImage", }); internal_static_google_cloud_compute_v1_InsertExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(431); + getDescriptor().getMessageTypes().get(458); internal_static_google_cloud_compute_v1_InsertExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertExternalVpnGatewayRequest_descriptor, @@ -23396,7 +24701,7 @@ private static void _clinit_autosplit_dinit_1() { "ExternalVpnGatewayResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(432); + getDescriptor().getMessageTypes().get(459); internal_static_google_cloud_compute_v1_InsertFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertFirewallPolicyRequest_descriptor, @@ -23404,7 +24709,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicyResource", "ParentId", "RequestId", "ParentId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(433); + getDescriptor().getMessageTypes().get(460); internal_static_google_cloud_compute_v1_InsertFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertFirewallRequest_descriptor, @@ -23412,7 +24717,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(434); + getDescriptor().getMessageTypes().get(461); internal_static_google_cloud_compute_v1_InsertForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertForwardingRuleRequest_descriptor, @@ -23420,7 +24725,7 @@ private static void _clinit_autosplit_dinit_1() { "ForwardingRuleResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertGlobalAddressRequest_descriptor = - getDescriptor().getMessageTypes().get(435); + getDescriptor().getMessageTypes().get(462); internal_static_google_cloud_compute_v1_InsertGlobalAddressRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertGlobalAddressRequest_descriptor, @@ -23428,7 +24733,7 @@ private static void _clinit_autosplit_dinit_1() { "AddressResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(436); + getDescriptor().getMessageTypes().get(463); internal_static_google_cloud_compute_v1_InsertGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertGlobalForwardingRuleRequest_descriptor, @@ -23436,7 +24741,7 @@ private static void _clinit_autosplit_dinit_1() { "ForwardingRuleResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertGlobalNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(437); + getDescriptor().getMessageTypes().get(464); internal_static_google_cloud_compute_v1_InsertGlobalNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertGlobalNetworkEndpointGroupRequest_descriptor, @@ -23444,7 +24749,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpointGroupResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertGlobalPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(438); + getDescriptor().getMessageTypes().get(465); internal_static_google_cloud_compute_v1_InsertGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertGlobalPublicDelegatedPrefixeRequest_descriptor, @@ -23452,7 +24757,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "PublicDelegatedPrefixResource", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(439); + getDescriptor().getMessageTypes().get(466); internal_static_google_cloud_compute_v1_InsertHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertHealthCheckRequest_descriptor, @@ -23460,7 +24765,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheckResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertImageRequest_descriptor = - getDescriptor().getMessageTypes().get(440); + getDescriptor().getMessageTypes().get(467); internal_static_google_cloud_compute_v1_InsertImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertImageRequest_descriptor, @@ -23468,7 +24773,7 @@ private static void _clinit_autosplit_dinit_1() { "ForceCreate", "ImageResource", "Project", "RequestId", "ForceCreate", "RequestId", }); internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(441); + getDescriptor().getMessageTypes().get(468); internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInstanceGroupManagerRequest_descriptor, @@ -23476,7 +24781,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceGroupManagerResource", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(442); + getDescriptor().getMessageTypes().get(469); internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInstanceGroupRequest_descriptor, @@ -23484,7 +24789,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceGroupResource", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_InsertInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(443); + getDescriptor().getMessageTypes().get(470); internal_static_google_cloud_compute_v1_InsertInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInstanceRequest_descriptor, @@ -23500,7 +24805,7 @@ private static void _clinit_autosplit_dinit_1() { "SourceMachineImage", }); internal_static_google_cloud_compute_v1_InsertInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(444); + getDescriptor().getMessageTypes().get(471); internal_static_google_cloud_compute_v1_InsertInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInstanceTemplateRequest_descriptor, @@ -23508,7 +24813,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplateResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(445); + getDescriptor().getMessageTypes().get(472); internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInterconnectAttachmentRequest_descriptor, @@ -23522,7 +24827,7 @@ private static void _clinit_autosplit_dinit_1() { "ValidateOnly", }); internal_static_google_cloud_compute_v1_InsertInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(446); + getDescriptor().getMessageTypes().get(473); internal_static_google_cloud_compute_v1_InsertInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertInterconnectRequest_descriptor, @@ -23530,7 +24835,7 @@ private static void _clinit_autosplit_dinit_1() { "InterconnectResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(447); + getDescriptor().getMessageTypes().get(474); internal_static_google_cloud_compute_v1_InsertLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertLicenseRequest_descriptor, @@ -23538,7 +24843,7 @@ private static void _clinit_autosplit_dinit_1() { "LicenseResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(448); + getDescriptor().getMessageTypes().get(475); internal_static_google_cloud_compute_v1_InsertMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertMachineImageRequest_descriptor, @@ -23550,16 +24855,38 @@ private static void _clinit_autosplit_dinit_1() { "RequestId", "SourceInstance", }); + internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(476); + internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_descriptor, + new java.lang.String[] { + "NetworkEdgeSecurityServiceResource", + "Project", + "Region", + "RequestId", + "ValidateOnly", + "RequestId", + "ValidateOnly", + }); internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(449); + getDescriptor().getMessageTypes().get(477); internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNetworkEndpointGroupRequest_descriptor, new java.lang.String[] { "NetworkEndpointGroupResource", "Project", "RequestId", "Zone", "RequestId", }); + internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(478); + internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicyResource", "Project", "RequestId", "RequestId", + }); internal_static_google_cloud_compute_v1_InsertNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(450); + getDescriptor().getMessageTypes().get(479); internal_static_google_cloud_compute_v1_InsertNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNetworkRequest_descriptor, @@ -23567,7 +24894,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(451); + getDescriptor().getMessageTypes().get(480); internal_static_google_cloud_compute_v1_InsertNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNodeGroupRequest_descriptor, @@ -23575,7 +24902,7 @@ private static void _clinit_autosplit_dinit_1() { "InitialNodeCount", "NodeGroupResource", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_InsertNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(452); + getDescriptor().getMessageTypes().get(481); internal_static_google_cloud_compute_v1_InsertNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertNodeTemplateRequest_descriptor, @@ -23583,7 +24910,7 @@ private static void _clinit_autosplit_dinit_1() { "NodeTemplateResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertPacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(453); + getDescriptor().getMessageTypes().get(482); internal_static_google_cloud_compute_v1_InsertPacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertPacketMirroringRequest_descriptor, @@ -23591,7 +24918,7 @@ private static void _clinit_autosplit_dinit_1() { "PacketMirroringResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertPublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(454); + getDescriptor().getMessageTypes().get(483); internal_static_google_cloud_compute_v1_InsertPublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertPublicAdvertisedPrefixeRequest_descriptor, @@ -23599,7 +24926,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "PublicAdvertisedPrefixResource", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(455); + getDescriptor().getMessageTypes().get(484); internal_static_google_cloud_compute_v1_InsertPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertPublicDelegatedPrefixeRequest_descriptor, @@ -23607,7 +24934,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "PublicDelegatedPrefixResource", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(456); + getDescriptor().getMessageTypes().get(485); internal_static_google_cloud_compute_v1_InsertRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionAutoscalerRequest_descriptor, @@ -23615,7 +24942,7 @@ private static void _clinit_autosplit_dinit_1() { "AutoscalerResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(457); + getDescriptor().getMessageTypes().get(486); internal_static_google_cloud_compute_v1_InsertRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionBackendServiceRequest_descriptor, @@ -23623,7 +24950,7 @@ private static void _clinit_autosplit_dinit_1() { "BackendServiceResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(458); + getDescriptor().getMessageTypes().get(487); internal_static_google_cloud_compute_v1_InsertRegionCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionCommitmentRequest_descriptor, @@ -23631,7 +24958,7 @@ private static void _clinit_autosplit_dinit_1() { "CommitmentResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(459); + getDescriptor().getMessageTypes().get(488); internal_static_google_cloud_compute_v1_InsertRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionDiskRequest_descriptor, @@ -23645,7 +24972,7 @@ private static void _clinit_autosplit_dinit_1() { "SourceImage", }); internal_static_google_cloud_compute_v1_InsertRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(460); + getDescriptor().getMessageTypes().get(489); internal_static_google_cloud_compute_v1_InsertRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionHealthCheckRequest_descriptor, @@ -23653,7 +24980,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheckResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionHealthCheckServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(461); + getDescriptor().getMessageTypes().get(490); internal_static_google_cloud_compute_v1_InsertRegionHealthCheckServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionHealthCheckServiceRequest_descriptor, @@ -23661,7 +24988,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheckServiceResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(462); + getDescriptor().getMessageTypes().get(491); internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionInstanceGroupManagerRequest_descriptor, @@ -23669,23 +24996,45 @@ private static void _clinit_autosplit_dinit_1() { "InstanceGroupManagerResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(463); + getDescriptor().getMessageTypes().get(492); internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionNetworkEndpointGroupRequest_descriptor, new java.lang.String[] { "NetworkEndpointGroupResource", "Project", "Region", "RequestId", "RequestId", }); + internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(493); + internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicyResource", "Project", "Region", "RequestId", "RequestId", + }); internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_descriptor = - getDescriptor().getMessageTypes().get(464); + getDescriptor().getMessageTypes().get(494); internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionNotificationEndpointRequest_descriptor, new java.lang.String[] { "NotificationEndpointResource", "Project", "Region", "RequestId", "RequestId", }); + internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(495); + internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_descriptor, + new java.lang.String[] { + "Project", + "Region", + "RequestId", + "SecurityPolicyResource", + "ValidateOnly", + "RequestId", + "ValidateOnly", + }); internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(465); + getDescriptor().getMessageTypes().get(496); internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionSslCertificateRequest_descriptor, @@ -23693,7 +25042,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "SslCertificateResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(466); + getDescriptor().getMessageTypes().get(497); internal_static_google_cloud_compute_v1_InsertRegionTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionTargetHttpProxyRequest_descriptor, @@ -23701,7 +25050,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "TargetHttpProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(467); + getDescriptor().getMessageTypes().get(498); internal_static_google_cloud_compute_v1_InsertRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionTargetHttpsProxyRequest_descriptor, @@ -23709,7 +25058,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "TargetHttpsProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(468); + getDescriptor().getMessageTypes().get(499); internal_static_google_cloud_compute_v1_InsertRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRegionUrlMapRequest_descriptor, @@ -23717,7 +25066,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "UrlMapResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(469); + getDescriptor().getMessageTypes().get(500); internal_static_google_cloud_compute_v1_InsertReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertReservationRequest_descriptor, @@ -23725,7 +25074,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "ReservationResource", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_InsertResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(470); + getDescriptor().getMessageTypes().get(501); internal_static_google_cloud_compute_v1_InsertResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertResourcePolicyRequest_descriptor, @@ -23733,7 +25082,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "ResourcePolicyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRouteRequest_descriptor = - getDescriptor().getMessageTypes().get(471); + getDescriptor().getMessageTypes().get(502); internal_static_google_cloud_compute_v1_InsertRouteRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRouteRequest_descriptor, @@ -23741,7 +25090,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "RouteResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(472); + getDescriptor().getMessageTypes().get(503); internal_static_google_cloud_compute_v1_InsertRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertRouterRequest_descriptor, @@ -23749,7 +25098,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "RouterResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(473); + getDescriptor().getMessageTypes().get(504); internal_static_google_cloud_compute_v1_InsertSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSecurityPolicyRequest_descriptor, @@ -23757,7 +25106,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "SecurityPolicyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(474); + getDescriptor().getMessageTypes().get(505); internal_static_google_cloud_compute_v1_InsertServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertServiceAttachmentRequest_descriptor, @@ -23765,7 +25114,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "ServiceAttachmentResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(475); + getDescriptor().getMessageTypes().get(506); internal_static_google_cloud_compute_v1_InsertSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSnapshotRequest_descriptor, @@ -23773,7 +25122,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "SnapshotResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertSslCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(476); + getDescriptor().getMessageTypes().get(507); internal_static_google_cloud_compute_v1_InsertSslCertificateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSslCertificateRequest_descriptor, @@ -23781,7 +25130,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "SslCertificateResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(477); + getDescriptor().getMessageTypes().get(508); internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSslPolicyRequest_descriptor, @@ -23789,7 +25138,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "SslPolicyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(478); + getDescriptor().getMessageTypes().get(509); internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertSubnetworkRequest_descriptor, @@ -23797,7 +25146,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "SubnetworkResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertTargetGrpcProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(479); + getDescriptor().getMessageTypes().get(510); internal_static_google_cloud_compute_v1_InsertTargetGrpcProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetGrpcProxyRequest_descriptor, @@ -23805,7 +25154,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetGrpcProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(480); + getDescriptor().getMessageTypes().get(511); internal_static_google_cloud_compute_v1_InsertTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetHttpProxyRequest_descriptor, @@ -23813,7 +25162,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetHttpProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(481); + getDescriptor().getMessageTypes().get(512); internal_static_google_cloud_compute_v1_InsertTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetHttpsProxyRequest_descriptor, @@ -23821,7 +25170,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetHttpsProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertTargetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(482); + getDescriptor().getMessageTypes().get(513); internal_static_google_cloud_compute_v1_InsertTargetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetInstanceRequest_descriptor, @@ -23829,7 +25178,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetInstanceResource", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_InsertTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(483); + getDescriptor().getMessageTypes().get(514); internal_static_google_cloud_compute_v1_InsertTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetPoolRequest_descriptor, @@ -23837,7 +25186,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "TargetPoolResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(484); + getDescriptor().getMessageTypes().get(515); internal_static_google_cloud_compute_v1_InsertTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetSslProxyRequest_descriptor, @@ -23845,7 +25194,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetSslProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(485); + getDescriptor().getMessageTypes().get(516); internal_static_google_cloud_compute_v1_InsertTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetTcpProxyRequest_descriptor, @@ -23853,7 +25202,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "TargetTcpProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertTargetVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(486); + getDescriptor().getMessageTypes().get(517); internal_static_google_cloud_compute_v1_InsertTargetVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertTargetVpnGatewayRequest_descriptor, @@ -23861,7 +25210,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "TargetVpnGatewayResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(487); + getDescriptor().getMessageTypes().get(518); internal_static_google_cloud_compute_v1_InsertUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertUrlMapRequest_descriptor, @@ -23869,7 +25218,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "RequestId", "UrlMapResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(488); + getDescriptor().getMessageTypes().get(519); internal_static_google_cloud_compute_v1_InsertVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertVpnGatewayRequest_descriptor, @@ -23877,7 +25226,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "VpnGatewayResource", "RequestId", }); internal_static_google_cloud_compute_v1_InsertVpnTunnelRequest_descriptor = - getDescriptor().getMessageTypes().get(489); + getDescriptor().getMessageTypes().get(520); internal_static_google_cloud_compute_v1_InsertVpnTunnelRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InsertVpnTunnelRequest_descriptor, @@ -23885,7 +25234,7 @@ private static void _clinit_autosplit_dinit_1() { "Project", "Region", "RequestId", "VpnTunnelResource", "RequestId", }); internal_static_google_cloud_compute_v1_Instance_descriptor = - getDescriptor().getMessageTypes().get(490); + getDescriptor().getMessageTypes().get(521); internal_static_google_cloud_compute_v1_Instance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Instance_descriptor, @@ -23915,6 +25264,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", "NetworkInterfaces", "NetworkPerformanceConfig", + "Params", "PrivateIpv6GoogleAccess", "ReservationAffinity", "ResourcePolicies", @@ -23952,6 +25302,7 @@ private static void _clinit_autosplit_dinit_1() { "MinCpuPlatform", "Name", "NetworkPerformanceConfig", + "Params", "PrivateIpv6GoogleAccess", "ReservationAffinity", "SatisfiesPzs", @@ -23976,7 +25327,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(491); + getDescriptor().getMessageTypes().get(522); internal_static_google_cloud_compute_v1_InstanceAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceAggregatedList_descriptor, @@ -24005,7 +25356,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceGroup_descriptor = - getDescriptor().getMessageTypes().get(492); + getDescriptor().getMessageTypes().get(523); internal_static_google_cloud_compute_v1_InstanceGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroup_descriptor, @@ -24037,7 +25388,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_InstanceGroupAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(493); + getDescriptor().getMessageTypes().get(524); internal_static_google_cloud_compute_v1_InstanceGroupAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupAggregatedList_descriptor, @@ -24066,7 +25417,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceGroupList_descriptor = - getDescriptor().getMessageTypes().get(494); + getDescriptor().getMessageTypes().get(525); internal_static_google_cloud_compute_v1_InstanceGroupList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupList_descriptor, @@ -24084,7 +25435,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupManager_descriptor = - getDescriptor().getMessageTypes().get(495); + getDescriptor().getMessageTypes().get(526); internal_static_google_cloud_compute_v1_InstanceGroupManager_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManager_descriptor, @@ -24131,7 +25482,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerActionsSummary_descriptor = - getDescriptor().getMessageTypes().get(496); + getDescriptor().getMessageTypes().get(527); internal_static_google_cloud_compute_v1_InstanceGroupManagerActionsSummary_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerActionsSummary_descriptor, @@ -24164,7 +25515,7 @@ private static void _clinit_autosplit_dinit_1() { "Verifying", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(497); + getDescriptor().getMessageTypes().get(528); internal_static_google_cloud_compute_v1_InstanceGroupManagerAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerAggregatedList_descriptor, @@ -24193,7 +25544,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerAutoHealingPolicy_descriptor = - getDescriptor().getMessageTypes().get(498); + getDescriptor().getMessageTypes().get(529); internal_static_google_cloud_compute_v1_InstanceGroupManagerAutoHealingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerAutoHealingPolicy_descriptor, @@ -24201,7 +25552,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthCheck", "InitialDelaySec", "HealthCheck", "InitialDelaySec", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerList_descriptor = - getDescriptor().getMessageTypes().get(499); + getDescriptor().getMessageTypes().get(530); internal_static_google_cloud_compute_v1_InstanceGroupManagerList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerList_descriptor, @@ -24219,7 +25570,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_descriptor = - getDescriptor().getMessageTypes().get(500); + getDescriptor().getMessageTypes().get(531); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerStatus_descriptor, @@ -24234,7 +25585,7 @@ private static void _clinit_autosplit_dinit_1() { "VersionTarget", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStateful_descriptor = - getDescriptor().getMessageTypes().get(501); + getDescriptor().getMessageTypes().get(532); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStateful_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStateful_descriptor, @@ -24242,7 +25593,7 @@ private static void _clinit_autosplit_dinit_1() { "HasStatefulConfig", "PerInstanceConfigs", "HasStatefulConfig", "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStatefulPerInstanceConfigs_descriptor = - getDescriptor().getMessageTypes().get(502); + getDescriptor().getMessageTypes().get(533); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStatefulPerInstanceConfigs_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusStatefulPerInstanceConfigs_descriptor, @@ -24250,7 +25601,7 @@ private static void _clinit_autosplit_dinit_1() { "AllEffective", "AllEffective", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusVersionTarget_descriptor = - getDescriptor().getMessageTypes().get(503); + getDescriptor().getMessageTypes().get(534); internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusVersionTarget_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerStatusVersionTarget_descriptor, @@ -24258,7 +25609,7 @@ private static void _clinit_autosplit_dinit_1() { "IsReached", "IsReached", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerUpdatePolicy_descriptor = - getDescriptor().getMessageTypes().get(504); + getDescriptor().getMessageTypes().get(535); internal_static_google_cloud_compute_v1_InstanceGroupManagerUpdatePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerUpdatePolicy_descriptor, @@ -24279,7 +25630,7 @@ private static void _clinit_autosplit_dinit_1() { "Type", }); internal_static_google_cloud_compute_v1_InstanceGroupManagerVersion_descriptor = - getDescriptor().getMessageTypes().get(505); + getDescriptor().getMessageTypes().get(536); internal_static_google_cloud_compute_v1_InstanceGroupManagerVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagerVersion_descriptor, @@ -24287,7 +25638,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplate", "Name", "TargetSize", "InstanceTemplate", "Name", "TargetSize", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersAbandonInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(506); + getDescriptor().getMessageTypes().get(537); internal_static_google_cloud_compute_v1_InstanceGroupManagersAbandonInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersAbandonInstancesRequest_descriptor, @@ -24295,7 +25646,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersApplyUpdatesRequest_descriptor = - getDescriptor().getMessageTypes().get(507); + getDescriptor().getMessageTypes().get(538); internal_static_google_cloud_compute_v1_InstanceGroupManagersApplyUpdatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersApplyUpdatesRequest_descriptor, @@ -24309,7 +25660,7 @@ private static void _clinit_autosplit_dinit_1() { "MostDisruptiveAllowedAction", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersCreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(508); + getDescriptor().getMessageTypes().get(539); internal_static_google_cloud_compute_v1_InstanceGroupManagersCreateInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersCreateInstancesRequest_descriptor, @@ -24317,7 +25668,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersDeleteInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(509); + getDescriptor().getMessageTypes().get(540); internal_static_google_cloud_compute_v1_InstanceGroupManagersDeleteInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersDeleteInstancesRequest_descriptor, @@ -24325,7 +25676,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", "SkipInstancesOnValidationError", "SkipInstancesOnValidationError", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersDeletePerInstanceConfigsReq_descriptor = - getDescriptor().getMessageTypes().get(510); + getDescriptor().getMessageTypes().get(541); internal_static_google_cloud_compute_v1_InstanceGroupManagersDeletePerInstanceConfigsReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersDeletePerInstanceConfigsReq_descriptor, @@ -24333,7 +25684,7 @@ private static void _clinit_autosplit_dinit_1() { "Names", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersListErrorsResponse_descriptor = - getDescriptor().getMessageTypes().get(511); + getDescriptor().getMessageTypes().get(542); internal_static_google_cloud_compute_v1_InstanceGroupManagersListErrorsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersListErrorsResponse_descriptor, @@ -24341,7 +25692,7 @@ private static void _clinit_autosplit_dinit_1() { "Items", "NextPageToken", "NextPageToken", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersListManagedInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(512); + getDescriptor().getMessageTypes().get(543); internal_static_google_cloud_compute_v1_InstanceGroupManagersListManagedInstancesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersListManagedInstancesResponse_descriptor, @@ -24349,7 +25700,7 @@ private static void _clinit_autosplit_dinit_1() { "ManagedInstances", "NextPageToken", "NextPageToken", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersListPerInstanceConfigsResp_descriptor = - getDescriptor().getMessageTypes().get(513); + getDescriptor().getMessageTypes().get(544); internal_static_google_cloud_compute_v1_InstanceGroupManagersListPerInstanceConfigsResp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersListPerInstanceConfigsResp_descriptor, @@ -24357,7 +25708,7 @@ private static void _clinit_autosplit_dinit_1() { "Items", "NextPageToken", "Warning", "NextPageToken", "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersPatchPerInstanceConfigsReq_descriptor = - getDescriptor().getMessageTypes().get(514); + getDescriptor().getMessageTypes().get(545); internal_static_google_cloud_compute_v1_InstanceGroupManagersPatchPerInstanceConfigsReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersPatchPerInstanceConfigsReq_descriptor, @@ -24365,7 +25716,7 @@ private static void _clinit_autosplit_dinit_1() { "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersRecreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(515); + getDescriptor().getMessageTypes().get(546); internal_static_google_cloud_compute_v1_InstanceGroupManagersRecreateInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersRecreateInstancesRequest_descriptor, @@ -24373,7 +25724,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersScopedList_descriptor = - getDescriptor().getMessageTypes().get(516); + getDescriptor().getMessageTypes().get(547); internal_static_google_cloud_compute_v1_InstanceGroupManagersScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersScopedList_descriptor, @@ -24381,7 +25732,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceGroupManagers", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersSetInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(517); + getDescriptor().getMessageTypes().get(548); internal_static_google_cloud_compute_v1_InstanceGroupManagersSetInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersSetInstanceTemplateRequest_descriptor, @@ -24389,7 +25740,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplate", "InstanceTemplate", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersSetTargetPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(518); + getDescriptor().getMessageTypes().get(549); internal_static_google_cloud_compute_v1_InstanceGroupManagersSetTargetPoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersSetTargetPoolsRequest_descriptor, @@ -24397,7 +25748,7 @@ private static void _clinit_autosplit_dinit_1() { "Fingerprint", "TargetPools", "Fingerprint", }); internal_static_google_cloud_compute_v1_InstanceGroupManagersUpdatePerInstanceConfigsReq_descriptor = - getDescriptor().getMessageTypes().get(519); + getDescriptor().getMessageTypes().get(550); internal_static_google_cloud_compute_v1_InstanceGroupManagersUpdatePerInstanceConfigsReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupManagersUpdatePerInstanceConfigsReq_descriptor, @@ -24405,7 +25756,7 @@ private static void _clinit_autosplit_dinit_1() { "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_InstanceGroupsAddInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(520); + getDescriptor().getMessageTypes().get(551); internal_static_google_cloud_compute_v1_InstanceGroupsAddInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsAddInstancesRequest_descriptor, @@ -24413,7 +25764,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupsListInstances_descriptor = - getDescriptor().getMessageTypes().get(521); + getDescriptor().getMessageTypes().get(552); internal_static_google_cloud_compute_v1_InstanceGroupsListInstances_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsListInstances_descriptor, @@ -24431,7 +25782,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupsListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(522); + getDescriptor().getMessageTypes().get(553); internal_static_google_cloud_compute_v1_InstanceGroupsListInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsListInstancesRequest_descriptor, @@ -24439,7 +25790,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceState", "InstanceState", }); internal_static_google_cloud_compute_v1_InstanceGroupsRemoveInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(523); + getDescriptor().getMessageTypes().get(554); internal_static_google_cloud_compute_v1_InstanceGroupsRemoveInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsRemoveInstancesRequest_descriptor, @@ -24447,7 +25798,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", }); internal_static_google_cloud_compute_v1_InstanceGroupsScopedList_descriptor = - getDescriptor().getMessageTypes().get(524); + getDescriptor().getMessageTypes().get(555); internal_static_google_cloud_compute_v1_InstanceGroupsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsScopedList_descriptor, @@ -24455,7 +25806,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceGroups", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_InstanceGroupsSetNamedPortsRequest_descriptor = - getDescriptor().getMessageTypes().get(525); + getDescriptor().getMessageTypes().get(556); internal_static_google_cloud_compute_v1_InstanceGroupsSetNamedPortsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceGroupsSetNamedPortsRequest_descriptor, @@ -24463,7 +25814,7 @@ private static void _clinit_autosplit_dinit_1() { "Fingerprint", "NamedPorts", "Fingerprint", }); internal_static_google_cloud_compute_v1_InstanceList_descriptor = - getDescriptor().getMessageTypes().get(526); + getDescriptor().getMessageTypes().get(557); internal_static_google_cloud_compute_v1_InstanceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceList_descriptor, @@ -24481,7 +25832,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InstanceListReferrers_descriptor = - getDescriptor().getMessageTypes().get(527); + getDescriptor().getMessageTypes().get(558); internal_static_google_cloud_compute_v1_InstanceListReferrers_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceListReferrers_descriptor, @@ -24499,7 +25850,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InstanceManagedByIgmError_descriptor = - getDescriptor().getMessageTypes().get(528); + getDescriptor().getMessageTypes().get(559); internal_static_google_cloud_compute_v1_InstanceManagedByIgmError_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceManagedByIgmError_descriptor, @@ -24512,7 +25863,7 @@ private static void _clinit_autosplit_dinit_1() { "Timestamp", }); internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorInstanceActionDetails_descriptor = - getDescriptor().getMessageTypes().get(529); + getDescriptor().getMessageTypes().get(560); internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorInstanceActionDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorInstanceActionDetails_descriptor, @@ -24520,7 +25871,7 @@ private static void _clinit_autosplit_dinit_1() { "Action", "Instance", "Version", "Action", "Instance", "Version", }); internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorManagedInstanceError_descriptor = - getDescriptor().getMessageTypes().get(530); + getDescriptor().getMessageTypes().get(561); internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorManagedInstanceError_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceManagedByIgmErrorManagedInstanceError_descriptor, @@ -24528,15 +25879,31 @@ private static void _clinit_autosplit_dinit_1() { "Code", "Message", "Code", "Message", }); internal_static_google_cloud_compute_v1_InstanceMoveRequest_descriptor = - getDescriptor().getMessageTypes().get(531); + getDescriptor().getMessageTypes().get(562); internal_static_google_cloud_compute_v1_InstanceMoveRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceMoveRequest_descriptor, new java.lang.String[] { "DestinationZone", "TargetInstance", "DestinationZone", "TargetInstance", }); + internal_static_google_cloud_compute_v1_InstanceParams_descriptor = + getDescriptor().getMessageTypes().get(563); + internal_static_google_cloud_compute_v1_InstanceParams_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InstanceParams_descriptor, + new java.lang.String[] { + "ResourceManagerTags", + }); + internal_static_google_cloud_compute_v1_InstanceParams_ResourceManagerTagsEntry_descriptor = + internal_static_google_cloud_compute_v1_InstanceParams_descriptor.getNestedTypes().get(0); + internal_static_google_cloud_compute_v1_InstanceParams_ResourceManagerTagsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_InstanceParams_ResourceManagerTagsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_google_cloud_compute_v1_InstanceProperties_descriptor = - getDescriptor().getMessageTypes().get(532); + getDescriptor().getMessageTypes().get(564); internal_static_google_cloud_compute_v1_InstanceProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceProperties_descriptor, @@ -24596,7 +25963,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstanceReference_descriptor = - getDescriptor().getMessageTypes().get(533); + getDescriptor().getMessageTypes().get(565); internal_static_google_cloud_compute_v1_InstanceReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceReference_descriptor, @@ -24604,7 +25971,7 @@ private static void _clinit_autosplit_dinit_1() { "Instance", "Instance", }); internal_static_google_cloud_compute_v1_InstanceTemplate_descriptor = - getDescriptor().getMessageTypes().get(534); + getDescriptor().getMessageTypes().get(566); internal_static_google_cloud_compute_v1_InstanceTemplate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceTemplate_descriptor, @@ -24629,7 +25996,7 @@ private static void _clinit_autosplit_dinit_1() { "SourceInstanceParams", }); internal_static_google_cloud_compute_v1_InstanceTemplateList_descriptor = - getDescriptor().getMessageTypes().get(535); + getDescriptor().getMessageTypes().get(567); internal_static_google_cloud_compute_v1_InstanceTemplateList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceTemplateList_descriptor, @@ -24647,7 +26014,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InstanceWithNamedPorts_descriptor = - getDescriptor().getMessageTypes().get(536); + getDescriptor().getMessageTypes().get(568); internal_static_google_cloud_compute_v1_InstanceWithNamedPorts_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstanceWithNamedPorts_descriptor, @@ -24655,7 +26022,7 @@ private static void _clinit_autosplit_dinit_1() { "Instance", "NamedPorts", "Status", "Instance", "Status", }); internal_static_google_cloud_compute_v1_InstancesAddResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(537); + getDescriptor().getMessageTypes().get(569); internal_static_google_cloud_compute_v1_InstancesAddResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesAddResourcePoliciesRequest_descriptor, @@ -24663,7 +26030,7 @@ private static void _clinit_autosplit_dinit_1() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponse_descriptor = - getDescriptor().getMessageTypes().get(538); + getDescriptor().getMessageTypes().get(570); internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponse_descriptor, @@ -24671,7 +26038,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicys", "Firewalls", }); internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor = - getDescriptor().getMessageTypes().get(539); + getDescriptor().getMessageTypes().get(571); internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor, @@ -24687,7 +26054,7 @@ private static void _clinit_autosplit_dinit_1() { "Type", }); internal_static_google_cloud_compute_v1_InstancesRemoveResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(540); + getDescriptor().getMessageTypes().get(572); internal_static_google_cloud_compute_v1_InstancesRemoveResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesRemoveResourcePoliciesRequest_descriptor, @@ -24695,7 +26062,7 @@ private static void _clinit_autosplit_dinit_1() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_InstancesScopedList_descriptor = - getDescriptor().getMessageTypes().get(541); + getDescriptor().getMessageTypes().get(573); internal_static_google_cloud_compute_v1_InstancesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesScopedList_descriptor, @@ -24703,7 +26070,7 @@ private static void _clinit_autosplit_dinit_1() { "Instances", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_InstancesSetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(542); + getDescriptor().getMessageTypes().get(574); internal_static_google_cloud_compute_v1_InstancesSetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetLabelsRequest_descriptor, @@ -24721,7 +26088,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InstancesSetMachineResourcesRequest_descriptor = - getDescriptor().getMessageTypes().get(543); + getDescriptor().getMessageTypes().get(575); internal_static_google_cloud_compute_v1_InstancesSetMachineResourcesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetMachineResourcesRequest_descriptor, @@ -24729,7 +26096,7 @@ private static void _clinit_autosplit_dinit_1() { "GuestAccelerators", }); internal_static_google_cloud_compute_v1_InstancesSetMachineTypeRequest_descriptor = - getDescriptor().getMessageTypes().get(544); + getDescriptor().getMessageTypes().get(576); internal_static_google_cloud_compute_v1_InstancesSetMachineTypeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetMachineTypeRequest_descriptor, @@ -24737,7 +26104,7 @@ private static void _clinit_autosplit_dinit_1() { "MachineType", "MachineType", }); internal_static_google_cloud_compute_v1_InstancesSetMinCpuPlatformRequest_descriptor = - getDescriptor().getMessageTypes().get(545); + getDescriptor().getMessageTypes().get(577); internal_static_google_cloud_compute_v1_InstancesSetMinCpuPlatformRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetMinCpuPlatformRequest_descriptor, @@ -24745,7 +26112,7 @@ private static void _clinit_autosplit_dinit_1() { "MinCpuPlatform", "MinCpuPlatform", }); internal_static_google_cloud_compute_v1_InstancesSetServiceAccountRequest_descriptor = - getDescriptor().getMessageTypes().get(546); + getDescriptor().getMessageTypes().get(578); internal_static_google_cloud_compute_v1_InstancesSetServiceAccountRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesSetServiceAccountRequest_descriptor, @@ -24753,7 +26120,7 @@ private static void _clinit_autosplit_dinit_1() { "Email", "Scopes", "Email", }); internal_static_google_cloud_compute_v1_InstancesStartWithEncryptionKeyRequest_descriptor = - getDescriptor().getMessageTypes().get(547); + getDescriptor().getMessageTypes().get(579); internal_static_google_cloud_compute_v1_InstancesStartWithEncryptionKeyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InstancesStartWithEncryptionKeyRequest_descriptor, @@ -24761,7 +26128,7 @@ private static void _clinit_autosplit_dinit_1() { "Disks", }); internal_static_google_cloud_compute_v1_Int64RangeMatch_descriptor = - getDescriptor().getMessageTypes().get(548); + getDescriptor().getMessageTypes().get(580); internal_static_google_cloud_compute_v1_Int64RangeMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Int64RangeMatch_descriptor, @@ -24769,7 +26136,7 @@ private static void _clinit_autosplit_dinit_1() { "RangeEnd", "RangeStart", "RangeEnd", "RangeStart", }); internal_static_google_cloud_compute_v1_Interconnect_descriptor = - getDescriptor().getMessageTypes().get(549); + getDescriptor().getMessageTypes().get(581); internal_static_google_cloud_compute_v1_Interconnect_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Interconnect_descriptor, @@ -24819,7 +26186,7 @@ private static void _clinit_autosplit_dinit_1() { "State", }); internal_static_google_cloud_compute_v1_InterconnectAttachment_descriptor = - getDescriptor().getMessageTypes().get(550); + getDescriptor().getMessageTypes().get(582); internal_static_google_cloud_compute_v1_InterconnectAttachment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachment_descriptor, @@ -24893,7 +26260,7 @@ private static void _clinit_autosplit_dinit_1() { "VlanTag8021Q", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(551); + getDescriptor().getMessageTypes().get(583); internal_static_google_cloud_compute_v1_InterconnectAttachmentAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentAggregatedList_descriptor, @@ -24922,7 +26289,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentList_descriptor = - getDescriptor().getMessageTypes().get(552); + getDescriptor().getMessageTypes().get(584); internal_static_google_cloud_compute_v1_InterconnectAttachmentList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentList_descriptor, @@ -24940,7 +26307,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentPartnerMetadata_descriptor = - getDescriptor().getMessageTypes().get(553); + getDescriptor().getMessageTypes().get(585); internal_static_google_cloud_compute_v1_InterconnectAttachmentPartnerMetadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentPartnerMetadata_descriptor, @@ -24953,7 +26320,7 @@ private static void _clinit_autosplit_dinit_1() { "PortalUrl", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentPrivateInfo_descriptor = - getDescriptor().getMessageTypes().get(554); + getDescriptor().getMessageTypes().get(586); internal_static_google_cloud_compute_v1_InterconnectAttachmentPrivateInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentPrivateInfo_descriptor, @@ -24961,7 +26328,7 @@ private static void _clinit_autosplit_dinit_1() { "Tag8021Q", "Tag8021Q", }); internal_static_google_cloud_compute_v1_InterconnectAttachmentsScopedList_descriptor = - getDescriptor().getMessageTypes().get(555); + getDescriptor().getMessageTypes().get(587); internal_static_google_cloud_compute_v1_InterconnectAttachmentsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectAttachmentsScopedList_descriptor, @@ -24969,7 +26336,7 @@ private static void _clinit_autosplit_dinit_1() { "InterconnectAttachments", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_InterconnectCircuitInfo_descriptor = - getDescriptor().getMessageTypes().get(556); + getDescriptor().getMessageTypes().get(588); internal_static_google_cloud_compute_v1_InterconnectCircuitInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectCircuitInfo_descriptor, @@ -24982,7 +26349,7 @@ private static void _clinit_autosplit_dinit_1() { "GoogleDemarcId", }); internal_static_google_cloud_compute_v1_InterconnectDiagnostics_descriptor = - getDescriptor().getMessageTypes().get(557); + getDescriptor().getMessageTypes().get(589); internal_static_google_cloud_compute_v1_InterconnectDiagnostics_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnostics_descriptor, @@ -24990,7 +26357,7 @@ private static void _clinit_autosplit_dinit_1() { "ArpCaches", "Links", "MacAddress", "MacAddress", }); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsARPEntry_descriptor = - getDescriptor().getMessageTypes().get(558); + getDescriptor().getMessageTypes().get(590); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsARPEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnosticsARPEntry_descriptor, @@ -24998,7 +26365,7 @@ private static void _clinit_autosplit_dinit_1() { "IpAddress", "MacAddress", "IpAddress", "MacAddress", }); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkLACPStatus_descriptor = - getDescriptor().getMessageTypes().get(559); + getDescriptor().getMessageTypes().get(591); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkLACPStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkLACPStatus_descriptor, @@ -25011,7 +26378,7 @@ private static void _clinit_autosplit_dinit_1() { "State", }); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkOpticalPower_descriptor = - getDescriptor().getMessageTypes().get(560); + getDescriptor().getMessageTypes().get(592); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkOpticalPower_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkOpticalPower_descriptor, @@ -25019,7 +26386,7 @@ private static void _clinit_autosplit_dinit_1() { "State", "Value", "State", "Value", }); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkStatus_descriptor = - getDescriptor().getMessageTypes().get(561); + getDescriptor().getMessageTypes().get(593); internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectDiagnosticsLinkStatus_descriptor, @@ -25037,7 +26404,7 @@ private static void _clinit_autosplit_dinit_1() { "TransmittingOpticalPower", }); internal_static_google_cloud_compute_v1_InterconnectList_descriptor = - getDescriptor().getMessageTypes().get(562); + getDescriptor().getMessageTypes().get(594); internal_static_google_cloud_compute_v1_InterconnectList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectList_descriptor, @@ -25055,7 +26422,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InterconnectLocation_descriptor = - getDescriptor().getMessageTypes().get(563); + getDescriptor().getMessageTypes().get(595); internal_static_google_cloud_compute_v1_InterconnectLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectLocation_descriptor, @@ -25093,7 +26460,7 @@ private static void _clinit_autosplit_dinit_1() { "SupportsPzs", }); internal_static_google_cloud_compute_v1_InterconnectLocationList_descriptor = - getDescriptor().getMessageTypes().get(564); + getDescriptor().getMessageTypes().get(596); internal_static_google_cloud_compute_v1_InterconnectLocationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectLocationList_descriptor, @@ -25111,7 +26478,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_InterconnectLocationRegionInfo_descriptor = - getDescriptor().getMessageTypes().get(565); + getDescriptor().getMessageTypes().get(597); internal_static_google_cloud_compute_v1_InterconnectLocationRegionInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectLocationRegionInfo_descriptor, @@ -25124,7 +26491,7 @@ private static void _clinit_autosplit_dinit_1() { "Region", }); internal_static_google_cloud_compute_v1_InterconnectOutageNotification_descriptor = - getDescriptor().getMessageTypes().get(566); + getDescriptor().getMessageTypes().get(598); internal_static_google_cloud_compute_v1_InterconnectOutageNotification_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectOutageNotification_descriptor, @@ -25146,7 +26513,7 @@ private static void _clinit_autosplit_dinit_1() { "State", }); internal_static_google_cloud_compute_v1_InterconnectsGetDiagnosticsResponse_descriptor = - getDescriptor().getMessageTypes().get(567); + getDescriptor().getMessageTypes().get(599); internal_static_google_cloud_compute_v1_InterconnectsGetDiagnosticsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InterconnectsGetDiagnosticsResponse_descriptor, @@ -25154,7 +26521,7 @@ private static void _clinit_autosplit_dinit_1() { "Result", "Result", }); internal_static_google_cloud_compute_v1_InvalidateCacheUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(568); + getDescriptor().getMessageTypes().get(600); internal_static_google_cloud_compute_v1_InvalidateCacheUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_InvalidateCacheUrlMapRequest_descriptor, @@ -25162,7 +26529,7 @@ private static void _clinit_autosplit_dinit_1() { "CacheInvalidationRuleResource", "Project", "RequestId", "UrlMap", "RequestId", }); internal_static_google_cloud_compute_v1_Items_descriptor = - getDescriptor().getMessageTypes().get(569); + getDescriptor().getMessageTypes().get(601); internal_static_google_cloud_compute_v1_Items_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Items_descriptor, @@ -25170,7 +26537,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", "Key", "Value", }); internal_static_google_cloud_compute_v1_License_descriptor = - getDescriptor().getMessageTypes().get(570); + getDescriptor().getMessageTypes().get(602); internal_static_google_cloud_compute_v1_License_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_License_descriptor, @@ -25197,7 +26564,7 @@ private static void _clinit_autosplit_dinit_1() { "Transferable", }); internal_static_google_cloud_compute_v1_LicenseCode_descriptor = - getDescriptor().getMessageTypes().get(571); + getDescriptor().getMessageTypes().get(603); internal_static_google_cloud_compute_v1_LicenseCode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicenseCode_descriptor, @@ -25221,7 +26588,7 @@ private static void _clinit_autosplit_dinit_1() { "Transferable", }); internal_static_google_cloud_compute_v1_LicenseCodeLicenseAlias_descriptor = - getDescriptor().getMessageTypes().get(572); + getDescriptor().getMessageTypes().get(604); internal_static_google_cloud_compute_v1_LicenseCodeLicenseAlias_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicenseCodeLicenseAlias_descriptor, @@ -25229,7 +26596,7 @@ private static void _clinit_autosplit_dinit_1() { "Description", "SelfLink", "Description", "SelfLink", }); internal_static_google_cloud_compute_v1_LicenseResourceCommitment_descriptor = - getDescriptor().getMessageTypes().get(573); + getDescriptor().getMessageTypes().get(605); internal_static_google_cloud_compute_v1_LicenseResourceCommitment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicenseResourceCommitment_descriptor, @@ -25237,7 +26604,7 @@ private static void _clinit_autosplit_dinit_1() { "Amount", "CoresPerLicense", "License", "Amount", "CoresPerLicense", "License", }); internal_static_google_cloud_compute_v1_LicenseResourceRequirements_descriptor = - getDescriptor().getMessageTypes().get(574); + getDescriptor().getMessageTypes().get(606); internal_static_google_cloud_compute_v1_LicenseResourceRequirements_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicenseResourceRequirements_descriptor, @@ -25245,7 +26612,7 @@ private static void _clinit_autosplit_dinit_1() { "MinGuestCpuCount", "MinMemoryMb", "MinGuestCpuCount", "MinMemoryMb", }); internal_static_google_cloud_compute_v1_LicensesListResponse_descriptor = - getDescriptor().getMessageTypes().get(575); + getDescriptor().getMessageTypes().get(607); internal_static_google_cloud_compute_v1_LicensesListResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LicensesListResponse_descriptor, @@ -25261,7 +26628,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_ListAcceleratorTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(576); + getDescriptor().getMessageTypes().get(608); internal_static_google_cloud_compute_v1_ListAcceleratorTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAcceleratorTypesRequest_descriptor, @@ -25280,7 +26647,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListAddressesRequest_descriptor = - getDescriptor().getMessageTypes().get(577); + getDescriptor().getMessageTypes().get(609); internal_static_google_cloud_compute_v1_ListAddressesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAddressesRequest_descriptor, @@ -25299,7 +26666,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListAssociationsFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(578); + getDescriptor().getMessageTypes().get(610); internal_static_google_cloud_compute_v1_ListAssociationsFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAssociationsFirewallPolicyRequest_descriptor, @@ -25307,7 +26674,7 @@ private static void _clinit_autosplit_dinit_1() { "TargetResource", "TargetResource", }); internal_static_google_cloud_compute_v1_ListAutoscalersRequest_descriptor = - getDescriptor().getMessageTypes().get(579); + getDescriptor().getMessageTypes().get(611); internal_static_google_cloud_compute_v1_ListAutoscalersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAutoscalersRequest_descriptor, @@ -25326,7 +26693,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListAvailableFeaturesSslPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(580); + getDescriptor().getMessageTypes().get(612); internal_static_google_cloud_compute_v1_ListAvailableFeaturesSslPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListAvailableFeaturesSslPoliciesRequest_descriptor, @@ -25344,7 +26711,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListBackendBucketsRequest_descriptor = - getDescriptor().getMessageTypes().get(581); + getDescriptor().getMessageTypes().get(613); internal_static_google_cloud_compute_v1_ListBackendBucketsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListBackendBucketsRequest_descriptor, @@ -25362,7 +26729,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListBackendServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(582); + getDescriptor().getMessageTypes().get(614); internal_static_google_cloud_compute_v1_ListBackendServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListBackendServicesRequest_descriptor, @@ -25380,7 +26747,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListDiskTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(583); + getDescriptor().getMessageTypes().get(615); internal_static_google_cloud_compute_v1_ListDiskTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListDiskTypesRequest_descriptor, @@ -25399,7 +26766,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListDisksRequest_descriptor = - getDescriptor().getMessageTypes().get(584); + getDescriptor().getMessageTypes().get(616); internal_static_google_cloud_compute_v1_ListDisksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListDisksRequest_descriptor, @@ -25418,7 +26785,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(585); + getDescriptor().getMessageTypes().get(617); internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListErrorsInstanceGroupManagersRequest_descriptor, @@ -25438,7 +26805,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListErrorsRegionInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(586); + getDescriptor().getMessageTypes().get(618); internal_static_google_cloud_compute_v1_ListErrorsRegionInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListErrorsRegionInstanceGroupManagersRequest_descriptor, @@ -25458,7 +26825,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListExternalVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(587); + getDescriptor().getMessageTypes().get(619); internal_static_google_cloud_compute_v1_ListExternalVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListExternalVpnGatewaysRequest_descriptor, @@ -25476,7 +26843,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListFirewallPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(588); + getDescriptor().getMessageTypes().get(620); internal_static_google_cloud_compute_v1_ListFirewallPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListFirewallPoliciesRequest_descriptor, @@ -25495,7 +26862,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListFirewallsRequest_descriptor = - getDescriptor().getMessageTypes().get(589); + getDescriptor().getMessageTypes().get(621); internal_static_google_cloud_compute_v1_ListFirewallsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListFirewallsRequest_descriptor, @@ -25513,7 +26880,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListForwardingRulesRequest_descriptor = - getDescriptor().getMessageTypes().get(590); + getDescriptor().getMessageTypes().get(622); internal_static_google_cloud_compute_v1_ListForwardingRulesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListForwardingRulesRequest_descriptor, @@ -25532,7 +26899,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalAddressesRequest_descriptor = - getDescriptor().getMessageTypes().get(591); + getDescriptor().getMessageTypes().get(623); internal_static_google_cloud_compute_v1_ListGlobalAddressesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalAddressesRequest_descriptor, @@ -25550,7 +26917,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalForwardingRulesRequest_descriptor = - getDescriptor().getMessageTypes().get(592); + getDescriptor().getMessageTypes().get(624); internal_static_google_cloud_compute_v1_ListGlobalForwardingRulesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalForwardingRulesRequest_descriptor, @@ -25568,7 +26935,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(593); + getDescriptor().getMessageTypes().get(625); internal_static_google_cloud_compute_v1_ListGlobalNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalNetworkEndpointGroupsRequest_descriptor, @@ -25586,7 +26953,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(594); + getDescriptor().getMessageTypes().get(626); internal_static_google_cloud_compute_v1_ListGlobalOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalOperationsRequest_descriptor, @@ -25604,7 +26971,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalOrganizationOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(595); + getDescriptor().getMessageTypes().get(627); internal_static_google_cloud_compute_v1_ListGlobalOrganizationOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalOrganizationOperationsRequest_descriptor, @@ -25623,7 +26990,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListGlobalPublicDelegatedPrefixesRequest_descriptor = - getDescriptor().getMessageTypes().get(596); + getDescriptor().getMessageTypes().get(628); internal_static_google_cloud_compute_v1_ListGlobalPublicDelegatedPrefixesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListGlobalPublicDelegatedPrefixesRequest_descriptor, @@ -25641,7 +27008,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListHealthChecksRequest_descriptor = - getDescriptor().getMessageTypes().get(597); + getDescriptor().getMessageTypes().get(629); internal_static_google_cloud_compute_v1_ListHealthChecksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListHealthChecksRequest_descriptor, @@ -25659,7 +27026,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(598); + getDescriptor().getMessageTypes().get(630); internal_static_google_cloud_compute_v1_ListImagesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListImagesRequest_descriptor, @@ -25677,7 +27044,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(599); + getDescriptor().getMessageTypes().get(631); internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstanceGroupManagersRequest_descriptor, @@ -25696,7 +27063,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInstanceGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(600); + getDescriptor().getMessageTypes().get(632); internal_static_google_cloud_compute_v1_ListInstanceGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstanceGroupsRequest_descriptor, @@ -25715,7 +27082,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInstanceTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(601); + getDescriptor().getMessageTypes().get(633); internal_static_google_cloud_compute_v1_ListInstanceTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstanceTemplatesRequest_descriptor, @@ -25733,7 +27100,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInstancesInstanceGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(602); + getDescriptor().getMessageTypes().get(634); internal_static_google_cloud_compute_v1_ListInstancesInstanceGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstancesInstanceGroupsRequest_descriptor, @@ -25754,7 +27121,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInstancesRegionInstanceGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(603); + getDescriptor().getMessageTypes().get(635); internal_static_google_cloud_compute_v1_ListInstancesRegionInstanceGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstancesRegionInstanceGroupsRequest_descriptor, @@ -25775,7 +27142,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(604); + getDescriptor().getMessageTypes().get(636); internal_static_google_cloud_compute_v1_ListInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInstancesRequest_descriptor, @@ -25794,7 +27161,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInterconnectAttachmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(605); + getDescriptor().getMessageTypes().get(637); internal_static_google_cloud_compute_v1_ListInterconnectAttachmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInterconnectAttachmentsRequest_descriptor, @@ -25813,7 +27180,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInterconnectLocationsRequest_descriptor = - getDescriptor().getMessageTypes().get(606); + getDescriptor().getMessageTypes().get(638); internal_static_google_cloud_compute_v1_ListInterconnectLocationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInterconnectLocationsRequest_descriptor, @@ -25831,7 +27198,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListInterconnectsRequest_descriptor = - getDescriptor().getMessageTypes().get(607); + getDescriptor().getMessageTypes().get(639); internal_static_google_cloud_compute_v1_ListInterconnectsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListInterconnectsRequest_descriptor, @@ -25849,7 +27216,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListLicensesRequest_descriptor = - getDescriptor().getMessageTypes().get(608); + getDescriptor().getMessageTypes().get(640); internal_static_google_cloud_compute_v1_ListLicensesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListLicensesRequest_descriptor, @@ -25867,7 +27234,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListMachineImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(609); + getDescriptor().getMessageTypes().get(641); internal_static_google_cloud_compute_v1_ListMachineImagesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListMachineImagesRequest_descriptor, @@ -25885,7 +27252,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListMachineTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(610); + getDescriptor().getMessageTypes().get(642); internal_static_google_cloud_compute_v1_ListMachineTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListMachineTypesRequest_descriptor, @@ -25904,7 +27271,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListManagedInstancesInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(611); + getDescriptor().getMessageTypes().get(643); internal_static_google_cloud_compute_v1_ListManagedInstancesInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListManagedInstancesInstanceGroupManagersRequest_descriptor, @@ -25924,7 +27291,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListManagedInstancesRegionInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(612); + getDescriptor().getMessageTypes().get(644); internal_static_google_cloud_compute_v1_ListManagedInstancesRegionInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListManagedInstancesRegionInstanceGroupManagersRequest_descriptor, @@ -25944,7 +27311,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(613); + getDescriptor().getMessageTypes().get(645); internal_static_google_cloud_compute_v1_ListNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworkEndpointGroupsRequest_descriptor, @@ -25963,7 +27330,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(614); + getDescriptor().getMessageTypes().get(646); internal_static_google_cloud_compute_v1_ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest_descriptor, @@ -25982,7 +27349,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(615); + getDescriptor().getMessageTypes().get(647); internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworkEndpointsNetworkEndpointGroupsRequest_descriptor, @@ -26002,8 +27369,26 @@ private static void _clinit_autosplit_dinit_1() { "PageToken", "ReturnPartialSuccess", }); + internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(648); + internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_descriptor, + new java.lang.String[] { + "Filter", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "ReturnPartialSuccess", + "Filter", + "MaxResults", + "OrderBy", + "PageToken", + "ReturnPartialSuccess", + }); internal_static_google_cloud_compute_v1_ListNetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(616); + getDescriptor().getMessageTypes().get(649); internal_static_google_cloud_compute_v1_ListNetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNetworksRequest_descriptor, @@ -26021,7 +27406,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNodeGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(617); + getDescriptor().getMessageTypes().get(650); internal_static_google_cloud_compute_v1_ListNodeGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNodeGroupsRequest_descriptor, @@ -26040,7 +27425,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNodeTemplatesRequest_descriptor = - getDescriptor().getMessageTypes().get(618); + getDescriptor().getMessageTypes().get(651); internal_static_google_cloud_compute_v1_ListNodeTemplatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNodeTemplatesRequest_descriptor, @@ -26059,7 +27444,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNodeTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(619); + getDescriptor().getMessageTypes().get(652); internal_static_google_cloud_compute_v1_ListNodeTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNodeTypesRequest_descriptor, @@ -26078,7 +27463,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListNodesNodeGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(620); + getDescriptor().getMessageTypes().get(653); internal_static_google_cloud_compute_v1_ListNodesNodeGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListNodesNodeGroupsRequest_descriptor, @@ -26098,7 +27483,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPacketMirroringsRequest_descriptor = - getDescriptor().getMessageTypes().get(621); + getDescriptor().getMessageTypes().get(654); internal_static_google_cloud_compute_v1_ListPacketMirroringsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPacketMirroringsRequest_descriptor, @@ -26117,7 +27502,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPeeringRoutesNetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(622); + getDescriptor().getMessageTypes().get(655); internal_static_google_cloud_compute_v1_ListPeeringRoutesNetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPeeringRoutesNetworksRequest_descriptor, @@ -26142,7 +27527,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPerInstanceConfigsInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(623); + getDescriptor().getMessageTypes().get(656); internal_static_google_cloud_compute_v1_ListPerInstanceConfigsInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPerInstanceConfigsInstanceGroupManagersRequest_descriptor, @@ -26162,7 +27547,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPerInstanceConfigsRegionInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(624); + getDescriptor().getMessageTypes().get(657); internal_static_google_cloud_compute_v1_ListPerInstanceConfigsRegionInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPerInstanceConfigsRegionInstanceGroupManagersRequest_descriptor, @@ -26182,7 +27567,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsSecurityPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(625); + getDescriptor().getMessageTypes().get(658); internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsSecurityPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPreconfiguredExpressionSetsSecurityPoliciesRequest_descriptor, @@ -26200,7 +27585,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPublicAdvertisedPrefixesRequest_descriptor = - getDescriptor().getMessageTypes().get(626); + getDescriptor().getMessageTypes().get(659); internal_static_google_cloud_compute_v1_ListPublicAdvertisedPrefixesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPublicAdvertisedPrefixesRequest_descriptor, @@ -26218,7 +27603,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListPublicDelegatedPrefixesRequest_descriptor = - getDescriptor().getMessageTypes().get(627); + getDescriptor().getMessageTypes().get(660); internal_static_google_cloud_compute_v1_ListPublicDelegatedPrefixesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListPublicDelegatedPrefixesRequest_descriptor, @@ -26237,7 +27622,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListReferrersInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(628); + getDescriptor().getMessageTypes().get(661); internal_static_google_cloud_compute_v1_ListReferrersInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListReferrersInstancesRequest_descriptor, @@ -26257,7 +27642,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionAutoscalersRequest_descriptor = - getDescriptor().getMessageTypes().get(629); + getDescriptor().getMessageTypes().get(662); internal_static_google_cloud_compute_v1_ListRegionAutoscalersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionAutoscalersRequest_descriptor, @@ -26276,7 +27661,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionBackendServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(630); + getDescriptor().getMessageTypes().get(663); internal_static_google_cloud_compute_v1_ListRegionBackendServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionBackendServicesRequest_descriptor, @@ -26295,7 +27680,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionCommitmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(631); + getDescriptor().getMessageTypes().get(664); internal_static_google_cloud_compute_v1_ListRegionCommitmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionCommitmentsRequest_descriptor, @@ -26314,7 +27699,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionDiskTypesRequest_descriptor = - getDescriptor().getMessageTypes().get(632); + getDescriptor().getMessageTypes().get(665); internal_static_google_cloud_compute_v1_ListRegionDiskTypesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionDiskTypesRequest_descriptor, @@ -26333,7 +27718,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionDisksRequest_descriptor = - getDescriptor().getMessageTypes().get(633); + getDescriptor().getMessageTypes().get(666); internal_static_google_cloud_compute_v1_ListRegionDisksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionDisksRequest_descriptor, @@ -26352,7 +27737,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionHealthCheckServicesRequest_descriptor = - getDescriptor().getMessageTypes().get(634); + getDescriptor().getMessageTypes().get(667); internal_static_google_cloud_compute_v1_ListRegionHealthCheckServicesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionHealthCheckServicesRequest_descriptor, @@ -26371,7 +27756,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionHealthChecksRequest_descriptor = - getDescriptor().getMessageTypes().get(635); + getDescriptor().getMessageTypes().get(668); internal_static_google_cloud_compute_v1_ListRegionHealthChecksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionHealthChecksRequest_descriptor, @@ -26390,7 +27775,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagersRequest_descriptor = - getDescriptor().getMessageTypes().get(636); + getDescriptor().getMessageTypes().get(669); internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionInstanceGroupManagersRequest_descriptor, @@ -26409,7 +27794,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionInstanceGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(637); + getDescriptor().getMessageTypes().get(670); internal_static_google_cloud_compute_v1_ListRegionInstanceGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionInstanceGroupsRequest_descriptor, @@ -26428,7 +27813,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_descriptor = - getDescriptor().getMessageTypes().get(638); + getDescriptor().getMessageTypes().get(671); internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionNetworkEndpointGroupsRequest_descriptor, @@ -26446,8 +27831,27 @@ private static void _clinit_autosplit_dinit_1() { "PageToken", "ReturnPartialSuccess", }); + internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(672); + internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_descriptor, + new java.lang.String[] { + "Filter", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "Region", + "ReturnPartialSuccess", + "Filter", + "MaxResults", + "OrderBy", + "PageToken", + "ReturnPartialSuccess", + }); internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(639); + getDescriptor().getMessageTypes().get(673); internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionNotificationEndpointsRequest_descriptor, @@ -26465,11 +27869,30 @@ private static void _clinit_autosplit_dinit_1() { "PageToken", "ReturnPartialSuccess", }); - internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(640); - internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_fieldAccessorTable = + internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_descriptor = + getDescriptor().getMessageTypes().get(674); + internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_descriptor, + new java.lang.String[] { + "Filter", + "MaxResults", + "OrderBy", + "PageToken", + "Project", + "Region", + "ReturnPartialSuccess", + "Filter", + "MaxResults", + "OrderBy", + "PageToken", + "ReturnPartialSuccess", + }); + internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_descriptor = + getDescriptor().getMessageTypes().get(675); + internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_compute_v1_ListRegionOperationsRequest_descriptor, + internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_descriptor, new java.lang.String[] { "Filter", "MaxResults", @@ -26485,7 +27908,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(641); + getDescriptor().getMessageTypes().get(676); internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionSslCertificatesRequest_descriptor, @@ -26504,7 +27927,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionTargetHttpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(642); + getDescriptor().getMessageTypes().get(677); internal_static_google_cloud_compute_v1_ListRegionTargetHttpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionTargetHttpProxiesRequest_descriptor, @@ -26523,7 +27946,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionTargetHttpsProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(643); + getDescriptor().getMessageTypes().get(678); internal_static_google_cloud_compute_v1_ListRegionTargetHttpsProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionTargetHttpsProxiesRequest_descriptor, @@ -26542,7 +27965,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionUrlMapsRequest_descriptor = - getDescriptor().getMessageTypes().get(644); + getDescriptor().getMessageTypes().get(679); internal_static_google_cloud_compute_v1_ListRegionUrlMapsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionUrlMapsRequest_descriptor, @@ -26561,7 +27984,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRegionsRequest_descriptor = - getDescriptor().getMessageTypes().get(645); + getDescriptor().getMessageTypes().get(680); internal_static_google_cloud_compute_v1_ListRegionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRegionsRequest_descriptor, @@ -26579,7 +28002,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListReservationsRequest_descriptor = - getDescriptor().getMessageTypes().get(646); + getDescriptor().getMessageTypes().get(681); internal_static_google_cloud_compute_v1_ListReservationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListReservationsRequest_descriptor, @@ -26598,7 +28021,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(647); + getDescriptor().getMessageTypes().get(682); internal_static_google_cloud_compute_v1_ListResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListResourcePoliciesRequest_descriptor, @@ -26617,7 +28040,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRoutersRequest_descriptor = - getDescriptor().getMessageTypes().get(648); + getDescriptor().getMessageTypes().get(683); internal_static_google_cloud_compute_v1_ListRoutersRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRoutersRequest_descriptor, @@ -26636,7 +28059,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListRoutesRequest_descriptor = - getDescriptor().getMessageTypes().get(649); + getDescriptor().getMessageTypes().get(684); internal_static_google_cloud_compute_v1_ListRoutesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListRoutesRequest_descriptor, @@ -26654,7 +28077,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListSecurityPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(650); + getDescriptor().getMessageTypes().get(685); internal_static_google_cloud_compute_v1_ListSecurityPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSecurityPoliciesRequest_descriptor, @@ -26672,7 +28095,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListServiceAttachmentsRequest_descriptor = - getDescriptor().getMessageTypes().get(651); + getDescriptor().getMessageTypes().get(686); internal_static_google_cloud_compute_v1_ListServiceAttachmentsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListServiceAttachmentsRequest_descriptor, @@ -26691,7 +28114,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListSnapshotsRequest_descriptor = - getDescriptor().getMessageTypes().get(652); + getDescriptor().getMessageTypes().get(687); internal_static_google_cloud_compute_v1_ListSnapshotsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSnapshotsRequest_descriptor, @@ -26709,7 +28132,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(653); + getDescriptor().getMessageTypes().get(688); internal_static_google_cloud_compute_v1_ListSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSslCertificatesRequest_descriptor, @@ -26727,7 +28150,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(654); + getDescriptor().getMessageTypes().get(689); internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSslPoliciesRequest_descriptor, @@ -26745,7 +28168,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListSubnetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(655); + getDescriptor().getMessageTypes().get(690); internal_static_google_cloud_compute_v1_ListSubnetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListSubnetworksRequest_descriptor, @@ -26764,7 +28187,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(656); + getDescriptor().getMessageTypes().get(691); internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetGrpcProxiesRequest_descriptor, @@ -26782,7 +28205,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetHttpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(657); + getDescriptor().getMessageTypes().get(692); internal_static_google_cloud_compute_v1_ListTargetHttpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetHttpProxiesRequest_descriptor, @@ -26800,7 +28223,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetHttpsProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(658); + getDescriptor().getMessageTypes().get(693); internal_static_google_cloud_compute_v1_ListTargetHttpsProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetHttpsProxiesRequest_descriptor, @@ -26818,7 +28241,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(659); + getDescriptor().getMessageTypes().get(694); internal_static_google_cloud_compute_v1_ListTargetInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetInstancesRequest_descriptor, @@ -26837,7 +28260,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(660); + getDescriptor().getMessageTypes().get(695); internal_static_google_cloud_compute_v1_ListTargetPoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetPoolsRequest_descriptor, @@ -26856,7 +28279,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetSslProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(661); + getDescriptor().getMessageTypes().get(696); internal_static_google_cloud_compute_v1_ListTargetSslProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetSslProxiesRequest_descriptor, @@ -26874,7 +28297,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetTcpProxiesRequest_descriptor = - getDescriptor().getMessageTypes().get(662); + getDescriptor().getMessageTypes().get(697); internal_static_google_cloud_compute_v1_ListTargetTcpProxiesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetTcpProxiesRequest_descriptor, @@ -26892,7 +28315,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListTargetVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(663); + getDescriptor().getMessageTypes().get(698); internal_static_google_cloud_compute_v1_ListTargetVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListTargetVpnGatewaysRequest_descriptor, @@ -26911,7 +28334,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListUrlMapsRequest_descriptor = - getDescriptor().getMessageTypes().get(664); + getDescriptor().getMessageTypes().get(699); internal_static_google_cloud_compute_v1_ListUrlMapsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListUrlMapsRequest_descriptor, @@ -26929,7 +28352,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListUsableSubnetworksRequest_descriptor = - getDescriptor().getMessageTypes().get(665); + getDescriptor().getMessageTypes().get(700); internal_static_google_cloud_compute_v1_ListUsableSubnetworksRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListUsableSubnetworksRequest_descriptor, @@ -26947,7 +28370,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListVpnGatewaysRequest_descriptor = - getDescriptor().getMessageTypes().get(666); + getDescriptor().getMessageTypes().get(701); internal_static_google_cloud_compute_v1_ListVpnGatewaysRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListVpnGatewaysRequest_descriptor, @@ -26966,7 +28389,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListVpnTunnelsRequest_descriptor = - getDescriptor().getMessageTypes().get(667); + getDescriptor().getMessageTypes().get(702); internal_static_google_cloud_compute_v1_ListVpnTunnelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListVpnTunnelsRequest_descriptor, @@ -26985,7 +28408,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListXpnHostsProjectsRequest_descriptor = - getDescriptor().getMessageTypes().get(668); + getDescriptor().getMessageTypes().get(703); internal_static_google_cloud_compute_v1_ListXpnHostsProjectsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListXpnHostsProjectsRequest_descriptor, @@ -27004,7 +28427,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListZoneOperationsRequest_descriptor = - getDescriptor().getMessageTypes().get(669); + getDescriptor().getMessageTypes().get(704); internal_static_google_cloud_compute_v1_ListZoneOperationsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListZoneOperationsRequest_descriptor, @@ -27023,7 +28446,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_ListZonesRequest_descriptor = - getDescriptor().getMessageTypes().get(670); + getDescriptor().getMessageTypes().get(705); internal_static_google_cloud_compute_v1_ListZonesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ListZonesRequest_descriptor, @@ -27041,7 +28464,7 @@ private static void _clinit_autosplit_dinit_1() { "ReturnPartialSuccess", }); internal_static_google_cloud_compute_v1_LocalDisk_descriptor = - getDescriptor().getMessageTypes().get(671); + getDescriptor().getMessageTypes().get(706); internal_static_google_cloud_compute_v1_LocalDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LocalDisk_descriptor, @@ -27049,7 +28472,7 @@ private static void _clinit_autosplit_dinit_1() { "DiskCount", "DiskSizeGb", "DiskType", "DiskCount", "DiskSizeGb", "DiskType", }); internal_static_google_cloud_compute_v1_LocationPolicy_descriptor = - getDescriptor().getMessageTypes().get(672); + getDescriptor().getMessageTypes().get(707); internal_static_google_cloud_compute_v1_LocationPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LocationPolicy_descriptor, @@ -27065,7 +28488,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_LocationPolicyLocation_descriptor = - getDescriptor().getMessageTypes().get(673); + getDescriptor().getMessageTypes().get(708); internal_static_google_cloud_compute_v1_LocationPolicyLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LocationPolicyLocation_descriptor, @@ -27073,7 +28496,7 @@ private static void _clinit_autosplit_dinit_1() { "Preference", "Preference", }); internal_static_google_cloud_compute_v1_LogConfig_descriptor = - getDescriptor().getMessageTypes().get(674); + getDescriptor().getMessageTypes().get(709); internal_static_google_cloud_compute_v1_LogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfig_descriptor, @@ -27081,7 +28504,7 @@ private static void _clinit_autosplit_dinit_1() { "CloudAudit", "Counter", "DataAccess", "CloudAudit", "Counter", "DataAccess", }); internal_static_google_cloud_compute_v1_LogConfigCloudAuditOptions_descriptor = - getDescriptor().getMessageTypes().get(675); + getDescriptor().getMessageTypes().get(710); internal_static_google_cloud_compute_v1_LogConfigCloudAuditOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfigCloudAuditOptions_descriptor, @@ -27089,7 +28512,7 @@ private static void _clinit_autosplit_dinit_1() { "AuthorizationLoggingOptions", "LogName", "AuthorizationLoggingOptions", "LogName", }); internal_static_google_cloud_compute_v1_LogConfigCounterOptions_descriptor = - getDescriptor().getMessageTypes().get(676); + getDescriptor().getMessageTypes().get(711); internal_static_google_cloud_compute_v1_LogConfigCounterOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfigCounterOptions_descriptor, @@ -27097,7 +28520,7 @@ private static void _clinit_autosplit_dinit_1() { "CustomFields", "Field", "Metric", "Field", "Metric", }); internal_static_google_cloud_compute_v1_LogConfigCounterOptionsCustomField_descriptor = - getDescriptor().getMessageTypes().get(677); + getDescriptor().getMessageTypes().get(712); internal_static_google_cloud_compute_v1_LogConfigCounterOptionsCustomField_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfigCounterOptionsCustomField_descriptor, @@ -27105,7 +28528,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", "Value", "Name", "Value", }); internal_static_google_cloud_compute_v1_LogConfigDataAccessOptions_descriptor = - getDescriptor().getMessageTypes().get(678); + getDescriptor().getMessageTypes().get(713); internal_static_google_cloud_compute_v1_LogConfigDataAccessOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_LogConfigDataAccessOptions_descriptor, @@ -27113,7 +28536,7 @@ private static void _clinit_autosplit_dinit_1() { "LogMode", "LogMode", }); internal_static_google_cloud_compute_v1_MachineImage_descriptor = - getDescriptor().getMessageTypes().get(679); + getDescriptor().getMessageTypes().get(714); internal_static_google_cloud_compute_v1_MachineImage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineImage_descriptor, @@ -27151,7 +28574,7 @@ private static void _clinit_autosplit_dinit_1() { "TotalStorageBytes", }); internal_static_google_cloud_compute_v1_MachineImageList_descriptor = - getDescriptor().getMessageTypes().get(680); + getDescriptor().getMessageTypes().get(715); internal_static_google_cloud_compute_v1_MachineImageList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineImageList_descriptor, @@ -27169,7 +28592,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_MachineType_descriptor = - getDescriptor().getMessageTypes().get(681); + getDescriptor().getMessageTypes().get(716); internal_static_google_cloud_compute_v1_MachineType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineType_descriptor, @@ -27206,7 +28629,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_MachineTypeAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(682); + getDescriptor().getMessageTypes().get(717); internal_static_google_cloud_compute_v1_MachineTypeAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineTypeAggregatedList_descriptor, @@ -27235,7 +28658,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_MachineTypeList_descriptor = - getDescriptor().getMessageTypes().get(683); + getDescriptor().getMessageTypes().get(718); internal_static_google_cloud_compute_v1_MachineTypeList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineTypeList_descriptor, @@ -27253,7 +28676,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_MachineTypesScopedList_descriptor = - getDescriptor().getMessageTypes().get(684); + getDescriptor().getMessageTypes().get(719); internal_static_google_cloud_compute_v1_MachineTypesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MachineTypesScopedList_descriptor, @@ -27261,7 +28684,7 @@ private static void _clinit_autosplit_dinit_1() { "MachineTypes", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_ManagedInstance_descriptor = - getDescriptor().getMessageTypes().get(685); + getDescriptor().getMessageTypes().get(720); internal_static_google_cloud_compute_v1_ManagedInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ManagedInstance_descriptor, @@ -27285,7 +28708,7 @@ private static void _clinit_autosplit_dinit_1() { "Version", }); internal_static_google_cloud_compute_v1_ManagedInstanceInstanceHealth_descriptor = - getDescriptor().getMessageTypes().get(686); + getDescriptor().getMessageTypes().get(721); internal_static_google_cloud_compute_v1_ManagedInstanceInstanceHealth_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ManagedInstanceInstanceHealth_descriptor, @@ -27293,7 +28716,7 @@ private static void _clinit_autosplit_dinit_1() { "DetailedHealthState", "HealthCheck", "DetailedHealthState", "HealthCheck", }); internal_static_google_cloud_compute_v1_ManagedInstanceLastAttempt_descriptor = - getDescriptor().getMessageTypes().get(687); + getDescriptor().getMessageTypes().get(722); internal_static_google_cloud_compute_v1_ManagedInstanceLastAttempt_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ManagedInstanceLastAttempt_descriptor, @@ -27301,7 +28724,7 @@ private static void _clinit_autosplit_dinit_1() { "Errors", "Errors", }); internal_static_google_cloud_compute_v1_ManagedInstanceVersion_descriptor = - getDescriptor().getMessageTypes().get(688); + getDescriptor().getMessageTypes().get(723); internal_static_google_cloud_compute_v1_ManagedInstanceVersion_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ManagedInstanceVersion_descriptor, @@ -27309,7 +28732,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceTemplate", "Name", "InstanceTemplate", "Name", }); internal_static_google_cloud_compute_v1_Metadata_descriptor = - getDescriptor().getMessageTypes().get(689); + getDescriptor().getMessageTypes().get(724); internal_static_google_cloud_compute_v1_Metadata_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Metadata_descriptor, @@ -27317,7 +28740,7 @@ private static void _clinit_autosplit_dinit_1() { "Fingerprint", "Items", "Kind", "Fingerprint", "Kind", }); internal_static_google_cloud_compute_v1_MetadataFilter_descriptor = - getDescriptor().getMessageTypes().get(690); + getDescriptor().getMessageTypes().get(725); internal_static_google_cloud_compute_v1_MetadataFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MetadataFilter_descriptor, @@ -27325,7 +28748,7 @@ private static void _clinit_autosplit_dinit_1() { "FilterLabels", "FilterMatchCriteria", "FilterMatchCriteria", }); internal_static_google_cloud_compute_v1_MetadataFilterLabelMatch_descriptor = - getDescriptor().getMessageTypes().get(691); + getDescriptor().getMessageTypes().get(726); internal_static_google_cloud_compute_v1_MetadataFilterLabelMatch_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MetadataFilterLabelMatch_descriptor, @@ -27333,7 +28756,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", "Value", "Name", "Value", }); internal_static_google_cloud_compute_v1_MoveDiskProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(692); + getDescriptor().getMessageTypes().get(727); internal_static_google_cloud_compute_v1_MoveDiskProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MoveDiskProjectRequest_descriptor, @@ -27341,7 +28764,7 @@ private static void _clinit_autosplit_dinit_1() { "DiskMoveRequestResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_MoveFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(693); + getDescriptor().getMessageTypes().get(728); internal_static_google_cloud_compute_v1_MoveFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MoveFirewallPolicyRequest_descriptor, @@ -27349,7 +28772,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicy", "ParentId", "RequestId", "ParentId", "RequestId", }); internal_static_google_cloud_compute_v1_MoveInstanceProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(694); + getDescriptor().getMessageTypes().get(729); internal_static_google_cloud_compute_v1_MoveInstanceProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_MoveInstanceProjectRequest_descriptor, @@ -27357,7 +28780,7 @@ private static void _clinit_autosplit_dinit_1() { "InstanceMoveRequestResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_NamedPort_descriptor = - getDescriptor().getMessageTypes().get(695); + getDescriptor().getMessageTypes().get(730); internal_static_google_cloud_compute_v1_NamedPort_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NamedPort_descriptor, @@ -27365,7 +28788,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", "Port", "Name", "Port", }); internal_static_google_cloud_compute_v1_Network_descriptor = - getDescriptor().getMessageTypes().get(696); + getDescriptor().getMessageTypes().get(731); internal_static_google_cloud_compute_v1_Network_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Network_descriptor, @@ -27374,29 +28797,103 @@ private static void _clinit_autosplit_dinit_1() { "AutoCreateSubnetworks", "CreationTimestamp", "Description", + "EnableUlaInternalIpv6", "GatewayIPv4", "Id", + "InternalIpv6Range", "Kind", "Mtu", "Name", + "NetworkFirewallPolicyEnforcementOrder", "Peerings", "RoutingConfig", "SelfLink", + "SelfLinkWithId", "Subnetworks", "IPv4Range", "AutoCreateSubnetworks", "CreationTimestamp", "Description", + "EnableUlaInternalIpv6", "GatewayIPv4", "Id", + "InternalIpv6Range", "Kind", "Mtu", "Name", + "NetworkFirewallPolicyEnforcementOrder", "RoutingConfig", "SelfLink", + "SelfLinkWithId", + }); + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_descriptor = + getDescriptor().getMessageTypes().get(732); + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_descriptor, + new java.lang.String[] { + "CreationTimestamp", + "Description", + "Fingerprint", + "Id", + "Kind", + "Name", + "Region", + "SecurityPolicy", + "SelfLink", + "SelfLinkWithId", + "CreationTimestamp", + "Description", + "Fingerprint", + "Id", + "Kind", + "Name", + "Region", + "SecurityPolicy", + "SelfLink", + "SelfLinkWithId", + }); + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor = + getDescriptor().getMessageTypes().get(733); + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor, + new java.lang.String[] { + "Etag", + "Id", + "Items", + "Kind", + "NextPageToken", + "SelfLink", + "Unreachables", + "Warning", + "Etag", + "Id", + "Kind", + "NextPageToken", + "SelfLink", + "Warning", + }); + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_ItemsEntry_descriptor = + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_ItemsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_ItemsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_descriptor = + getDescriptor().getMessageTypes().get(734); + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_descriptor, + new java.lang.String[] { + "NetworkEdgeSecurityServices", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_NetworkEndpoint_descriptor = - getDescriptor().getMessageTypes().get(697); + getDescriptor().getMessageTypes().get(735); internal_static_google_cloud_compute_v1_NetworkEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpoint_descriptor, @@ -27420,7 +28917,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroup_descriptor = - getDescriptor().getMessageTypes().get(698); + getDescriptor().getMessageTypes().get(736); internal_static_google_cloud_compute_v1_NetworkEndpointGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroup_descriptor, @@ -27471,8 +28968,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_NetworkEndpointGroupAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(699); + getDescriptor().getMessageTypes().get(737); internal_static_google_cloud_compute_v1_NetworkEndpointGroupAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupAggregatedList_descriptor, @@ -27501,7 +29002,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupAppEngine_descriptor = - getDescriptor().getMessageTypes().get(700); + getDescriptor().getMessageTypes().get(738); internal_static_google_cloud_compute_v1_NetworkEndpointGroupAppEngine_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupAppEngine_descriptor, @@ -27509,7 +29010,7 @@ private static void _clinit_autosplit_dinit_1() { "Service", "UrlMask", "Version", "Service", "UrlMask", "Version", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudFunction_descriptor = - getDescriptor().getMessageTypes().get(701); + getDescriptor().getMessageTypes().get(739); internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudFunction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudFunction_descriptor, @@ -27517,7 +29018,7 @@ private static void _clinit_autosplit_dinit_1() { "Function", "UrlMask", "Function", "UrlMask", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudRun_descriptor = - getDescriptor().getMessageTypes().get(702); + getDescriptor().getMessageTypes().get(740); internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudRun_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupCloudRun_descriptor, @@ -27525,7 +29026,7 @@ private static void _clinit_autosplit_dinit_1() { "Service", "Tag", "UrlMask", "Service", "Tag", "UrlMask", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupList_descriptor = - getDescriptor().getMessageTypes().get(703); + getDescriptor().getMessageTypes().get(741); internal_static_google_cloud_compute_v1_NetworkEndpointGroupList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupList_descriptor, @@ -27543,7 +29044,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsAttachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(704); + getDescriptor().getMessageTypes().get(742); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsAttachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsAttachEndpointsRequest_descriptor, @@ -27551,7 +29052,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsDetachEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(705); + getDescriptor().getMessageTypes().get(743); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsDetachEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsDetachEndpointsRequest_descriptor, @@ -27559,7 +29060,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpoints", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListEndpointsRequest_descriptor = - getDescriptor().getMessageTypes().get(706); + getDescriptor().getMessageTypes().get(744); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListEndpointsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListEndpointsRequest_descriptor, @@ -27567,7 +29068,7 @@ private static void _clinit_autosplit_dinit_1() { "HealthStatus", "HealthStatus", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListNetworkEndpoints_descriptor = - getDescriptor().getMessageTypes().get(707); + getDescriptor().getMessageTypes().get(745); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListNetworkEndpoints_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsListNetworkEndpoints_descriptor, @@ -27583,7 +29084,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsScopedList_descriptor = - getDescriptor().getMessageTypes().get(708); + getDescriptor().getMessageTypes().get(746); internal_static_google_cloud_compute_v1_NetworkEndpointGroupsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointGroupsScopedList_descriptor, @@ -27591,7 +29092,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkEndpointGroups", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_NetworkEndpointWithHealthStatus_descriptor = - getDescriptor().getMessageTypes().get(709); + getDescriptor().getMessageTypes().get(747); internal_static_google_cloud_compute_v1_NetworkEndpointWithHealthStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkEndpointWithHealthStatus_descriptor, @@ -27599,7 +29100,7 @@ private static void _clinit_autosplit_dinit_1() { "Healths", "NetworkEndpoint", "NetworkEndpoint", }); internal_static_google_cloud_compute_v1_NetworkInterface_descriptor = - getDescriptor().getMessageTypes().get(710); + getDescriptor().getMessageTypes().get(748); internal_static_google_cloud_compute_v1_NetworkInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkInterface_descriptor, @@ -27607,6 +29108,7 @@ private static void _clinit_autosplit_dinit_1() { "AccessConfigs", "AliasIpRanges", "Fingerprint", + "InternalIpv6PrefixLength", "Ipv6AccessConfigs", "Ipv6AccessType", "Ipv6Address", @@ -27619,6 +29121,7 @@ private static void _clinit_autosplit_dinit_1() { "StackType", "Subnetwork", "Fingerprint", + "InternalIpv6PrefixLength", "Ipv6AccessType", "Ipv6Address", "Kind", @@ -27631,7 +29134,7 @@ private static void _clinit_autosplit_dinit_1() { "Subnetwork", }); internal_static_google_cloud_compute_v1_NetworkList_descriptor = - getDescriptor().getMessageTypes().get(711); + getDescriptor().getMessageTypes().get(749); internal_static_google_cloud_compute_v1_NetworkList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkList_descriptor, @@ -27649,7 +29152,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_NetworkPeering_descriptor = - getDescriptor().getMessageTypes().get(712); + getDescriptor().getMessageTypes().get(750); internal_static_google_cloud_compute_v1_NetworkPeering_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkPeering_descriptor, @@ -27678,7 +29181,7 @@ private static void _clinit_autosplit_dinit_1() { "StateDetails", }); internal_static_google_cloud_compute_v1_NetworkPerformanceConfig_descriptor = - getDescriptor().getMessageTypes().get(713); + getDescriptor().getMessageTypes().get(751); internal_static_google_cloud_compute_v1_NetworkPerformanceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkPerformanceConfig_descriptor, @@ -27686,7 +29189,7 @@ private static void _clinit_autosplit_dinit_1() { "TotalEgressBandwidthTier", "TotalEgressBandwidthTier", }); internal_static_google_cloud_compute_v1_NetworkRoutingConfig_descriptor = - getDescriptor().getMessageTypes().get(714); + getDescriptor().getMessageTypes().get(752); internal_static_google_cloud_compute_v1_NetworkRoutingConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworkRoutingConfig_descriptor, @@ -27694,7 +29197,7 @@ private static void _clinit_autosplit_dinit_1() { "RoutingMode", "RoutingMode", }); internal_static_google_cloud_compute_v1_NetworksAddPeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(715); + getDescriptor().getMessageTypes().get(753); internal_static_google_cloud_compute_v1_NetworksAddPeeringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksAddPeeringRequest_descriptor, @@ -27709,7 +29212,7 @@ private static void _clinit_autosplit_dinit_1() { "PeerNetwork", }); internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponse_descriptor = - getDescriptor().getMessageTypes().get(716); + getDescriptor().getMessageTypes().get(754); internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponse_descriptor, @@ -27717,7 +29220,7 @@ private static void _clinit_autosplit_dinit_1() { "FirewallPolicys", "Firewalls", }); internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor = - getDescriptor().getMessageTypes().get(717); + getDescriptor().getMessageTypes().get(755); internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor, @@ -27733,7 +29236,7 @@ private static void _clinit_autosplit_dinit_1() { "Type", }); internal_static_google_cloud_compute_v1_NetworksRemovePeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(718); + getDescriptor().getMessageTypes().get(756); internal_static_google_cloud_compute_v1_NetworksRemovePeeringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksRemovePeeringRequest_descriptor, @@ -27741,7 +29244,7 @@ private static void _clinit_autosplit_dinit_1() { "Name", "Name", }); internal_static_google_cloud_compute_v1_NetworksUpdatePeeringRequest_descriptor = - getDescriptor().getMessageTypes().get(719); + getDescriptor().getMessageTypes().get(757); internal_static_google_cloud_compute_v1_NetworksUpdatePeeringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NetworksUpdatePeeringRequest_descriptor, @@ -27749,7 +29252,7 @@ private static void _clinit_autosplit_dinit_1() { "NetworkPeering", "NetworkPeering", }); internal_static_google_cloud_compute_v1_NodeGroup_descriptor = - getDescriptor().getMessageTypes().get(720); + getDescriptor().getMessageTypes().get(758); internal_static_google_cloud_compute_v1_NodeGroup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroup_descriptor, @@ -27786,7 +29289,7 @@ private static void _clinit_autosplit_dinit_1() { "Zone", }); internal_static_google_cloud_compute_v1_NodeGroupAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(721); + getDescriptor().getMessageTypes().get(759); internal_static_google_cloud_compute_v1_NodeGroupAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupAggregatedList_descriptor, @@ -27815,7 +29318,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NodeGroupAutoscalingPolicy_descriptor = - getDescriptor().getMessageTypes().get(722); + getDescriptor().getMessageTypes().get(760); internal_static_google_cloud_compute_v1_NodeGroupAutoscalingPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupAutoscalingPolicy_descriptor, @@ -27823,7 +29326,7 @@ private static void _clinit_autosplit_dinit_1() { "MaxNodes", "MinNodes", "Mode", "MaxNodes", "MinNodes", "Mode", }); internal_static_google_cloud_compute_v1_NodeGroupList_descriptor = - getDescriptor().getMessageTypes().get(723); + getDescriptor().getMessageTypes().get(761); internal_static_google_cloud_compute_v1_NodeGroupList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupList_descriptor, @@ -27841,7 +29344,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_NodeGroupMaintenanceWindow_descriptor = - getDescriptor().getMessageTypes().get(724); + getDescriptor().getMessageTypes().get(762); internal_static_google_cloud_compute_v1_NodeGroupMaintenanceWindow_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupMaintenanceWindow_descriptor, @@ -27849,7 +29352,7 @@ private static void _clinit_autosplit_dinit_1() { "MaintenanceDuration", "StartTime", "MaintenanceDuration", "StartTime", }); internal_static_google_cloud_compute_v1_NodeGroupNode_descriptor = - getDescriptor().getMessageTypes().get(725); + getDescriptor().getMessageTypes().get(763); internal_static_google_cloud_compute_v1_NodeGroupNode_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupNode_descriptor, @@ -27873,7 +29376,7 @@ private static void _clinit_autosplit_dinit_1() { "Status", }); internal_static_google_cloud_compute_v1_NodeGroupsAddNodesRequest_descriptor = - getDescriptor().getMessageTypes().get(726); + getDescriptor().getMessageTypes().get(764); internal_static_google_cloud_compute_v1_NodeGroupsAddNodesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsAddNodesRequest_descriptor, @@ -27881,7 +29384,7 @@ private static void _clinit_autosplit_dinit_1() { "AdditionalNodeCount", "AdditionalNodeCount", }); internal_static_google_cloud_compute_v1_NodeGroupsDeleteNodesRequest_descriptor = - getDescriptor().getMessageTypes().get(727); + getDescriptor().getMessageTypes().get(765); internal_static_google_cloud_compute_v1_NodeGroupsDeleteNodesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsDeleteNodesRequest_descriptor, @@ -27889,7 +29392,7 @@ private static void _clinit_autosplit_dinit_1() { "Nodes", }); internal_static_google_cloud_compute_v1_NodeGroupsListNodes_descriptor = - getDescriptor().getMessageTypes().get(728); + getDescriptor().getMessageTypes().get(766); internal_static_google_cloud_compute_v1_NodeGroupsListNodes_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsListNodes_descriptor, @@ -27907,7 +29410,7 @@ private static void _clinit_autosplit_dinit_1() { "Warning", }); internal_static_google_cloud_compute_v1_NodeGroupsScopedList_descriptor = - getDescriptor().getMessageTypes().get(729); + getDescriptor().getMessageTypes().get(767); internal_static_google_cloud_compute_v1_NodeGroupsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsScopedList_descriptor, @@ -27915,7 +29418,7 @@ private static void _clinit_autosplit_dinit_1() { "NodeGroups", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_NodeGroupsSetNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(730); + getDescriptor().getMessageTypes().get(768); internal_static_google_cloud_compute_v1_NodeGroupsSetNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeGroupsSetNodeTemplateRequest_descriptor, @@ -27923,7 +29426,7 @@ private static void _clinit_autosplit_dinit_1() { "NodeTemplate", "NodeTemplate", }); internal_static_google_cloud_compute_v1_NodeTemplate_descriptor = - getDescriptor().getMessageTypes().get(731); + getDescriptor().getMessageTypes().get(769); internal_static_google_cloud_compute_v1_NodeTemplate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplate_descriptor, @@ -27967,7 +29470,7 @@ private static void _clinit_autosplit_dinit_1() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NodeTemplateAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(732); + getDescriptor().getMessageTypes().get(770); internal_static_google_cloud_compute_v1_NodeTemplateAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplateAggregatedList_descriptor, @@ -27995,12 +29498,8 @@ 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_NodeTemplateList_descriptor = - getDescriptor().getMessageTypes().get(733); + getDescriptor().getMessageTypes().get(771); internal_static_google_cloud_compute_v1_NodeTemplateList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplateList_descriptor, @@ -28018,7 +29517,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_NodeTemplateNodeTypeFlexibility_descriptor = - getDescriptor().getMessageTypes().get(734); + getDescriptor().getMessageTypes().get(772); internal_static_google_cloud_compute_v1_NodeTemplateNodeTypeFlexibility_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplateNodeTypeFlexibility_descriptor, @@ -28026,7 +29525,7 @@ private static void _clinit_autosplit_dinit_2() { "Cpus", "LocalSsd", "Memory", "Cpus", "LocalSsd", "Memory", }); internal_static_google_cloud_compute_v1_NodeTemplatesScopedList_descriptor = - getDescriptor().getMessageTypes().get(735); + getDescriptor().getMessageTypes().get(773); internal_static_google_cloud_compute_v1_NodeTemplatesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTemplatesScopedList_descriptor, @@ -28034,7 +29533,7 @@ private static void _clinit_autosplit_dinit_2() { "NodeTemplates", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_NodeType_descriptor = - getDescriptor().getMessageTypes().get(736); + getDescriptor().getMessageTypes().get(774); internal_static_google_cloud_compute_v1_NodeType_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeType_descriptor, @@ -28065,7 +29564,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_NodeTypeAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(737); + getDescriptor().getMessageTypes().get(775); internal_static_google_cloud_compute_v1_NodeTypeAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTypeAggregatedList_descriptor, @@ -28094,7 +29593,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_NodeTypeList_descriptor = - getDescriptor().getMessageTypes().get(738); + getDescriptor().getMessageTypes().get(776); internal_static_google_cloud_compute_v1_NodeTypeList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTypeList_descriptor, @@ -28112,7 +29611,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_NodeTypesScopedList_descriptor = - getDescriptor().getMessageTypes().get(739); + getDescriptor().getMessageTypes().get(777); internal_static_google_cloud_compute_v1_NodeTypesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NodeTypesScopedList_descriptor, @@ -28120,7 +29619,7 @@ private static void _clinit_autosplit_dinit_2() { "NodeTypes", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_NotificationEndpoint_descriptor = - getDescriptor().getMessageTypes().get(740); + getDescriptor().getMessageTypes().get(778); internal_static_google_cloud_compute_v1_NotificationEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NotificationEndpoint_descriptor, @@ -28143,7 +29642,7 @@ private static void _clinit_autosplit_dinit_2() { "SelfLink", }); internal_static_google_cloud_compute_v1_NotificationEndpointGrpcSettings_descriptor = - getDescriptor().getMessageTypes().get(741); + getDescriptor().getMessageTypes().get(779); internal_static_google_cloud_compute_v1_NotificationEndpointGrpcSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NotificationEndpointGrpcSettings_descriptor, @@ -28160,7 +29659,7 @@ private static void _clinit_autosplit_dinit_2() { "RetryDurationSec", }); internal_static_google_cloud_compute_v1_NotificationEndpointList_descriptor = - getDescriptor().getMessageTypes().get(742); + getDescriptor().getMessageTypes().get(780); internal_static_google_cloud_compute_v1_NotificationEndpointList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_NotificationEndpointList_descriptor, @@ -28178,7 +29677,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_Operation_descriptor = - getDescriptor().getMessageTypes().get(743); + getDescriptor().getMessageTypes().get(781); internal_static_google_cloud_compute_v1_Operation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Operation_descriptor, @@ -28232,7 +29731,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_OperationAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(744); + getDescriptor().getMessageTypes().get(782); internal_static_google_cloud_compute_v1_OperationAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_OperationAggregatedList_descriptor, @@ -28261,7 +29760,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_OperationList_descriptor = - getDescriptor().getMessageTypes().get(745); + getDescriptor().getMessageTypes().get(783); internal_static_google_cloud_compute_v1_OperationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_OperationList_descriptor, @@ -28279,7 +29778,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_OperationsScopedList_descriptor = - getDescriptor().getMessageTypes().get(746); + getDescriptor().getMessageTypes().get(784); internal_static_google_cloud_compute_v1_OperationsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_OperationsScopedList_descriptor, @@ -28287,7 +29786,7 @@ private static void _clinit_autosplit_dinit_2() { "Operations", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_OutlierDetection_descriptor = - getDescriptor().getMessageTypes().get(747); + getDescriptor().getMessageTypes().get(785); internal_static_google_cloud_compute_v1_OutlierDetection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_OutlierDetection_descriptor, @@ -28316,7 +29815,7 @@ private static void _clinit_autosplit_dinit_2() { "SuccessRateStdevFactor", }); internal_static_google_cloud_compute_v1_PacketIntervals_descriptor = - getDescriptor().getMessageTypes().get(748); + getDescriptor().getMessageTypes().get(786); internal_static_google_cloud_compute_v1_PacketIntervals_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketIntervals_descriptor, @@ -28335,7 +29834,7 @@ private static void _clinit_autosplit_dinit_2() { "Type", }); internal_static_google_cloud_compute_v1_PacketMirroring_descriptor = - getDescriptor().getMessageTypes().get(749); + getDescriptor().getMessageTypes().get(787); internal_static_google_cloud_compute_v1_PacketMirroring_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroring_descriptor, @@ -28368,7 +29867,7 @@ private static void _clinit_autosplit_dinit_2() { "SelfLink", }); internal_static_google_cloud_compute_v1_PacketMirroringAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(750); + getDescriptor().getMessageTypes().get(788); internal_static_google_cloud_compute_v1_PacketMirroringAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringAggregatedList_descriptor, @@ -28397,7 +29896,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_PacketMirroringFilter_descriptor = - getDescriptor().getMessageTypes().get(751); + getDescriptor().getMessageTypes().get(789); internal_static_google_cloud_compute_v1_PacketMirroringFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringFilter_descriptor, @@ -28405,7 +29904,7 @@ private static void _clinit_autosplit_dinit_2() { "IPProtocols", "CidrRanges", "Direction", "Direction", }); internal_static_google_cloud_compute_v1_PacketMirroringForwardingRuleInfo_descriptor = - getDescriptor().getMessageTypes().get(752); + getDescriptor().getMessageTypes().get(790); internal_static_google_cloud_compute_v1_PacketMirroringForwardingRuleInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringForwardingRuleInfo_descriptor, @@ -28413,7 +29912,7 @@ private static void _clinit_autosplit_dinit_2() { "CanonicalUrl", "Url", "CanonicalUrl", "Url", }); internal_static_google_cloud_compute_v1_PacketMirroringList_descriptor = - getDescriptor().getMessageTypes().get(753); + getDescriptor().getMessageTypes().get(791); internal_static_google_cloud_compute_v1_PacketMirroringList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringList_descriptor, @@ -28431,7 +29930,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfo_descriptor = - getDescriptor().getMessageTypes().get(754); + getDescriptor().getMessageTypes().get(792); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfo_descriptor, @@ -28439,7 +29938,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", "Subnetworks", "Tags", }); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoInstanceInfo_descriptor = - getDescriptor().getMessageTypes().get(755); + getDescriptor().getMessageTypes().get(793); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoInstanceInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoInstanceInfo_descriptor, @@ -28447,7 +29946,7 @@ private static void _clinit_autosplit_dinit_2() { "CanonicalUrl", "Url", "CanonicalUrl", "Url", }); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoSubnetInfo_descriptor = - getDescriptor().getMessageTypes().get(756); + getDescriptor().getMessageTypes().get(794); internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoSubnetInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringMirroredResourceInfoSubnetInfo_descriptor, @@ -28455,7 +29954,7 @@ private static void _clinit_autosplit_dinit_2() { "CanonicalUrl", "Url", "CanonicalUrl", "Url", }); internal_static_google_cloud_compute_v1_PacketMirroringNetworkInfo_descriptor = - getDescriptor().getMessageTypes().get(757); + getDescriptor().getMessageTypes().get(795); internal_static_google_cloud_compute_v1_PacketMirroringNetworkInfo_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringNetworkInfo_descriptor, @@ -28463,7 +29962,7 @@ private static void _clinit_autosplit_dinit_2() { "CanonicalUrl", "Url", "CanonicalUrl", "Url", }); internal_static_google_cloud_compute_v1_PacketMirroringsScopedList_descriptor = - getDescriptor().getMessageTypes().get(758); + getDescriptor().getMessageTypes().get(796); internal_static_google_cloud_compute_v1_PacketMirroringsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PacketMirroringsScopedList_descriptor, @@ -28471,7 +29970,7 @@ private static void _clinit_autosplit_dinit_2() { "PacketMirrorings", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_PatchAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(759); + getDescriptor().getMessageTypes().get(797); internal_static_google_cloud_compute_v1_PatchAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchAutoscalerRequest_descriptor, @@ -28485,7 +29984,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(760); + getDescriptor().getMessageTypes().get(798); internal_static_google_cloud_compute_v1_PatchBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchBackendBucketRequest_descriptor, @@ -28493,7 +29992,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendBucket", "BackendBucketResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_PatchBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(761); + getDescriptor().getMessageTypes().get(799); internal_static_google_cloud_compute_v1_PatchBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchBackendServiceRequest_descriptor, @@ -28501,7 +30000,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendService", "BackendServiceResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_PatchFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(762); + getDescriptor().getMessageTypes().get(800); internal_static_google_cloud_compute_v1_PatchFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchFirewallPolicyRequest_descriptor, @@ -28509,7 +30008,7 @@ private static void _clinit_autosplit_dinit_2() { "FirewallPolicy", "FirewallPolicyResource", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_PatchFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(763); + getDescriptor().getMessageTypes().get(801); internal_static_google_cloud_compute_v1_PatchFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchFirewallRequest_descriptor, @@ -28517,7 +30016,7 @@ private static void _clinit_autosplit_dinit_2() { "Firewall", "FirewallResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_PatchForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(764); + getDescriptor().getMessageTypes().get(802); internal_static_google_cloud_compute_v1_PatchForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchForwardingRuleRequest_descriptor, @@ -28530,7 +30029,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(765); + getDescriptor().getMessageTypes().get(803); internal_static_google_cloud_compute_v1_PatchGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchGlobalForwardingRuleRequest_descriptor, @@ -28538,7 +30037,7 @@ private static void _clinit_autosplit_dinit_2() { "ForwardingRule", "ForwardingRuleResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_PatchGlobalPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(766); + getDescriptor().getMessageTypes().get(804); internal_static_google_cloud_compute_v1_PatchGlobalPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchGlobalPublicDelegatedPrefixeRequest_descriptor, @@ -28550,7 +30049,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(767); + getDescriptor().getMessageTypes().get(805); internal_static_google_cloud_compute_v1_PatchHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchHealthCheckRequest_descriptor, @@ -28558,7 +30057,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthCheck", "HealthCheckResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_PatchImageRequest_descriptor = - getDescriptor().getMessageTypes().get(768); + getDescriptor().getMessageTypes().get(806); internal_static_google_cloud_compute_v1_PatchImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchImageRequest_descriptor, @@ -28566,7 +30065,7 @@ private static void _clinit_autosplit_dinit_2() { "Image", "ImageResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(769); + getDescriptor().getMessageTypes().get(807); internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchInstanceGroupManagerRequest_descriptor, @@ -28579,7 +30078,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(770); + getDescriptor().getMessageTypes().get(808); internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchInterconnectAttachmentRequest_descriptor, @@ -28592,15 +30091,40 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchInterconnectRequest_descriptor = - getDescriptor().getMessageTypes().get(771); + getDescriptor().getMessageTypes().get(809); internal_static_google_cloud_compute_v1_PatchInterconnectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchInterconnectRequest_descriptor, new java.lang.String[] { "Interconnect", "InterconnectResource", "Project", "RequestId", "RequestId", }); + internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_descriptor = + getDescriptor().getMessageTypes().get(810); + internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_descriptor, + new java.lang.String[] { + "NetworkEdgeSecurityService", + "NetworkEdgeSecurityServiceResource", + "Paths", + "Project", + "Region", + "RequestId", + "UpdateMask", + "Paths", + "RequestId", + "UpdateMask", + }); + internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(811); + internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "FirewallPolicyResource", "Project", "RequestId", "RequestId", + }); internal_static_google_cloud_compute_v1_PatchNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(772); + getDescriptor().getMessageTypes().get(812); internal_static_google_cloud_compute_v1_PatchNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchNetworkRequest_descriptor, @@ -28608,7 +30132,7 @@ private static void _clinit_autosplit_dinit_2() { "Network", "NetworkResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_PatchNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(773); + getDescriptor().getMessageTypes().get(813); internal_static_google_cloud_compute_v1_PatchNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchNodeGroupRequest_descriptor, @@ -28616,7 +30140,7 @@ private static void _clinit_autosplit_dinit_2() { "NodeGroup", "NodeGroupResource", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_PatchPacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(774); + getDescriptor().getMessageTypes().get(814); internal_static_google_cloud_compute_v1_PatchPacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPacketMirroringRequest_descriptor, @@ -28629,7 +30153,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(775); + getDescriptor().getMessageTypes().get(815); internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsInstanceGroupManagerRequest_descriptor, @@ -28642,7 +30166,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(776); + getDescriptor().getMessageTypes().get(816); internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor, @@ -28655,7 +30179,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchPublicAdvertisedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(777); + getDescriptor().getMessageTypes().get(817); internal_static_google_cloud_compute_v1_PatchPublicAdvertisedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPublicAdvertisedPrefixeRequest_descriptor, @@ -28667,7 +30191,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchPublicDelegatedPrefixeRequest_descriptor = - getDescriptor().getMessageTypes().get(778); + getDescriptor().getMessageTypes().get(818); internal_static_google_cloud_compute_v1_PatchPublicDelegatedPrefixeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchPublicDelegatedPrefixeRequest_descriptor, @@ -28680,7 +30204,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(779); + getDescriptor().getMessageTypes().get(819); internal_static_google_cloud_compute_v1_PatchRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionAutoscalerRequest_descriptor, @@ -28694,7 +30218,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(780); + getDescriptor().getMessageTypes().get(820); internal_static_google_cloud_compute_v1_PatchRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionBackendServiceRequest_descriptor, @@ -28707,7 +30231,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(781); + getDescriptor().getMessageTypes().get(821); internal_static_google_cloud_compute_v1_PatchRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionHealthCheckRequest_descriptor, @@ -28715,7 +30239,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthCheck", "HealthCheckResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionHealthCheckServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(782); + getDescriptor().getMessageTypes().get(822); internal_static_google_cloud_compute_v1_PatchRegionHealthCheckServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionHealthCheckServiceRequest_descriptor, @@ -28728,7 +30252,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(783); + getDescriptor().getMessageTypes().get(823); internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionInstanceGroupManagerRequest_descriptor, @@ -28740,8 +30264,47 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", "RequestId", }); + internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(824); + internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", + "FirewallPolicyResource", + "Project", + "Region", + "RequestId", + "RequestId", + }); + internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(825); + internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_descriptor, + new java.lang.String[] { + "Project", + "Region", + "RequestId", + "SecurityPolicy", + "SecurityPolicyResource", + "RequestId", + }); + internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_descriptor = + getDescriptor().getMessageTypes().get(826); + internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_descriptor, + new java.lang.String[] { + "Project", + "Region", + "RequestId", + "TargetHttpsProxy", + "TargetHttpsProxyResource", + "RequestId", + }); internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(784); + getDescriptor().getMessageTypes().get(827); internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRegionUrlMapRequest_descriptor, @@ -28749,7 +30312,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "UrlMap", "UrlMapResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(785); + getDescriptor().getMessageTypes().get(828); internal_static_google_cloud_compute_v1_PatchRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRouterRequest_descriptor, @@ -28757,7 +30320,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RequestId", "Router", "RouterResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(786); + getDescriptor().getMessageTypes().get(829); internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRuleFirewallPolicyRequest_descriptor, @@ -28769,8 +30332,37 @@ private static void _clinit_autosplit_dinit_2() { "Priority", "RequestId", }); + internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(830); + internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", + "FirewallPolicyRuleResource", + "Priority", + "Project", + "RequestId", + "Priority", + "RequestId", + }); + internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(831); + internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", + "FirewallPolicyRuleResource", + "Priority", + "Project", + "Region", + "RequestId", + "Priority", + "RequestId", + }); internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(787); + getDescriptor().getMessageTypes().get(832); internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchRuleSecurityPolicyRequest_descriptor, @@ -28778,7 +30370,7 @@ private static void _clinit_autosplit_dinit_2() { "Priority", "Project", "SecurityPolicy", "SecurityPolicyRuleResource", "Priority", }); internal_static_google_cloud_compute_v1_PatchSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(788); + getDescriptor().getMessageTypes().get(833); internal_static_google_cloud_compute_v1_PatchSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchSecurityPolicyRequest_descriptor, @@ -28786,7 +30378,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SecurityPolicy", "SecurityPolicyResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(789); + getDescriptor().getMessageTypes().get(834); internal_static_google_cloud_compute_v1_PatchServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchServiceAttachmentRequest_descriptor, @@ -28799,7 +30391,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchSslPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(790); + getDescriptor().getMessageTypes().get(835); internal_static_google_cloud_compute_v1_PatchSslPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchSslPolicyRequest_descriptor, @@ -28807,7 +30399,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SslPolicy", "SslPolicyResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(791); + getDescriptor().getMessageTypes().get(836); internal_static_google_cloud_compute_v1_PatchSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchSubnetworkRequest_descriptor, @@ -28822,7 +30414,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_PatchTargetGrpcProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(792); + getDescriptor().getMessageTypes().get(837); internal_static_google_cloud_compute_v1_PatchTargetGrpcProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchTargetGrpcProxyRequest_descriptor, @@ -28830,7 +30422,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetGrpcProxy", "TargetGrpcProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(793); + getDescriptor().getMessageTypes().get(838); internal_static_google_cloud_compute_v1_PatchTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchTargetHttpProxyRequest_descriptor, @@ -28838,7 +30430,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetHttpProxy", "TargetHttpProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(794); + getDescriptor().getMessageTypes().get(839); internal_static_google_cloud_compute_v1_PatchTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchTargetHttpsProxyRequest_descriptor, @@ -28846,7 +30438,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetHttpsProxy", "TargetHttpsProxyResource", "RequestId", }); internal_static_google_cloud_compute_v1_PatchUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(795); + getDescriptor().getMessageTypes().get(840); internal_static_google_cloud_compute_v1_PatchUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PatchUrlMapRequest_descriptor, @@ -28854,7 +30446,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "UrlMap", "UrlMapResource", "RequestId", }); internal_static_google_cloud_compute_v1_PathMatcher_descriptor = - getDescriptor().getMessageTypes().get(796); + getDescriptor().getMessageTypes().get(841); internal_static_google_cloud_compute_v1_PathMatcher_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PathMatcher_descriptor, @@ -28875,7 +30467,7 @@ private static void _clinit_autosplit_dinit_2() { "Name", }); internal_static_google_cloud_compute_v1_PathRule_descriptor = - getDescriptor().getMessageTypes().get(797); + getDescriptor().getMessageTypes().get(842); internal_static_google_cloud_compute_v1_PathRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PathRule_descriptor, @@ -28889,7 +30481,7 @@ private static void _clinit_autosplit_dinit_2() { "UrlRedirect", }); internal_static_google_cloud_compute_v1_PerInstanceConfig_descriptor = - getDescriptor().getMessageTypes().get(798); + getDescriptor().getMessageTypes().get(843); internal_static_google_cloud_compute_v1_PerInstanceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PerInstanceConfig_descriptor, @@ -28904,7 +30496,7 @@ private static void _clinit_autosplit_dinit_2() { "Status", }); internal_static_google_cloud_compute_v1_Policy_descriptor = - getDescriptor().getMessageTypes().get(799); + getDescriptor().getMessageTypes().get(844); internal_static_google_cloud_compute_v1_Policy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Policy_descriptor, @@ -28920,7 +30512,7 @@ private static void _clinit_autosplit_dinit_2() { "Version", }); internal_static_google_cloud_compute_v1_PreconfiguredWafSet_descriptor = - getDescriptor().getMessageTypes().get(800); + getDescriptor().getMessageTypes().get(845); internal_static_google_cloud_compute_v1_PreconfiguredWafSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreconfiguredWafSet_descriptor, @@ -28928,7 +30520,7 @@ private static void _clinit_autosplit_dinit_2() { "ExpressionSets", }); internal_static_google_cloud_compute_v1_PreservedState_descriptor = - getDescriptor().getMessageTypes().get(801); + getDescriptor().getMessageTypes().get(846); internal_static_google_cloud_compute_v1_PreservedState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreservedState_descriptor, @@ -28952,7 +30544,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_PreservedStatePreservedDisk_descriptor = - getDescriptor().getMessageTypes().get(802); + getDescriptor().getMessageTypes().get(847); internal_static_google_cloud_compute_v1_PreservedStatePreservedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreservedStatePreservedDisk_descriptor, @@ -28960,7 +30552,7 @@ private static void _clinit_autosplit_dinit_2() { "AutoDelete", "Mode", "Source", "AutoDelete", "Mode", "Source", }); internal_static_google_cloud_compute_v1_PreviewRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(803); + getDescriptor().getMessageTypes().get(848); internal_static_google_cloud_compute_v1_PreviewRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PreviewRouterRequest_descriptor, @@ -28968,7 +30560,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "Router", "RouterResource", }); internal_static_google_cloud_compute_v1_Project_descriptor = - getDescriptor().getMessageTypes().get(804); + getDescriptor().getMessageTypes().get(849); internal_static_google_cloud_compute_v1_Project_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Project_descriptor, @@ -28999,7 +30591,7 @@ private static void _clinit_autosplit_dinit_2() { "XpnProjectStatus", }); internal_static_google_cloud_compute_v1_ProjectsDisableXpnResourceRequest_descriptor = - getDescriptor().getMessageTypes().get(805); + getDescriptor().getMessageTypes().get(850); internal_static_google_cloud_compute_v1_ProjectsDisableXpnResourceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsDisableXpnResourceRequest_descriptor, @@ -29007,7 +30599,7 @@ private static void _clinit_autosplit_dinit_2() { "XpnResource", "XpnResource", }); internal_static_google_cloud_compute_v1_ProjectsEnableXpnResourceRequest_descriptor = - getDescriptor().getMessageTypes().get(806); + getDescriptor().getMessageTypes().get(851); internal_static_google_cloud_compute_v1_ProjectsEnableXpnResourceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsEnableXpnResourceRequest_descriptor, @@ -29015,7 +30607,7 @@ private static void _clinit_autosplit_dinit_2() { "XpnResource", "XpnResource", }); internal_static_google_cloud_compute_v1_ProjectsGetXpnResources_descriptor = - getDescriptor().getMessageTypes().get(807); + getDescriptor().getMessageTypes().get(852); internal_static_google_cloud_compute_v1_ProjectsGetXpnResources_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsGetXpnResources_descriptor, @@ -29023,7 +30615,7 @@ private static void _clinit_autosplit_dinit_2() { "Kind", "NextPageToken", "Resources", "Kind", "NextPageToken", }); internal_static_google_cloud_compute_v1_ProjectsListXpnHostsRequest_descriptor = - getDescriptor().getMessageTypes().get(808); + getDescriptor().getMessageTypes().get(853); internal_static_google_cloud_compute_v1_ProjectsListXpnHostsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsListXpnHostsRequest_descriptor, @@ -29031,7 +30623,7 @@ private static void _clinit_autosplit_dinit_2() { "Organization", "Organization", }); internal_static_google_cloud_compute_v1_ProjectsSetDefaultNetworkTierRequest_descriptor = - getDescriptor().getMessageTypes().get(809); + getDescriptor().getMessageTypes().get(854); internal_static_google_cloud_compute_v1_ProjectsSetDefaultNetworkTierRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ProjectsSetDefaultNetworkTierRequest_descriptor, @@ -29039,7 +30631,7 @@ private static void _clinit_autosplit_dinit_2() { "NetworkTier", "NetworkTier", }); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefix_descriptor = - getDescriptor().getMessageTypes().get(810); + getDescriptor().getMessageTypes().get(855); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefix_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicAdvertisedPrefix_descriptor, @@ -29069,7 +30661,7 @@ private static void _clinit_autosplit_dinit_2() { "Status", }); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixList_descriptor = - getDescriptor().getMessageTypes().get(811); + getDescriptor().getMessageTypes().get(856); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixList_descriptor, @@ -29087,7 +30679,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixPublicDelegatedPrefix_descriptor = - getDescriptor().getMessageTypes().get(812); + getDescriptor().getMessageTypes().get(857); internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixPublicDelegatedPrefix_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicAdvertisedPrefixPublicDelegatedPrefix_descriptor, @@ -29096,7 +30688,7 @@ private static void _clinit_autosplit_dinit_2() { "Region", "Status", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefix_descriptor = - getDescriptor().getMessageTypes().get(813); + getDescriptor().getMessageTypes().get(858); internal_static_google_cloud_compute_v1_PublicDelegatedPrefix_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefix_descriptor, @@ -29128,7 +30720,7 @@ private static void _clinit_autosplit_dinit_2() { "Status", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(814); + getDescriptor().getMessageTypes().get(859); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefixAggregatedList_descriptor, @@ -29157,7 +30749,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixList_descriptor = - getDescriptor().getMessageTypes().get(815); + getDescriptor().getMessageTypes().get(860); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefixList_descriptor, @@ -29175,7 +30767,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixPublicDelegatedSubPrefix_descriptor = - getDescriptor().getMessageTypes().get(816); + getDescriptor().getMessageTypes().get(861); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixPublicDelegatedSubPrefix_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefixPublicDelegatedSubPrefix_descriptor, @@ -29196,7 +30788,7 @@ private static void _clinit_autosplit_dinit_2() { "Status", }); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixesScopedList_descriptor = - getDescriptor().getMessageTypes().get(817); + getDescriptor().getMessageTypes().get(862); internal_static_google_cloud_compute_v1_PublicDelegatedPrefixesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_PublicDelegatedPrefixesScopedList_descriptor, @@ -29204,7 +30796,7 @@ private static void _clinit_autosplit_dinit_2() { "PublicDelegatedPrefixes", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_Quota_descriptor = - getDescriptor().getMessageTypes().get(818); + getDescriptor().getMessageTypes().get(863); internal_static_google_cloud_compute_v1_Quota_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Quota_descriptor, @@ -29212,7 +30804,7 @@ private static void _clinit_autosplit_dinit_2() { "Limit", "Metric", "Owner", "Usage", "Limit", "Metric", "Owner", "Usage", }); internal_static_google_cloud_compute_v1_RawDisk_descriptor = - getDescriptor().getMessageTypes().get(819); + getDescriptor().getMessageTypes().get(864); internal_static_google_cloud_compute_v1_RawDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RawDisk_descriptor, @@ -29220,7 +30812,7 @@ private static void _clinit_autosplit_dinit_2() { "ContainerType", "Sha1Checksum", "Source", "ContainerType", "Sha1Checksum", "Source", }); internal_static_google_cloud_compute_v1_RecreateInstancesInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(820); + getDescriptor().getMessageTypes().get(865); internal_static_google_cloud_compute_v1_RecreateInstancesInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RecreateInstancesInstanceGroupManagerRequest_descriptor, @@ -29233,7 +30825,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_RecreateInstancesRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(821); + getDescriptor().getMessageTypes().get(866); internal_static_google_cloud_compute_v1_RecreateInstancesRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RecreateInstancesRegionInstanceGroupManagerRequest_descriptor, @@ -29246,7 +30838,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_Reference_descriptor = - getDescriptor().getMessageTypes().get(822); + getDescriptor().getMessageTypes().get(867); internal_static_google_cloud_compute_v1_Reference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Reference_descriptor, @@ -29261,7 +30853,7 @@ private static void _clinit_autosplit_dinit_2() { "Target", }); internal_static_google_cloud_compute_v1_Region_descriptor = - getDescriptor().getMessageTypes().get(823); + getDescriptor().getMessageTypes().get(868); internal_static_google_cloud_compute_v1_Region_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Region_descriptor, @@ -29288,7 +30880,7 @@ private static void _clinit_autosplit_dinit_2() { "SupportsPzs", }); internal_static_google_cloud_compute_v1_RegionAutoscalerList_descriptor = - getDescriptor().getMessageTypes().get(824); + getDescriptor().getMessageTypes().get(869); internal_static_google_cloud_compute_v1_RegionAutoscalerList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionAutoscalerList_descriptor, @@ -29306,7 +30898,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_RegionDiskTypeList_descriptor = - getDescriptor().getMessageTypes().get(825); + getDescriptor().getMessageTypes().get(870); internal_static_google_cloud_compute_v1_RegionDiskTypeList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionDiskTypeList_descriptor, @@ -29324,7 +30916,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_RegionDisksAddResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(826); + getDescriptor().getMessageTypes().get(871); internal_static_google_cloud_compute_v1_RegionDisksAddResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionDisksAddResourcePoliciesRequest_descriptor, @@ -29332,7 +30924,7 @@ private static void _clinit_autosplit_dinit_2() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_RegionDisksRemoveResourcePoliciesRequest_descriptor = - getDescriptor().getMessageTypes().get(827); + getDescriptor().getMessageTypes().get(872); internal_static_google_cloud_compute_v1_RegionDisksRemoveResourcePoliciesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionDisksRemoveResourcePoliciesRequest_descriptor, @@ -29340,7 +30932,7 @@ private static void _clinit_autosplit_dinit_2() { "ResourcePolicies", }); internal_static_google_cloud_compute_v1_RegionDisksResizeRequest_descriptor = - getDescriptor().getMessageTypes().get(828); + getDescriptor().getMessageTypes().get(873); internal_static_google_cloud_compute_v1_RegionDisksResizeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionDisksResizeRequest_descriptor, @@ -29348,7 +30940,7 @@ private static void _clinit_autosplit_dinit_2() { "SizeGb", "SizeGb", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupList_descriptor = - getDescriptor().getMessageTypes().get(829); + getDescriptor().getMessageTypes().get(874); internal_static_google_cloud_compute_v1_RegionInstanceGroupList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupList_descriptor, @@ -29366,7 +30958,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerDeleteInstanceConfigReq_descriptor = - getDescriptor().getMessageTypes().get(830); + getDescriptor().getMessageTypes().get(875); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerDeleteInstanceConfigReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerDeleteInstanceConfigReq_descriptor, @@ -29374,7 +30966,7 @@ private static void _clinit_autosplit_dinit_2() { "Names", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerList_descriptor = - getDescriptor().getMessageTypes().get(831); + getDescriptor().getMessageTypes().get(876); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerList_descriptor, @@ -29392,7 +30984,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerPatchInstanceConfigReq_descriptor = - getDescriptor().getMessageTypes().get(832); + getDescriptor().getMessageTypes().get(877); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerPatchInstanceConfigReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerPatchInstanceConfigReq_descriptor, @@ -29400,7 +30992,7 @@ private static void _clinit_autosplit_dinit_2() { "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerUpdateInstanceConfigReq_descriptor = - getDescriptor().getMessageTypes().get(833); + getDescriptor().getMessageTypes().get(878); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerUpdateInstanceConfigReq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagerUpdateInstanceConfigReq_descriptor, @@ -29408,7 +31000,7 @@ private static void _clinit_autosplit_dinit_2() { "PerInstanceConfigs", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersAbandonInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(834); + getDescriptor().getMessageTypes().get(879); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersAbandonInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersAbandonInstancesRequest_descriptor, @@ -29416,7 +31008,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersApplyUpdatesRequest_descriptor = - getDescriptor().getMessageTypes().get(835); + getDescriptor().getMessageTypes().get(880); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersApplyUpdatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersApplyUpdatesRequest_descriptor, @@ -29430,7 +31022,7 @@ private static void _clinit_autosplit_dinit_2() { "MostDisruptiveAllowedAction", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersCreateInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(836); + getDescriptor().getMessageTypes().get(881); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersCreateInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersCreateInstancesRequest_descriptor, @@ -29438,7 +31030,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersDeleteInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(837); + getDescriptor().getMessageTypes().get(882); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersDeleteInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersDeleteInstancesRequest_descriptor, @@ -29446,7 +31038,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", "SkipInstancesOnValidationError", "SkipInstancesOnValidationError", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListErrorsResponse_descriptor = - getDescriptor().getMessageTypes().get(838); + getDescriptor().getMessageTypes().get(883); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListErrorsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListErrorsResponse_descriptor, @@ -29454,7 +31046,7 @@ private static void _clinit_autosplit_dinit_2() { "Items", "NextPageToken", "NextPageToken", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstanceConfigsResp_descriptor = - getDescriptor().getMessageTypes().get(839); + getDescriptor().getMessageTypes().get(884); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstanceConfigsResp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstanceConfigsResp_descriptor, @@ -29462,7 +31054,7 @@ private static void _clinit_autosplit_dinit_2() { "Items", "NextPageToken", "Warning", "NextPageToken", "Warning", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstancesResponse_descriptor = - getDescriptor().getMessageTypes().get(840); + getDescriptor().getMessageTypes().get(885); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstancesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersListInstancesResponse_descriptor, @@ -29470,7 +31062,7 @@ private static void _clinit_autosplit_dinit_2() { "ManagedInstances", "NextPageToken", "NextPageToken", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersRecreateRequest_descriptor = - getDescriptor().getMessageTypes().get(841); + getDescriptor().getMessageTypes().get(886); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersRecreateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersRecreateRequest_descriptor, @@ -29478,7 +31070,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTargetPoolsRequest_descriptor = - getDescriptor().getMessageTypes().get(842); + getDescriptor().getMessageTypes().get(887); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTargetPoolsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTargetPoolsRequest_descriptor, @@ -29486,7 +31078,7 @@ private static void _clinit_autosplit_dinit_2() { "Fingerprint", "TargetPools", "Fingerprint", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(843); + getDescriptor().getMessageTypes().get(888); internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupManagersSetTemplateRequest_descriptor, @@ -29494,7 +31086,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceTemplate", "InstanceTemplate", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstances_descriptor = - getDescriptor().getMessageTypes().get(844); + getDescriptor().getMessageTypes().get(889); internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstances_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstances_descriptor, @@ -29512,7 +31104,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstancesRequest_descriptor = - getDescriptor().getMessageTypes().get(845); + getDescriptor().getMessageTypes().get(890); internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstancesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupsListInstancesRequest_descriptor, @@ -29520,7 +31112,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceState", "PortName", "InstanceState", "PortName", }); internal_static_google_cloud_compute_v1_RegionInstanceGroupsSetNamedPortsRequest_descriptor = - getDescriptor().getMessageTypes().get(846); + getDescriptor().getMessageTypes().get(891); internal_static_google_cloud_compute_v1_RegionInstanceGroupsSetNamedPortsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionInstanceGroupsSetNamedPortsRequest_descriptor, @@ -29528,7 +31120,7 @@ private static void _clinit_autosplit_dinit_2() { "Fingerprint", "NamedPorts", "Fingerprint", }); internal_static_google_cloud_compute_v1_RegionList_descriptor = - getDescriptor().getMessageTypes().get(847); + getDescriptor().getMessageTypes().get(892); internal_static_google_cloud_compute_v1_RegionList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionList_descriptor, @@ -29545,8 +31137,24 @@ private static void _clinit_autosplit_dinit_2() { "SelfLink", "Warning", }); + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor = + getDescriptor().getMessageTypes().get(893); + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor, + new java.lang.String[] { + "FirewallPolicys", "Firewalls", + }); + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor = + getDescriptor().getMessageTypes().get(894); + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor, + new java.lang.String[] { + "DisplayName", "Name", "Rules", "Type", "DisplayName", "Name", "Type", + }); internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(848); + getDescriptor().getMessageTypes().get(895); internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionSetLabelsRequest_descriptor, @@ -29564,7 +31172,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_RegionSetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(849); + getDescriptor().getMessageTypes().get(896); internal_static_google_cloud_compute_v1_RegionSetPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionSetPolicyRequest_descriptor, @@ -29572,7 +31180,7 @@ private static void _clinit_autosplit_dinit_2() { "Bindings", "Etag", "Policy", "Etag", "Policy", }); internal_static_google_cloud_compute_v1_RegionTargetHttpsProxiesSetSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(850); + getDescriptor().getMessageTypes().get(897); internal_static_google_cloud_compute_v1_RegionTargetHttpsProxiesSetSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionTargetHttpsProxiesSetSslCertificatesRequest_descriptor, @@ -29580,7 +31188,7 @@ private static void _clinit_autosplit_dinit_2() { "SslCertificates", }); internal_static_google_cloud_compute_v1_RegionUrlMapsValidateRequest_descriptor = - getDescriptor().getMessageTypes().get(851); + getDescriptor().getMessageTypes().get(898); internal_static_google_cloud_compute_v1_RegionUrlMapsValidateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RegionUrlMapsValidateRequest_descriptor, @@ -29588,15 +31196,31 @@ private static void _clinit_autosplit_dinit_2() { "Resource", "Resource", }); internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(852); + getDescriptor().getMessageTypes().get(899); internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveAssociationFirewallPolicyRequest_descriptor, new java.lang.String[] { "FirewallPolicy", "Name", "RequestId", "Name", "RequestId", }); + internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(900); + internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Name", "Project", "RequestId", "Name", "RequestId", + }); + internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(901); + internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Name", "Project", "Region", "RequestId", "Name", "RequestId", + }); internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(853); + getDescriptor().getMessageTypes().get(902); internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveHealthCheckTargetPoolRequest_descriptor, @@ -29609,7 +31233,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_RemoveInstanceTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(854); + getDescriptor().getMessageTypes().get(903); internal_static_google_cloud_compute_v1_RemoveInstanceTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveInstanceTargetPoolRequest_descriptor, @@ -29622,7 +31246,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_RemoveInstancesInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(855); + getDescriptor().getMessageTypes().get(904); internal_static_google_cloud_compute_v1_RemoveInstancesInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveInstancesInstanceGroupRequest_descriptor, @@ -29635,7 +31259,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_RemovePeeringNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(856); + getDescriptor().getMessageTypes().get(905); internal_static_google_cloud_compute_v1_RemovePeeringNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemovePeeringNetworkRequest_descriptor, @@ -29647,7 +31271,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(857); + getDescriptor().getMessageTypes().get(906); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveResourcePoliciesDiskRequest_descriptor, @@ -29660,7 +31284,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(858); + getDescriptor().getMessageTypes().get(907); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveResourcePoliciesInstanceRequest_descriptor, @@ -29673,7 +31297,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(859); + getDescriptor().getMessageTypes().get(908); internal_static_google_cloud_compute_v1_RemoveResourcePoliciesRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveResourcePoliciesRegionDiskRequest_descriptor, @@ -29686,15 +31310,37 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(860); + getDescriptor().getMessageTypes().get(909); internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveRuleFirewallPolicyRequest_descriptor, new java.lang.String[] { "FirewallPolicy", "Priority", "RequestId", "Priority", "RequestId", }); + internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(910); + internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", "Priority", "Project", "RequestId", "Priority", "RequestId", + }); + internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(911); + internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "FirewallPolicy", + "Priority", + "Project", + "Region", + "RequestId", + "Priority", + "RequestId", + }); internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(861); + getDescriptor().getMessageTypes().get(912); internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RemoveRuleSecurityPolicyRequest_descriptor, @@ -29702,7 +31348,7 @@ private static void _clinit_autosplit_dinit_2() { "Priority", "Project", "SecurityPolicy", "Priority", }); internal_static_google_cloud_compute_v1_RequestMirrorPolicy_descriptor = - getDescriptor().getMessageTypes().get(862); + getDescriptor().getMessageTypes().get(913); internal_static_google_cloud_compute_v1_RequestMirrorPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RequestMirrorPolicy_descriptor, @@ -29710,7 +31356,7 @@ private static void _clinit_autosplit_dinit_2() { "BackendService", "BackendService", }); internal_static_google_cloud_compute_v1_Reservation_descriptor = - getDescriptor().getMessageTypes().get(863); + getDescriptor().getMessageTypes().get(914); internal_static_google_cloud_compute_v1_Reservation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Reservation_descriptor, @@ -29743,7 +31389,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_ReservationAffinity_descriptor = - getDescriptor().getMessageTypes().get(864); + getDescriptor().getMessageTypes().get(915); internal_static_google_cloud_compute_v1_ReservationAffinity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationAffinity_descriptor, @@ -29751,7 +31397,7 @@ private static void _clinit_autosplit_dinit_2() { "ConsumeReservationType", "Key", "Values", "ConsumeReservationType", "Key", }); internal_static_google_cloud_compute_v1_ReservationAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(865); + getDescriptor().getMessageTypes().get(916); internal_static_google_cloud_compute_v1_ReservationAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationAggregatedList_descriptor, @@ -29780,7 +31426,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ReservationList_descriptor = - getDescriptor().getMessageTypes().get(866); + getDescriptor().getMessageTypes().get(917); internal_static_google_cloud_compute_v1_ReservationList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationList_descriptor, @@ -29798,7 +31444,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_ReservationsResizeRequest_descriptor = - getDescriptor().getMessageTypes().get(867); + getDescriptor().getMessageTypes().get(918); internal_static_google_cloud_compute_v1_ReservationsResizeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationsResizeRequest_descriptor, @@ -29806,7 +31452,7 @@ private static void _clinit_autosplit_dinit_2() { "SpecificSkuCount", "SpecificSkuCount", }); internal_static_google_cloud_compute_v1_ReservationsScopedList_descriptor = - getDescriptor().getMessageTypes().get(868); + getDescriptor().getMessageTypes().get(919); internal_static_google_cloud_compute_v1_ReservationsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ReservationsScopedList_descriptor, @@ -29814,7 +31460,7 @@ private static void _clinit_autosplit_dinit_2() { "Reservations", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_ResetInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(869); + getDescriptor().getMessageTypes().get(920); internal_static_google_cloud_compute_v1_ResetInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResetInstanceRequest_descriptor, @@ -29822,7 +31468,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_ResizeDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(870); + getDescriptor().getMessageTypes().get(921); internal_static_google_cloud_compute_v1_ResizeDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeDiskRequest_descriptor, @@ -29830,7 +31476,7 @@ private static void _clinit_autosplit_dinit_2() { "Disk", "DisksResizeRequestResource", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_ResizeInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(871); + getDescriptor().getMessageTypes().get(922); internal_static_google_cloud_compute_v1_ResizeInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeInstanceGroupManagerRequest_descriptor, @@ -29838,7 +31484,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceGroupManager", "Project", "RequestId", "Size", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_ResizeRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(872); + getDescriptor().getMessageTypes().get(923); internal_static_google_cloud_compute_v1_ResizeRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeRegionDiskRequest_descriptor, @@ -29851,7 +31497,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_ResizeRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(873); + getDescriptor().getMessageTypes().get(924); internal_static_google_cloud_compute_v1_ResizeRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeRegionInstanceGroupManagerRequest_descriptor, @@ -29859,7 +31505,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceGroupManager", "Project", "Region", "RequestId", "Size", "RequestId", }); internal_static_google_cloud_compute_v1_ResizeReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(874); + getDescriptor().getMessageTypes().get(925); internal_static_google_cloud_compute_v1_ResizeReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResizeReservationRequest_descriptor, @@ -29872,7 +31518,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_ResourceCommitment_descriptor = - getDescriptor().getMessageTypes().get(875); + getDescriptor().getMessageTypes().get(926); internal_static_google_cloud_compute_v1_ResourceCommitment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourceCommitment_descriptor, @@ -29880,7 +31526,7 @@ private static void _clinit_autosplit_dinit_2() { "AcceleratorType", "Amount", "Type", "AcceleratorType", "Amount", "Type", }); internal_static_google_cloud_compute_v1_ResourceGroupReference_descriptor = - getDescriptor().getMessageTypes().get(876); + getDescriptor().getMessageTypes().get(927); internal_static_google_cloud_compute_v1_ResourceGroupReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourceGroupReference_descriptor, @@ -29888,7 +31534,7 @@ private static void _clinit_autosplit_dinit_2() { "Group", "Group", }); internal_static_google_cloud_compute_v1_ResourcePoliciesScopedList_descriptor = - getDescriptor().getMessageTypes().get(877); + getDescriptor().getMessageTypes().get(928); internal_static_google_cloud_compute_v1_ResourcePoliciesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePoliciesScopedList_descriptor, @@ -29896,7 +31542,7 @@ private static void _clinit_autosplit_dinit_2() { "ResourcePolicies", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_ResourcePolicy_descriptor = - getDescriptor().getMessageTypes().get(878); + getDescriptor().getMessageTypes().get(929); internal_static_google_cloud_compute_v1_ResourcePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicy_descriptor, @@ -29927,7 +31573,7 @@ private static void _clinit_autosplit_dinit_2() { "Status", }); internal_static_google_cloud_compute_v1_ResourcePolicyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(879); + getDescriptor().getMessageTypes().get(930); internal_static_google_cloud_compute_v1_ResourcePolicyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyAggregatedList_descriptor, @@ -29958,7 +31604,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ResourcePolicyDailyCycle_descriptor = - getDescriptor().getMessageTypes().get(880); + getDescriptor().getMessageTypes().get(931); internal_static_google_cloud_compute_v1_ResourcePolicyDailyCycle_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyDailyCycle_descriptor, @@ -29966,7 +31612,7 @@ private static void _clinit_autosplit_dinit_2() { "DaysInCycle", "Duration", "StartTime", "DaysInCycle", "Duration", "StartTime", }); internal_static_google_cloud_compute_v1_ResourcePolicyGroupPlacementPolicy_descriptor = - getDescriptor().getMessageTypes().get(881); + getDescriptor().getMessageTypes().get(932); internal_static_google_cloud_compute_v1_ResourcePolicyGroupPlacementPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyGroupPlacementPolicy_descriptor, @@ -29979,7 +31625,7 @@ private static void _clinit_autosplit_dinit_2() { "VmCount", }); internal_static_google_cloud_compute_v1_ResourcePolicyHourlyCycle_descriptor = - getDescriptor().getMessageTypes().get(882); + getDescriptor().getMessageTypes().get(933); internal_static_google_cloud_compute_v1_ResourcePolicyHourlyCycle_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyHourlyCycle_descriptor, @@ -29987,7 +31633,7 @@ private static void _clinit_autosplit_dinit_2() { "Duration", "HoursInCycle", "StartTime", "Duration", "HoursInCycle", "StartTime", }); internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicy_descriptor = - getDescriptor().getMessageTypes().get(883); + getDescriptor().getMessageTypes().get(934); internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicy_descriptor, @@ -30004,7 +31650,7 @@ private static void _clinit_autosplit_dinit_2() { "VmStopSchedule", }); internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicySchedule_descriptor = - getDescriptor().getMessageTypes().get(884); + getDescriptor().getMessageTypes().get(935); internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicySchedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyInstanceSchedulePolicySchedule_descriptor, @@ -30012,7 +31658,7 @@ private static void _clinit_autosplit_dinit_2() { "Schedule", "Schedule", }); internal_static_google_cloud_compute_v1_ResourcePolicyList_descriptor = - getDescriptor().getMessageTypes().get(885); + getDescriptor().getMessageTypes().get(936); internal_static_google_cloud_compute_v1_ResourcePolicyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyList_descriptor, @@ -30032,7 +31678,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatus_descriptor = - getDescriptor().getMessageTypes().get(886); + getDescriptor().getMessageTypes().get(937); internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatus_descriptor, @@ -30040,7 +31686,7 @@ private static void _clinit_autosplit_dinit_2() { "InstanceSchedulePolicy", "InstanceSchedulePolicy", }); internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatusInstanceSchedulePolicyStatus_descriptor = - getDescriptor().getMessageTypes().get(887); + getDescriptor().getMessageTypes().get(938); internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatusInstanceSchedulePolicyStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyResourceStatusInstanceSchedulePolicyStatus_descriptor, @@ -30048,7 +31694,7 @@ private static void _clinit_autosplit_dinit_2() { "LastRunStartTime", "NextRunStartTime", "LastRunStartTime", "NextRunStartTime", }); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicy_descriptor = - getDescriptor().getMessageTypes().get(888); + getDescriptor().getMessageTypes().get(939); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicy_descriptor, @@ -30061,7 +31707,7 @@ private static void _clinit_autosplit_dinit_2() { "SnapshotProperties", }); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicyRetentionPolicy_descriptor = - getDescriptor().getMessageTypes().get(889); + getDescriptor().getMessageTypes().get(940); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicyRetentionPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicyRetentionPolicy_descriptor, @@ -30069,7 +31715,7 @@ private static void _clinit_autosplit_dinit_2() { "MaxRetentionDays", "OnSourceDiskDelete", "MaxRetentionDays", "OnSourceDiskDelete", }); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySchedule_descriptor = - getDescriptor().getMessageTypes().get(890); + getDescriptor().getMessageTypes().get(941); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySchedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySchedule_descriptor, @@ -30082,7 +31728,7 @@ private static void _clinit_autosplit_dinit_2() { "WeeklySchedule", }); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySnapshotProperties_descriptor = - getDescriptor().getMessageTypes().get(891); + getDescriptor().getMessageTypes().get(942); internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySnapshotProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicySnapshotSchedulePolicySnapshotProperties_descriptor, @@ -30100,7 +31746,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycle_descriptor = - getDescriptor().getMessageTypes().get(892); + getDescriptor().getMessageTypes().get(943); internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycle_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycle_descriptor, @@ -30108,7 +31754,7 @@ private static void _clinit_autosplit_dinit_2() { "DayOfWeeks", }); internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycleDayOfWeek_descriptor = - getDescriptor().getMessageTypes().get(893); + getDescriptor().getMessageTypes().get(944); internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycleDayOfWeek_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResourcePolicyWeeklyCycleDayOfWeek_descriptor, @@ -30116,7 +31762,7 @@ private static void _clinit_autosplit_dinit_2() { "Day", "Duration", "StartTime", "Day", "Duration", "StartTime", }); internal_static_google_cloud_compute_v1_ResumeInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(894); + getDescriptor().getMessageTypes().get(945); internal_static_google_cloud_compute_v1_ResumeInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ResumeInstanceRequest_descriptor, @@ -30124,7 +31770,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_Route_descriptor = - getDescriptor().getMessageTypes().get(895); + getDescriptor().getMessageTypes().get(946); internal_static_google_cloud_compute_v1_Route_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Route_descriptor, @@ -30145,6 +31791,7 @@ private static void _clinit_autosplit_dinit_2() { "NextHopPeering", "NextHopVpnTunnel", "Priority", + "RouteStatus", "RouteType", "SelfLink", "Tags", @@ -30164,11 +31811,12 @@ private static void _clinit_autosplit_dinit_2() { "NextHopPeering", "NextHopVpnTunnel", "Priority", + "RouteStatus", "RouteType", "SelfLink", }); internal_static_google_cloud_compute_v1_RouteAsPath_descriptor = - getDescriptor().getMessageTypes().get(896); + getDescriptor().getMessageTypes().get(947); internal_static_google_cloud_compute_v1_RouteAsPath_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouteAsPath_descriptor, @@ -30176,7 +31824,7 @@ private static void _clinit_autosplit_dinit_2() { "AsLists", "PathSegmentType", "PathSegmentType", }); internal_static_google_cloud_compute_v1_RouteList_descriptor = - getDescriptor().getMessageTypes().get(897); + getDescriptor().getMessageTypes().get(948); internal_static_google_cloud_compute_v1_RouteList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouteList_descriptor, @@ -30194,7 +31842,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_Router_descriptor = - getDescriptor().getMessageTypes().get(898); + getDescriptor().getMessageTypes().get(949); internal_static_google_cloud_compute_v1_Router_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Router_descriptor, @@ -30224,7 +31872,7 @@ private static void _clinit_autosplit_dinit_2() { "SelfLink", }); internal_static_google_cloud_compute_v1_RouterAdvertisedIpRange_descriptor = - getDescriptor().getMessageTypes().get(899); + getDescriptor().getMessageTypes().get(950); internal_static_google_cloud_compute_v1_RouterAdvertisedIpRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterAdvertisedIpRange_descriptor, @@ -30232,7 +31880,7 @@ private static void _clinit_autosplit_dinit_2() { "Description", "Range", "Description", "Range", }); internal_static_google_cloud_compute_v1_RouterAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(900); + getDescriptor().getMessageTypes().get(951); internal_static_google_cloud_compute_v1_RouterAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterAggregatedList_descriptor, @@ -30261,7 +31909,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_RouterBgp_descriptor = - getDescriptor().getMessageTypes().get(901); + getDescriptor().getMessageTypes().get(952); internal_static_google_cloud_compute_v1_RouterBgp_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterBgp_descriptor, @@ -30276,7 +31924,7 @@ private static void _clinit_autosplit_dinit_2() { "KeepaliveInterval", }); internal_static_google_cloud_compute_v1_RouterBgpPeer_descriptor = - getDescriptor().getMessageTypes().get(902); + getDescriptor().getMessageTypes().get(953); internal_static_google_cloud_compute_v1_RouterBgpPeer_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterBgpPeer_descriptor, @@ -30313,7 +31961,7 @@ private static void _clinit_autosplit_dinit_2() { "RouterApplianceInstance", }); internal_static_google_cloud_compute_v1_RouterBgpPeerBfd_descriptor = - getDescriptor().getMessageTypes().get(903); + getDescriptor().getMessageTypes().get(954); internal_static_google_cloud_compute_v1_RouterBgpPeerBfd_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterBgpPeerBfd_descriptor, @@ -30328,7 +31976,7 @@ private static void _clinit_autosplit_dinit_2() { "SessionInitializationMode", }); internal_static_google_cloud_compute_v1_RouterInterface_descriptor = - getDescriptor().getMessageTypes().get(904); + getDescriptor().getMessageTypes().get(955); internal_static_google_cloud_compute_v1_RouterInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterInterface_descriptor, @@ -30351,7 +31999,7 @@ private static void _clinit_autosplit_dinit_2() { "Subnetwork", }); internal_static_google_cloud_compute_v1_RouterList_descriptor = - getDescriptor().getMessageTypes().get(905); + getDescriptor().getMessageTypes().get(956); internal_static_google_cloud_compute_v1_RouterList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterList_descriptor, @@ -30369,7 +32017,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_RouterNat_descriptor = - getDescriptor().getMessageTypes().get(906); + getDescriptor().getMessageTypes().get(957); internal_static_google_cloud_compute_v1_RouterNat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNat_descriptor, @@ -30406,7 +32054,7 @@ private static void _clinit_autosplit_dinit_2() { "UdpIdleTimeoutSec", }); internal_static_google_cloud_compute_v1_RouterNatLogConfig_descriptor = - getDescriptor().getMessageTypes().get(907); + getDescriptor().getMessageTypes().get(958); internal_static_google_cloud_compute_v1_RouterNatLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNatLogConfig_descriptor, @@ -30414,7 +32062,7 @@ private static void _clinit_autosplit_dinit_2() { "Enable", "Filter", "Enable", "Filter", }); internal_static_google_cloud_compute_v1_RouterNatRule_descriptor = - getDescriptor().getMessageTypes().get(908); + getDescriptor().getMessageTypes().get(959); internal_static_google_cloud_compute_v1_RouterNatRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNatRule_descriptor, @@ -30429,7 +32077,7 @@ private static void _clinit_autosplit_dinit_2() { "RuleNumber", }); internal_static_google_cloud_compute_v1_RouterNatRuleAction_descriptor = - getDescriptor().getMessageTypes().get(909); + getDescriptor().getMessageTypes().get(960); internal_static_google_cloud_compute_v1_RouterNatRuleAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNatRuleAction_descriptor, @@ -30437,7 +32085,7 @@ private static void _clinit_autosplit_dinit_2() { "SourceNatActiveIps", "SourceNatDrainIps", }); internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat_descriptor = - getDescriptor().getMessageTypes().get(910); + getDescriptor().getMessageTypes().get(961); internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterNatSubnetworkToNat_descriptor, @@ -30445,7 +32093,7 @@ private static void _clinit_autosplit_dinit_2() { "Name", "SecondaryIpRangeNames", "SourceIpRangesToNat", "Name", }); internal_static_google_cloud_compute_v1_RouterStatus_descriptor = - getDescriptor().getMessageTypes().get(911); + getDescriptor().getMessageTypes().get(962); internal_static_google_cloud_compute_v1_RouterStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatus_descriptor, @@ -30458,7 +32106,7 @@ private static void _clinit_autosplit_dinit_2() { "Network", }); internal_static_google_cloud_compute_v1_RouterStatusBgpPeerStatus_descriptor = - getDescriptor().getMessageTypes().get(912); + getDescriptor().getMessageTypes().get(963); internal_static_google_cloud_compute_v1_RouterStatusBgpPeerStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatusBgpPeerStatus_descriptor, @@ -30488,7 +32136,7 @@ private static void _clinit_autosplit_dinit_2() { "UptimeSeconds", }); internal_static_google_cloud_compute_v1_RouterStatusNatStatus_descriptor = - getDescriptor().getMessageTypes().get(913); + getDescriptor().getMessageTypes().get(964); internal_static_google_cloud_compute_v1_RouterStatusNatStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatusNatStatus_descriptor, @@ -30507,7 +32155,7 @@ private static void _clinit_autosplit_dinit_2() { "NumVmEndpointsWithNatMappings", }); internal_static_google_cloud_compute_v1_RouterStatusNatStatusNatRuleStatus_descriptor = - getDescriptor().getMessageTypes().get(914); + getDescriptor().getMessageTypes().get(965); internal_static_google_cloud_compute_v1_RouterStatusNatStatusNatRuleStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatusNatStatusNatRuleStatus_descriptor, @@ -30522,7 +32170,7 @@ private static void _clinit_autosplit_dinit_2() { "RuleNumber", }); internal_static_google_cloud_compute_v1_RouterStatusResponse_descriptor = - getDescriptor().getMessageTypes().get(915); + getDescriptor().getMessageTypes().get(966); internal_static_google_cloud_compute_v1_RouterStatusResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RouterStatusResponse_descriptor, @@ -30530,7 +32178,7 @@ private static void _clinit_autosplit_dinit_2() { "Kind", "Result", "Kind", "Result", }); internal_static_google_cloud_compute_v1_RoutersPreviewResponse_descriptor = - getDescriptor().getMessageTypes().get(916); + getDescriptor().getMessageTypes().get(967); internal_static_google_cloud_compute_v1_RoutersPreviewResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RoutersPreviewResponse_descriptor, @@ -30538,7 +32186,7 @@ private static void _clinit_autosplit_dinit_2() { "Resource", "Resource", }); internal_static_google_cloud_compute_v1_RoutersScopedList_descriptor = - getDescriptor().getMessageTypes().get(917); + getDescriptor().getMessageTypes().get(968); internal_static_google_cloud_compute_v1_RoutersScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_RoutersScopedList_descriptor, @@ -30546,7 +32194,7 @@ private static void _clinit_autosplit_dinit_2() { "Routers", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_Rule_descriptor = - getDescriptor().getMessageTypes().get(918); + getDescriptor().getMessageTypes().get(969); internal_static_google_cloud_compute_v1_Rule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Rule_descriptor, @@ -30562,7 +32210,7 @@ private static void _clinit_autosplit_dinit_2() { "Description", }); internal_static_google_cloud_compute_v1_SSLHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(919); + getDescriptor().getMessageTypes().get(970); internal_static_google_cloud_compute_v1_SSLHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SSLHealthCheck_descriptor, @@ -30581,7 +32229,7 @@ private static void _clinit_autosplit_dinit_2() { "Response", }); internal_static_google_cloud_compute_v1_SavedAttachedDisk_descriptor = - getDescriptor().getMessageTypes().get(920); + getDescriptor().getMessageTypes().get(971); internal_static_google_cloud_compute_v1_SavedAttachedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SavedAttachedDisk_descriptor, @@ -30618,7 +32266,7 @@ private static void _clinit_autosplit_dinit_2() { "Type", }); internal_static_google_cloud_compute_v1_SavedDisk_descriptor = - getDescriptor().getMessageTypes().get(921); + getDescriptor().getMessageTypes().get(972); internal_static_google_cloud_compute_v1_SavedDisk_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SavedDisk_descriptor, @@ -30633,7 +32281,7 @@ private static void _clinit_autosplit_dinit_2() { "StorageBytesStatus", }); internal_static_google_cloud_compute_v1_ScalingScheduleStatus_descriptor = - getDescriptor().getMessageTypes().get(922); + getDescriptor().getMessageTypes().get(973); internal_static_google_cloud_compute_v1_ScalingScheduleStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ScalingScheduleStatus_descriptor, @@ -30641,7 +32289,7 @@ private static void _clinit_autosplit_dinit_2() { "LastStartTime", "NextStartTime", "State", "LastStartTime", "NextStartTime", "State", }); internal_static_google_cloud_compute_v1_Scheduling_descriptor = - getDescriptor().getMessageTypes().get(923); + getDescriptor().getMessageTypes().get(974); internal_static_google_cloud_compute_v1_Scheduling_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Scheduling_descriptor, @@ -30663,7 +32311,7 @@ private static void _clinit_autosplit_dinit_2() { "ProvisioningModel", }); internal_static_google_cloud_compute_v1_SchedulingNodeAffinity_descriptor = - getDescriptor().getMessageTypes().get(924); + getDescriptor().getMessageTypes().get(975); internal_static_google_cloud_compute_v1_SchedulingNodeAffinity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SchedulingNodeAffinity_descriptor, @@ -30671,7 +32319,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Operator", "Values", "Key", "Operator", }); internal_static_google_cloud_compute_v1_ScratchDisks_descriptor = - getDescriptor().getMessageTypes().get(925); + getDescriptor().getMessageTypes().get(976); internal_static_google_cloud_compute_v1_ScratchDisks_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ScratchDisks_descriptor, @@ -30679,23 +32327,62 @@ private static void _clinit_autosplit_dinit_2() { "DiskGb", "DiskGb", }); internal_static_google_cloud_compute_v1_Screenshot_descriptor = - getDescriptor().getMessageTypes().get(926); + getDescriptor().getMessageTypes().get(977); internal_static_google_cloud_compute_v1_Screenshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Screenshot_descriptor, new java.lang.String[] { "Contents", "Kind", "Contents", "Kind", }); + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor = + getDescriptor().getMessageTypes().get(978); + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor, + new java.lang.String[] { + "Etag", + "Id", + "Items", + "Kind", + "NextPageToken", + "SelfLink", + "Unreachables", + "Warning", + "Etag", + "Id", + "Kind", + "NextPageToken", + "SelfLink", + "Warning", + }); + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_ItemsEntry_descriptor = + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_ItemsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_ItemsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_descriptor = - getDescriptor().getMessageTypes().get(927); + getDescriptor().getMessageTypes().get(979); internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPoliciesListPreconfiguredExpressionSetsResponse_descriptor, new java.lang.String[] { - "PreconfiguredExpressionSets", "PreconfiguredExpressionSets", + "PreconfiguredExpressionSets", "PreconfiguredExpressionSets", + }); + internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_descriptor = + getDescriptor().getMessageTypes().get(980); + internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_descriptor, + new java.lang.String[] { + "SecurityPolicies", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_descriptor = - getDescriptor().getMessageTypes().get(928); + getDescriptor().getMessageTypes().get(981); internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPoliciesWafConfig_descriptor, @@ -30703,7 +32390,7 @@ private static void _clinit_autosplit_dinit_2() { "WafRules", "WafRules", }); internal_static_google_cloud_compute_v1_SecurityPolicy_descriptor = - getDescriptor().getMessageTypes().get(929); + getDescriptor().getMessageTypes().get(982); internal_static_google_cloud_compute_v1_SecurityPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicy_descriptor, @@ -30711,29 +32398,33 @@ private static void _clinit_autosplit_dinit_2() { "AdaptiveProtectionConfig", "AdvancedOptionsConfig", "CreationTimestamp", + "DdosProtectionConfig", "Description", "Fingerprint", "Id", "Kind", "Name", "RecaptchaOptionsConfig", + "Region", "Rules", "SelfLink", "Type", "AdaptiveProtectionConfig", "AdvancedOptionsConfig", "CreationTimestamp", + "DdosProtectionConfig", "Description", "Fingerprint", "Id", "Kind", "Name", "RecaptchaOptionsConfig", + "Region", "SelfLink", "Type", }); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfig_descriptor = - getDescriptor().getMessageTypes().get(930); + getDescriptor().getMessageTypes().get(983); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfig_descriptor, @@ -30741,7 +32432,7 @@ private static void _clinit_autosplit_dinit_2() { "Layer7DdosDefenseConfig", "Layer7DdosDefenseConfig", }); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_descriptor = - getDescriptor().getMessageTypes().get(931); + getDescriptor().getMessageTypes().get(984); internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig_descriptor, @@ -30749,15 +32440,23 @@ private static void _clinit_autosplit_dinit_2() { "Enable", "RuleVisibility", "Enable", "RuleVisibility", }); internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_descriptor = - getDescriptor().getMessageTypes().get(932); + getDescriptor().getMessageTypes().get(985); internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyAdvancedOptionsConfig_descriptor, new java.lang.String[] { "JsonParsing", "LogLevel", "JsonParsing", "LogLevel", }); + internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_descriptor = + getDescriptor().getMessageTypes().get(986); + internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_descriptor, + new java.lang.String[] { + "DdosProtection", "DdosProtection", + }); internal_static_google_cloud_compute_v1_SecurityPolicyList_descriptor = - getDescriptor().getMessageTypes().get(933); + getDescriptor().getMessageTypes().get(987); internal_static_google_cloud_compute_v1_SecurityPolicyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyList_descriptor, @@ -30773,7 +32472,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_SecurityPolicyRecaptchaOptionsConfig_descriptor = - getDescriptor().getMessageTypes().get(934); + getDescriptor().getMessageTypes().get(988); internal_static_google_cloud_compute_v1_SecurityPolicyRecaptchaOptionsConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRecaptchaOptionsConfig_descriptor, @@ -30781,7 +32480,7 @@ private static void _clinit_autosplit_dinit_2() { "RedirectSiteKey", "RedirectSiteKey", }); internal_static_google_cloud_compute_v1_SecurityPolicyReference_descriptor = - getDescriptor().getMessageTypes().get(935); + getDescriptor().getMessageTypes().get(989); internal_static_google_cloud_compute_v1_SecurityPolicyReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyReference_descriptor, @@ -30789,7 +32488,7 @@ private static void _clinit_autosplit_dinit_2() { "SecurityPolicy", "SecurityPolicy", }); internal_static_google_cloud_compute_v1_SecurityPolicyRule_descriptor = - getDescriptor().getMessageTypes().get(936); + getDescriptor().getMessageTypes().get(990); internal_static_google_cloud_compute_v1_SecurityPolicyRule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRule_descriptor, @@ -30814,7 +32513,7 @@ private static void _clinit_autosplit_dinit_2() { "RedirectOptions", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderAction_descriptor = - getDescriptor().getMessageTypes().get(937); + getDescriptor().getMessageTypes().get(991); internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderAction_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderAction_descriptor, @@ -30822,7 +32521,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestHeadersToAdds", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption_descriptor = - getDescriptor().getMessageTypes().get(938); + getDescriptor().getMessageTypes().get(992); internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleHttpHeaderActionHttpHeaderOption_descriptor, @@ -30830,7 +32529,7 @@ private static void _clinit_autosplit_dinit_2() { "HeaderName", "HeaderValue", "HeaderName", "HeaderValue", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcher_descriptor = - getDescriptor().getMessageTypes().get(939); + getDescriptor().getMessageTypes().get(993); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcher_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcher_descriptor, @@ -30838,7 +32537,7 @@ private static void _clinit_autosplit_dinit_2() { "Config", "Expr", "VersionedExpr", "Config", "Expr", "VersionedExpr", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherConfig_descriptor = - getDescriptor().getMessageTypes().get(940); + getDescriptor().getMessageTypes().get(994); internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleMatcherConfig_descriptor, @@ -30846,7 +32545,7 @@ private static void _clinit_autosplit_dinit_2() { "SrcIpRanges", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptions_descriptor = - getDescriptor().getMessageTypes().get(941); + getDescriptor().getMessageTypes().get(995); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptions_descriptor, @@ -30869,7 +32568,7 @@ private static void _clinit_autosplit_dinit_2() { "RateLimitThreshold", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsThreshold_descriptor = - getDescriptor().getMessageTypes().get(942); + getDescriptor().getMessageTypes().get(996); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsThreshold_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleRateLimitOptionsThreshold_descriptor, @@ -30877,7 +32576,7 @@ private static void _clinit_autosplit_dinit_2() { "Count", "IntervalSec", "Count", "IntervalSec", }); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRedirectOptions_descriptor = - getDescriptor().getMessageTypes().get(943); + getDescriptor().getMessageTypes().get(997); internal_static_google_cloud_compute_v1_SecurityPolicyRuleRedirectOptions_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecurityPolicyRuleRedirectOptions_descriptor, @@ -30885,7 +32584,7 @@ private static void _clinit_autosplit_dinit_2() { "Target", "Type", "Target", "Type", }); internal_static_google_cloud_compute_v1_SecuritySettings_descriptor = - getDescriptor().getMessageTypes().get(944); + getDescriptor().getMessageTypes().get(998); internal_static_google_cloud_compute_v1_SecuritySettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SecuritySettings_descriptor, @@ -30893,7 +32592,7 @@ private static void _clinit_autosplit_dinit_2() { "ClientTlsPolicy", "SubjectAltNames", "ClientTlsPolicy", }); internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(945); + getDescriptor().getMessageTypes().get(999); internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceRequest_descriptor, @@ -30901,13 +32600,13 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "Zone", }); internal_static_google_cloud_compute_v1_SendDiagnosticInterruptInstanceResponse_descriptor = - getDescriptor().getMessageTypes().get(946); + getDescriptor().getMessageTypes().get(1000); 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(947); + getDescriptor().getMessageTypes().get(1001); internal_static_google_cloud_compute_v1_SerialPortOutput_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SerialPortOutput_descriptor, @@ -30924,7 +32623,7 @@ private static void _clinit_autosplit_dinit_2() { "Start", }); internal_static_google_cloud_compute_v1_ServerBinding_descriptor = - getDescriptor().getMessageTypes().get(948); + getDescriptor().getMessageTypes().get(1002); internal_static_google_cloud_compute_v1_ServerBinding_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServerBinding_descriptor, @@ -30932,7 +32631,7 @@ private static void _clinit_autosplit_dinit_2() { "Type", "Type", }); internal_static_google_cloud_compute_v1_ServiceAccount_descriptor = - getDescriptor().getMessageTypes().get(949); + getDescriptor().getMessageTypes().get(1003); internal_static_google_cloud_compute_v1_ServiceAccount_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAccount_descriptor, @@ -30940,7 +32639,7 @@ private static void _clinit_autosplit_dinit_2() { "Email", "Scopes", "Email", }); internal_static_google_cloud_compute_v1_ServiceAttachment_descriptor = - getDescriptor().getMessageTypes().get(950); + getDescriptor().getMessageTypes().get(1004); internal_static_google_cloud_compute_v1_ServiceAttachment_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachment_descriptor, @@ -30978,7 +32677,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetService", }); internal_static_google_cloud_compute_v1_ServiceAttachmentAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(951); + getDescriptor().getMessageTypes().get(1005); internal_static_google_cloud_compute_v1_ServiceAttachmentAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentAggregatedList_descriptor, @@ -31007,7 +32706,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ServiceAttachmentConnectedEndpoint_descriptor = - getDescriptor().getMessageTypes().get(952); + getDescriptor().getMessageTypes().get(1006); internal_static_google_cloud_compute_v1_ServiceAttachmentConnectedEndpoint_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentConnectedEndpoint_descriptor, @@ -31015,7 +32714,7 @@ private static void _clinit_autosplit_dinit_2() { "Endpoint", "PscConnectionId", "Status", "Endpoint", "PscConnectionId", "Status", }); internal_static_google_cloud_compute_v1_ServiceAttachmentConsumerProjectLimit_descriptor = - getDescriptor().getMessageTypes().get(953); + getDescriptor().getMessageTypes().get(1007); internal_static_google_cloud_compute_v1_ServiceAttachmentConsumerProjectLimit_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentConsumerProjectLimit_descriptor, @@ -31023,7 +32722,7 @@ private static void _clinit_autosplit_dinit_2() { "ConnectionLimit", "ProjectIdOrNum", "ConnectionLimit", "ProjectIdOrNum", }); internal_static_google_cloud_compute_v1_ServiceAttachmentList_descriptor = - getDescriptor().getMessageTypes().get(954); + getDescriptor().getMessageTypes().get(1008); internal_static_google_cloud_compute_v1_ServiceAttachmentList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentList_descriptor, @@ -31041,7 +32740,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_ServiceAttachmentsScopedList_descriptor = - getDescriptor().getMessageTypes().get(955); + getDescriptor().getMessageTypes().get(1009); internal_static_google_cloud_compute_v1_ServiceAttachmentsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ServiceAttachmentsScopedList_descriptor, @@ -31049,7 +32748,7 @@ private static void _clinit_autosplit_dinit_2() { "ServiceAttachments", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_SetBackendServiceTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(956); + getDescriptor().getMessageTypes().get(1010); internal_static_google_cloud_compute_v1_SetBackendServiceTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetBackendServiceTargetSslProxyRequest_descriptor, @@ -31061,7 +32760,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetBackendServiceTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(957); + getDescriptor().getMessageTypes().get(1011); internal_static_google_cloud_compute_v1_SetBackendServiceTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetBackendServiceTargetTcpProxyRequest_descriptor, @@ -31073,7 +32772,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetBackupTargetPoolRequest_descriptor = - getDescriptor().getMessageTypes().get(958); + getDescriptor().getMessageTypes().get(1012); internal_static_google_cloud_compute_v1_SetBackupTargetPoolRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetBackupTargetPoolRequest_descriptor, @@ -31088,7 +32787,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(959); + getDescriptor().getMessageTypes().get(1013); internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetCommonInstanceMetadataProjectRequest_descriptor, @@ -31096,7 +32795,7 @@ private static void _clinit_autosplit_dinit_2() { "MetadataResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_SetDefaultNetworkTierProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(960); + getDescriptor().getMessageTypes().get(1014); internal_static_google_cloud_compute_v1_SetDefaultNetworkTierProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetDefaultNetworkTierProjectRequest_descriptor, @@ -31104,7 +32803,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "ProjectsSetDefaultNetworkTierRequestResource", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_SetDeletionProtectionInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(961); + getDescriptor().getMessageTypes().get(1015); internal_static_google_cloud_compute_v1_SetDeletionProtectionInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetDeletionProtectionInstanceRequest_descriptor, @@ -31118,7 +32817,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetDiskAutoDeleteInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(962); + getDescriptor().getMessageTypes().get(1016); internal_static_google_cloud_compute_v1_SetDiskAutoDeleteInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetDiskAutoDeleteInstanceRequest_descriptor, @@ -31126,7 +32825,7 @@ private static void _clinit_autosplit_dinit_2() { "AutoDelete", "DeviceName", "Instance", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(963); + getDescriptor().getMessageTypes().get(1017); internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendBucketRequest_descriptor, @@ -31138,7 +32837,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(964); + getDescriptor().getMessageTypes().get(1018); internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetEdgeSecurityPolicyBackendServiceRequest_descriptor, @@ -31150,7 +32849,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetIamPolicyDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(965); + getDescriptor().getMessageTypes().get(1019); internal_static_google_cloud_compute_v1_SetIamPolicyDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyDiskRequest_descriptor, @@ -31158,7 +32857,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(966); + getDescriptor().getMessageTypes().get(1020); internal_static_google_cloud_compute_v1_SetIamPolicyFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyFirewallPolicyRequest_descriptor, @@ -31166,7 +32865,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalOrganizationSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyImageRequest_descriptor = - getDescriptor().getMessageTypes().get(967); + getDescriptor().getMessageTypes().get(1021); internal_static_google_cloud_compute_v1_SetIamPolicyImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyImageRequest_descriptor, @@ -31174,7 +32873,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(968); + getDescriptor().getMessageTypes().get(1022); internal_static_google_cloud_compute_v1_SetIamPolicyInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyInstanceRequest_descriptor, @@ -31182,7 +32881,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(969); + getDescriptor().getMessageTypes().get(1023); internal_static_google_cloud_compute_v1_SetIamPolicyInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyInstanceTemplateRequest_descriptor, @@ -31190,7 +32889,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(970); + getDescriptor().getMessageTypes().get(1024); internal_static_google_cloud_compute_v1_SetIamPolicyLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyLicenseRequest_descriptor, @@ -31198,15 +32897,23 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(971); + getDescriptor().getMessageTypes().get(1025); internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyMachineImageRequest_descriptor, new java.lang.String[] { "GlobalSetPolicyRequestResource", "Project", "Resource", }); + internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(1026); + internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "GlobalSetPolicyRequestResource", "Project", "Resource", + }); internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(972); + getDescriptor().getMessageTypes().get(1027); internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyNodeGroupRequest_descriptor, @@ -31214,7 +32921,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(973); + getDescriptor().getMessageTypes().get(1028); internal_static_google_cloud_compute_v1_SetIamPolicyNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyNodeTemplateRequest_descriptor, @@ -31222,15 +32929,23 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(974); + getDescriptor().getMessageTypes().get(1029); internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyRegionDiskRequest_descriptor, new java.lang.String[] { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); + internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(1030); + internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "Project", "Region", "RegionSetPolicyRequestResource", "Resource", + }); internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(975); + getDescriptor().getMessageTypes().get(1031); internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyReservationRequest_descriptor, @@ -31238,7 +32953,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "Zone", "ZoneSetPolicyRequestResource", }); internal_static_google_cloud_compute_v1_SetIamPolicyResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(976); + getDescriptor().getMessageTypes().get(1032); internal_static_google_cloud_compute_v1_SetIamPolicyResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyResourcePolicyRequest_descriptor, @@ -31246,7 +32961,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicyServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(977); + getDescriptor().getMessageTypes().get(1033); internal_static_google_cloud_compute_v1_SetIamPolicyServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicyServiceAttachmentRequest_descriptor, @@ -31254,7 +32969,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(978); + getDescriptor().getMessageTypes().get(1034); internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicySnapshotRequest_descriptor, @@ -31262,7 +32977,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetPolicyRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(979); + getDescriptor().getMessageTypes().get(1035); internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetIamPolicySubnetworkRequest_descriptor, @@ -31270,7 +32985,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Region", "RegionSetPolicyRequestResource", "Resource", }); internal_static_google_cloud_compute_v1_SetInstanceTemplateInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(980); + getDescriptor().getMessageTypes().get(1036); internal_static_google_cloud_compute_v1_SetInstanceTemplateInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetInstanceTemplateInstanceGroupManagerRequest_descriptor, @@ -31283,7 +32998,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetInstanceTemplateRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(981); + getDescriptor().getMessageTypes().get(1037); internal_static_google_cloud_compute_v1_SetInstanceTemplateRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetInstanceTemplateRegionInstanceGroupManagerRequest_descriptor, @@ -31296,7 +33011,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetLabelsDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(982); + getDescriptor().getMessageTypes().get(1038); internal_static_google_cloud_compute_v1_SetLabelsDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsDiskRequest_descriptor, @@ -31309,7 +33024,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetLabelsExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(983); + getDescriptor().getMessageTypes().get(1039); internal_static_google_cloud_compute_v1_SetLabelsExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsExternalVpnGatewayRequest_descriptor, @@ -31317,7 +33032,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(984); + getDescriptor().getMessageTypes().get(1040); internal_static_google_cloud_compute_v1_SetLabelsForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsForwardingRuleRequest_descriptor, @@ -31330,7 +33045,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetLabelsGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(985); + getDescriptor().getMessageTypes().get(1041); internal_static_google_cloud_compute_v1_SetLabelsGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsGlobalForwardingRuleRequest_descriptor, @@ -31338,7 +33053,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsImageRequest_descriptor = - getDescriptor().getMessageTypes().get(986); + getDescriptor().getMessageTypes().get(1042); internal_static_google_cloud_compute_v1_SetLabelsImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsImageRequest_descriptor, @@ -31346,7 +33061,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(987); + getDescriptor().getMessageTypes().get(1043); internal_static_google_cloud_compute_v1_SetLabelsInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsInstanceRequest_descriptor, @@ -31359,7 +33074,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetLabelsRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(988); + getDescriptor().getMessageTypes().get(1044); internal_static_google_cloud_compute_v1_SetLabelsRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsRegionDiskRequest_descriptor, @@ -31372,7 +33087,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetLabelsSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(989); + getDescriptor().getMessageTypes().get(1045); internal_static_google_cloud_compute_v1_SetLabelsSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsSnapshotRequest_descriptor, @@ -31380,7 +33095,7 @@ private static void _clinit_autosplit_dinit_2() { "GlobalSetLabelsRequestResource", "Project", "Resource", }); internal_static_google_cloud_compute_v1_SetLabelsVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(990); + getDescriptor().getMessageTypes().get(1046); internal_static_google_cloud_compute_v1_SetLabelsVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetLabelsVpnGatewayRequest_descriptor, @@ -31393,7 +33108,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetMachineResourcesInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(991); + getDescriptor().getMessageTypes().get(1047); internal_static_google_cloud_compute_v1_SetMachineResourcesInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetMachineResourcesInstanceRequest_descriptor, @@ -31406,7 +33121,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetMachineTypeInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(992); + getDescriptor().getMessageTypes().get(1048); internal_static_google_cloud_compute_v1_SetMachineTypeInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetMachineTypeInstanceRequest_descriptor, @@ -31419,7 +33134,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetMetadataInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(993); + getDescriptor().getMessageTypes().get(1049); internal_static_google_cloud_compute_v1_SetMetadataInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetMetadataInstanceRequest_descriptor, @@ -31427,7 +33142,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "MetadataResource", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_SetMinCpuPlatformInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(994); + getDescriptor().getMessageTypes().get(1050); internal_static_google_cloud_compute_v1_SetMinCpuPlatformInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetMinCpuPlatformInstanceRequest_descriptor, @@ -31440,7 +33155,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetNamedPortsInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(995); + getDescriptor().getMessageTypes().get(1051); internal_static_google_cloud_compute_v1_SetNamedPortsInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetNamedPortsInstanceGroupRequest_descriptor, @@ -31453,7 +33168,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetNamedPortsRegionInstanceGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(996); + getDescriptor().getMessageTypes().get(1052); internal_static_google_cloud_compute_v1_SetNamedPortsRegionInstanceGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetNamedPortsRegionInstanceGroupRequest_descriptor, @@ -31466,7 +33181,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetNodeTemplateNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(997); + getDescriptor().getMessageTypes().get(1053); internal_static_google_cloud_compute_v1_SetNodeTemplateNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetNodeTemplateNodeGroupRequest_descriptor, @@ -31479,7 +33194,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetPrivateIpGoogleAccessSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(998); + getDescriptor().getMessageTypes().get(1054); internal_static_google_cloud_compute_v1_SetPrivateIpGoogleAccessSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetPrivateIpGoogleAccessSubnetworkRequest_descriptor, @@ -31492,7 +33207,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetProxyHeaderTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(999); + getDescriptor().getMessageTypes().get(1055); internal_static_google_cloud_compute_v1_SetProxyHeaderTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetProxyHeaderTargetSslProxyRequest_descriptor, @@ -31504,7 +33219,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetProxyHeaderTargetTcpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1000); + getDescriptor().getMessageTypes().get(1056); internal_static_google_cloud_compute_v1_SetProxyHeaderTargetTcpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetProxyHeaderTargetTcpProxyRequest_descriptor, @@ -31516,7 +33231,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetQuicOverrideTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1001); + getDescriptor().getMessageTypes().get(1057); internal_static_google_cloud_compute_v1_SetQuicOverrideTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetQuicOverrideTargetHttpsProxyRequest_descriptor, @@ -31528,7 +33243,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetSchedulingInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1002); + getDescriptor().getMessageTypes().get(1058); internal_static_google_cloud_compute_v1_SetSchedulingInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSchedulingInstanceRequest_descriptor, @@ -31536,7 +33251,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "SchedulingResource", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_SetSecurityPolicyBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1003); + getDescriptor().getMessageTypes().get(1059); internal_static_google_cloud_compute_v1_SetSecurityPolicyBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSecurityPolicyBackendServiceRequest_descriptor, @@ -31548,7 +33263,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetServiceAccountInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1004); + getDescriptor().getMessageTypes().get(1060); internal_static_google_cloud_compute_v1_SetServiceAccountInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetServiceAccountInstanceRequest_descriptor, @@ -31561,7 +33276,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetShieldedInstanceIntegrityPolicyInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1005); + getDescriptor().getMessageTypes().get(1061); internal_static_google_cloud_compute_v1_SetShieldedInstanceIntegrityPolicyInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetShieldedInstanceIntegrityPolicyInstanceRequest_descriptor, @@ -31574,7 +33289,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetSslCertificatesRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1006); + getDescriptor().getMessageTypes().get(1062); internal_static_google_cloud_compute_v1_SetSslCertificatesRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslCertificatesRegionTargetHttpsProxyRequest_descriptor, @@ -31587,7 +33302,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetSslCertificatesTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1007); + getDescriptor().getMessageTypes().get(1063); internal_static_google_cloud_compute_v1_SetSslCertificatesTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslCertificatesTargetHttpsProxyRequest_descriptor, @@ -31599,7 +33314,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetSslCertificatesTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1008); + getDescriptor().getMessageTypes().get(1064); internal_static_google_cloud_compute_v1_SetSslCertificatesTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslCertificatesTargetSslProxyRequest_descriptor, @@ -31611,7 +33326,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetSslPolicyTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1009); + getDescriptor().getMessageTypes().get(1065); internal_static_google_cloud_compute_v1_SetSslPolicyTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslPolicyTargetHttpsProxyRequest_descriptor, @@ -31619,7 +33334,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SslPolicyReferenceResource", "TargetHttpsProxy", "RequestId", }); internal_static_google_cloud_compute_v1_SetSslPolicyTargetSslProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1010); + getDescriptor().getMessageTypes().get(1066); internal_static_google_cloud_compute_v1_SetSslPolicyTargetSslProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetSslPolicyTargetSslProxyRequest_descriptor, @@ -31627,7 +33342,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "SslPolicyReferenceResource", "TargetSslProxy", "RequestId", }); internal_static_google_cloud_compute_v1_SetTagsInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1011); + getDescriptor().getMessageTypes().get(1067); internal_static_google_cloud_compute_v1_SetTagsInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTagsInstanceRequest_descriptor, @@ -31635,7 +33350,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "TagsResource", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_SetTargetForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(1012); + getDescriptor().getMessageTypes().get(1068); internal_static_google_cloud_compute_v1_SetTargetForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTargetForwardingRuleRequest_descriptor, @@ -31648,7 +33363,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetTargetGlobalForwardingRuleRequest_descriptor = - getDescriptor().getMessageTypes().get(1013); + getDescriptor().getMessageTypes().get(1069); internal_static_google_cloud_compute_v1_SetTargetGlobalForwardingRuleRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTargetGlobalForwardingRuleRequest_descriptor, @@ -31656,7 +33371,7 @@ private static void _clinit_autosplit_dinit_2() { "ForwardingRule", "Project", "RequestId", "TargetReferenceResource", "RequestId", }); internal_static_google_cloud_compute_v1_SetTargetPoolsInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1014); + getDescriptor().getMessageTypes().get(1070); internal_static_google_cloud_compute_v1_SetTargetPoolsInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTargetPoolsInstanceGroupManagerRequest_descriptor, @@ -31669,7 +33384,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetTargetPoolsRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1015); + getDescriptor().getMessageTypes().get(1071); internal_static_google_cloud_compute_v1_SetTargetPoolsRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetTargetPoolsRegionInstanceGroupManagerRequest_descriptor, @@ -31682,7 +33397,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1016); + getDescriptor().getMessageTypes().get(1072); internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpProxyRequest_descriptor, @@ -31695,7 +33410,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1017); + getDescriptor().getMessageTypes().get(1073); internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUrlMapRegionTargetHttpsProxyRequest_descriptor, @@ -31708,7 +33423,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1018); + getDescriptor().getMessageTypes().get(1074); internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpProxyRequest_descriptor, @@ -31716,7 +33431,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetHttpProxy", "UrlMapReferenceResource", "RequestId", }); internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpsProxyRequest_descriptor = - getDescriptor().getMessageTypes().get(1019); + getDescriptor().getMessageTypes().get(1075); internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpsProxyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUrlMapTargetHttpsProxyRequest_descriptor, @@ -31724,7 +33439,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "TargetHttpsProxy", "UrlMapReferenceResource", "RequestId", }); internal_static_google_cloud_compute_v1_SetUsageExportBucketProjectRequest_descriptor = - getDescriptor().getMessageTypes().get(1020); + getDescriptor().getMessageTypes().get(1076); internal_static_google_cloud_compute_v1_SetUsageExportBucketProjectRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SetUsageExportBucketProjectRequest_descriptor, @@ -31732,7 +33447,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "RequestId", "UsageExportLocationResource", "RequestId", }); internal_static_google_cloud_compute_v1_ShareSettings_descriptor = - getDescriptor().getMessageTypes().get(1021); + getDescriptor().getMessageTypes().get(1077); internal_static_google_cloud_compute_v1_ShareSettings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShareSettings_descriptor, @@ -31748,7 +33463,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ShareSettingsProjectConfig_descriptor = - getDescriptor().getMessageTypes().get(1022); + getDescriptor().getMessageTypes().get(1078); internal_static_google_cloud_compute_v1_ShareSettingsProjectConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShareSettingsProjectConfig_descriptor, @@ -31756,7 +33471,7 @@ private static void _clinit_autosplit_dinit_2() { "ProjectId", "ProjectId", }); internal_static_google_cloud_compute_v1_ShieldedInstanceConfig_descriptor = - getDescriptor().getMessageTypes().get(1023); + getDescriptor().getMessageTypes().get(1079); internal_static_google_cloud_compute_v1_ShieldedInstanceConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShieldedInstanceConfig_descriptor, @@ -31769,7 +33484,7 @@ private static void _clinit_autosplit_dinit_2() { "EnableVtpm", }); internal_static_google_cloud_compute_v1_ShieldedInstanceIdentity_descriptor = - getDescriptor().getMessageTypes().get(1024); + getDescriptor().getMessageTypes().get(1080); internal_static_google_cloud_compute_v1_ShieldedInstanceIdentity_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShieldedInstanceIdentity_descriptor, @@ -31777,7 +33492,7 @@ private static void _clinit_autosplit_dinit_2() { "EncryptionKey", "Kind", "SigningKey", "EncryptionKey", "Kind", "SigningKey", }); internal_static_google_cloud_compute_v1_ShieldedInstanceIdentityEntry_descriptor = - getDescriptor().getMessageTypes().get(1025); + getDescriptor().getMessageTypes().get(1081); internal_static_google_cloud_compute_v1_ShieldedInstanceIdentityEntry_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShieldedInstanceIdentityEntry_descriptor, @@ -31785,7 +33500,7 @@ private static void _clinit_autosplit_dinit_2() { "EkCert", "EkPub", "EkCert", "EkPub", }); internal_static_google_cloud_compute_v1_ShieldedInstanceIntegrityPolicy_descriptor = - getDescriptor().getMessageTypes().get(1026); + getDescriptor().getMessageTypes().get(1082); internal_static_google_cloud_compute_v1_ShieldedInstanceIntegrityPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ShieldedInstanceIntegrityPolicy_descriptor, @@ -31793,7 +33508,7 @@ private static void _clinit_autosplit_dinit_2() { "UpdateAutoLearnPolicy", "UpdateAutoLearnPolicy", }); internal_static_google_cloud_compute_v1_SignedUrlKey_descriptor = - getDescriptor().getMessageTypes().get(1027); + getDescriptor().getMessageTypes().get(1083); internal_static_google_cloud_compute_v1_SignedUrlKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SignedUrlKey_descriptor, @@ -31801,7 +33516,7 @@ private static void _clinit_autosplit_dinit_2() { "KeyName", "KeyValue", "KeyName", "KeyValue", }); internal_static_google_cloud_compute_v1_SimulateMaintenanceEventInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1028); + getDescriptor().getMessageTypes().get(1084); internal_static_google_cloud_compute_v1_SimulateMaintenanceEventInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SimulateMaintenanceEventInstanceRequest_descriptor, @@ -31809,7 +33524,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "Zone", }); internal_static_google_cloud_compute_v1_Snapshot_descriptor = - getDescriptor().getMessageTypes().get(1029); + getDescriptor().getMessageTypes().get(1085); internal_static_google_cloud_compute_v1_Snapshot_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Snapshot_descriptor, @@ -31868,7 +33583,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SnapshotList_descriptor = - getDescriptor().getMessageTypes().get(1030); + getDescriptor().getMessageTypes().get(1086); internal_static_google_cloud_compute_v1_SnapshotList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SnapshotList_descriptor, @@ -31886,7 +33601,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_SourceDiskEncryptionKey_descriptor = - getDescriptor().getMessageTypes().get(1031); + getDescriptor().getMessageTypes().get(1087); internal_static_google_cloud_compute_v1_SourceDiskEncryptionKey_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SourceDiskEncryptionKey_descriptor, @@ -31894,7 +33609,7 @@ private static void _clinit_autosplit_dinit_2() { "DiskEncryptionKey", "SourceDisk", "DiskEncryptionKey", "SourceDisk", }); internal_static_google_cloud_compute_v1_SourceInstanceParams_descriptor = - getDescriptor().getMessageTypes().get(1032); + getDescriptor().getMessageTypes().get(1088); internal_static_google_cloud_compute_v1_SourceInstanceParams_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SourceInstanceParams_descriptor, @@ -31902,7 +33617,7 @@ private static void _clinit_autosplit_dinit_2() { "DiskConfigs", }); internal_static_google_cloud_compute_v1_SourceInstanceProperties_descriptor = - getDescriptor().getMessageTypes().get(1033); + getDescriptor().getMessageTypes().get(1089); internal_static_google_cloud_compute_v1_SourceInstanceProperties_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SourceInstanceProperties_descriptor, @@ -31940,7 +33655,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SslCertificate_descriptor = - getDescriptor().getMessageTypes().get(1034); + getDescriptor().getMessageTypes().get(1090); internal_static_google_cloud_compute_v1_SslCertificate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificate_descriptor, @@ -31974,7 +33689,7 @@ private static void _clinit_autosplit_dinit_2() { "Type", }); internal_static_google_cloud_compute_v1_SslCertificateAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1035); + getDescriptor().getMessageTypes().get(1091); internal_static_google_cloud_compute_v1_SslCertificateAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificateAggregatedList_descriptor, @@ -32003,7 +33718,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SslCertificateList_descriptor = - getDescriptor().getMessageTypes().get(1036); + getDescriptor().getMessageTypes().get(1092); internal_static_google_cloud_compute_v1_SslCertificateList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificateList_descriptor, @@ -32021,7 +33736,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_SslCertificateManagedSslCertificate_descriptor = - getDescriptor().getMessageTypes().get(1037); + getDescriptor().getMessageTypes().get(1093); internal_static_google_cloud_compute_v1_SslCertificateManagedSslCertificate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificateManagedSslCertificate_descriptor, @@ -32039,7 +33754,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SslCertificateSelfManagedSslCertificate_descriptor = - getDescriptor().getMessageTypes().get(1038); + getDescriptor().getMessageTypes().get(1094); internal_static_google_cloud_compute_v1_SslCertificateSelfManagedSslCertificate_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificateSelfManagedSslCertificate_descriptor, @@ -32047,7 +33762,7 @@ private static void _clinit_autosplit_dinit_2() { "Certificate", "PrivateKey", "Certificate", "PrivateKey", }); internal_static_google_cloud_compute_v1_SslCertificatesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1039); + getDescriptor().getMessageTypes().get(1095); internal_static_google_cloud_compute_v1_SslCertificatesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslCertificatesScopedList_descriptor, @@ -32055,7 +33770,7 @@ private static void _clinit_autosplit_dinit_2() { "SslCertificates", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_SslPoliciesList_descriptor = - getDescriptor().getMessageTypes().get(1040); + getDescriptor().getMessageTypes().get(1096); internal_static_google_cloud_compute_v1_SslPoliciesList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPoliciesList_descriptor, @@ -32073,7 +33788,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_SslPoliciesListAvailableFeaturesResponse_descriptor = - getDescriptor().getMessageTypes().get(1041); + getDescriptor().getMessageTypes().get(1097); internal_static_google_cloud_compute_v1_SslPoliciesListAvailableFeaturesResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPoliciesListAvailableFeaturesResponse_descriptor, @@ -32081,7 +33796,7 @@ private static void _clinit_autosplit_dinit_2() { "Features", }); internal_static_google_cloud_compute_v1_SslPolicy_descriptor = - getDescriptor().getMessageTypes().get(1042); + getDescriptor().getMessageTypes().get(1098); internal_static_google_cloud_compute_v1_SslPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPolicy_descriptor, @@ -32109,7 +33824,7 @@ private static void _clinit_autosplit_dinit_2() { "SelfLink", }); internal_static_google_cloud_compute_v1_SslPolicyReference_descriptor = - getDescriptor().getMessageTypes().get(1043); + getDescriptor().getMessageTypes().get(1099); internal_static_google_cloud_compute_v1_SslPolicyReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SslPolicyReference_descriptor, @@ -32117,7 +33832,7 @@ private static void _clinit_autosplit_dinit_2() { "SslPolicy", "SslPolicy", }); internal_static_google_cloud_compute_v1_StartInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1044); + getDescriptor().getMessageTypes().get(1100); internal_static_google_cloud_compute_v1_StartInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StartInstanceRequest_descriptor, @@ -32125,7 +33840,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_StartWithEncryptionKeyInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1045); + getDescriptor().getMessageTypes().get(1101); internal_static_google_cloud_compute_v1_StartWithEncryptionKeyInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StartWithEncryptionKeyInstanceRequest_descriptor, @@ -32138,7 +33853,7 @@ private static void _clinit_autosplit_dinit_2() { "RequestId", }); internal_static_google_cloud_compute_v1_StatefulPolicy_descriptor = - getDescriptor().getMessageTypes().get(1046); + getDescriptor().getMessageTypes().get(1102); internal_static_google_cloud_compute_v1_StatefulPolicy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StatefulPolicy_descriptor, @@ -32146,7 +33861,7 @@ private static void _clinit_autosplit_dinit_2() { "PreservedState", "PreservedState", }); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedState_descriptor = - getDescriptor().getMessageTypes().get(1047); + getDescriptor().getMessageTypes().get(1103); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StatefulPolicyPreservedState_descriptor, @@ -32164,7 +33879,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateDiskDevice_descriptor = - getDescriptor().getMessageTypes().get(1048); + getDescriptor().getMessageTypes().get(1104); internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateDiskDevice_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StatefulPolicyPreservedStateDiskDevice_descriptor, @@ -32172,7 +33887,7 @@ private static void _clinit_autosplit_dinit_2() { "AutoDelete", "AutoDelete", }); internal_static_google_cloud_compute_v1_StopInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1049); + getDescriptor().getMessageTypes().get(1105); internal_static_google_cloud_compute_v1_StopInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_StopInstanceRequest_descriptor, @@ -32180,7 +33895,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_Subnetwork_descriptor = - getDescriptor().getMessageTypes().get(1050); + getDescriptor().getMessageTypes().get(1106); internal_static_google_cloud_compute_v1_Subnetwork_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Subnetwork_descriptor, @@ -32192,6 +33907,7 @@ private static void _clinit_autosplit_dinit_2() { "Fingerprint", "GatewayAddress", "Id", + "InternalIpv6Prefix", "IpCidrRange", "Ipv6AccessType", "Ipv6CidrRange", @@ -32215,6 +33931,7 @@ private static void _clinit_autosplit_dinit_2() { "Fingerprint", "GatewayAddress", "Id", + "InternalIpv6Prefix", "IpCidrRange", "Ipv6AccessType", "Ipv6CidrRange", @@ -32232,7 +33949,7 @@ private static void _clinit_autosplit_dinit_2() { "State", }); internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1051); + getDescriptor().getMessageTypes().get(1107); internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworkAggregatedList_descriptor, @@ -32261,7 +33978,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_SubnetworkList_descriptor = - getDescriptor().getMessageTypes().get(1052); + getDescriptor().getMessageTypes().get(1108); internal_static_google_cloud_compute_v1_SubnetworkList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworkList_descriptor, @@ -32279,7 +33996,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_SubnetworkLogConfig_descriptor = - getDescriptor().getMessageTypes().get(1053); + getDescriptor().getMessageTypes().get(1109); internal_static_google_cloud_compute_v1_SubnetworkLogConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworkLogConfig_descriptor, @@ -32297,7 +34014,7 @@ private static void _clinit_autosplit_dinit_2() { "Metadata", }); internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_descriptor = - getDescriptor().getMessageTypes().get(1054); + getDescriptor().getMessageTypes().get(1110); internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworkSecondaryRange_descriptor, @@ -32305,7 +34022,7 @@ private static void _clinit_autosplit_dinit_2() { "IpCidrRange", "RangeName", "IpCidrRange", "RangeName", }); internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor = - getDescriptor().getMessageTypes().get(1055); + getDescriptor().getMessageTypes().get(1111); internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksExpandIpCidrRangeRequest_descriptor, @@ -32313,7 +34030,7 @@ private static void _clinit_autosplit_dinit_2() { "IpCidrRange", "IpCidrRange", }); internal_static_google_cloud_compute_v1_SubnetworksScopedList_descriptor = - getDescriptor().getMessageTypes().get(1056); + getDescriptor().getMessageTypes().get(1112); internal_static_google_cloud_compute_v1_SubnetworksScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksScopedList_descriptor, @@ -32321,15 +34038,19 @@ private static void _clinit_autosplit_dinit_2() { "Subnetworks", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_descriptor = - getDescriptor().getMessageTypes().get(1057); + getDescriptor().getMessageTypes().get(1113); internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SubnetworksSetPrivateIpGoogleAccessRequest_descriptor, new java.lang.String[] { "PrivateIpGoogleAccess", "PrivateIpGoogleAccess", }); + _clinit_autosplit_dinit_3(); + } + + private static void _clinit_autosplit_dinit_3() { internal_static_google_cloud_compute_v1_Subsetting_descriptor = - getDescriptor().getMessageTypes().get(1058); + getDescriptor().getMessageTypes().get(1114); internal_static_google_cloud_compute_v1_Subsetting_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Subsetting_descriptor, @@ -32337,7 +34058,7 @@ private static void _clinit_autosplit_dinit_2() { "Policy", "Policy", }); internal_static_google_cloud_compute_v1_SuspendInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1059); + getDescriptor().getMessageTypes().get(1115); internal_static_google_cloud_compute_v1_SuspendInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SuspendInstanceRequest_descriptor, @@ -32345,7 +34066,7 @@ private static void _clinit_autosplit_dinit_2() { "Instance", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1060); + getDescriptor().getMessageTypes().get(1116); internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_SwitchToCustomModeNetworkRequest_descriptor, @@ -32353,7 +34074,7 @@ private static void _clinit_autosplit_dinit_2() { "Network", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_TCPHealthCheck_descriptor = - getDescriptor().getMessageTypes().get(1061); + getDescriptor().getMessageTypes().get(1117); internal_static_google_cloud_compute_v1_TCPHealthCheck_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TCPHealthCheck_descriptor, @@ -32372,7 +34093,7 @@ private static void _clinit_autosplit_dinit_2() { "Response", }); internal_static_google_cloud_compute_v1_Tags_descriptor = - getDescriptor().getMessageTypes().get(1062); + getDescriptor().getMessageTypes().get(1118); internal_static_google_cloud_compute_v1_Tags_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Tags_descriptor, @@ -32380,7 +34101,7 @@ private static void _clinit_autosplit_dinit_2() { "Fingerprint", "Items", "Fingerprint", }); internal_static_google_cloud_compute_v1_TargetGrpcProxy_descriptor = - getDescriptor().getMessageTypes().get(1063); + getDescriptor().getMessageTypes().get(1119); internal_static_google_cloud_compute_v1_TargetGrpcProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetGrpcProxy_descriptor, @@ -32407,7 +34128,7 @@ private static void _clinit_autosplit_dinit_2() { "ValidateForProxyless", }); internal_static_google_cloud_compute_v1_TargetGrpcProxyList_descriptor = - getDescriptor().getMessageTypes().get(1064); + getDescriptor().getMessageTypes().get(1120); internal_static_google_cloud_compute_v1_TargetGrpcProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetGrpcProxyList_descriptor, @@ -32425,7 +34146,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1065); + getDescriptor().getMessageTypes().get(1121); internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxiesScopedList_descriptor, @@ -32433,7 +34154,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetHttpProxies", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpProxy_descriptor = - getDescriptor().getMessageTypes().get(1066); + getDescriptor().getMessageTypes().get(1122); internal_static_google_cloud_compute_v1_TargetHttpProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxy_descriptor, @@ -32460,7 +34181,7 @@ private static void _clinit_autosplit_dinit_2() { "UrlMap", }); internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1067); + getDescriptor().getMessageTypes().get(1123); internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxyAggregatedList_descriptor, @@ -32487,7 +34208,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetHttpProxyList_descriptor = - getDescriptor().getMessageTypes().get(1068); + getDescriptor().getMessageTypes().get(1124); internal_static_google_cloud_compute_v1_TargetHttpProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpProxyList_descriptor, @@ -32505,7 +34226,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1069); + getDescriptor().getMessageTypes().get(1125); internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesScopedList_descriptor, @@ -32513,7 +34234,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetHttpsProxies", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_descriptor = - getDescriptor().getMessageTypes().get(1070); + getDescriptor().getMessageTypes().get(1126); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetQuicOverrideRequest_descriptor, @@ -32521,7 +34242,7 @@ private static void _clinit_autosplit_dinit_2() { "QuicOverride", "QuicOverride", }); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(1071); + getDescriptor().getMessageTypes().get(1127); internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxiesSetSslCertificatesRequest_descriptor, @@ -32529,7 +34250,7 @@ private static void _clinit_autosplit_dinit_2() { "SslCertificates", }); internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor = - getDescriptor().getMessageTypes().get(1072); + getDescriptor().getMessageTypes().get(1128); internal_static_google_cloud_compute_v1_TargetHttpsProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxy_descriptor, @@ -32565,7 +34286,7 @@ private static void _clinit_autosplit_dinit_2() { "UrlMap", }); internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1073); + getDescriptor().getMessageTypes().get(1129); internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxyAggregatedList_descriptor, @@ -32594,7 +34315,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetHttpsProxyList_descriptor = - getDescriptor().getMessageTypes().get(1074); + getDescriptor().getMessageTypes().get(1130); internal_static_google_cloud_compute_v1_TargetHttpsProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetHttpsProxyList_descriptor, @@ -32612,7 +34333,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_TargetInstance_descriptor = - getDescriptor().getMessageTypes().get(1075); + getDescriptor().getMessageTypes().get(1131); internal_static_google_cloud_compute_v1_TargetInstance_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstance_descriptor, @@ -32639,7 +34360,7 @@ private static void _clinit_autosplit_dinit_2() { "Zone", }); internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1076); + getDescriptor().getMessageTypes().get(1132); internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstanceAggregatedList_descriptor, @@ -32668,7 +34389,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetInstanceList_descriptor = - getDescriptor().getMessageTypes().get(1077); + getDescriptor().getMessageTypes().get(1133); internal_static_google_cloud_compute_v1_TargetInstanceList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstanceList_descriptor, @@ -32686,7 +34407,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_TargetInstancesScopedList_descriptor = - getDescriptor().getMessageTypes().get(1078); + getDescriptor().getMessageTypes().get(1134); internal_static_google_cloud_compute_v1_TargetInstancesScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetInstancesScopedList_descriptor, @@ -32694,7 +34415,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetInstances", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_TargetPool_descriptor = - getDescriptor().getMessageTypes().get(1079); + getDescriptor().getMessageTypes().get(1135); internal_static_google_cloud_compute_v1_TargetPool_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPool_descriptor, @@ -32723,7 +34444,7 @@ private static void _clinit_autosplit_dinit_2() { "SessionAffinity", }); internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1080); + getDescriptor().getMessageTypes().get(1136); internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolAggregatedList_descriptor, @@ -32752,7 +34473,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_descriptor = - getDescriptor().getMessageTypes().get(1081); + getDescriptor().getMessageTypes().get(1137); internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolInstanceHealth_descriptor, @@ -32760,7 +34481,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthStatus", "Kind", "Kind", }); internal_static_google_cloud_compute_v1_TargetPoolList_descriptor = - getDescriptor().getMessageTypes().get(1082); + getDescriptor().getMessageTypes().get(1138); internal_static_google_cloud_compute_v1_TargetPoolList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolList_descriptor, @@ -32778,7 +34499,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1083); + getDescriptor().getMessageTypes().get(1139); internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsAddHealthCheckRequest_descriptor, @@ -32786,7 +34507,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthChecks", }); internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1084); + getDescriptor().getMessageTypes().get(1140); internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsAddInstanceRequest_descriptor, @@ -32794,7 +34515,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1085); + getDescriptor().getMessageTypes().get(1141); internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsRemoveHealthCheckRequest_descriptor, @@ -32802,7 +34523,7 @@ private static void _clinit_autosplit_dinit_2() { "HealthChecks", }); internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1086); + getDescriptor().getMessageTypes().get(1142); internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsRemoveInstanceRequest_descriptor, @@ -32810,7 +34531,7 @@ private static void _clinit_autosplit_dinit_2() { "Instances", }); internal_static_google_cloud_compute_v1_TargetPoolsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1087); + getDescriptor().getMessageTypes().get(1143); internal_static_google_cloud_compute_v1_TargetPoolsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetPoolsScopedList_descriptor, @@ -32818,7 +34539,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetPools", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_TargetReference_descriptor = - getDescriptor().getMessageTypes().get(1088); + getDescriptor().getMessageTypes().get(1144); internal_static_google_cloud_compute_v1_TargetReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetReference_descriptor, @@ -32826,7 +34547,7 @@ private static void _clinit_autosplit_dinit_2() { "Target", "Target", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1089); + getDescriptor().getMessageTypes().get(1145); internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetBackendServiceRequest_descriptor, @@ -32834,7 +34555,7 @@ private static void _clinit_autosplit_dinit_2() { "Service", "Service", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_descriptor = - getDescriptor().getMessageTypes().get(1090); + getDescriptor().getMessageTypes().get(1146); internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetProxyHeaderRequest_descriptor, @@ -32842,7 +34563,7 @@ private static void _clinit_autosplit_dinit_2() { "ProxyHeader", "ProxyHeader", }); internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(1091); + getDescriptor().getMessageTypes().get(1147); internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxiesSetSslCertificatesRequest_descriptor, @@ -32850,7 +34571,7 @@ private static void _clinit_autosplit_dinit_2() { "SslCertificates", }); internal_static_google_cloud_compute_v1_TargetSslProxy_descriptor = - getDescriptor().getMessageTypes().get(1092); + getDescriptor().getMessageTypes().get(1148); internal_static_google_cloud_compute_v1_TargetSslProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxy_descriptor, @@ -32876,7 +34597,7 @@ private static void _clinit_autosplit_dinit_2() { "SslPolicy", }); internal_static_google_cloud_compute_v1_TargetSslProxyList_descriptor = - getDescriptor().getMessageTypes().get(1093); + getDescriptor().getMessageTypes().get(1149); internal_static_google_cloud_compute_v1_TargetSslProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetSslProxyList_descriptor, @@ -32894,7 +34615,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1094); + getDescriptor().getMessageTypes().get(1150); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxiesSetBackendServiceRequest_descriptor, @@ -32902,7 +34623,7 @@ private static void _clinit_autosplit_dinit_2() { "Service", "Service", }); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_descriptor = - getDescriptor().getMessageTypes().get(1095); + getDescriptor().getMessageTypes().get(1151); internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxiesSetProxyHeaderRequest_descriptor, @@ -32910,7 +34631,7 @@ private static void _clinit_autosplit_dinit_2() { "ProxyHeader", "ProxyHeader", }); internal_static_google_cloud_compute_v1_TargetTcpProxy_descriptor = - getDescriptor().getMessageTypes().get(1096); + getDescriptor().getMessageTypes().get(1152); internal_static_google_cloud_compute_v1_TargetTcpProxy_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxy_descriptor, @@ -32935,7 +34656,7 @@ private static void _clinit_autosplit_dinit_2() { "Service", }); internal_static_google_cloud_compute_v1_TargetTcpProxyList_descriptor = - getDescriptor().getMessageTypes().get(1097); + getDescriptor().getMessageTypes().get(1153); internal_static_google_cloud_compute_v1_TargetTcpProxyList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetTcpProxyList_descriptor, @@ -32953,7 +34674,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_TargetVpnGateway_descriptor = - getDescriptor().getMessageTypes().get(1098); + getDescriptor().getMessageTypes().get(1154); internal_static_google_cloud_compute_v1_TargetVpnGateway_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGateway_descriptor, @@ -32980,7 +34701,7 @@ private static void _clinit_autosplit_dinit_2() { "Status", }); internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1099); + getDescriptor().getMessageTypes().get(1155); internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGatewayAggregatedList_descriptor, @@ -33009,7 +34730,7 @@ private static void _clinit_autosplit_dinit_2() { "Key", "Value", }); internal_static_google_cloud_compute_v1_TargetVpnGatewayList_descriptor = - getDescriptor().getMessageTypes().get(1100); + getDescriptor().getMessageTypes().get(1156); internal_static_google_cloud_compute_v1_TargetVpnGatewayList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGatewayList_descriptor, @@ -33027,7 +34748,7 @@ private static void _clinit_autosplit_dinit_2() { "Warning", }); internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_descriptor = - getDescriptor().getMessageTypes().get(1101); + getDescriptor().getMessageTypes().get(1157); internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TargetVpnGatewaysScopedList_descriptor, @@ -33035,7 +34756,7 @@ private static void _clinit_autosplit_dinit_2() { "TargetVpnGateways", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_TestFailure_descriptor = - getDescriptor().getMessageTypes().get(1102); + getDescriptor().getMessageTypes().get(1158); internal_static_google_cloud_compute_v1_TestFailure_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestFailure_descriptor, @@ -33059,7 +34780,7 @@ private static void _clinit_autosplit_dinit_2() { "Path", }); internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1103); + getDescriptor().getMessageTypes().get(1159); internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsDiskRequest_descriptor, @@ -33067,7 +34788,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(1104); + getDescriptor().getMessageTypes().get(1160); internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsExternalVpnGatewayRequest_descriptor, @@ -33075,7 +34796,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1105); + getDescriptor().getMessageTypes().get(1161); internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsFirewallPolicyRequest_descriptor, @@ -33083,7 +34804,7 @@ private static void _clinit_autosplit_dinit_2() { "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_descriptor = - getDescriptor().getMessageTypes().get(1106); + getDescriptor().getMessageTypes().get(1162); internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsImageRequest_descriptor, @@ -33091,7 +34812,7 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1107); + getDescriptor().getMessageTypes().get(1163); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceRequest_descriptor, @@ -33099,19 +34820,15 @@ private static void _clinit_autosplit_dinit_2() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(1108); + getDescriptor().getMessageTypes().get(1164); internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsInstanceTemplateRequest_descriptor, new java.lang.String[] { "Project", "Resource", "TestPermissionsRequestResource", }); - _clinit_autosplit_dinit_3(); - } - - private static void _clinit_autosplit_dinit_3() { internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_descriptor = - getDescriptor().getMessageTypes().get(1109); + getDescriptor().getMessageTypes().get(1165); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseCodeRequest_descriptor, @@ -33119,7 +34836,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_descriptor = - getDescriptor().getMessageTypes().get(1110); + getDescriptor().getMessageTypes().get(1166); internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsLicenseRequest_descriptor, @@ -33127,7 +34844,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_descriptor = - getDescriptor().getMessageTypes().get(1111); + getDescriptor().getMessageTypes().get(1167); internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsMachineImageRequest_descriptor, @@ -33135,15 +34852,23 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1112); + getDescriptor().getMessageTypes().get(1168); internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkEndpointGroupRequest_descriptor, new java.lang.String[] { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); + internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(1169); + internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor, + new java.lang.String[] { + "Project", "Resource", "TestPermissionsRequestResource", + }); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_descriptor = - getDescriptor().getMessageTypes().get(1113); + getDescriptor().getMessageTypes().get(1170); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNodeGroupRequest_descriptor, @@ -33151,7 +34876,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_descriptor = - getDescriptor().getMessageTypes().get(1114); + getDescriptor().getMessageTypes().get(1171); internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsNodeTemplateRequest_descriptor, @@ -33159,7 +34884,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_descriptor = - getDescriptor().getMessageTypes().get(1115); + getDescriptor().getMessageTypes().get(1172); internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsPacketMirroringRequest_descriptor, @@ -33167,15 +34892,23 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_descriptor = - getDescriptor().getMessageTypes().get(1116); + getDescriptor().getMessageTypes().get(1173); internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsRegionDiskRequest_descriptor, new java.lang.String[] { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); + internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor = + getDescriptor().getMessageTypes().get(1174); + 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", + }); internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(1117); + getDescriptor().getMessageTypes().get(1175); internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsReservationRequest_descriptor, @@ -33183,7 +34916,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", "Zone", }); internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1118); + getDescriptor().getMessageTypes().get(1176); internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsResourcePolicyRequest_descriptor, @@ -33191,7 +34924,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1119); + getDescriptor().getMessageTypes().get(1177); internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsServiceAttachmentRequest_descriptor, @@ -33199,7 +34932,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_descriptor = - getDescriptor().getMessageTypes().get(1120); + getDescriptor().getMessageTypes().get(1178); internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsSnapshotRequest_descriptor, @@ -33207,7 +34940,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1121); + getDescriptor().getMessageTypes().get(1179); internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsSubnetworkRequest_descriptor, @@ -33215,7 +34948,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_descriptor = - getDescriptor().getMessageTypes().get(1122); + getDescriptor().getMessageTypes().get(1180); internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestIamPermissionsVpnGatewayRequest_descriptor, @@ -33223,7 +34956,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "Resource", "TestPermissionsRequestResource", }); internal_static_google_cloud_compute_v1_TestPermissionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1123); + getDescriptor().getMessageTypes().get(1181); internal_static_google_cloud_compute_v1_TestPermissionsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestPermissionsRequest_descriptor, @@ -33231,7 +34964,7 @@ private static void _clinit_autosplit_dinit_3() { "Permissions", }); internal_static_google_cloud_compute_v1_TestPermissionsResponse_descriptor = - getDescriptor().getMessageTypes().get(1124); + getDescriptor().getMessageTypes().get(1182); internal_static_google_cloud_compute_v1_TestPermissionsResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_TestPermissionsResponse_descriptor, @@ -33239,7 +34972,7 @@ private static void _clinit_autosplit_dinit_3() { "Permissions", }); internal_static_google_cloud_compute_v1_Uint128_descriptor = - getDescriptor().getMessageTypes().get(1125); + getDescriptor().getMessageTypes().get(1183); internal_static_google_cloud_compute_v1_Uint128_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Uint128_descriptor, @@ -33247,7 +34980,7 @@ private static void _clinit_autosplit_dinit_3() { "High", "Low", "High", "Low", }); internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1126); + getDescriptor().getMessageTypes().get(1184); internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateAccessConfigInstanceRequest_descriptor, @@ -33261,7 +34994,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(1127); + getDescriptor().getMessageTypes().get(1185); internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateAutoscalerRequest_descriptor, @@ -33275,7 +35008,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_descriptor = - getDescriptor().getMessageTypes().get(1128); + getDescriptor().getMessageTypes().get(1186); internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateBackendBucketRequest_descriptor, @@ -33283,7 +35016,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendBucket", "BackendBucketResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1129); + getDescriptor().getMessageTypes().get(1187); internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateBackendServiceRequest_descriptor, @@ -33291,7 +35024,7 @@ private static void _clinit_autosplit_dinit_3() { "BackendService", "BackendServiceResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1130); + getDescriptor().getMessageTypes().get(1188); internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateDisplayDeviceInstanceRequest_descriptor, @@ -33299,7 +35032,7 @@ private static void _clinit_autosplit_dinit_3() { "DisplayDeviceResource", "Instance", "Project", "RequestId", "Zone", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateFirewallRequest_descriptor = - getDescriptor().getMessageTypes().get(1131); + getDescriptor().getMessageTypes().get(1189); internal_static_google_cloud_compute_v1_UpdateFirewallRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateFirewallRequest_descriptor, @@ -33307,7 +35040,7 @@ private static void _clinit_autosplit_dinit_3() { "Firewall", "FirewallResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1132); + getDescriptor().getMessageTypes().get(1190); internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateHealthCheckRequest_descriptor, @@ -33315,7 +35048,7 @@ private static void _clinit_autosplit_dinit_3() { "HealthCheck", "HealthCheckResource", "Project", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1133); + getDescriptor().getMessageTypes().get(1191); internal_static_google_cloud_compute_v1_UpdateInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateInstanceRequest_descriptor, @@ -33332,7 +35065,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1134); + getDescriptor().getMessageTypes().get(1192); internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateNetworkInterfaceInstanceRequest_descriptor, @@ -33346,7 +35079,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_descriptor = - getDescriptor().getMessageTypes().get(1135); + getDescriptor().getMessageTypes().get(1193); internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdatePeeringNetworkRequest_descriptor, @@ -33358,7 +35091,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1136); + getDescriptor().getMessageTypes().get(1194); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsInstanceGroupManagerRequest_descriptor, @@ -33371,7 +35104,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor = - getDescriptor().getMessageTypes().get(1137); + getDescriptor().getMessageTypes().get(1195); internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest_descriptor, @@ -33384,7 +35117,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_descriptor = - getDescriptor().getMessageTypes().get(1138); + getDescriptor().getMessageTypes().get(1196); internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionAutoscalerRequest_descriptor, @@ -33398,7 +35131,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_descriptor = - getDescriptor().getMessageTypes().get(1139); + getDescriptor().getMessageTypes().get(1197); internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionBackendServiceRequest_descriptor, @@ -33411,7 +35144,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_descriptor = - getDescriptor().getMessageTypes().get(1140); + getDescriptor().getMessageTypes().get(1198); internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionCommitmentRequest_descriptor, @@ -33428,7 +35161,7 @@ private static void _clinit_autosplit_dinit_3() { "UpdateMask", }); internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_descriptor = - getDescriptor().getMessageTypes().get(1141); + getDescriptor().getMessageTypes().get(1199); internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionHealthCheckRequest_descriptor, @@ -33436,7 +35169,7 @@ private static void _clinit_autosplit_dinit_3() { "HealthCheck", "HealthCheckResource", "Project", "Region", "RequestId", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1142); + getDescriptor().getMessageTypes().get(1200); internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRegionUrlMapRequest_descriptor, @@ -33444,7 +35177,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RequestId", "UrlMap", "UrlMapResource", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateReservationRequest_descriptor = - getDescriptor().getMessageTypes().get(1143); + getDescriptor().getMessageTypes().get(1201); internal_static_google_cloud_compute_v1_UpdateReservationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateReservationRequest_descriptor, @@ -33461,7 +35194,7 @@ private static void _clinit_autosplit_dinit_3() { "UpdateMask", }); internal_static_google_cloud_compute_v1_UpdateRouterRequest_descriptor = - getDescriptor().getMessageTypes().get(1144); + getDescriptor().getMessageTypes().get(1202); internal_static_google_cloud_compute_v1_UpdateRouterRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateRouterRequest_descriptor, @@ -33469,7 +35202,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RequestId", "Router", "RouterResource", "RequestId", }); internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_descriptor = - getDescriptor().getMessageTypes().get(1145); + getDescriptor().getMessageTypes().get(1203); internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateShieldedInstanceConfigInstanceRequest_descriptor, @@ -33482,7 +35215,7 @@ private static void _clinit_autosplit_dinit_3() { "RequestId", }); internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1146); + getDescriptor().getMessageTypes().get(1204); internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UpdateUrlMapRequest_descriptor, @@ -33490,7 +35223,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "RequestId", "UrlMap", "UrlMapResource", "RequestId", }); internal_static_google_cloud_compute_v1_UrlMap_descriptor = - getDescriptor().getMessageTypes().get(1147); + getDescriptor().getMessageTypes().get(1205); internal_static_google_cloud_compute_v1_UrlMap_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMap_descriptor, @@ -33524,7 +35257,7 @@ private static void _clinit_autosplit_dinit_3() { "SelfLink", }); internal_static_google_cloud_compute_v1_UrlMapList_descriptor = - getDescriptor().getMessageTypes().get(1148); + getDescriptor().getMessageTypes().get(1206); internal_static_google_cloud_compute_v1_UrlMapList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapList_descriptor, @@ -33542,7 +35275,7 @@ private static void _clinit_autosplit_dinit_3() { "Warning", }); internal_static_google_cloud_compute_v1_UrlMapReference_descriptor = - getDescriptor().getMessageTypes().get(1149); + getDescriptor().getMessageTypes().get(1207); internal_static_google_cloud_compute_v1_UrlMapReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapReference_descriptor, @@ -33550,7 +35283,7 @@ private static void _clinit_autosplit_dinit_3() { "UrlMap", "UrlMap", }); internal_static_google_cloud_compute_v1_UrlMapTest_descriptor = - getDescriptor().getMessageTypes().get(1150); + getDescriptor().getMessageTypes().get(1208); internal_static_google_cloud_compute_v1_UrlMapTest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapTest_descriptor, @@ -33570,7 +35303,7 @@ private static void _clinit_autosplit_dinit_3() { "Service", }); internal_static_google_cloud_compute_v1_UrlMapTestHeader_descriptor = - getDescriptor().getMessageTypes().get(1151); + getDescriptor().getMessageTypes().get(1209); internal_static_google_cloud_compute_v1_UrlMapTestHeader_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapTestHeader_descriptor, @@ -33578,7 +35311,7 @@ private static void _clinit_autosplit_dinit_3() { "Name", "Value", "Name", "Value", }); internal_static_google_cloud_compute_v1_UrlMapValidationResult_descriptor = - getDescriptor().getMessageTypes().get(1152); + getDescriptor().getMessageTypes().get(1210); internal_static_google_cloud_compute_v1_UrlMapValidationResult_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapValidationResult_descriptor, @@ -33591,7 +35324,7 @@ private static void _clinit_autosplit_dinit_3() { "TestPassed", }); internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1153); + getDescriptor().getMessageTypes().get(1211); internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsAggregatedList_descriptor, @@ -33620,7 +35353,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_UrlMapsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1154); + getDescriptor().getMessageTypes().get(1212); internal_static_google_cloud_compute_v1_UrlMapsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsScopedList_descriptor, @@ -33628,15 +35361,15 @@ private static void _clinit_autosplit_dinit_3() { "UrlMaps", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_descriptor = - getDescriptor().getMessageTypes().get(1155); + getDescriptor().getMessageTypes().get(1213); internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsValidateRequest_descriptor, new java.lang.String[] { - "Resource", "Resource", + "LoadBalancingSchemes", "Resource", "Resource", }); internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_descriptor = - getDescriptor().getMessageTypes().get(1156); + getDescriptor().getMessageTypes().get(1214); internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlMapsValidateResponse_descriptor, @@ -33644,7 +35377,7 @@ private static void _clinit_autosplit_dinit_3() { "Result", "Result", }); internal_static_google_cloud_compute_v1_UrlRewrite_descriptor = - getDescriptor().getMessageTypes().get(1157); + getDescriptor().getMessageTypes().get(1215); internal_static_google_cloud_compute_v1_UrlRewrite_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UrlRewrite_descriptor, @@ -33652,7 +35385,7 @@ private static void _clinit_autosplit_dinit_3() { "HostRewrite", "PathPrefixRewrite", "HostRewrite", "PathPrefixRewrite", }); internal_static_google_cloud_compute_v1_UsableSubnetwork_descriptor = - getDescriptor().getMessageTypes().get(1158); + getDescriptor().getMessageTypes().get(1216); internal_static_google_cloud_compute_v1_UsableSubnetwork_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsableSubnetwork_descriptor, @@ -33666,7 +35399,7 @@ private static void _clinit_autosplit_dinit_3() { "Subnetwork", }); internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_descriptor = - getDescriptor().getMessageTypes().get(1159); + getDescriptor().getMessageTypes().get(1217); internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsableSubnetworkSecondaryRange_descriptor, @@ -33674,7 +35407,7 @@ private static void _clinit_autosplit_dinit_3() { "IpCidrRange", "RangeName", "IpCidrRange", "RangeName", }); internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1160); + getDescriptor().getMessageTypes().get(1218); internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsableSubnetworksAggregatedList_descriptor, @@ -33692,7 +35425,7 @@ private static void _clinit_autosplit_dinit_3() { "Warning", }); internal_static_google_cloud_compute_v1_UsageExportLocation_descriptor = - getDescriptor().getMessageTypes().get(1161); + getDescriptor().getMessageTypes().get(1219); internal_static_google_cloud_compute_v1_UsageExportLocation_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_UsageExportLocation_descriptor, @@ -33700,7 +35433,7 @@ private static void _clinit_autosplit_dinit_3() { "BucketName", "ReportNamePrefix", "BucketName", "ReportNamePrefix", }); internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1162); + getDescriptor().getMessageTypes().get(1220); internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ValidateRegionUrlMapRequest_descriptor, @@ -33708,7 +35441,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "Region", "RegionUrlMapsValidateRequestResource", "UrlMap", }); internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_descriptor = - getDescriptor().getMessageTypes().get(1163); + getDescriptor().getMessageTypes().get(1221); internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ValidateUrlMapRequest_descriptor, @@ -33716,7 +35449,7 @@ private static void _clinit_autosplit_dinit_3() { "Project", "UrlMap", "UrlMapsValidateRequestResource", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappings_descriptor = - getDescriptor().getMessageTypes().get(1164); + getDescriptor().getMessageTypes().get(1222); internal_static_google_cloud_compute_v1_VmEndpointNatMappings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappings_descriptor, @@ -33724,7 +35457,7 @@ private static void _clinit_autosplit_dinit_3() { "InstanceName", "InterfaceNatMappings", "InstanceName", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_descriptor = - getDescriptor().getMessageTypes().get(1165); + getDescriptor().getMessageTypes().get(1223); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappingsInterfaceNatMappings_descriptor, @@ -33741,7 +35474,7 @@ private static void _clinit_autosplit_dinit_3() { "SourceVirtualIp", }); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_descriptor = - getDescriptor().getMessageTypes().get(1166); + getDescriptor().getMessageTypes().get(1224); internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VmEndpointNatMappingsList_descriptor, @@ -33759,7 +35492,7 @@ private static void _clinit_autosplit_dinit_3() { "Warning", }); internal_static_google_cloud_compute_v1_VpnGateway_descriptor = - getDescriptor().getMessageTypes().get(1167); + getDescriptor().getMessageTypes().get(1225); internal_static_google_cloud_compute_v1_VpnGateway_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGateway_descriptor, @@ -33796,7 +35529,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1168); + getDescriptor().getMessageTypes().get(1226); internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayAggregatedList_descriptor, @@ -33825,7 +35558,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnGatewayList_descriptor = - getDescriptor().getMessageTypes().get(1169); + getDescriptor().getMessageTypes().get(1227); internal_static_google_cloud_compute_v1_VpnGatewayList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayList_descriptor, @@ -33843,7 +35576,7 @@ private static void _clinit_autosplit_dinit_3() { "Warning", }); internal_static_google_cloud_compute_v1_VpnGatewayStatus_descriptor = - getDescriptor().getMessageTypes().get(1170); + getDescriptor().getMessageTypes().get(1228); internal_static_google_cloud_compute_v1_VpnGatewayStatus_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatus_descriptor, @@ -33851,7 +35584,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnConnections", }); internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_descriptor = - getDescriptor().getMessageTypes().get(1171); + getDescriptor().getMessageTypes().get(1229); internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatusHighAvailabilityRequirementState_descriptor, @@ -33859,7 +35592,7 @@ private static void _clinit_autosplit_dinit_3() { "State", "UnsatisfiedReason", "State", "UnsatisfiedReason", }); internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_descriptor = - getDescriptor().getMessageTypes().get(1172); + getDescriptor().getMessageTypes().get(1230); internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatusTunnel_descriptor, @@ -33872,7 +35605,7 @@ private static void _clinit_autosplit_dinit_3() { "TunnelUrl", }); internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_descriptor = - getDescriptor().getMessageTypes().get(1173); + getDescriptor().getMessageTypes().get(1231); internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayStatusVpnConnection_descriptor, @@ -33886,7 +35619,7 @@ private static void _clinit_autosplit_dinit_3() { "State", }); internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_descriptor = - getDescriptor().getMessageTypes().get(1174); + getDescriptor().getMessageTypes().get(1232); internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewayVpnGatewayInterface_descriptor, @@ -33899,7 +35632,7 @@ private static void _clinit_autosplit_dinit_3() { "IpAddress", }); internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_descriptor = - getDescriptor().getMessageTypes().get(1175); + getDescriptor().getMessageTypes().get(1233); internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewaysGetStatusResponse_descriptor, @@ -33907,7 +35640,7 @@ private static void _clinit_autosplit_dinit_3() { "Result", "Result", }); internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_descriptor = - getDescriptor().getMessageTypes().get(1176); + getDescriptor().getMessageTypes().get(1234); internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnGatewaysScopedList_descriptor, @@ -33915,7 +35648,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnGateways", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_VpnTunnel_descriptor = - getDescriptor().getMessageTypes().get(1177); + getDescriptor().getMessageTypes().get(1235); internal_static_google_cloud_compute_v1_VpnTunnel_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnel_descriptor, @@ -33964,7 +35697,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnGatewayInterface", }); internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_descriptor = - getDescriptor().getMessageTypes().get(1178); + getDescriptor().getMessageTypes().get(1236); internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelAggregatedList_descriptor, @@ -33993,7 +35726,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_VpnTunnelList_descriptor = - getDescriptor().getMessageTypes().get(1179); + getDescriptor().getMessageTypes().get(1237); internal_static_google_cloud_compute_v1_VpnTunnelList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelList_descriptor, @@ -34011,7 +35744,7 @@ private static void _clinit_autosplit_dinit_3() { "Warning", }); internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_descriptor = - getDescriptor().getMessageTypes().get(1180); + getDescriptor().getMessageTypes().get(1238); internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_VpnTunnelsScopedList_descriptor, @@ -34019,7 +35752,7 @@ private static void _clinit_autosplit_dinit_3() { "VpnTunnels", "Warning", "Warning", }); internal_static_google_cloud_compute_v1_WafExpressionSet_descriptor = - getDescriptor().getMessageTypes().get(1181); + getDescriptor().getMessageTypes().get(1239); internal_static_google_cloud_compute_v1_WafExpressionSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WafExpressionSet_descriptor, @@ -34027,7 +35760,7 @@ private static void _clinit_autosplit_dinit_3() { "Aliases", "Expressions", "Id", "Id", }); internal_static_google_cloud_compute_v1_WafExpressionSetExpression_descriptor = - getDescriptor().getMessageTypes().get(1182); + getDescriptor().getMessageTypes().get(1240); internal_static_google_cloud_compute_v1_WafExpressionSetExpression_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WafExpressionSetExpression_descriptor, @@ -34035,7 +35768,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Id", }); internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(1183); + getDescriptor().getMessageTypes().get(1241); internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WaitGlobalOperationRequest_descriptor, @@ -34043,7 +35776,7 @@ private static void _clinit_autosplit_dinit_3() { "Operation", "Project", }); internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(1184); + getDescriptor().getMessageTypes().get(1242); internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WaitRegionOperationRequest_descriptor, @@ -34051,7 +35784,7 @@ private static void _clinit_autosplit_dinit_3() { "Operation", "Project", "Region", }); internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_descriptor = - getDescriptor().getMessageTypes().get(1185); + getDescriptor().getMessageTypes().get(1243); internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WaitZoneOperationRequest_descriptor, @@ -34059,7 +35792,7 @@ private static void _clinit_autosplit_dinit_3() { "Operation", "Project", "Zone", }); internal_static_google_cloud_compute_v1_Warning_descriptor = - getDescriptor().getMessageTypes().get(1186); + getDescriptor().getMessageTypes().get(1244); internal_static_google_cloud_compute_v1_Warning_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Warning_descriptor, @@ -34067,7 +35800,7 @@ private static void _clinit_autosplit_dinit_3() { "Code", "Data", "Message", "Code", "Message", }); internal_static_google_cloud_compute_v1_Warnings_descriptor = - getDescriptor().getMessageTypes().get(1187); + getDescriptor().getMessageTypes().get(1245); internal_static_google_cloud_compute_v1_Warnings_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Warnings_descriptor, @@ -34075,7 +35808,7 @@ private static void _clinit_autosplit_dinit_3() { "Code", "Data", "Message", "Code", "Message", }); internal_static_google_cloud_compute_v1_WeightedBackendService_descriptor = - getDescriptor().getMessageTypes().get(1188); + getDescriptor().getMessageTypes().get(1246); internal_static_google_cloud_compute_v1_WeightedBackendService_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_WeightedBackendService_descriptor, @@ -34088,7 +35821,7 @@ private static void _clinit_autosplit_dinit_3() { "Weight", }); internal_static_google_cloud_compute_v1_XpnHostList_descriptor = - getDescriptor().getMessageTypes().get(1189); + getDescriptor().getMessageTypes().get(1247); internal_static_google_cloud_compute_v1_XpnHostList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_XpnHostList_descriptor, @@ -34106,7 +35839,7 @@ private static void _clinit_autosplit_dinit_3() { "Warning", }); internal_static_google_cloud_compute_v1_XpnResourceId_descriptor = - getDescriptor().getMessageTypes().get(1190); + getDescriptor().getMessageTypes().get(1248); internal_static_google_cloud_compute_v1_XpnResourceId_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_XpnResourceId_descriptor, @@ -34114,7 +35847,7 @@ private static void _clinit_autosplit_dinit_3() { "Id", "Type", "Id", "Type", }); internal_static_google_cloud_compute_v1_Zone_descriptor = - getDescriptor().getMessageTypes().get(1191); + getDescriptor().getMessageTypes().get(1249); internal_static_google_cloud_compute_v1_Zone_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_Zone_descriptor, @@ -34142,7 +35875,7 @@ private static void _clinit_autosplit_dinit_3() { "SupportsPzs", }); internal_static_google_cloud_compute_v1_ZoneList_descriptor = - getDescriptor().getMessageTypes().get(1192); + getDescriptor().getMessageTypes().get(1250); internal_static_google_cloud_compute_v1_ZoneList_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ZoneList_descriptor, @@ -34160,7 +35893,7 @@ private static void _clinit_autosplit_dinit_3() { "Warning", }); internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_descriptor = - getDescriptor().getMessageTypes().get(1193); + getDescriptor().getMessageTypes().get(1251); internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_compute_v1_ZoneSetLabelsRequest_descriptor, @@ -34178,7 +35911,7 @@ private static void _clinit_autosplit_dinit_3() { "Key", "Value", }); internal_static_google_cloud_compute_v1_ZoneSetPolicyRequest_descriptor = - getDescriptor().getMessageTypes().get(1194); + getDescriptor().getMessageTypes().get(1252); 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/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Condition.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Condition.java index fa95f0d34..d88e11982 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Condition.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Condition.java @@ -150,6 +150,723 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.Condition.Builder.class); } + /** + * + * + *
+   * This is deprecated and has no effect. Do not use.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * NO_ATTR
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.Condition.Iam} + */ + public enum Iam implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_IAM = 0; + */ + UNDEFINED_IAM(0), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * APPROVER = 357258949; + */ + APPROVER(357258949), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * ATTRIBUTION = 232465503; + */ + ATTRIBUTION(232465503), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * AUTHORITY = 504108835; + */ + AUTHORITY(504108835), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * CREDENTIALS_TYPE = 348222141; + */ + CREDENTIALS_TYPE(348222141), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * CREDS_ASSERTION = 332343272; + */ + CREDS_ASSERTION(332343272), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * JUSTIFICATION_TYPE = 206147719; + */ + JUSTIFICATION_TYPE(206147719), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * SECURITY_REALM = 526269616; + */ + SECURITY_REALM(526269616), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_IAM = 0; + */ + public static final int UNDEFINED_IAM_VALUE = 0; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * APPROVER = 357258949; + */ + public static final int APPROVER_VALUE = 357258949; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * ATTRIBUTION = 232465503; + */ + public static final int ATTRIBUTION_VALUE = 232465503; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * AUTHORITY = 504108835; + */ + public static final int AUTHORITY_VALUE = 504108835; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * CREDENTIALS_TYPE = 348222141; + */ + public static final int CREDENTIALS_TYPE_VALUE = 348222141; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * CREDS_ASSERTION = 332343272; + */ + public static final int CREDS_ASSERTION_VALUE = 332343272; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * JUSTIFICATION_TYPE = 206147719; + */ + public static final int JUSTIFICATION_TYPE_VALUE = 206147719; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * SECURITY_REALM = 526269616; + */ + public static final int SECURITY_REALM_VALUE = 526269616; + + 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 Iam 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 Iam forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_IAM; + case 357258949: + return APPROVER; + case 232465503: + return ATTRIBUTION; + case 504108835: + return AUTHORITY; + case 348222141: + return CREDENTIALS_TYPE; + case 332343272: + return CREDS_ASSERTION; + case 206147719: + return JUSTIFICATION_TYPE; + case 526269616: + return SECURITY_REALM; + 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 Iam findValueByNumber(int number) { + return Iam.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.Condition.getDescriptor().getEnumTypes().get(0); + } + + private static final Iam[] VALUES = values(); + + public static Iam 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 Iam(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Condition.Iam) + } + + /** + * + * + *
+   * This is deprecated and has no effect. Do not use.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.Condition.Op} + */ + public enum Op implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_OP = 0; + */ + UNDEFINED_OP(0), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * DISCHARGED = 266338274; + */ + DISCHARGED(266338274), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * EQUALS = 442201023; + */ + EQUALS(442201023), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * IN = 2341; + */ + IN(2341), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * NOT_EQUALS = 19718859; + */ + NOT_EQUALS(19718859), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * NOT_IN = 161144369; + */ + NOT_IN(161144369), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * NO_OP = 74481951; + */ + NO_OP(74481951), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_OP = 0; + */ + public static final int UNDEFINED_OP_VALUE = 0; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * DISCHARGED = 266338274; + */ + public static final int DISCHARGED_VALUE = 266338274; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * EQUALS = 442201023; + */ + public static final int EQUALS_VALUE = 442201023; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * IN = 2341; + */ + public static final int IN_VALUE = 2341; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * NOT_EQUALS = 19718859; + */ + public static final int NOT_EQUALS_VALUE = 19718859; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * NOT_IN = 161144369; + */ + public static final int NOT_IN_VALUE = 161144369; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * NO_OP = 74481951; + */ + public static final int NO_OP_VALUE = 74481951; + + 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 Op 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 Op forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_OP; + case 266338274: + return DISCHARGED; + case 442201023: + return EQUALS; + case 2341: + return IN; + case 19718859: + return NOT_EQUALS; + case 161144369: + return NOT_IN; + case 74481951: + return NO_OP; + 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 Op findValueByNumber(int number) { + return Op.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.Condition.getDescriptor().getEnumTypes().get(1); + } + + private static final Op[] VALUES = values(); + + public static Op 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 Op(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Condition.Op) + } + + /** + * + * + *
+   * This is deprecated and has no effect. Do not use.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * NO_ATTR
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.Condition.Sys} + */ + public enum Sys implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_SYS = 0; + */ + UNDEFINED_SYS(0), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * IP = 2343; + */ + IP(2343), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * NAME = 2388619; + */ + NAME(2388619), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * REGION = 266017524; + */ + REGION(266017524), + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * SERVICE = 17781397; + */ + SERVICE(17781397), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_SYS = 0; + */ + public static final int UNDEFINED_SYS_VALUE = 0; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * IP = 2343; + */ + public static final int IP_VALUE = 2343; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * NAME = 2388619; + */ + public static final int NAME_VALUE = 2388619; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * REGION = 266017524; + */ + public static final int REGION_VALUE = 266017524; + /** + * + * + *
+     * This is deprecated and has no effect. Do not use.
+     * 
+ * + * SERVICE = 17781397; + */ + public static final int SERVICE_VALUE = 17781397; + + 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 Sys 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 Sys forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_SYS; + case 2343: + return IP; + case 2388619: + return NAME; + case 266017524: + return REGION; + case 17781397: + return SERVICE; + 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 Sys findValueByNumber(int number) { + return Sys.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.Condition.getDescriptor().getEnumTypes().get(2); + } + + private static final Sys[] VALUES = values(); + + public static Sys 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 Sys(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Condition.Sys) + } + private int bitField0_; public static final int IAM_FIELD_NUMBER = 104021; private volatile java.lang.Object iam_; @@ -158,6 +875,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Iam enum for the list of possible values.
    * 
* * optional string iam = 104021; @@ -173,6 +891,7 @@ public boolean hasIam() { * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Iam enum for the list of possible values.
    * 
* * optional string iam = 104021; @@ -196,6 +915,7 @@ public java.lang.String getIam() { * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Iam enum for the list of possible values.
    * 
* * optional string iam = 104021; @@ -222,6 +942,7 @@ public com.google.protobuf.ByteString getIamBytes() { * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Op enum for the list of possible values.
    * 
* * optional string op = 3553; @@ -237,6 +958,7 @@ public boolean hasOp() { * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Op enum for the list of possible values.
    * 
* * optional string op = 3553; @@ -260,6 +982,7 @@ public java.lang.String getOp() { * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Op enum for the list of possible values.
    * 
* * optional string op = 3553; @@ -350,6 +1073,7 @@ public com.google.protobuf.ByteString getSvcBytes() { * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Sys enum for the list of possible values.
    * 
* * optional string sys = 114381; @@ -365,6 +1089,7 @@ public boolean hasSys() { * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Sys enum for the list of possible values.
    * 
* * optional string sys = 114381; @@ -388,6 +1113,7 @@ public java.lang.String getSys() { * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Sys enum for the list of possible values.
    * 
* * optional string sys = 114381; @@ -910,6 +1636,7 @@ public Builder mergeFrom( * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Iam enum for the list of possible values.
      * 
* * optional string iam = 104021; @@ -924,6 +1651,7 @@ public boolean hasIam() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Iam enum for the list of possible values.
      * 
* * optional string iam = 104021; @@ -946,6 +1674,7 @@ public java.lang.String getIam() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Iam enum for the list of possible values.
      * 
* * optional string iam = 104021; @@ -968,6 +1697,7 @@ public com.google.protobuf.ByteString getIamBytes() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Iam enum for the list of possible values.
      * 
* * optional string iam = 104021; @@ -989,6 +1719,7 @@ public Builder setIam(java.lang.String value) { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Iam enum for the list of possible values.
      * 
* * optional string iam = 104021; @@ -1006,6 +1737,7 @@ public Builder clearIam() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Iam enum for the list of possible values.
      * 
* * optional string iam = 104021; @@ -1030,6 +1762,7 @@ public Builder setIamBytes(com.google.protobuf.ByteString value) { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Op enum for the list of possible values.
      * 
* * optional string op = 3553; @@ -1044,6 +1777,7 @@ public boolean hasOp() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Op enum for the list of possible values.
      * 
* * optional string op = 3553; @@ -1066,6 +1800,7 @@ public java.lang.String getOp() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Op enum for the list of possible values.
      * 
* * optional string op = 3553; @@ -1088,6 +1823,7 @@ public com.google.protobuf.ByteString getOpBytes() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Op enum for the list of possible values.
      * 
* * optional string op = 3553; @@ -1109,6 +1845,7 @@ public Builder setOp(java.lang.String value) { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Op enum for the list of possible values.
      * 
* * optional string op = 3553; @@ -1126,6 +1863,7 @@ public Builder clearOp() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Op enum for the list of possible values.
      * 
* * optional string op = 3553; @@ -1270,6 +2008,7 @@ public Builder setSvcBytes(com.google.protobuf.ByteString value) { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Sys enum for the list of possible values.
      * 
* * optional string sys = 114381; @@ -1284,6 +2023,7 @@ public boolean hasSys() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Sys enum for the list of possible values.
      * 
* * optional string sys = 114381; @@ -1306,6 +2046,7 @@ public java.lang.String getSys() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Sys enum for the list of possible values.
      * 
* * optional string sys = 114381; @@ -1328,6 +2069,7 @@ public com.google.protobuf.ByteString getSysBytes() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Sys enum for the list of possible values.
      * 
* * optional string sys = 114381; @@ -1349,6 +2091,7 @@ public Builder setSys(java.lang.String value) { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Sys enum for the list of possible values.
      * 
* * optional string sys = 114381; @@ -1366,6 +2109,7 @@ public Builder clearSys() { * *
      * This is deprecated and has no effect. Do not use.
+     * Check the Sys enum for the list of possible values.
      * 
* * optional string sys = 114381; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ConditionOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ConditionOrBuilder.java index 7e1a8ff84..ecb9a1230 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ConditionOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ConditionOrBuilder.java @@ -28,6 +28,7 @@ public interface ConditionOrBuilder * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Iam enum for the list of possible values.
    * 
* * optional string iam = 104021; @@ -40,6 +41,7 @@ public interface ConditionOrBuilder * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Iam enum for the list of possible values.
    * 
* * optional string iam = 104021; @@ -52,6 +54,7 @@ public interface ConditionOrBuilder * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Iam enum for the list of possible values.
    * 
* * optional string iam = 104021; @@ -65,6 +68,7 @@ public interface ConditionOrBuilder * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Op enum for the list of possible values.
    * 
* * optional string op = 3553; @@ -77,6 +81,7 @@ public interface ConditionOrBuilder * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Op enum for the list of possible values.
    * 
* * optional string op = 3553; @@ -89,6 +94,7 @@ public interface ConditionOrBuilder * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Op enum for the list of possible values.
    * 
* * optional string op = 3553; @@ -139,6 +145,7 @@ public interface ConditionOrBuilder * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Sys enum for the list of possible values.
    * 
* * optional string sys = 114381; @@ -151,6 +158,7 @@ public interface ConditionOrBuilder * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Sys enum for the list of possible values.
    * 
* * optional string sys = 114381; @@ -163,6 +171,7 @@ public interface ConditionOrBuilder * *
    * This is deprecated and has no effect. Do not use.
+   * Check the Sys enum for the list of possible values.
    * 
* * optional string sys = 114381; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskRequest.java index 60fc86852..50748c182 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskRequest.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskRequest.java @@ -214,7 +214,7 @@ public com.google.protobuf.ByteString getDiskBytes() { * * *
-   * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+   * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
    * 
* * optional bool guest_flush = 385550813; @@ -229,7 +229,7 @@ public boolean hasGuestFlush() { * * *
-   * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+   * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
    * 
* * optional bool guest_flush = 385550813; @@ -1010,7 +1010,7 @@ public Builder setDiskBytes(com.google.protobuf.ByteString value) { * * *
-     * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+     * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
      * 
* * optional bool guest_flush = 385550813; @@ -1025,7 +1025,7 @@ public boolean hasGuestFlush() { * * *
-     * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+     * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
      * 
* * optional bool guest_flush = 385550813; @@ -1040,7 +1040,7 @@ public boolean getGuestFlush() { * * *
-     * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+     * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
      * 
* * optional bool guest_flush = 385550813; @@ -1058,7 +1058,7 @@ public Builder setGuestFlush(boolean value) { * * *
-     * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+     * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
      * 
* * optional bool guest_flush = 385550813; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskRequestOrBuilder.java index fc091c628..712469114 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskRequestOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/CreateSnapshotDiskRequestOrBuilder.java @@ -52,7 +52,7 @@ public interface CreateSnapshotDiskRequestOrBuilder * * *
-   * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+   * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
    * 
* * optional bool guest_flush = 385550813; @@ -64,7 +64,7 @@ public interface CreateSnapshotDiskRequestOrBuilder * * *
-   * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+   * [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process.
    * 
* * optional bool guest_flush = 385550813; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkEdgeSecurityServiceRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkEdgeSecurityServiceRequest.java new file mode 100644 index 000000000..fa6af4aa5 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkEdgeSecurityServiceRequest.java @@ -0,0 +1,1278 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkEdgeSecurityServices.Delete. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest} + */ +public final class DeleteNetworkEdgeSecurityServiceRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest) + DeleteNetworkEdgeSecurityServiceRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteNetworkEdgeSecurityServiceRequest.newBuilder() to construct. + private DeleteNetworkEdgeSecurityServiceRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteNetworkEdgeSecurityServiceRequest() { + networkEdgeSecurityService_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteNetworkEdgeSecurityServiceRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DeleteNetworkEdgeSecurityServiceRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1256095034: + { + java.lang.String s = input.readStringRequireUtf8(); + + networkEdgeSecurityService_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest.class, + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest.Builder.class); + } + + private int bitField0_; + public static final int NETWORK_EDGE_SECURITY_SERVICE_FIELD_NUMBER = 157011879; + private volatile java.lang.Object networkEdgeSecurityService_; + /** + * + * + *
+   * Name of the network edge security service to delete.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityService. + */ + @java.lang.Override + public java.lang.String getNetworkEdgeSecurityService() { + java.lang.Object ref = networkEdgeSecurityService_; + 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(); + networkEdgeSecurityService_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the network edge security service to delete.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for networkEdgeSecurityService. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNetworkEdgeSecurityServiceBytes() { + java.lang.Object ref = networkEdgeSecurityService_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + networkEdgeSecurityService_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkEdgeSecurityService_)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 157011879, networkEdgeSecurityService_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkEdgeSecurityService_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 157011879, networkEdgeSecurityService_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + size += unknownFields.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.DeleteNetworkEdgeSecurityServiceRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest other = + (com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest) obj; + + if (!getNetworkEdgeSecurityService().equals(other.getNetworkEdgeSecurityService())) + return false; + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + NETWORK_EDGE_SECURITY_SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getNetworkEdgeSecurityService().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest 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.DeleteNetworkEdgeSecurityServiceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest 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.DeleteNetworkEdgeSecurityServiceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest 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.DeleteNetworkEdgeSecurityServiceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest 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.DeleteNetworkEdgeSecurityServiceRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest + 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.DeleteNetworkEdgeSecurityServiceRequest 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.DeleteNetworkEdgeSecurityServiceRequest 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.DeleteNetworkEdgeSecurityServiceRequest 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 NetworkEdgeSecurityServices.Delete. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest) + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteNetworkEdgeSecurityServiceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest.class, + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + networkEdgeSecurityService_ = ""; + + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + 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_DeleteNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest build() { + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest buildPartial() { + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest result = + new com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.networkEdgeSecurityService_ = networkEdgeSecurityService_; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.DeleteNetworkEdgeSecurityServiceRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest other) { + if (other + == com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest + .getDefaultInstance()) return this; + if (!other.getNetworkEdgeSecurityService().isEmpty()) { + networkEdgeSecurityService_ = other.networkEdgeSecurityService_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object networkEdgeSecurityService_ = ""; + /** + * + * + *
+     * Name of the network edge security service to delete.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityService. + */ + public java.lang.String getNetworkEdgeSecurityService() { + java.lang.Object ref = networkEdgeSecurityService_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + networkEdgeSecurityService_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the network edge security service to delete.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for networkEdgeSecurityService. + */ + public com.google.protobuf.ByteString getNetworkEdgeSecurityServiceBytes() { + java.lang.Object ref = networkEdgeSecurityService_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + networkEdgeSecurityService_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the network edge security service to delete.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The networkEdgeSecurityService to set. + * @return This builder for chaining. + */ + public Builder setNetworkEdgeSecurityService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + networkEdgeSecurityService_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the network edge security service to delete.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearNetworkEdgeSecurityService() { + + networkEdgeSecurityService_ = getDefaultInstance().getNetworkEdgeSecurityService(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the network edge security service to delete.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for networkEdgeSecurityService to set. + * @return This builder for chaining. + */ + public Builder setNetworkEdgeSecurityServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + networkEdgeSecurityService_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + 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.DeleteNetworkEdgeSecurityServiceRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest) + private static final com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest(); + } + + public static com.google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNetworkEdgeSecurityServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteNetworkEdgeSecurityServiceRequest(input, extensionRegistry); + } + }; + + 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.DeleteNetworkEdgeSecurityServiceRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkEdgeSecurityServiceRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkEdgeSecurityServiceRequestOrBuilder.java new file mode 100644 index 000000000..5ada3ad8a --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkEdgeSecurityServiceRequestOrBuilder.java @@ -0,0 +1,149 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface DeleteNetworkEdgeSecurityServiceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.DeleteNetworkEdgeSecurityServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the network edge security service to delete.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityService. + */ + java.lang.String getNetworkEdgeSecurityService(); + /** + * + * + *
+   * Name of the network edge security service to delete.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for networkEdgeSecurityService. + */ + com.google.protobuf.ByteString getNetworkEdgeSecurityServiceBytes(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..9b151b61c --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkFirewallPolicyRequest.java @@ -0,0 +1,1061 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.Delete. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest} + */ +public final class DeleteNetworkFirewallPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest) + DeleteNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteNetworkFirewallPolicyRequest.newBuilder() to construct. + private DeleteNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DeleteNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to delete.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to delete.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.DeleteNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) 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 (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest 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.DeleteNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest 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.DeleteNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest 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.DeleteNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest 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.DeleteNetworkFirewallPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest 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.DeleteNetworkFirewallPolicyRequest 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.DeleteNetworkFirewallPolicyRequest 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.DeleteNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.Delete. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + project_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + 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_DeleteNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + result.project_ = project_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.DeleteNetworkFirewallPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest.getDefaultInstance()) + return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + 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; + 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(); + 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; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + 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.DeleteNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.DeleteNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..dada0973d --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,116 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface DeleteNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.DeleteNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to delete.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to delete.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..945f598a5 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1260 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.Delete. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest} + */ +public final class DeleteRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest) + DeleteRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private DeleteRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DeleteRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to delete.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to delete.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.DeleteRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest 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.DeleteRegionNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest 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.DeleteRegionNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest 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.DeleteRegionNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest 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.DeleteRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest + 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.DeleteRegionNetworkFirewallPolicyRequest 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.DeleteRegionNetworkFirewallPolicyRequest 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.DeleteRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.Delete. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + 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_DeleteRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.DeleteRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to delete.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + 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.DeleteRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.DeleteRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..1eff5ebc1 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,145 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface DeleteRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.DeleteRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to delete.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to delete.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionSecurityPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionSecurityPolicyRequest.java new file mode 100644 index 000000000..e01e3cd1c --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionSecurityPolicyRequest.java @@ -0,0 +1,1252 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionSecurityPolicies.Delete. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest} + */ +public final class DeleteRegionSecurityPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest) + DeleteRegionSecurityPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeleteRegionSecurityPolicyRequest.newBuilder() to construct. + private DeleteRegionSecurityPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private DeleteRegionSecurityPolicyRequest() { + project_ = ""; + region_ = ""; + requestId_ = ""; + securityPolicy_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new DeleteRegionSecurityPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private DeleteRegionSecurityPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1368660106: + { + java.lang.String s = input.readStringRequireUtf8(); + + securityPolicy_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest.class, + com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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 SECURITY_POLICY_FIELD_NUMBER = 171082513; + private volatile java.lang.Object securityPolicy_; + /** + * + * + *
+   * Name of the security policy to delete.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The securityPolicy. + */ + @java.lang.Override + public java.lang.String getSecurityPolicy() { + java.lang.Object ref = securityPolicy_; + 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(); + securityPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the security policy to delete.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for securityPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecurityPolicyBytes() { + java.lang.Object ref = securityPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + securityPolicy_ = 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 171082513, securityPolicy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(171082513, securityPolicy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + size += unknownFields.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.DeleteRegionSecurityPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest other = + (com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getSecurityPolicy().equals(other.getSecurityPolicy())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + SECURITY_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getSecurityPolicy().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest 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.DeleteRegionSecurityPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest 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.DeleteRegionSecurityPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest 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.DeleteRegionSecurityPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest 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.DeleteRegionSecurityPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest 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.DeleteRegionSecurityPolicyRequest 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.DeleteRegionSecurityPolicyRequest 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.DeleteRegionSecurityPolicyRequest 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 RegionSecurityPolicies.Delete. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest) + com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_DeleteRegionSecurityPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest.class, + com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + securityPolicy_ = ""; + + 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_DeleteRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest build() { + com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest buildPartial() { + com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest result = + new com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.securityPolicy_ = securityPolicy_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.DeleteRegionSecurityPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + if (!other.getSecurityPolicy().isEmpty()) { + securityPolicy_ = other.securityPolicy_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + onChanged(); + return this; + } + + private java.lang.Object securityPolicy_ = ""; + /** + * + * + *
+     * Name of the security policy to delete.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The securityPolicy. + */ + public java.lang.String getSecurityPolicy() { + java.lang.Object ref = securityPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + securityPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the security policy to delete.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for securityPolicy. + */ + public com.google.protobuf.ByteString getSecurityPolicyBytes() { + java.lang.Object ref = securityPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + securityPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the security policy to delete.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The securityPolicy to set. + * @return This builder for chaining. + */ + public Builder setSecurityPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + securityPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the security policy to delete.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearSecurityPolicy() { + + securityPolicy_ = getDefaultInstance().getSecurityPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the security policy to delete.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for securityPolicy to set. + * @return This builder for chaining. + */ + public Builder setSecurityPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + securityPolicy_ = value; + 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.DeleteRegionSecurityPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest) + private static final com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest(); + } + + public static com.google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRegionSecurityPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRegionSecurityPolicyRequest(input, extensionRegistry); + } + }; + + 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.DeleteRegionSecurityPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionSecurityPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionSecurityPolicyRequestOrBuilder.java new file mode 100644 index 000000000..3926a1920 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/DeleteRegionSecurityPolicyRequestOrBuilder.java @@ -0,0 +1,145 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface DeleteRegionSecurityPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.DeleteRegionSecurityPolicyRequest) + 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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 security policy to delete.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The securityPolicy. + */ + java.lang.String getSecurityPolicy(); + /** + * + * + *
+   * Name of the security policy to delete.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for securityPolicy. + */ + com.google.protobuf.ByteString getSecurityPolicyBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicy.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicy.java index faa5bf94f..78c0c213c 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicy.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicy.java @@ -46,6 +46,7 @@ private FirewallPolicy() { kind_ = ""; name_ = ""; parent_ = ""; + region_ = ""; rules_ = java.util.Collections.emptyList(); selfLink_ = ""; selfLinkWithId_ = ""; @@ -119,7 +120,7 @@ private FirewallPolicy( case 356167698: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; selfLinkWithId_ = s; break; } @@ -132,15 +133,22 @@ private FirewallPolicy( } case 870991802: { - if (!((mutable_bitField0_ & 0x00000400) != 0)) { + if (!((mutable_bitField0_ & 0x00000800) != 0)) { rules_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000400; + mutable_bitField0_ |= 0x00000800; } rules_.add( input.readMessage( com.google.cloud.compute.v1.FirewallPolicyRule.parser(), extensionRegistry)); break; } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + region_ = s; + break; + } case 1877428002: { java.lang.String s = input.readStringRequireUtf8(); @@ -150,7 +158,7 @@ private FirewallPolicy( } case -1188231000: { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; ruleTupleCount_ = input.readInt32(); break; } @@ -164,14 +172,14 @@ private FirewallPolicy( case -645248918: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; selfLink_ = s; break; } case -358554766: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; shortName_ = s; break; } @@ -203,7 +211,7 @@ private FirewallPolicy( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000400) != 0)) { + if (((mutable_bitField0_ & 0x00000800) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); } if (((mutable_bitField0_ & 0x00000001) != 0)) { @@ -787,6 +795,70 @@ public com.google.protobuf.ByteString getParentBytes() { } } + public static final int REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return Whether the region field is set. + */ + @java.lang.Override + public boolean hasRegion() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+   * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int RULE_TUPLE_COUNT_FIELD_NUMBER = 388342037; private int ruleTupleCount_; /** @@ -802,7 +874,7 @@ public com.google.protobuf.ByteString getParentBytes() { */ @java.lang.Override public boolean hasRuleTupleCount() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -904,7 +976,7 @@ public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder getRulesOrBuilder */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -968,7 +1040,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { */ @java.lang.Override public boolean hasSelfLinkWithId() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -1032,7 +1104,7 @@ public com.google.protobuf.ByteString getSelfLinkWithIdBytes() { */ @java.lang.Override public boolean hasShortName() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -1110,7 +1182,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_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 44520962, selfLinkWithId_); } if (((bitField0_ & 0x00000080) != 0)) { @@ -1119,19 +1191,22 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < rules_.size(); i++) { output.writeMessage(108873975, rules_.get(i)); } + if (((bitField0_ & 0x00000100) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 234678500, fingerprint_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeInt32(388342037, ruleTupleCount_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 492051566, shortName_); } for (int i = 0; i < associations_.size(); i++) { @@ -1162,7 +1237,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(44520962, selfLinkWithId_); } if (((bitField0_ & 0x00000080) != 0)) { @@ -1171,19 +1246,22 @@ public int getSerializedSize() { for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(108873975, rules_.get(i)); } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(234678500, fingerprint_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(388342037, ruleTupleCount_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(492051566, shortName_); } for (int i = 0; i < associations_.size(); i++) { @@ -1239,6 +1317,10 @@ public boolean equals(final java.lang.Object obj) { if (hasParent()) { if (!getParent().equals(other.getParent())) return false; } + if (hasRegion() != other.hasRegion()) return false; + if (hasRegion()) { + if (!getRegion().equals(other.getRegion())) return false; + } if (hasRuleTupleCount() != other.hasRuleTupleCount()) return false; if (hasRuleTupleCount()) { if (getRuleTupleCount() != other.getRuleTupleCount()) return false; @@ -1303,6 +1385,10 @@ public int hashCode() { hash = (37 * hash) + PARENT_FIELD_NUMBER; hash = (53 * hash) + getParent().hashCode(); } + if (hasRegion()) { + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + } if (hasRuleTupleCount()) { hash = (37 * hash) + RULE_TUPLE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getRuleTupleCount(); @@ -1493,20 +1579,22 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000080); parent_ = ""; bitField0_ = (bitField0_ & ~0x00000100); - ruleTupleCount_ = 0; + region_ = ""; bitField0_ = (bitField0_ & ~0x00000200); + ruleTupleCount_ = 0; + bitField0_ = (bitField0_ & ~0x00000400); if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); } else { rulesBuilder_.clear(); } selfLink_ = ""; - bitField0_ = (bitField0_ & ~0x00000800); - selfLinkWithId_ = ""; bitField0_ = (bitField0_ & ~0x00001000); - shortName_ = ""; + selfLinkWithId_ = ""; bitField0_ = (bitField0_ & ~0x00002000); + shortName_ = ""; + bitField0_ = (bitField0_ & ~0x00004000); return this; } @@ -1578,29 +1666,33 @@ public com.google.cloud.compute.v1.FirewallPolicy buildPartial() { } result.parent_ = parent_; if (((from_bitField0_ & 0x00000200) != 0)) { - result.ruleTupleCount_ = ruleTupleCount_; to_bitField0_ |= 0x00000100; } + result.region_ = region_; + if (((from_bitField0_ & 0x00000400) != 0)) { + result.ruleTupleCount_ = ruleTupleCount_; + to_bitField0_ |= 0x00000200; + } if (rulesBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } - if (((from_bitField0_ & 0x00000800) != 0)) { - to_bitField0_ |= 0x00000200; - } - result.selfLink_ = selfLink_; if (((from_bitField0_ & 0x00001000) != 0)) { to_bitField0_ |= 0x00000400; } - result.selfLinkWithId_ = selfLinkWithId_; + result.selfLink_ = selfLink_; if (((from_bitField0_ & 0x00002000) != 0)) { to_bitField0_ |= 0x00000800; } + result.selfLinkWithId_ = selfLinkWithId_; + if (((from_bitField0_ & 0x00004000) != 0)) { + to_bitField0_ |= 0x00001000; + } result.shortName_ = shortName_; result.bitField0_ = to_bitField0_; onBuilt(); @@ -1717,6 +1809,11 @@ public Builder mergeFrom(com.google.cloud.compute.v1.FirewallPolicy other) { parent_ = other.parent_; onChanged(); } + if (other.hasRegion()) { + bitField0_ |= 0x00000200; + region_ = other.region_; + onChanged(); + } if (other.hasRuleTupleCount()) { setRuleTupleCount(other.getRuleTupleCount()); } @@ -1724,7 +1821,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.FirewallPolicy other) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); @@ -1737,7 +1834,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.FirewallPolicy other) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); rulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRulesFieldBuilder() @@ -1748,17 +1845,17 @@ public Builder mergeFrom(com.google.cloud.compute.v1.FirewallPolicy other) { } } if (other.hasSelfLink()) { - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; selfLink_ = other.selfLink_; onChanged(); } if (other.hasSelfLinkWithId()) { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; selfLinkWithId_ = other.selfLinkWithId_; onChanged(); } if (other.hasShortName()) { - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; shortName_ = other.shortName_; onChanged(); } @@ -3078,6 +3175,126 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } + private java.lang.Object region_ = ""; + /** + * + * + *
+     * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return Whether the region field is set. + */ + public boolean hasRegion() { + return ((bitField0_ & 0x00000200) != 0); + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + bitField0_ = (bitField0_ & ~0x00000200); + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000200; + region_ = value; + onChanged(); + return this; + } + private int ruleTupleCount_; /** * @@ -3092,7 +3309,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasRuleTupleCount() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -3122,7 +3339,7 @@ public int getRuleTupleCount() { * @return This builder for chaining. */ public Builder setRuleTupleCount(int value) { - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; ruleTupleCount_ = value; onChanged(); return this; @@ -3139,7 +3356,7 @@ public Builder setRuleTupleCount(int value) { * @return This builder for chaining. */ public Builder clearRuleTupleCount() { - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); ruleTupleCount_ = 0; onChanged(); return this; @@ -3149,9 +3366,9 @@ public Builder clearRuleTupleCount() { java.util.Collections.emptyList(); private void ensureRulesIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { + if (!((bitField0_ & 0x00000800) != 0)) { rules_ = new java.util.ArrayList(rules_); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; } } @@ -3367,7 +3584,7 @@ public Builder addAllRules( public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { rulesBuilder_.clear(); @@ -3489,7 +3706,7 @@ public com.google.cloud.compute.v1.FirewallPolicyRule.Builder addRulesBuilder(in com.google.cloud.compute.v1.FirewallPolicyRule, com.google.cloud.compute.v1.FirewallPolicyRule.Builder, com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000400) != 0), getParentForChildren(), isClean()); + rules_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; @@ -3508,7 +3725,7 @@ public com.google.cloud.compute.v1.FirewallPolicyRule.Builder addRulesBuilder(in * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -3570,7 +3787,7 @@ public Builder setSelfLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; selfLink_ = value; onChanged(); return this; @@ -3587,7 +3804,7 @@ public Builder setSelfLink(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSelfLink() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; @@ -3609,7 +3826,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; selfLink_ = value; onChanged(); return this; @@ -3628,7 +3845,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the selfLinkWithId field is set. */ public boolean hasSelfLinkWithId() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -3690,7 +3907,7 @@ public Builder setSelfLinkWithId(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; selfLinkWithId_ = value; onChanged(); return this; @@ -3707,7 +3924,7 @@ public Builder setSelfLinkWithId(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSelfLinkWithId() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); selfLinkWithId_ = getDefaultInstance().getSelfLinkWithId(); onChanged(); return this; @@ -3729,7 +3946,7 @@ public Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; selfLinkWithId_ = value; onChanged(); return this; @@ -3748,7 +3965,7 @@ public Builder setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) { * @return Whether the shortName field is set. */ public boolean hasShortName() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -3810,7 +4027,7 @@ public Builder setShortName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; shortName_ = value; onChanged(); return this; @@ -3827,7 +4044,7 @@ public Builder setShortName(java.lang.String value) { * @return This builder for chaining. */ public Builder clearShortName() { - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); shortName_ = getDefaultInstance().getShortName(); onChanged(); return this; @@ -3849,7 +4066,7 @@ public Builder setShortNameBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; shortName_ = value; onChanged(); return this; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyOrBuilder.java index 26f4a9890..45df3f627 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyOrBuilder.java @@ -365,6 +365,43 @@ com.google.cloud.compute.v1.FirewallPolicyAssociationOrBuilder getAssociationsOr */ com.google.protobuf.ByteString getParentBytes(); + /** + * + * + *
+   * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return Whether the region field is set. + */ + boolean hasRegion(); + /** + * + * + *
+   * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + /** * * diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRule.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRule.java index 6badc3063..ad5baf73a 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRule.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRule.java @@ -42,7 +42,9 @@ private FirewallPolicyRule() { description_ = ""; direction_ = ""; kind_ = ""; + ruleName_ = ""; targetResources_ = com.google.protobuf.LazyStringArrayList.EMPTY; + targetSecureTags_ = java.util.Collections.emptyList(); targetServiceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @@ -83,6 +85,13 @@ private FirewallPolicyRule( kind_ = s; break; } + case 442290034: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + ruleName_ = s; + break; + } case 829345322: { com.google.cloud.compute.v1.FirewallPolicyRuleMatcher.Builder subBuilder = null; @@ -128,7 +137,7 @@ private FirewallPolicyRule( } case -1188231000: { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; ruleTupleCount_ = input.readInt32(); break; } @@ -148,19 +157,33 @@ private FirewallPolicyRule( case -633849614: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000400) != 0)) { + if (!((mutable_bitField0_ & 0x00001000) != 0)) { targetServiceAccounts_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000400; + mutable_bitField0_ |= 0x00001000; } targetServiceAccounts_.add(s); break; } + case -549908070: + { + if (!((mutable_bitField0_ & 0x00000800) != 0)) { + targetSecureTags_ = + new java.util.ArrayList< + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag>(); + mutable_bitField0_ |= 0x00000800; + } + targetSecureTags_.add( + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.parser(), + extensionRegistry)); + break; + } case -69122118: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000200) != 0)) { + if (!((mutable_bitField0_ & 0x00000400) != 0)) { targetResources_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000200; + mutable_bitField0_ |= 0x00000400; } targetResources_.add(s); break; @@ -179,10 +202,13 @@ private FirewallPolicyRule( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000400) != 0)) { + if (((mutable_bitField0_ & 0x00001000) != 0)) { targetServiceAccounts_ = targetServiceAccounts_.getUnmodifiableView(); } - if (((mutable_bitField0_ & 0x00000200) != 0)) { + if (((mutable_bitField0_ & 0x00000800) != 0)) { + targetSecureTags_ = java.util.Collections.unmodifiableList(targetSecureTags_); + } + if (((mutable_bitField0_ & 0x00000400) != 0)) { targetResources_ = targetResources_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -739,6 +765,70 @@ public int getPriority() { return priority_; } + public static final int RULE_NAME_FIELD_NUMBER = 55286254; + private volatile java.lang.Object ruleName_; + /** + * + * + *
+   * An optional name for the rule. This field is not a unique identifier and can be updated.
+   * 
+ * + * optional string rule_name = 55286254; + * + * @return Whether the ruleName field is set. + */ + @java.lang.Override + public boolean hasRuleName() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+   * An optional name for the rule. This field is not a unique identifier and can be updated.
+   * 
+ * + * optional string rule_name = 55286254; + * + * @return The ruleName. + */ + @java.lang.Override + public java.lang.String getRuleName() { + java.lang.Object ref = ruleName_; + 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(); + ruleName_ = s; + return s; + } + } + /** + * + * + *
+   * An optional name for the rule. This field is not a unique identifier and can be updated.
+   * 
+ * + * optional string rule_name = 55286254; + * + * @return The bytes for ruleName. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRuleNameBytes() { + java.lang.Object ref = ruleName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ruleName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int RULE_TUPLE_COUNT_FIELD_NUMBER = 388342037; private int ruleTupleCount_; /** @@ -754,7 +844,7 @@ public int getPriority() { */ @java.lang.Override public boolean hasRuleTupleCount() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -833,6 +923,87 @@ public com.google.protobuf.ByteString getTargetResourcesBytes(int index) { return targetResources_.getByteString(index); } + public static final int TARGET_SECURE_TAGS_FIELD_NUMBER = 468132403; + private java.util.List targetSecureTags_; + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + @java.lang.Override + public java.util.List + getTargetSecureTagsList() { + return targetSecureTags_; + } + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + @java.lang.Override + public java.util.List + getTargetSecureTagsOrBuilderList() { + return targetSecureTags_; + } + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + @java.lang.Override + public int getTargetSecureTagsCount() { + return targetSecureTags_.size(); + } + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag getTargetSecureTags(int index) { + return targetSecureTags_.get(index); + } + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder + getTargetSecureTagsOrBuilder(int index) { + return targetSecureTags_.get(index); + } + public static final int TARGET_SERVICE_ACCOUNTS_FIELD_NUMBER = 457639710; private com.google.protobuf.LazyStringList targetServiceAccounts_; /** @@ -911,6 +1082,9 @@ 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_ & 0x00000100) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 55286254, ruleName_); + } if (((bitField0_ & 0x00000040) != 0)) { output.writeMessage(103668165, getMatch()); } @@ -926,7 +1100,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000010) != 0)) { output.writeBool(295396515, enableLogging_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeInt32(388342037, ruleTupleCount_); } if (((bitField0_ & 0x00000002) != 0)) { @@ -939,6 +1113,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString( output, 457639710, targetServiceAccounts_.getRaw(i)); } + for (int i = 0; i < targetSecureTags_.size(); i++) { + output.writeMessage(468132403, targetSecureTags_.get(i)); + } for (int i = 0; i < targetResources_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString( output, 528230647, targetResources_.getRaw(i)); @@ -955,6 +1132,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(55286254, ruleName_); + } if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(103668165, getMatch()); } @@ -970,7 +1150,7 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(295396515, enableLogging_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(388342037, ruleTupleCount_); } if (((bitField0_ & 0x00000002) != 0)) { @@ -987,6 +1167,11 @@ public int getSerializedSize() { size += dataSize; size += 5 * getTargetServiceAccountsList().size(); } + for (int i = 0; i < targetSecureTags_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 468132403, targetSecureTags_.get(i)); + } { int dataSize = 0; for (int i = 0; i < targetResources_.size(); i++) { @@ -1043,11 +1228,16 @@ public boolean equals(final java.lang.Object obj) { if (hasPriority()) { if (getPriority() != other.getPriority()) return false; } + if (hasRuleName() != other.hasRuleName()) return false; + if (hasRuleName()) { + if (!getRuleName().equals(other.getRuleName())) return false; + } if (hasRuleTupleCount() != other.hasRuleTupleCount()) return false; if (hasRuleTupleCount()) { if (getRuleTupleCount() != other.getRuleTupleCount()) return false; } if (!getTargetResourcesList().equals(other.getTargetResourcesList())) return false; + if (!getTargetSecureTagsList().equals(other.getTargetSecureTagsList())) return false; if (!getTargetServiceAccountsList().equals(other.getTargetServiceAccountsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1092,6 +1282,10 @@ public int hashCode() { hash = (37 * hash) + PRIORITY_FIELD_NUMBER; hash = (53 * hash) + getPriority(); } + if (hasRuleName()) { + hash = (37 * hash) + RULE_NAME_FIELD_NUMBER; + hash = (53 * hash) + getRuleName().hashCode(); + } if (hasRuleTupleCount()) { hash = (37 * hash) + RULE_TUPLE_COUNT_FIELD_NUMBER; hash = (53 * hash) + getRuleTupleCount(); @@ -1100,6 +1294,10 @@ public int hashCode() { hash = (37 * hash) + TARGET_RESOURCES_FIELD_NUMBER; hash = (53 * hash) + getTargetResourcesList().hashCode(); } + if (getTargetSecureTagsCount() > 0) { + hash = (37 * hash) + TARGET_SECURE_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getTargetSecureTagsList().hashCode(); + } if (getTargetServiceAccountsCount() > 0) { hash = (37 * hash) + TARGET_SERVICE_ACCOUNTS_FIELD_NUMBER; hash = (53 * hash) + getTargetServiceAccountsList().hashCode(); @@ -1245,6 +1443,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMatchFieldBuilder(); + getTargetSecureTagsFieldBuilder(); } } @@ -1271,12 +1470,20 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000040); priority_ = 0; bitField0_ = (bitField0_ & ~0x00000080); - ruleTupleCount_ = 0; + ruleName_ = ""; bitField0_ = (bitField0_ & ~0x00000100); - targetResources_ = com.google.protobuf.LazyStringArrayList.EMPTY; + ruleTupleCount_ = 0; bitField0_ = (bitField0_ & ~0x00000200); - targetServiceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + targetResources_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000400); + if (targetSecureTagsBuilder_ == null) { + targetSecureTags_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000800); + } else { + targetSecureTagsBuilder_.clear(); + } + targetServiceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00001000); return this; } @@ -1343,17 +1550,30 @@ public com.google.cloud.compute.v1.FirewallPolicyRule buildPartial() { to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.ruleTupleCount_ = ruleTupleCount_; to_bitField0_ |= 0x00000100; } - if (((bitField0_ & 0x00000200) != 0)) { + result.ruleName_ = ruleName_; + if (((from_bitField0_ & 0x00000200) != 0)) { + result.ruleTupleCount_ = ruleTupleCount_; + to_bitField0_ |= 0x00000200; + } + if (((bitField0_ & 0x00000400) != 0)) { targetResources_ = targetResources_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); } result.targetResources_ = targetResources_; - if (((bitField0_ & 0x00000400) != 0)) { + if (targetSecureTagsBuilder_ == null) { + if (((bitField0_ & 0x00000800) != 0)) { + targetSecureTags_ = java.util.Collections.unmodifiableList(targetSecureTags_); + bitField0_ = (bitField0_ & ~0x00000800); + } + result.targetSecureTags_ = targetSecureTags_; + } else { + result.targetSecureTags_ = targetSecureTagsBuilder_.build(); + } + if (((bitField0_ & 0x00001000) != 0)) { targetServiceAccounts_ = targetServiceAccounts_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); } result.targetServiceAccounts_ = targetServiceAccounts_; result.bitField0_ = to_bitField0_; @@ -1438,23 +1658,55 @@ public Builder mergeFrom(com.google.cloud.compute.v1.FirewallPolicyRule other) { if (other.hasPriority()) { setPriority(other.getPriority()); } + if (other.hasRuleName()) { + bitField0_ |= 0x00000100; + ruleName_ = other.ruleName_; + onChanged(); + } if (other.hasRuleTupleCount()) { setRuleTupleCount(other.getRuleTupleCount()); } if (!other.targetResources_.isEmpty()) { if (targetResources_.isEmpty()) { targetResources_ = other.targetResources_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); } else { ensureTargetResourcesIsMutable(); targetResources_.addAll(other.targetResources_); } onChanged(); } + if (targetSecureTagsBuilder_ == null) { + if (!other.targetSecureTags_.isEmpty()) { + if (targetSecureTags_.isEmpty()) { + targetSecureTags_ = other.targetSecureTags_; + bitField0_ = (bitField0_ & ~0x00000800); + } else { + ensureTargetSecureTagsIsMutable(); + targetSecureTags_.addAll(other.targetSecureTags_); + } + onChanged(); + } + } else { + if (!other.targetSecureTags_.isEmpty()) { + if (targetSecureTagsBuilder_.isEmpty()) { + targetSecureTagsBuilder_.dispose(); + targetSecureTagsBuilder_ = null; + targetSecureTags_ = other.targetSecureTags_; + bitField0_ = (bitField0_ & ~0x00000800); + targetSecureTagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTargetSecureTagsFieldBuilder() + : null; + } else { + targetSecureTagsBuilder_.addAllMessages(other.targetSecureTags_); + } + } + } if (!other.targetServiceAccounts_.isEmpty()) { if (targetServiceAccounts_.isEmpty()) { targetServiceAccounts_ = other.targetServiceAccounts_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); } else { ensureTargetServiceAccountsIsMutable(); targetServiceAccounts_.addAll(other.targetServiceAccounts_); @@ -2367,6 +2619,126 @@ public Builder clearPriority() { return this; } + private java.lang.Object ruleName_ = ""; + /** + * + * + *
+     * An optional name for the rule. This field is not a unique identifier and can be updated.
+     * 
+ * + * optional string rule_name = 55286254; + * + * @return Whether the ruleName field is set. + */ + public boolean hasRuleName() { + return ((bitField0_ & 0x00000100) != 0); + } + /** + * + * + *
+     * An optional name for the rule. This field is not a unique identifier and can be updated.
+     * 
+ * + * optional string rule_name = 55286254; + * + * @return The ruleName. + */ + public java.lang.String getRuleName() { + java.lang.Object ref = ruleName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ruleName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * An optional name for the rule. This field is not a unique identifier and can be updated.
+     * 
+ * + * optional string rule_name = 55286254; + * + * @return The bytes for ruleName. + */ + public com.google.protobuf.ByteString getRuleNameBytes() { + java.lang.Object ref = ruleName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ruleName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * An optional name for the rule. This field is not a unique identifier and can be updated.
+     * 
+ * + * optional string rule_name = 55286254; + * + * @param value The ruleName to set. + * @return This builder for chaining. + */ + public Builder setRuleName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000100; + ruleName_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * An optional name for the rule. This field is not a unique identifier and can be updated.
+     * 
+ * + * optional string rule_name = 55286254; + * + * @return This builder for chaining. + */ + public Builder clearRuleName() { + bitField0_ = (bitField0_ & ~0x00000100); + ruleName_ = getDefaultInstance().getRuleName(); + onChanged(); + return this; + } + /** + * + * + *
+     * An optional name for the rule. This field is not a unique identifier and can be updated.
+     * 
+ * + * optional string rule_name = 55286254; + * + * @param value The bytes for ruleName to set. + * @return This builder for chaining. + */ + public Builder setRuleNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000100; + ruleName_ = value; + onChanged(); + return this; + } + private int ruleTupleCount_; /** * @@ -2381,7 +2753,7 @@ public Builder clearPriority() { */ @java.lang.Override public boolean hasRuleTupleCount() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -2411,7 +2783,7 @@ public int getRuleTupleCount() { * @return This builder for chaining. */ public Builder setRuleTupleCount(int value) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; ruleTupleCount_ = value; onChanged(); return this; @@ -2428,7 +2800,7 @@ public Builder setRuleTupleCount(int value) { * @return This builder for chaining. */ public Builder clearRuleTupleCount() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); ruleTupleCount_ = 0; onChanged(); return this; @@ -2438,9 +2810,9 @@ public Builder clearRuleTupleCount() { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTargetResourcesIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { + if (!((bitField0_ & 0x00000400) != 0)) { targetResources_ = new com.google.protobuf.LazyStringArrayList(targetResources_); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; } } /** @@ -2575,7 +2947,7 @@ public Builder addAllTargetResources(java.lang.Iterable values */ public Builder clearTargetResources() { targetResources_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -2602,14 +2974,418 @@ public Builder addTargetResourcesBytes(com.google.protobuf.ByteString value) { return this; } + private java.util.List + targetSecureTags_ = java.util.Collections.emptyList(); + + private void ensureTargetSecureTagsIsMutable() { + if (!((bitField0_ & 0x00000800) != 0)) { + targetSecureTags_ = + new java.util.ArrayList( + targetSecureTags_); + bitField0_ |= 0x00000800; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder> + targetSecureTagsBuilder_; + + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public java.util.List + getTargetSecureTagsList() { + if (targetSecureTagsBuilder_ == null) { + return java.util.Collections.unmodifiableList(targetSecureTags_); + } else { + return targetSecureTagsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public int getTargetSecureTagsCount() { + if (targetSecureTagsBuilder_ == null) { + return targetSecureTags_.size(); + } else { + return targetSecureTagsBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag getTargetSecureTags(int index) { + if (targetSecureTagsBuilder_ == null) { + return targetSecureTags_.get(index); + } else { + return targetSecureTagsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public Builder setTargetSecureTags( + int index, com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag value) { + if (targetSecureTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTargetSecureTagsIsMutable(); + targetSecureTags_.set(index, value); + onChanged(); + } else { + targetSecureTagsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public Builder setTargetSecureTags( + int index, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder builderForValue) { + if (targetSecureTagsBuilder_ == null) { + ensureTargetSecureTagsIsMutable(); + targetSecureTags_.set(index, builderForValue.build()); + onChanged(); + } else { + targetSecureTagsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public Builder addTargetSecureTags( + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag value) { + if (targetSecureTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTargetSecureTagsIsMutable(); + targetSecureTags_.add(value); + onChanged(); + } else { + targetSecureTagsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public Builder addTargetSecureTags( + int index, com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag value) { + if (targetSecureTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureTargetSecureTagsIsMutable(); + targetSecureTags_.add(index, value); + onChanged(); + } else { + targetSecureTagsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public Builder addTargetSecureTags( + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder builderForValue) { + if (targetSecureTagsBuilder_ == null) { + ensureTargetSecureTagsIsMutable(); + targetSecureTags_.add(builderForValue.build()); + onChanged(); + } else { + targetSecureTagsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public Builder addTargetSecureTags( + int index, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder builderForValue) { + if (targetSecureTagsBuilder_ == null) { + ensureTargetSecureTagsIsMutable(); + targetSecureTags_.add(index, builderForValue.build()); + onChanged(); + } else { + targetSecureTagsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public Builder addAllTargetSecureTags( + java.lang.Iterable + values) { + if (targetSecureTagsBuilder_ == null) { + ensureTargetSecureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, targetSecureTags_); + onChanged(); + } else { + targetSecureTagsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public Builder clearTargetSecureTags() { + if (targetSecureTagsBuilder_ == null) { + targetSecureTags_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000800); + onChanged(); + } else { + targetSecureTagsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public Builder removeTargetSecureTags(int index) { + if (targetSecureTagsBuilder_ == null) { + ensureTargetSecureTagsIsMutable(); + targetSecureTags_.remove(index); + onChanged(); + } else { + targetSecureTagsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder + getTargetSecureTagsBuilder(int index) { + return getTargetSecureTagsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder + getTargetSecureTagsOrBuilder(int index) { + if (targetSecureTagsBuilder_ == null) { + return targetSecureTags_.get(index); + } else { + return targetSecureTagsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public java.util.List< + ? extends com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder> + getTargetSecureTagsOrBuilderList() { + if (targetSecureTagsBuilder_ != null) { + return targetSecureTagsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(targetSecureTags_); + } + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder + addTargetSecureTagsBuilder() { + return getTargetSecureTagsFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.getDefaultInstance()); + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder + addTargetSecureTagsBuilder(int index) { + return getTargetSecureTagsFieldBuilder() + .addBuilder( + index, com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.getDefaultInstance()); + } + /** + * + * + *
+     * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + public java.util.List + getTargetSecureTagsBuilderList() { + return getTargetSecureTagsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder> + getTargetSecureTagsFieldBuilder() { + if (targetSecureTagsBuilder_ == null) { + targetSecureTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder>( + targetSecureTags_, + ((bitField0_ & 0x00000800) != 0), + getParentForChildren(), + isClean()); + targetSecureTags_ = null; + } + return targetSecureTagsBuilder_; + } + private com.google.protobuf.LazyStringList targetServiceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTargetServiceAccountsIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { + if (!((bitField0_ & 0x00001000) != 0)) { targetServiceAccounts_ = new com.google.protobuf.LazyStringArrayList(targetServiceAccounts_); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; } } /** @@ -2744,7 +3520,7 @@ public Builder addAllTargetServiceAccounts(java.lang.Iterable */ public Builder clearTargetServiceAccounts() { targetServiceAccounts_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); return this; } diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleMatcher.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleMatcher.java index 89072416c..1cf63e38e 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleMatcher.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleMatcher.java @@ -41,6 +41,7 @@ private FirewallPolicyRuleMatcher() { destIpRanges_ = com.google.protobuf.LazyStringArrayList.EMPTY; layer4Configs_ = java.util.Collections.emptyList(); srcIpRanges_ = com.google.protobuf.LazyStringArrayList.EMPTY; + srcSecureTags_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -107,6 +108,20 @@ private FirewallPolicyRuleMatcher( srcIpRanges_.add(s); break; } + case -224636878: + { + if (!((mutable_bitField0_ & 0x00000008) != 0)) { + srcSecureTags_ = + new java.util.ArrayList< + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag>(); + mutable_bitField0_ |= 0x00000008; + } + srcSecureTags_.add( + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.parser(), + extensionRegistry)); + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -130,6 +145,9 @@ private FirewallPolicyRuleMatcher( if (((mutable_bitField0_ & 0x00000004) != 0)) { srcIpRanges_ = srcIpRanges_.getUnmodifiableView(); } + if (((mutable_bitField0_ & 0x00000008) != 0)) { + srcSecureTags_ = java.util.Collections.unmodifiableList(srcSecureTags_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -356,6 +374,87 @@ public com.google.protobuf.ByteString getSrcIpRangesBytes(int index) { return srcIpRanges_.getByteString(index); } + public static final int SRC_SECURE_TAGS_FIELD_NUMBER = 508791302; + private java.util.List srcSecureTags_; + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + @java.lang.Override + public java.util.List + getSrcSecureTagsList() { + return srcSecureTags_; + } + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + @java.lang.Override + public java.util.List + getSrcSecureTagsOrBuilderList() { + return srcSecureTags_; + } + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + @java.lang.Override + public int getSrcSecureTagsCount() { + return srcSecureTags_.size(); + } + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag getSrcSecureTags(int index) { + return srcSecureTags_.get(index); + } + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder getSrcSecureTagsOrBuilder( + int index) { + return srcSecureTags_.get(index); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -380,6 +479,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < srcIpRanges_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 432128083, srcIpRanges_.getRaw(i)); } + for (int i = 0; i < srcSecureTags_.size(); i++) { + output.writeMessage(508791302, srcSecureTags_.get(i)); + } unknownFields.writeTo(output); } @@ -410,6 +512,11 @@ public int getSerializedSize() { size += dataSize; size += 5 * getSrcIpRangesList().size(); } + for (int i = 0; i < srcSecureTags_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 508791302, srcSecureTags_.get(i)); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -429,6 +536,7 @@ public boolean equals(final java.lang.Object obj) { if (!getDestIpRangesList().equals(other.getDestIpRangesList())) return false; if (!getLayer4ConfigsList().equals(other.getLayer4ConfigsList())) return false; if (!getSrcIpRangesList().equals(other.getSrcIpRangesList())) return false; + if (!getSrcSecureTagsList().equals(other.getSrcSecureTagsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -452,6 +560,10 @@ public int hashCode() { hash = (37 * hash) + SRC_IP_RANGES_FIELD_NUMBER; hash = (53 * hash) + getSrcIpRangesList().hashCode(); } + if (getSrcSecureTagsCount() > 0) { + hash = (37 * hash) + SRC_SECURE_TAGS_FIELD_NUMBER; + hash = (53 * hash) + getSrcSecureTagsList().hashCode(); + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -594,6 +706,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getLayer4ConfigsFieldBuilder(); + getSrcSecureTagsFieldBuilder(); } } @@ -610,6 +723,12 @@ public Builder clear() { } srcIpRanges_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); + if (srcSecureTagsBuilder_ == null) { + srcSecureTags_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + } else { + srcSecureTagsBuilder_.clear(); + } return this; } @@ -657,6 +776,15 @@ public com.google.cloud.compute.v1.FirewallPolicyRuleMatcher buildPartial() { bitField0_ = (bitField0_ & ~0x00000004); } result.srcIpRanges_ = srcIpRanges_; + if (srcSecureTagsBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0)) { + srcSecureTags_ = java.util.Collections.unmodifiableList(srcSecureTags_); + bitField0_ = (bitField0_ & ~0x00000008); + } + result.srcSecureTags_ = srcSecureTags_; + } else { + result.srcSecureTags_ = srcSecureTagsBuilder_.build(); + } onBuilt(); return result; } @@ -754,6 +882,33 @@ public Builder mergeFrom(com.google.cloud.compute.v1.FirewallPolicyRuleMatcher o } onChanged(); } + if (srcSecureTagsBuilder_ == null) { + if (!other.srcSecureTags_.isEmpty()) { + if (srcSecureTags_.isEmpty()) { + srcSecureTags_ = other.srcSecureTags_; + bitField0_ = (bitField0_ & ~0x00000008); + } else { + ensureSrcSecureTagsIsMutable(); + srcSecureTags_.addAll(other.srcSecureTags_); + } + onChanged(); + } + } else { + if (!other.srcSecureTags_.isEmpty()) { + if (srcSecureTagsBuilder_.isEmpty()) { + srcSecureTagsBuilder_.dispose(); + srcSecureTagsBuilder_ = null; + srcSecureTags_ = other.srcSecureTags_; + bitField0_ = (bitField0_ & ~0x00000008); + srcSecureTagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSrcSecureTagsFieldBuilder() + : null; + } else { + srcSecureTagsBuilder_.addAllMessages(other.srcSecureTags_); + } + } + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -1532,6 +1687,409 @@ public Builder addSrcIpRangesBytes(com.google.protobuf.ByteString value) { return this; } + private java.util.List srcSecureTags_ = + java.util.Collections.emptyList(); + + private void ensureSrcSecureTagsIsMutable() { + if (!((bitField0_ & 0x00000008) != 0)) { + srcSecureTags_ = + new java.util.ArrayList( + srcSecureTags_); + bitField0_ |= 0x00000008; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder> + srcSecureTagsBuilder_; + + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public java.util.List + getSrcSecureTagsList() { + if (srcSecureTagsBuilder_ == null) { + return java.util.Collections.unmodifiableList(srcSecureTags_); + } else { + return srcSecureTagsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public int getSrcSecureTagsCount() { + if (srcSecureTagsBuilder_ == null) { + return srcSecureTags_.size(); + } else { + return srcSecureTagsBuilder_.getCount(); + } + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag getSrcSecureTags(int index) { + if (srcSecureTagsBuilder_ == null) { + return srcSecureTags_.get(index); + } else { + return srcSecureTagsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public Builder setSrcSecureTags( + int index, com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag value) { + if (srcSecureTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSrcSecureTagsIsMutable(); + srcSecureTags_.set(index, value); + onChanged(); + } else { + srcSecureTagsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public Builder setSrcSecureTags( + int index, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder builderForValue) { + if (srcSecureTagsBuilder_ == null) { + ensureSrcSecureTagsIsMutable(); + srcSecureTags_.set(index, builderForValue.build()); + onChanged(); + } else { + srcSecureTagsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public Builder addSrcSecureTags(com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag value) { + if (srcSecureTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSrcSecureTagsIsMutable(); + srcSecureTags_.add(value); + onChanged(); + } else { + srcSecureTagsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public Builder addSrcSecureTags( + int index, com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag value) { + if (srcSecureTagsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSrcSecureTagsIsMutable(); + srcSecureTags_.add(index, value); + onChanged(); + } else { + srcSecureTagsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public Builder addSrcSecureTags( + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder builderForValue) { + if (srcSecureTagsBuilder_ == null) { + ensureSrcSecureTagsIsMutable(); + srcSecureTags_.add(builderForValue.build()); + onChanged(); + } else { + srcSecureTagsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public Builder addSrcSecureTags( + int index, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder builderForValue) { + if (srcSecureTagsBuilder_ == null) { + ensureSrcSecureTagsIsMutable(); + srcSecureTags_.add(index, builderForValue.build()); + onChanged(); + } else { + srcSecureTagsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public Builder addAllSrcSecureTags( + java.lang.Iterable + values) { + if (srcSecureTagsBuilder_ == null) { + ensureSrcSecureTagsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, srcSecureTags_); + onChanged(); + } else { + srcSecureTagsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public Builder clearSrcSecureTags() { + if (srcSecureTagsBuilder_ == null) { + srcSecureTags_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + } else { + srcSecureTagsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public Builder removeSrcSecureTags(int index) { + if (srcSecureTagsBuilder_ == null) { + ensureSrcSecureTagsIsMutable(); + srcSecureTags_.remove(index); + onChanged(); + } else { + srcSecureTagsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder getSrcSecureTagsBuilder( + int index) { + return getSrcSecureTagsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder + getSrcSecureTagsOrBuilder(int index) { + if (srcSecureTagsBuilder_ == null) { + return srcSecureTags_.get(index); + } else { + return srcSecureTagsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public java.util.List< + ? extends com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder> + getSrcSecureTagsOrBuilderList() { + if (srcSecureTagsBuilder_ != null) { + return srcSecureTagsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(srcSecureTags_); + } + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder + addSrcSecureTagsBuilder() { + return getSrcSecureTagsFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.getDefaultInstance()); + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder addSrcSecureTagsBuilder( + int index) { + return getSrcSecureTagsFieldBuilder() + .addBuilder( + index, com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.getDefaultInstance()); + } + /** + * + * + *
+     * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + public java.util.List + getSrcSecureTagsBuilderList() { + return getSrcSecureTagsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder> + getSrcSecureTagsFieldBuilder() { + if (srcSecureTagsBuilder_ == null) { + srcSecureTagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder>( + srcSecureTags_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); + srcSecureTags_ = null; + } + return srcSecureTagsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleMatcherOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleMatcherOrBuilder.java index bfc488b73..74a14cc05 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleMatcherOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleMatcherOrBuilder.java @@ -189,4 +189,67 @@ public interface FirewallPolicyRuleMatcherOrBuilder * @return The bytes of the srcIpRanges at the given index. */ com.google.protobuf.ByteString getSrcIpRangesBytes(int index); + + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + java.util.List getSrcSecureTagsList(); + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag getSrcSecureTags(int index); + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + int getSrcSecureTagsCount(); + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + java.util.List + getSrcSecureTagsOrBuilderList(); + /** + * + * + *
+   * List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + * + */ + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder getSrcSecureTagsOrBuilder( + int index); } diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleOrBuilder.java index 14466638e..f3e930ec4 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleOrBuilder.java @@ -284,6 +284,43 @@ public interface FirewallPolicyRuleOrBuilder */ int getPriority(); + /** + * + * + *
+   * An optional name for the rule. This field is not a unique identifier and can be updated.
+   * 
+ * + * optional string rule_name = 55286254; + * + * @return Whether the ruleName field is set. + */ + boolean hasRuleName(); + /** + * + * + *
+   * An optional name for the rule. This field is not a unique identifier and can be updated.
+   * 
+ * + * optional string rule_name = 55286254; + * + * @return The ruleName. + */ + java.lang.String getRuleName(); + /** + * + * + *
+   * An optional name for the rule. This field is not a unique identifier and can be updated.
+   * 
+ * + * optional string rule_name = 55286254; + * + * @return The bytes for ruleName. + */ + com.google.protobuf.ByteString getRuleNameBytes(); + /** * * @@ -360,6 +397,69 @@ public interface FirewallPolicyRuleOrBuilder */ com.google.protobuf.ByteString getTargetResourcesBytes(int index); + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + java.util.List getTargetSecureTagsList(); + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag getTargetSecureTags(int index); + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + int getTargetSecureTagsCount(); + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + java.util.List + getTargetSecureTagsOrBuilderList(); + /** + * + * + *
+   * A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + * + */ + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder getTargetSecureTagsOrBuilder( + int index); + /** * * diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleSecureTag.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleSecureTag.java new file mode 100644 index 000000000..e6caa8296 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleSecureTag.java @@ -0,0 +1,1033 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.FirewallPolicyRuleSecureTag} + */ +public final class FirewallPolicyRuleSecureTag extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.FirewallPolicyRuleSecureTag) + FirewallPolicyRuleSecureTagOrBuilder { + private static final long serialVersionUID = 0L; + // Use FirewallPolicyRuleSecureTag.newBuilder() to construct. + private FirewallPolicyRuleSecureTag(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private FirewallPolicyRuleSecureTag() { + name_ = ""; + state_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new FirewallPolicyRuleSecureTag(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private FirewallPolicyRuleSecureTag( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26989658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + name_ = s; + break; + } + case 878060682: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + state_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.class, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder.class); + } + + /** + * + * + *
+   * [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.FirewallPolicyRuleSecureTag.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), + /** EFFECTIVE = 244201863; */ + EFFECTIVE(244201863), + /** INEFFECTIVE = 304458242; */ + INEFFECTIVE(304458242), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_STATE = 0; + */ + public static final int UNDEFINED_STATE_VALUE = 0; + /** EFFECTIVE = 244201863; */ + public static final int EFFECTIVE_VALUE = 244201863; + /** INEFFECTIVE = 304458242; */ + public static final int INEFFECTIVE_VALUE = 304458242; + + 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 244201863: + return EFFECTIVE; + case 304458242: + return INEFFECTIVE; + 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.FirewallPolicyRuleSecureTag.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.FirewallPolicyRuleSecureTag.State) + } + + private int bitField0_; + public static final int NAME_FIELD_NUMBER = 3373707; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Name of the secure tag, created with TagManager's TagValue API.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Name of the secure tag, created with TagManager's TagValue API.
+   * 
+ * + * 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 secure tag, created with TagManager's TagValue API.
+   * 
+ * + * 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 STATE_FIELD_NUMBER = 109757585; + private volatile java.lang.Object state_; + /** + * + * + *
+   * [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+   * 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_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+   * 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] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+   * 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; + } + } + + 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, 3373707, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 109757585, state_); + } + unknownFields.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(3373707, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(109757585, state_); + } + size += unknownFields.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.FirewallPolicyRuleSecureTag)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag other = + (com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag) obj; + + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (hasState() != other.hasState()) return false; + if (hasState()) { + if (!getState().equals(other.getState())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (hasState()) { + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + getState().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag 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.FirewallPolicyRuleSecureTag parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag 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.FirewallPolicyRuleSecureTag parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag 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.FirewallPolicyRuleSecureTag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag 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.FirewallPolicyRuleSecureTag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag 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.FirewallPolicyRuleSecureTag 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.FirewallPolicyRuleSecureTag 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.FirewallPolicyRuleSecureTag 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.FirewallPolicyRuleSecureTag} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.FirewallPolicyRuleSecureTag) + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTagOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_FirewallPolicyRuleSecureTag_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.class, + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + state_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_FirewallPolicyRuleSecureTag_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag getDefaultInstanceForType() { + return com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag build() { + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag buildPartial() { + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag result = + new com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.name_ = name_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.state_ = state_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.FirewallPolicyRuleSecureTag) { + return mergeFrom((com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag other) { + if (other == com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag.getDefaultInstance()) + return this; + if (other.hasName()) { + bitField0_ |= 0x00000001; + name_ = other.name_; + onChanged(); + } + if (other.hasState()) { + bitField0_ |= 0x00000002; + state_ = other.state_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Name of the secure tag, created with TagManager's TagValue API.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Name of the secure tag, created with TagManager's TagValue API.
+     * 
+ * + * 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 secure tag, created with TagManager's TagValue API.
+     * 
+ * + * 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 secure tag, created with TagManager's TagValue API.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the secure tag, created with TagManager's TagValue API.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the secure tag, created with TagManager's TagValue API.
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object state_ = ""; + /** + * + * + *
+     * [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+     * 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_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+     * 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] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+     * 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] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+     * 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(); + } + bitField0_ |= 0x00000002; + state_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+     * Check the State enum for the list of possible values.
+     * 
+ * + * optional string state = 109757585; + * + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000002); + state_ = getDefaultInstance().getState(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+     * 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); + bitField0_ |= 0x00000002; + state_ = value; + 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.FirewallPolicyRuleSecureTag) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.FirewallPolicyRuleSecureTag) + private static final com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag(); + } + + public static com.google.cloud.compute.v1.FirewallPolicyRuleSecureTag getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public FirewallPolicyRuleSecureTag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new FirewallPolicyRuleSecureTag(input, extensionRegistry); + } + }; + + 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.FirewallPolicyRuleSecureTag getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleSecureTagOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleSecureTagOrBuilder.java new file mode 100644 index 000000000..c7afd2856 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/FirewallPolicyRuleSecureTagOrBuilder.java @@ -0,0 +1,102 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface FirewallPolicyRuleSecureTagOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.FirewallPolicyRuleSecureTag) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the secure tag, created with TagManager's TagValue API.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * Name of the secure tag, created with TagManager's TagValue API.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Name of the secure tag, created with TagManager's TagValue API.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+   * 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] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The state. + */ + java.lang.String getState(); + /** + * + * + *
+   * [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted.
+   * Check the State enum for the list of possible values.
+   * 
+ * + * optional string state = 109757585; + * + * @return The bytes for state. + */ + com.google.protobuf.ByteString getStateBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..d64d6b90d --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationNetworkFirewallPolicyRequest.java @@ -0,0 +1,1055 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.GetAssociation. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest} + */ +public final class GetAssociationNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest) + GetAssociationNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetAssociationNetworkFirewallPolicyRequest.newBuilder() to construct. + private GetAssociationNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetAssociationNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + name_ = ""; + project_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetAssociationNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetAssociationNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26989658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + name_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to which the queried association belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to which the queried association belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3373707; + private volatile java.lang.Object name_; + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * 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 the association to get from the firewall policy.
+   * 
+ * + * 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 PROJECT_FIELD_NUMBER = 227560217; + 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; + } + } + + 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, 3373707, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(3373707, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.GetAssociationNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest 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.GetAssociationNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest 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.GetAssociationNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest 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.GetAssociationNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest 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.GetAssociationNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest + 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.GetAssociationNetworkFirewallPolicyRequest 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.GetAssociationNetworkFirewallPolicyRequest 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.GetAssociationNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.GetAssociation. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetAssociationNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + 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_GetAssociationNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.name_ = name_; + result.project_ = project_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.GetAssociationNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasName()) { + bitField0_ |= 0x00000001; + name_ = other.name_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * The name of the association to get from the firewall policy.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The name of the association to get from the firewall policy.
+     * 
+ * + * 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 the association to get from the firewall policy.
+     * 
+ * + * 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 the association to get from the firewall policy.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the association to get from the firewall policy.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the association to get from the firewall policy.
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + name_ = value; + 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; + 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(); + 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; + 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.GetAssociationNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetAssociationNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAssociationNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.GetAssociationNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..f82e4e21e --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,112 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetAssociationNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetAssociationNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to which the queried association belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to which the queried association belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..d1d27b0b6 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1249 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.GetAssociation. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest} + */ +public final class GetAssociationRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest) + GetAssociationRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetAssociationRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private GetAssociationRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetAssociationRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + name_ = ""; + project_ = ""; + region_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetAssociationRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetAssociationRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26989658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + name_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to which the queried association belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to which the queried association belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3373707; + private volatile java.lang.Object name_; + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * 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 the association to get from the firewall policy.
+   * 
+ * + * 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 PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = 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, 3373707, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(3373707, name_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.GetAssociationRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + 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.GetAssociationRegionNetworkFirewallPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + 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.GetAssociationRegionNetworkFirewallPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + 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.GetAssociationRegionNetworkFirewallPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + 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.GetAssociationRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + 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.GetAssociationRegionNetworkFirewallPolicyRequest + 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.GetAssociationRegionNetworkFirewallPolicyRequest + 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.GetAssociationRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.GetAssociation. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + region_ = ""; + + 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_GetAssociationRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + buildPartial() { + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.name_ = name_; + result.project_ = project_; + result.region_ = region_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasName()) { + bitField0_ |= 0x00000001; + name_ = other.name_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to which the queried association belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * The name of the association to get from the firewall policy.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The name of the association to get from the firewall policy.
+     * 
+ * + * 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 the association to get from the firewall policy.
+     * 
+ * + * 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 the association to get from the firewall policy.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the association to get from the firewall policy.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the association to get from the firewall policy.
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + name_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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.GetAssociationRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser< + GetAssociationRegionNetworkFirewallPolicyRequest>() { + @java.lang.Override + public GetAssociationRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetAssociationRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.GetAssociationRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..6f17ea21e --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetAssociationRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,137 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetAssociationRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetAssociationRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to which the queried association belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to which the queried association belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the association to get from the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * 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 region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..5d9d436fd --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1038 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.GetEffectiveFirewalls. See the method description for details.
+ * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest} + */ +public final class GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest() { + network_ = ""; + project_ = ""; + region_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 1862979954: + { + java.lang.String s = input.readStringRequireUtf8(); + + network_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + .class, + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + .Builder.class); + } + + public static final int NETWORK_FIELD_NUMBER = 232872494; + private volatile java.lang.Object network_; + /** + * + * + *
+   * Network reference
+   * 
+ * + * string network = 232872494 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The network. + */ + @java.lang.Override + public java.lang.String getNetwork() { + java.lang.Object ref = network_; + 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(); + network_ = s; + return s; + } + } + /** + * + * + *
+   * Network reference
+   * 
+ * + * string network = 232872494 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for network. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNetworkBytes() { + java.lang.Object ref = network_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + network_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = 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(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 232872494, network_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(network_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(232872494, network_); + } + size += unknownFields.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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) obj; + + if (!getNetwork().equals(other.getNetwork())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + NETWORK_FIELD_NUMBER; + hash = (53 * hash) + getNetwork().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + 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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + 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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + 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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + 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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + 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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + 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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + 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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + 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 RegionNetworkFirewallPolicies.GetEffectiveFirewalls. See the method description for details.
+   * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + .class, + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + .Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + network_ = ""; + + project_ = ""; + + region_ = ""; + + 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_GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + build() { + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + buildPartial() { + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest( + this); + result.network_ = network_; + result.project_ = project_; + result.region_ = region_; + 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.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getNetwork().isEmpty()) { + network_ = other.network_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object network_ = ""; + /** + * + * + *
+     * Network reference
+     * 
+ * + * string network = 232872494 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The network. + */ + public java.lang.String getNetwork() { + java.lang.Object ref = network_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + network_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Network reference
+     * 
+ * + * string network = 232872494 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for network. + */ + public com.google.protobuf.ByteString getNetworkBytes() { + java.lang.Object ref = network_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + network_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Network reference
+     * 
+ * + * string network = 232872494 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The network to set. + * @return This builder for chaining. + */ + public Builder setNetwork(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + network_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Network reference
+     * 
+ * + * string network = 232872494 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearNetwork() { + + network_ = getDefaultInstance().getNetwork(); + onChanged(); + return this; + } + /** + * + * + *
+     * Network reference
+     * 
+ * + * string network = 232872494 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for network to set. + * @return This builder for chaining. + */ + public Builder setNetworkBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + network_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1 + .GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest> + PARSER = + new com.google.protobuf.AbstractParser< + GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest>() { + @java.lang.Override + public GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest( + input, extensionRegistry); + } + }; + + 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.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetEffectiveFirewallsRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetEffectiveFirewallsRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..4e932fe40 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetEffectiveFirewallsRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetEffectiveFirewallsRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Network reference
+   * 
+ * + * string network = 232872494 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The network. + */ + java.lang.String getNetwork(); + /** + * + * + *
+   * Network reference
+   * 
+ * + * string network = 232872494 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for network. + */ + com.google.protobuf.ByteString getNetworkBytes(); + + /** + * + * + *
+   * 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 region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..b7035a1e6 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNetworkFirewallPolicyRequest.java @@ -0,0 +1,969 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.GetIamPolicy. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest} + */ +public final class GetIamPolicyNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest) + GetIamPolicyNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetIamPolicyNetworkFirewallPolicyRequest.newBuilder() to construct. + private GetIamPolicyNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetIamPolicyNetworkFirewallPolicyRequest() { + project_ = ""; + resource_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetIamPolicyNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetIamPolicyNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1566449778: + { + java.lang.String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -301207064: + { + bitField0_ |= 0x00000001; + optionsRequestedPolicyVersion_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int OPTIONS_REQUESTED_POLICY_VERSION_FIELD_NUMBER = 499220029; + 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_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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; + } + } + + 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(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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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 += unknownFields.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.GetIamPolicyNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest) 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 (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest 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.GetIamPolicyNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest 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.GetIamPolicyNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest 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.GetIamPolicyNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest 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.GetIamPolicyNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest + 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.GetIamPolicyNetworkFirewallPolicyRequest 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.GetIamPolicyNetworkFirewallPolicyRequest 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.GetIamPolicyNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.GetIamPolicy. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + optionsRequestedPolicyVersion_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + resource_ = ""; + + 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_GetIamPolicyNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.optionsRequestedPolicyVersion_ = optionsRequestedPolicyVersion_; + to_bitField0_ |= 0x00000001; + } + result.project_ = project_; + result.resource_ = resource_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (other.hasOptionsRequestedPolicyVersion()) { + setOptionsRequestedPolicyVersion(other.getOptionsRequestedPolicyVersion()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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) { + bitField0_ |= 0x00000001; + optionsRequestedPolicyVersion_ = value; + 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; + 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(); + 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; + 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; + 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(); + 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; + 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.GetIamPolicyNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIamPolicyNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetIamPolicyNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.GetIamPolicyNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..29369e113 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetIamPolicyNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetIamPolicyNetworkFirewallPolicyRequest) + 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..20b3f4b14 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1164 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.GetIamPolicy. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest} + */ +public final class GetIamPolicyRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest) + GetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private GetIamPolicyRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetIamPolicyRegionNetworkFirewallPolicyRequest() { + project_ = ""; + region_ = ""; + resource_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetIamPolicyRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetIamPolicyRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1566449778: + { + java.lang.String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -301207064: + { + bitField0_ |= 0x00000001; + optionsRequestedPolicyVersion_ = input.readInt32(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + private int bitField0_; + public static final int OPTIONS_REQUESTED_POLICY_VERSION_FIELD_NUMBER = 499220029; + 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_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOURCE_FIELD_NUMBER = 195806222; + 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; + } + } + + 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(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + 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_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + 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 += unknownFields.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.GetIamPolicyRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest) obj; + + if (hasOptionsRequestedPolicyVersion() != other.hasOptionsRequestedPolicyVersion()) + return false; + if (hasOptionsRequestedPolicyVersion()) { + if (getOptionsRequestedPolicyVersion() != other.getOptionsRequestedPolicyVersion()) + return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (!getResource().equals(other.getResource())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + 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.GetIamPolicyRegionNetworkFirewallPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + 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.GetIamPolicyRegionNetworkFirewallPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + 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.GetIamPolicyRegionNetworkFirewallPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + 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.GetIamPolicyRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + 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.GetIamPolicyRegionNetworkFirewallPolicyRequest + 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.GetIamPolicyRegionNetworkFirewallPolicyRequest + 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.GetIamPolicyRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.GetIamPolicy. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + optionsRequestedPolicyVersion_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + region_ = ""; + + resource_ = ""; + + 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_GetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + buildPartial() { + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.optionsRequestedPolicyVersion_ = optionsRequestedPolicyVersion_; + to_bitField0_ |= 0x00000001; + } + result.project_ = project_; + result.region_ = region_; + result.resource_ = resource_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (other.hasOptionsRequestedPolicyVersion()) { + setOptionsRequestedPolicyVersion(other.getOptionsRequestedPolicyVersion()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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) { + bitField0_ |= 0x00000001; + optionsRequestedPolicyVersion_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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; + 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(); + 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; + 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.GetIamPolicyRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetIamPolicyRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetIamPolicyRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.GetIamPolicyRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..cce6a6c2f --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetIamPolicyRegionNetworkFirewallPolicyRequest) + 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(); + + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkEdgeSecurityServiceRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkEdgeSecurityServiceRequest.java new file mode 100644 index 000000000..e79cbcda9 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkEdgeSecurityServiceRequest.java @@ -0,0 +1,1022 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkEdgeSecurityServices.Get. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest} + */ +public final class GetNetworkEdgeSecurityServiceRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest) + GetNetworkEdgeSecurityServiceRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetNetworkEdgeSecurityServiceRequest.newBuilder() to construct. + private GetNetworkEdgeSecurityServiceRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetNetworkEdgeSecurityServiceRequest() { + networkEdgeSecurityService_ = ""; + project_ = ""; + region_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetNetworkEdgeSecurityServiceRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetNetworkEdgeSecurityServiceRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1256095034: + { + java.lang.String s = input.readStringRequireUtf8(); + + networkEdgeSecurityService_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest.class, + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest.Builder.class); + } + + public static final int NETWORK_EDGE_SECURITY_SERVICE_FIELD_NUMBER = 157011879; + private volatile java.lang.Object networkEdgeSecurityService_; + /** + * + * + *
+   * Name of the network edge security service to get.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityService. + */ + @java.lang.Override + public java.lang.String getNetworkEdgeSecurityService() { + java.lang.Object ref = networkEdgeSecurityService_; + 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(); + networkEdgeSecurityService_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the network edge security service to get.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for networkEdgeSecurityService. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNetworkEdgeSecurityServiceBytes() { + java.lang.Object ref = networkEdgeSecurityService_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + networkEdgeSecurityService_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = 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(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkEdgeSecurityService_)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 157011879, networkEdgeSecurityService_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkEdgeSecurityService_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 157011879, networkEdgeSecurityService_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + size += unknownFields.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.GetNetworkEdgeSecurityServiceRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest other = + (com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest) obj; + + if (!getNetworkEdgeSecurityService().equals(other.getNetworkEdgeSecurityService())) + return false; + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + NETWORK_EDGE_SECURITY_SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getNetworkEdgeSecurityService().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest 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.GetNetworkEdgeSecurityServiceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest 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.GetNetworkEdgeSecurityServiceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest 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.GetNetworkEdgeSecurityServiceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest 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.GetNetworkEdgeSecurityServiceRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest 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.GetNetworkEdgeSecurityServiceRequest 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.GetNetworkEdgeSecurityServiceRequest 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.GetNetworkEdgeSecurityServiceRequest 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 NetworkEdgeSecurityServices.Get. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest) + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetNetworkEdgeSecurityServiceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest.class, + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + networkEdgeSecurityService_ = ""; + + project_ = ""; + + region_ = ""; + + 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_GetNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest build() { + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest buildPartial() { + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest result = + new com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest(this); + result.networkEdgeSecurityService_ = networkEdgeSecurityService_; + result.project_ = project_; + result.region_ = region_; + 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.compute.v1.GetNetworkEdgeSecurityServiceRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest other) { + if (other + == com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest.getDefaultInstance()) + return this; + if (!other.getNetworkEdgeSecurityService().isEmpty()) { + networkEdgeSecurityService_ = other.networkEdgeSecurityService_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object networkEdgeSecurityService_ = ""; + /** + * + * + *
+     * Name of the network edge security service to get.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityService. + */ + public java.lang.String getNetworkEdgeSecurityService() { + java.lang.Object ref = networkEdgeSecurityService_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + networkEdgeSecurityService_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the network edge security service to get.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for networkEdgeSecurityService. + */ + public com.google.protobuf.ByteString getNetworkEdgeSecurityServiceBytes() { + java.lang.Object ref = networkEdgeSecurityService_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + networkEdgeSecurityService_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the network edge security service to get.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The networkEdgeSecurityService to set. + * @return This builder for chaining. + */ + public Builder setNetworkEdgeSecurityService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + networkEdgeSecurityService_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the network edge security service to get.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearNetworkEdgeSecurityService() { + + networkEdgeSecurityService_ = getDefaultInstance().getNetworkEdgeSecurityService(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the network edge security service to get.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for networkEdgeSecurityService to set. + * @return This builder for chaining. + */ + public Builder setNetworkEdgeSecurityServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + networkEdgeSecurityService_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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.GetNetworkEdgeSecurityServiceRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest) + private static final com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest(); + } + + public static com.google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNetworkEdgeSecurityServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetNetworkEdgeSecurityServiceRequest(input, extensionRegistry); + } + }; + + 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.GetNetworkEdgeSecurityServiceRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkEdgeSecurityServiceRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkEdgeSecurityServiceRequestOrBuilder.java new file mode 100644 index 000000000..03b32f7ef --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkEdgeSecurityServiceRequestOrBuilder.java @@ -0,0 +1,104 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetNetworkEdgeSecurityServiceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetNetworkEdgeSecurityServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the network edge security service to get.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityService. + */ + java.lang.String getNetworkEdgeSecurityService(); + /** + * + * + *
+   * Name of the network edge security service to get.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for networkEdgeSecurityService. + */ + com.google.protobuf.ByteString getNetworkEdgeSecurityServiceBytes(); + + /** + * + * + *
+   * 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 region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..8783dc6e0 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkFirewallPolicyRequest.java @@ -0,0 +1,817 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.Get. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetNetworkFirewallPolicyRequest} + */ +public final class GetNetworkFirewallPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetNetworkFirewallPolicyRequest) + GetNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetNetworkFirewallPolicyRequest.newBuilder() to construct. + private GetNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest.Builder.class); + } + + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to get.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to get.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + } + } + + 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(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.GetNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest 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.GetNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest 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.GetNetworkFirewallPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest 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.GetNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest 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.GetNetworkFirewallPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest 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.GetNetworkFirewallPolicyRequest 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.GetNetworkFirewallPolicyRequest 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.GetNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.Get. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + project_ = ""; + + 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_GetNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest(this); + result.firewallPolicy_ = firewallPolicy_; + result.project_ = project_; + 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.compute.v1.GetNetworkFirewallPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest other) { + if (other == com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest.getDefaultInstance()) + return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + 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; + 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(); + 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; + 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.GetNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetNetworkFirewallPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.GetNetworkFirewallPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..93d754c33 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to get.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to get.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..161de0273 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1006 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.Get. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest} + */ +public final class GetRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest) + GetRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private GetRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + region_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest.Builder.class); + } + + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to get.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to get.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = 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(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.GetRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest 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.GetRegionNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest 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.GetRegionNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest 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.GetRegionNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest 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.GetRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest + 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.GetRegionNetworkFirewallPolicyRequest 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.GetRegionNetworkFirewallPolicyRequest 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.GetRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.Get. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + project_ = ""; + + region_ = ""; + + 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_GetRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest(this); + result.firewallPolicy_ = firewallPolicy_; + result.project_ = project_; + result.region_ = region_; + 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.compute.v1.GetRegionNetworkFirewallPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest.getDefaultInstance()) + return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to get.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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.GetRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.GetRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..46ed5c089 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to get.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to get.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * 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 region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionSecurityPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionSecurityPolicyRequest.java new file mode 100644 index 000000000..4ca918c56 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionSecurityPolicyRequest.java @@ -0,0 +1,996 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionSecurityPolicies.Get. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetRegionSecurityPolicyRequest} + */ +public final class GetRegionSecurityPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetRegionSecurityPolicyRequest) + GetRegionSecurityPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetRegionSecurityPolicyRequest.newBuilder() to construct. + private GetRegionSecurityPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetRegionSecurityPolicyRequest() { + project_ = ""; + region_ = ""; + securityPolicy_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetRegionSecurityPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetRegionSecurityPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1368660106: + { + java.lang.String s = input.readStringRequireUtf8(); + + securityPolicy_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest.class, + com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest.Builder.class); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECURITY_POLICY_FIELD_NUMBER = 171082513; + private volatile java.lang.Object securityPolicy_; + /** + * + * + *
+   * Name of the security policy to get.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The securityPolicy. + */ + @java.lang.Override + public java.lang.String getSecurityPolicy() { + java.lang.Object ref = securityPolicy_; + 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(); + securityPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the security policy to get.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for securityPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecurityPolicyBytes() { + java.lang.Object ref = securityPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + securityPolicy_ = 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(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 171082513, securityPolicy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(171082513, securityPolicy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + size += unknownFields.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.GetRegionSecurityPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest other = + (com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (!getSecurityPolicy().equals(other.getSecurityPolicy())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + hash = (37 * hash) + SECURITY_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getSecurityPolicy().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest 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.GetRegionSecurityPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest 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.GetRegionSecurityPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest 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.GetRegionSecurityPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest 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.GetRegionSecurityPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest 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.GetRegionSecurityPolicyRequest 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.GetRegionSecurityPolicyRequest 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.GetRegionSecurityPolicyRequest 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 RegionSecurityPolicies.Get. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetRegionSecurityPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetRegionSecurityPolicyRequest) + com.google.cloud.compute.v1.GetRegionSecurityPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRegionSecurityPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest.class, + com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + region_ = ""; + + securityPolicy_ = ""; + + 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_GetRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest build() { + com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest buildPartial() { + com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest result = + new com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest(this); + result.project_ = project_; + result.region_ = region_; + result.securityPolicy_ = securityPolicy_; + 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.compute.v1.GetRegionSecurityPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest other) { + if (other == com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (!other.getSecurityPolicy().isEmpty()) { + securityPolicy_ = other.securityPolicy_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + onChanged(); + return this; + } + + private java.lang.Object securityPolicy_ = ""; + /** + * + * + *
+     * Name of the security policy to get.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The securityPolicy. + */ + public java.lang.String getSecurityPolicy() { + java.lang.Object ref = securityPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + securityPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the security policy to get.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for securityPolicy. + */ + public com.google.protobuf.ByteString getSecurityPolicyBytes() { + java.lang.Object ref = securityPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + securityPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the security policy to get.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The securityPolicy to set. + * @return This builder for chaining. + */ + public Builder setSecurityPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + securityPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the security policy to get.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearSecurityPolicy() { + + securityPolicy_ = getDefaultInstance().getSecurityPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the security policy to get.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for securityPolicy to set. + * @return This builder for chaining. + */ + public Builder setSecurityPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + securityPolicy_ = value; + 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.GetRegionSecurityPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetRegionSecurityPolicyRequest) + private static final com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetRegionSecurityPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRegionSecurityPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRegionSecurityPolicyRequest(input, extensionRegistry); + } + }; + + 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.GetRegionSecurityPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionSecurityPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionSecurityPolicyRequestOrBuilder.java new file mode 100644 index 000000000..d1b8e4826 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRegionSecurityPolicyRequestOrBuilder.java @@ -0,0 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetRegionSecurityPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetRegionSecurityPolicyRequest) + 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 region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * Name of the security policy to get.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The securityPolicy. + */ + java.lang.String getSecurityPolicy(); + /** + * + * + *
+   * Name of the security policy to get.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for securityPolicy. + */ + com.google.protobuf.ByteString getSecurityPolicyBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..8f12d214f --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleNetworkFirewallPolicyRequest.java @@ -0,0 +1,961 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.GetRule. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest} + */ +public final class GetRuleNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest) + GetRuleNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetRuleNetworkFirewallPolicyRequest.newBuilder() to construct. + private GetRuleNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetRuleNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetRuleNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetRuleNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -733754080: + { + bitField0_ |= 0x00000001; + priority_ = input.readInt32(); + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to which the queried rule belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to which the queried rule belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PRIORITY_FIELD_NUMBER = 445151652; + private int priority_; + /** + * + * + *
+   * The priority of the rule to get from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The priority of the rule to get from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + } + } + + 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(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.GetRuleNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasPriority() != other.hasPriority()) return false; + if (hasPriority()) { + if (getPriority() != other.getPriority()) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasPriority()) { + hash = (37 * hash) + PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getPriority(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest 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.GetRuleNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest 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.GetRuleNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest 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.GetRuleNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest 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.GetRuleNetworkFirewallPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest 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.GetRuleNetworkFirewallPolicyRequest 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.GetRuleNetworkFirewallPolicyRequest 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.GetRuleNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.GetRule. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRuleNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + priority_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + 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_GetRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.priority_ = priority_; + to_bitField0_ |= 0x00000001; + } + result.project_ = project_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.GetRuleNetworkFirewallPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest.getDefaultInstance()) + return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasPriority()) { + setPriority(other.getPriority()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private int priority_; + /** + * + * + *
+     * The priority of the rule to get from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The priority of the rule to get from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + /** + * + * + *
+     * The priority of the rule to get from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @param value The priority to set. + * @return This builder for chaining. + */ + public Builder setPriority(int value) { + bitField0_ |= 0x00000001; + priority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The priority of the rule to get from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return This builder for chaining. + */ + public Builder clearPriority() { + bitField0_ = (bitField0_ & ~0x00000001); + priority_ = 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; + 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(); + 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; + 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.GetRuleNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRuleNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRuleNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.GetRuleNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..d39044f6f --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,100 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetRuleNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetRuleNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to which the queried rule belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to which the queried rule belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The priority of the rule to get from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + boolean hasPriority(); + /** + * + * + *
+   * The priority of the rule to get from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + int getPriority(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..99b849039 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1145 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.GetRule. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest} + */ +public final class GetRuleRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest) + GetRuleRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use GetRuleRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private GetRuleRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private GetRuleRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + region_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new GetRuleRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private GetRuleRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -733754080: + { + bitField0_ |= 0x00000001; + priority_ = input.readInt32(); + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to which the queried rule belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to which the queried rule belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PRIORITY_FIELD_NUMBER = 445151652; + private int priority_; + /** + * + * + *
+   * The priority of the rule to get from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The priority of the rule to get from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = 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(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + 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(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.GetRuleRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasPriority() != other.hasPriority()) return false; + if (hasPriority()) { + if (getPriority() != other.getPriority()) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasPriority()) { + hash = (37 * hash) + PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getPriority(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest 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.GetRuleRegionNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest 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.GetRuleRegionNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest 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.GetRuleRegionNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest 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.GetRuleRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest + 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.GetRuleRegionNetworkFirewallPolicyRequest 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.GetRuleRegionNetworkFirewallPolicyRequest 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.GetRuleRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.GetRule. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_GetRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + priority_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + region_ = ""; + + 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_GetRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.priority_ = priority_; + to_bitField0_ |= 0x00000001; + } + result.project_ = project_; + result.region_ = region_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasPriority()) { + setPriority(other.getPriority()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to which the queried rule belongs.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private int priority_; + /** + * + * + *
+     * The priority of the rule to get from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The priority of the rule to get from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + /** + * + * + *
+     * The priority of the rule to get from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @param value The priority to set. + * @return This builder for chaining. + */ + public Builder setPriority(int value) { + bitField0_ |= 0x00000001; + priority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The priority of the rule to get from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return This builder for chaining. + */ + public Builder clearPriority() { + bitField0_ = (bitField0_ & ~0x00000001); + priority_ = 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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.GetRuleRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRuleRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRuleRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.GetRuleRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..4ff7d0b59 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GetRuleRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface GetRuleRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.GetRuleRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to which the queried rule belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to which the queried rule belongs.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The priority of the rule to get from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + boolean hasPriority(); + /** + * + * + *
+   * The priority of the rule to get from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + int getPriority(); + + /** + * + * + *
+   * 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 region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java index e9cd1a55c..2b605bd69 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequest.java @@ -229,7 +229,7 @@ public int getLabelsCount() { * * *
-   * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+   * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
    * 
* * map<string, string> labels = 500195327; @@ -251,7 +251,7 @@ public java.util.Map getLabels() { * * *
-   * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+   * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
    * 
* * map<string, string> labels = 500195327; @@ -264,7 +264,7 @@ public java.util.Map getLabelsMap() { * * *
-   * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+   * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
    * 
* * map<string, string> labels = 500195327; @@ -281,7 +281,7 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * * *
-   * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+   * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
    * 
* * map<string, string> labels = 500195327; @@ -820,7 +820,7 @@ public int getLabelsCount() { * * *
-     * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+     * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
      * 
* * map<string, string> labels = 500195327; @@ -842,7 +842,7 @@ public java.util.Map getLabels() { * * *
-     * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+     * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
      * 
* * map<string, string> labels = 500195327; @@ -855,7 +855,7 @@ public java.util.Map getLabelsMap() { * * *
-     * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+     * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
      * 
* * map<string, string> labels = 500195327; @@ -873,7 +873,7 @@ public java.lang.String getLabelsOrDefault( * * *
-     * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+     * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
      * 
* * map<string, string> labels = 500195327; @@ -898,7 +898,7 @@ public Builder clearLabels() { * * *
-     * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+     * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
      * 
* * map<string, string> labels = 500195327; @@ -919,7 +919,7 @@ public java.util.Map getMutableLabels() { * * *
-     * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+     * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
      * 
* * map<string, string> labels = 500195327; @@ -938,7 +938,7 @@ public Builder putLabels(java.lang.String key, java.lang.String value) { * * *
-     * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+     * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
      * 
* * map<string, string> labels = 500195327; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequestOrBuilder.java index 4e661fdfc..57ad9fb04 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequestOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GlobalSetLabelsRequestOrBuilder.java @@ -64,7 +64,7 @@ public interface GlobalSetLabelsRequestOrBuilder * * *
-   * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+   * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
    * 
* * map<string, string> labels = 500195327; @@ -74,7 +74,7 @@ public interface GlobalSetLabelsRequestOrBuilder * * *
-   * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+   * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
    * 
* * map<string, string> labels = 500195327; @@ -87,7 +87,7 @@ public interface GlobalSetLabelsRequestOrBuilder * * *
-   * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+   * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
    * 
* * map<string, string> labels = 500195327; @@ -97,7 +97,7 @@ public interface GlobalSetLabelsRequestOrBuilder * * *
-   * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+   * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
    * 
* * map<string, string> labels = 500195327; @@ -107,7 +107,7 @@ public interface GlobalSetLabelsRequestOrBuilder * * *
-   * A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
+   * A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
    * 
* * map<string, string> labels = 500195327; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java index 8f9f0c439..8a706ab90 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeature.java @@ -116,7 +116,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.GuestOsFeature.Type} @@ -280,7 +280,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -296,7 +296,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -320,7 +320,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -676,7 +676,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -691,7 +691,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -714,7 +714,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -737,7 +737,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -759,7 +759,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* @@ -777,7 +777,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
      * Check the Type enum for the list of possible values.
      * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java index 71e931db7..d96003919 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/GuestOsFeatureOrBuilder.java @@ -27,7 +27,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -40,7 +40,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* @@ -53,7 +53,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features.
    * Check the Type enum for the list of possible values.
    * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/HttpRouteAction.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/HttpRouteAction.java index 604d6edc1..506cda2ca 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/HttpRouteAction.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/HttpRouteAction.java @@ -289,7 +289,7 @@ public com.google.cloud.compute.v1.CorsPolicyOrBuilder getCorsPolicyOrBuilder() * * *
-   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
    * 
* * optional .google.cloud.compute.v1.HttpFaultInjection fault_injection_policy = 412781079; @@ -305,7 +305,7 @@ public boolean hasFaultInjectionPolicy() { * * *
-   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
    * 
* * optional .google.cloud.compute.v1.HttpFaultInjection fault_injection_policy = 412781079; @@ -323,7 +323,7 @@ public com.google.cloud.compute.v1.HttpFaultInjection getFaultInjectionPolicy() * * *
-   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
    * 
* * optional .google.cloud.compute.v1.HttpFaultInjection fault_injection_policy = 412781079; @@ -1458,7 +1458,7 @@ public com.google.cloud.compute.v1.CorsPolicyOrBuilder getCorsPolicyOrBuilder() * * *
-     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
      * 
* * @@ -1474,7 +1474,7 @@ public boolean hasFaultInjectionPolicy() { * * *
-     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
      * 
* * @@ -1496,7 +1496,7 @@ public com.google.cloud.compute.v1.HttpFaultInjection getFaultInjectionPolicy() * * *
-     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
      * 
* * @@ -1520,7 +1520,7 @@ public Builder setFaultInjectionPolicy(com.google.cloud.compute.v1.HttpFaultInje * * *
-     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
      * 
* * @@ -1542,7 +1542,7 @@ public Builder setFaultInjectionPolicy( * * *
-     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
      * 
* * @@ -1573,7 +1573,7 @@ public Builder mergeFaultInjectionPolicy(com.google.cloud.compute.v1.HttpFaultIn * * *
-     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
      * 
* * @@ -1594,7 +1594,7 @@ public Builder clearFaultInjectionPolicy() { * * *
-     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
      * 
* * @@ -1610,7 +1610,7 @@ public com.google.cloud.compute.v1.HttpFaultInjection.Builder getFaultInjectionP * * *
-     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
      * 
* * @@ -1631,7 +1631,7 @@ public com.google.cloud.compute.v1.HttpFaultInjection.Builder getFaultInjectionP * * *
-     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+     * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
      * 
* * diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/HttpRouteActionOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/HttpRouteActionOrBuilder.java index 7aff40cd7..ac01b3be7 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/HttpRouteActionOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/HttpRouteActionOrBuilder.java @@ -62,7 +62,7 @@ public interface HttpRouteActionOrBuilder * * *
-   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
    * 
* * optional .google.cloud.compute.v1.HttpFaultInjection fault_injection_policy = 412781079; @@ -75,7 +75,7 @@ public interface HttpRouteActionOrBuilder * * *
-   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
    * 
* * optional .google.cloud.compute.v1.HttpFaultInjection fault_injection_policy = 412781079; @@ -88,7 +88,7 @@ public interface HttpRouteActionOrBuilder * * *
-   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy.
+   * The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection.
    * 
* * optional .google.cloud.compute.v1.HttpFaultInjection fault_injection_policy = 412781079; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkEdgeSecurityServiceRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkEdgeSecurityServiceRequest.java new file mode 100644 index 000000000..ebb61fba1 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkEdgeSecurityServiceRequest.java @@ -0,0 +1,1529 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkEdgeSecurityServices.Insert. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest} + */ +public final class InsertNetworkEdgeSecurityServiceRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest) + InsertNetworkEdgeSecurityServiceRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use InsertNetworkEdgeSecurityServiceRequest.newBuilder() to construct. + private InsertNetworkEdgeSecurityServiceRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InsertNetworkEdgeSecurityServiceRequest() { + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InsertNetworkEdgeSecurityServiceRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private InsertNetworkEdgeSecurityServiceRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 1941957032: + { + bitField0_ |= 0x00000002; + validateOnly_ = input.readBool(); + break; + } + case -474575566: + { + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder subBuilder = null; + if (networkEdgeSecurityServiceResource_ != null) { + subBuilder = networkEdgeSecurityServiceResource_.toBuilder(); + } + networkEdgeSecurityServiceResource_ = + input.readMessage( + com.google.cloud.compute.v1.NetworkEdgeSecurityService.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkEdgeSecurityServiceResource_); + networkEdgeSecurityServiceResource_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest.class, + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest.Builder.class); + } + + private int bitField0_; + public static final int NETWORK_EDGE_SECURITY_SERVICE_RESOURCE_FIELD_NUMBER = 477548966; + private com.google.cloud.compute.v1.NetworkEdgeSecurityService + networkEdgeSecurityServiceResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the networkEdgeSecurityServiceResource field is set. + */ + @java.lang.Override + public boolean hasNetworkEdgeSecurityServiceResource() { + return networkEdgeSecurityServiceResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityServiceResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityService + getNetworkEdgeSecurityServiceResource() { + return networkEdgeSecurityServiceResource_ == null + ? com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance() + : networkEdgeSecurityServiceResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder + getNetworkEdgeSecurityServiceResourceOrBuilder() { + return getNetworkEdgeSecurityServiceResource(); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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 VALIDATE_ONLY_FIELD_NUMBER = 242744629; + private boolean validateOnly_; + /** + * + * + *
+   * If true, the request will not be committed.
+   * 
+ * + * optional bool validate_only = 242744629; + * + * @return Whether the validateOnly field is set. + */ + @java.lang.Override + public boolean hasValidateOnly() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * If true, the request will not be committed.
+   * 
+ * + * optional bool validate_only = 242744629; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(242744629, validateOnly_); + } + if (networkEdgeSecurityServiceResource_ != null) { + output.writeMessage(477548966, getNetworkEdgeSecurityServiceResource()); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(242744629, validateOnly_); + } + if (networkEdgeSecurityServiceResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 477548966, getNetworkEdgeSecurityServiceResource()); + } + size += unknownFields.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.InsertNetworkEdgeSecurityServiceRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest other = + (com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest) obj; + + if (hasNetworkEdgeSecurityServiceResource() != other.hasNetworkEdgeSecurityServiceResource()) + return false; + if (hasNetworkEdgeSecurityServiceResource()) { + if (!getNetworkEdgeSecurityServiceResource() + .equals(other.getNetworkEdgeSecurityServiceResource())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (hasValidateOnly() != other.hasValidateOnly()) return false; + if (hasValidateOnly()) { + if (getValidateOnly() != other.getValidateOnly()) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasNetworkEdgeSecurityServiceResource()) { + hash = (37 * hash) + NETWORK_EDGE_SECURITY_SERVICE_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getNetworkEdgeSecurityServiceResource().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + if (hasValidateOnly()) { + hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest 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.InsertNetworkEdgeSecurityServiceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest 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.InsertNetworkEdgeSecurityServiceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest 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.InsertNetworkEdgeSecurityServiceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest 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.InsertNetworkEdgeSecurityServiceRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest + 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.InsertNetworkEdgeSecurityServiceRequest 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.InsertNetworkEdgeSecurityServiceRequest 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.InsertNetworkEdgeSecurityServiceRequest 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 NetworkEdgeSecurityServices.Insert. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest) + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertNetworkEdgeSecurityServiceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest.class, + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + networkEdgeSecurityServiceResource_ = null; + } else { + networkEdgeSecurityServiceResource_ = null; + networkEdgeSecurityServiceResourceBuilder_ = null; + } + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + validateOnly_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + 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_InsertNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest build() { + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest buildPartial() { + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest result = + new com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + result.networkEdgeSecurityServiceResource_ = networkEdgeSecurityServiceResource_; + } else { + result.networkEdgeSecurityServiceResource_ = + networkEdgeSecurityServiceResourceBuilder_.build(); + } + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.validateOnly_ = validateOnly_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.InsertNetworkEdgeSecurityServiceRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest other) { + if (other + == com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest + .getDefaultInstance()) return this; + if (other.hasNetworkEdgeSecurityServiceResource()) { + mergeNetworkEdgeSecurityServiceResource(other.getNetworkEdgeSecurityServiceResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + if (other.hasValidateOnly()) { + setValidateOnly(other.getValidateOnly()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.cloud.compute.v1.NetworkEdgeSecurityService + networkEdgeSecurityServiceResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.NetworkEdgeSecurityService, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder> + networkEdgeSecurityServiceResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the networkEdgeSecurityServiceResource field is set. + */ + public boolean hasNetworkEdgeSecurityServiceResource() { + return networkEdgeSecurityServiceResourceBuilder_ != null + || networkEdgeSecurityServiceResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityServiceResource. + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityService + getNetworkEdgeSecurityServiceResource() { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + return networkEdgeSecurityServiceResource_ == null + ? com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance() + : networkEdgeSecurityServiceResource_; + } else { + return networkEdgeSecurityServiceResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNetworkEdgeSecurityServiceResource( + com.google.cloud.compute.v1.NetworkEdgeSecurityService value) { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + networkEdgeSecurityServiceResource_ = value; + onChanged(); + } else { + networkEdgeSecurityServiceResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNetworkEdgeSecurityServiceResource( + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder builderForValue) { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + networkEdgeSecurityServiceResource_ = builderForValue.build(); + onChanged(); + } else { + networkEdgeSecurityServiceResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeNetworkEdgeSecurityServiceResource( + com.google.cloud.compute.v1.NetworkEdgeSecurityService value) { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + if (networkEdgeSecurityServiceResource_ != null) { + networkEdgeSecurityServiceResource_ = + com.google.cloud.compute.v1.NetworkEdgeSecurityService.newBuilder( + networkEdgeSecurityServiceResource_) + .mergeFrom(value) + .buildPartial(); + } else { + networkEdgeSecurityServiceResource_ = value; + } + onChanged(); + } else { + networkEdgeSecurityServiceResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearNetworkEdgeSecurityServiceResource() { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + networkEdgeSecurityServiceResource_ = null; + onChanged(); + } else { + networkEdgeSecurityServiceResource_ = null; + networkEdgeSecurityServiceResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder + getNetworkEdgeSecurityServiceResourceBuilder() { + + onChanged(); + return getNetworkEdgeSecurityServiceResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder + getNetworkEdgeSecurityServiceResourceOrBuilder() { + if (networkEdgeSecurityServiceResourceBuilder_ != null) { + return networkEdgeSecurityServiceResourceBuilder_.getMessageOrBuilder(); + } else { + return networkEdgeSecurityServiceResource_ == null + ? com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance() + : networkEdgeSecurityServiceResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.NetworkEdgeSecurityService, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder> + getNetworkEdgeSecurityServiceResourceFieldBuilder() { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + networkEdgeSecurityServiceResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.NetworkEdgeSecurityService, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder>( + getNetworkEdgeSecurityServiceResource(), getParentForChildren(), isClean()); + networkEdgeSecurityServiceResource_ = null; + } + return networkEdgeSecurityServiceResourceBuilder_; + } + + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + onChanged(); + return this; + } + + private boolean validateOnly_; + /** + * + * + *
+     * If true, the request will not be committed.
+     * 
+ * + * optional bool validate_only = 242744629; + * + * @return Whether the validateOnly field is set. + */ + @java.lang.Override + public boolean hasValidateOnly() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * If true, the request will not be committed.
+     * 
+ * + * optional bool validate_only = 242744629; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + /** + * + * + *
+     * If true, the request will not be committed.
+     * 
+ * + * optional bool validate_only = 242744629; + * + * @param value The validateOnly to set. + * @return This builder for chaining. + */ + public Builder setValidateOnly(boolean value) { + bitField0_ |= 0x00000002; + validateOnly_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If true, the request will not be committed.
+     * 
+ * + * optional bool validate_only = 242744629; + * + * @return This builder for chaining. + */ + public Builder clearValidateOnly() { + bitField0_ = (bitField0_ & ~0x00000002); + validateOnly_ = false; + 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.InsertNetworkEdgeSecurityServiceRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest) + private static final com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest(); + } + + public static com.google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertNetworkEdgeSecurityServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InsertNetworkEdgeSecurityServiceRequest(input, extensionRegistry); + } + }; + + 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.InsertNetworkEdgeSecurityServiceRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkEdgeSecurityServiceRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkEdgeSecurityServiceRequestOrBuilder.java new file mode 100644 index 000000000..20097a0b6 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkEdgeSecurityServiceRequestOrBuilder.java @@ -0,0 +1,187 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface InsertNetworkEdgeSecurityServiceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InsertNetworkEdgeSecurityServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the networkEdgeSecurityServiceResource field is set. + */ + boolean hasNetworkEdgeSecurityServiceResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityServiceResource. + */ + com.google.cloud.compute.v1.NetworkEdgeSecurityService getNetworkEdgeSecurityServiceResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder + getNetworkEdgeSecurityServiceResourceOrBuilder(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * If true, the request will not be committed.
+   * 
+ * + * optional bool validate_only = 242744629; + * + * @return Whether the validateOnly field is set. + */ + boolean hasValidateOnly(); + /** + * + * + *
+   * If true, the request will not be committed.
+   * 
+ * + * optional bool validate_only = 242744629; + * + * @return The validateOnly. + */ + boolean getValidateOnly(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..24f442a0d --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkFirewallPolicyRequest.java @@ -0,0 +1,1187 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.Insert. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest} + */ +public final class InsertNetworkFirewallPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest) + InsertNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use InsertNetworkFirewallPolicyRequest.newBuilder() to construct. + private InsertNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InsertNetworkFirewallPolicyRequest() { + project_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InsertNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private InsertNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -334571038: + { + com.google.cloud.compute.v1.FirewallPolicy.Builder subBuilder = null; + if (firewallPolicyResource_ != null) { + subBuilder = firewallPolicyResource_.toBuilder(); + } + firewallPolicyResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyResource_); + firewallPolicyResource_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_RESOURCE_FIELD_NUMBER = 495049532; + private com.google.cloud.compute.v1.FirewallPolicy firewallPolicyResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyResource() { + return firewallPolicyResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource() { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyOrBuilder getFirewallPolicyResourceOrBuilder() { + return getFirewallPolicyResource(); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyResource_ != null) { + output.writeMessage(495049532, getFirewallPolicyResource()); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 495049532, getFirewallPolicyResource()); + } + size += unknownFields.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.InsertNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest) obj; + + if (hasFirewallPolicyResource() != other.hasFirewallPolicyResource()) return false; + if (hasFirewallPolicyResource()) { + if (!getFirewallPolicyResource().equals(other.getFirewallPolicyResource())) 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 (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFirewallPolicyResource()) { + hash = (37 * hash) + FIREWALL_POLICY_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyResource().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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest 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.InsertNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest 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.InsertNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest 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.InsertNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest 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.InsertNetworkFirewallPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest 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.InsertNetworkFirewallPolicyRequest 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.InsertNetworkFirewallPolicyRequest 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.InsertNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.Insert. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = null; + } else { + firewallPolicyResource_ = null; + firewallPolicyResourceBuilder_ = null; + } + project_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + 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_InsertNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (firewallPolicyResourceBuilder_ == null) { + result.firewallPolicyResource_ = firewallPolicyResource_; + } else { + result.firewallPolicyResource_ = firewallPolicyResourceBuilder_.build(); + } + result.project_ = project_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.InsertNetworkFirewallPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest.getDefaultInstance()) + return this; + if (other.hasFirewallPolicyResource()) { + mergeFirewallPolicyResource(other.getFirewallPolicyResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.cloud.compute.v1.FirewallPolicy firewallPolicyResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder> + firewallPolicyResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + public boolean hasFirewallPolicyResource() { + return firewallPolicyResourceBuilder_ != null || firewallPolicyResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + public com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource() { + if (firewallPolicyResourceBuilder_ == null) { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } else { + return firewallPolicyResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyResource(com.google.cloud.compute.v1.FirewallPolicy value) { + if (firewallPolicyResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyResource_ = value; + onChanged(); + } else { + firewallPolicyResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyResource( + com.google.cloud.compute.v1.FirewallPolicy.Builder builderForValue) { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyResource(com.google.cloud.compute.v1.FirewallPolicy value) { + if (firewallPolicyResourceBuilder_ == null) { + if (firewallPolicyResource_ != null) { + firewallPolicyResource_ = + com.google.cloud.compute.v1.FirewallPolicy.newBuilder(firewallPolicyResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyResource_ = value; + } + onChanged(); + } else { + firewallPolicyResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyResource() { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = null; + onChanged(); + } else { + firewallPolicyResource_ = null; + firewallPolicyResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicy.Builder getFirewallPolicyResourceBuilder() { + + onChanged(); + return getFirewallPolicyResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyOrBuilder + getFirewallPolicyResourceOrBuilder() { + if (firewallPolicyResourceBuilder_ != null) { + return firewallPolicyResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder> + getFirewallPolicyResourceFieldBuilder() { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder>( + getFirewallPolicyResource(), getParentForChildren(), isClean()); + firewallPolicyResource_ = null; + } + return firewallPolicyResourceBuilder_; + } + + 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; + 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(); + 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; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + 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.InsertNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InsertNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.InsertNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..c56841a13 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,132 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface InsertNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InsertNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + boolean hasFirewallPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyOrBuilder getFirewallPolicyResourceOrBuilder(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..65a31407d --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1386 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.Insert. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest} + */ +public final class InsertRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest) + InsertRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use InsertRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private InsertRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InsertRegionNetworkFirewallPolicyRequest() { + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InsertRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private InsertRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -334571038: + { + com.google.cloud.compute.v1.FirewallPolicy.Builder subBuilder = null; + if (firewallPolicyResource_ != null) { + subBuilder = firewallPolicyResource_.toBuilder(); + } + firewallPolicyResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyResource_); + firewallPolicyResource_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_RESOURCE_FIELD_NUMBER = 495049532; + private com.google.cloud.compute.v1.FirewallPolicy firewallPolicyResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyResource() { + return firewallPolicyResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource() { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyOrBuilder getFirewallPolicyResourceOrBuilder() { + return getFirewallPolicyResource(); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyResource_ != null) { + output.writeMessage(495049532, getFirewallPolicyResource()); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 495049532, getFirewallPolicyResource()); + } + size += unknownFields.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.InsertRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest) obj; + + if (hasFirewallPolicyResource() != other.hasFirewallPolicyResource()) return false; + if (hasFirewallPolicyResource()) { + if (!getFirewallPolicyResource().equals(other.getFirewallPolicyResource())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasFirewallPolicyResource()) { + hash = (37 * hash) + FIREWALL_POLICY_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyResource().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest 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.InsertRegionNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest 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.InsertRegionNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest 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.InsertRegionNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest 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.InsertRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest + 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.InsertRegionNetworkFirewallPolicyRequest 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.InsertRegionNetworkFirewallPolicyRequest 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.InsertRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.Insert. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = null; + } else { + firewallPolicyResource_ = null; + firewallPolicyResourceBuilder_ = null; + } + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + 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_InsertRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (firewallPolicyResourceBuilder_ == null) { + result.firewallPolicyResource_ = firewallPolicyResource_; + } else { + result.firewallPolicyResource_ = firewallPolicyResourceBuilder_.build(); + } + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.InsertRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (other.hasFirewallPolicyResource()) { + mergeFirewallPolicyResource(other.getFirewallPolicyResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.cloud.compute.v1.FirewallPolicy firewallPolicyResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder> + firewallPolicyResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + public boolean hasFirewallPolicyResource() { + return firewallPolicyResourceBuilder_ != null || firewallPolicyResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + public com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource() { + if (firewallPolicyResourceBuilder_ == null) { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } else { + return firewallPolicyResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyResource(com.google.cloud.compute.v1.FirewallPolicy value) { + if (firewallPolicyResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyResource_ = value; + onChanged(); + } else { + firewallPolicyResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyResource( + com.google.cloud.compute.v1.FirewallPolicy.Builder builderForValue) { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyResource(com.google.cloud.compute.v1.FirewallPolicy value) { + if (firewallPolicyResourceBuilder_ == null) { + if (firewallPolicyResource_ != null) { + firewallPolicyResource_ = + com.google.cloud.compute.v1.FirewallPolicy.newBuilder(firewallPolicyResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyResource_ = value; + } + onChanged(); + } else { + firewallPolicyResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyResource() { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = null; + onChanged(); + } else { + firewallPolicyResource_ = null; + firewallPolicyResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicy.Builder getFirewallPolicyResourceBuilder() { + + onChanged(); + return getFirewallPolicyResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyOrBuilder + getFirewallPolicyResourceOrBuilder() { + if (firewallPolicyResourceBuilder_ != null) { + return firewallPolicyResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder> + getFirewallPolicyResourceFieldBuilder() { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder>( + getFirewallPolicyResource(), getParentForChildren(), isClean()); + firewallPolicyResource_ = null; + } + return firewallPolicyResourceBuilder_; + } + + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + 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.InsertRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InsertRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.InsertRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..3882b57cf --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,161 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface InsertRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InsertRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + boolean hasFirewallPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyOrBuilder getFirewallPolicyResourceOrBuilder(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionSecurityPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionSecurityPolicyRequest.java new file mode 100644 index 000000000..230be2a2d --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionSecurityPolicyRequest.java @@ -0,0 +1,1507 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionSecurityPolicies.Insert. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertRegionSecurityPolicyRequest} + */ +public final class InsertRegionSecurityPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InsertRegionSecurityPolicyRequest) + InsertRegionSecurityPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use InsertRegionSecurityPolicyRequest.newBuilder() to construct. + private InsertRegionSecurityPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InsertRegionSecurityPolicyRequest() { + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InsertRegionSecurityPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private InsertRegionSecurityPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1729276898: + { + com.google.cloud.compute.v1.SecurityPolicy.Builder subBuilder = null; + if (securityPolicyResource_ != null) { + subBuilder = securityPolicyResource_.toBuilder(); + } + securityPolicyResource_ = + input.readMessage( + com.google.cloud.compute.v1.SecurityPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(securityPolicyResource_); + securityPolicyResource_ = subBuilder.buildPartial(); + } + + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 1941957032: + { + bitField0_ |= 0x00000002; + validateOnly_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest.class, + com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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 SECURITY_POLICY_RESOURCE_FIELD_NUMBER = 216159612; + private com.google.cloud.compute.v1.SecurityPolicy securityPolicyResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the securityPolicyResource field is set. + */ + @java.lang.Override + public boolean hasSecurityPolicyResource() { + return securityPolicyResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The securityPolicyResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicy getSecurityPolicyResource() { + return securityPolicyResource_ == null + ? com.google.cloud.compute.v1.SecurityPolicy.getDefaultInstance() + : securityPolicyResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicyOrBuilder getSecurityPolicyResourceOrBuilder() { + return getSecurityPolicyResource(); + } + + public static final int VALIDATE_ONLY_FIELD_NUMBER = 242744629; + private boolean validateOnly_; + /** + * + * + *
+   * If true, the request will not be committed.
+   * 
+ * + * optional bool validate_only = 242744629; + * + * @return Whether the validateOnly field is set. + */ + @java.lang.Override + public boolean hasValidateOnly() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * If true, the request will not be committed.
+   * 
+ * + * optional bool validate_only = 242744629; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (securityPolicyResource_ != null) { + output.writeMessage(216159612, getSecurityPolicyResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeBool(242744629, validateOnly_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (securityPolicyResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 216159612, getSecurityPolicyResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(242744629, validateOnly_); + } + size += unknownFields.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.InsertRegionSecurityPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest other = + (com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (hasSecurityPolicyResource() != other.hasSecurityPolicyResource()) return false; + if (hasSecurityPolicyResource()) { + if (!getSecurityPolicyResource().equals(other.getSecurityPolicyResource())) return false; + } + if (hasValidateOnly() != other.hasValidateOnly()) return false; + if (hasValidateOnly()) { + if (getValidateOnly() != other.getValidateOnly()) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + if (hasSecurityPolicyResource()) { + hash = (37 * hash) + SECURITY_POLICY_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSecurityPolicyResource().hashCode(); + } + if (hasValidateOnly()) { + hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest 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.InsertRegionSecurityPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest 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.InsertRegionSecurityPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest 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.InsertRegionSecurityPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest 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.InsertRegionSecurityPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest 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.InsertRegionSecurityPolicyRequest 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.InsertRegionSecurityPolicyRequest 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.InsertRegionSecurityPolicyRequest 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 RegionSecurityPolicies.Insert. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InsertRegionSecurityPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InsertRegionSecurityPolicyRequest) + com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InsertRegionSecurityPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest.class, + com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + if (securityPolicyResourceBuilder_ == null) { + securityPolicyResource_ = null; + } else { + securityPolicyResource_ = null; + securityPolicyResourceBuilder_ = null; + } + validateOnly_ = false; + bitField0_ = (bitField0_ & ~0x00000002); + 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_InsertRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest build() { + com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest buildPartial() { + com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest result = + new com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + if (securityPolicyResourceBuilder_ == null) { + result.securityPolicyResource_ = securityPolicyResource_; + } else { + result.securityPolicyResource_ = securityPolicyResourceBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.validateOnly_ = validateOnly_; + to_bitField0_ |= 0x00000002; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.InsertRegionSecurityPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + if (other.hasSecurityPolicyResource()) { + mergeSecurityPolicyResource(other.getSecurityPolicyResource()); + } + if (other.hasValidateOnly()) { + setValidateOnly(other.getValidateOnly()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.SecurityPolicy securityPolicyResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicy, + com.google.cloud.compute.v1.SecurityPolicy.Builder, + com.google.cloud.compute.v1.SecurityPolicyOrBuilder> + securityPolicyResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the securityPolicyResource field is set. + */ + public boolean hasSecurityPolicyResource() { + return securityPolicyResourceBuilder_ != null || securityPolicyResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The securityPolicyResource. + */ + public com.google.cloud.compute.v1.SecurityPolicy getSecurityPolicyResource() { + if (securityPolicyResourceBuilder_ == null) { + return securityPolicyResource_ == null + ? com.google.cloud.compute.v1.SecurityPolicy.getDefaultInstance() + : securityPolicyResource_; + } else { + return securityPolicyResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSecurityPolicyResource(com.google.cloud.compute.v1.SecurityPolicy value) { + if (securityPolicyResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + securityPolicyResource_ = value; + onChanged(); + } else { + securityPolicyResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSecurityPolicyResource( + com.google.cloud.compute.v1.SecurityPolicy.Builder builderForValue) { + if (securityPolicyResourceBuilder_ == null) { + securityPolicyResource_ = builderForValue.build(); + onChanged(); + } else { + securityPolicyResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeSecurityPolicyResource(com.google.cloud.compute.v1.SecurityPolicy value) { + if (securityPolicyResourceBuilder_ == null) { + if (securityPolicyResource_ != null) { + securityPolicyResource_ = + com.google.cloud.compute.v1.SecurityPolicy.newBuilder(securityPolicyResource_) + .mergeFrom(value) + .buildPartial(); + } else { + securityPolicyResource_ = value; + } + onChanged(); + } else { + securityPolicyResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSecurityPolicyResource() { + if (securityPolicyResourceBuilder_ == null) { + securityPolicyResource_ = null; + onChanged(); + } else { + securityPolicyResource_ = null; + securityPolicyResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.SecurityPolicy.Builder getSecurityPolicyResourceBuilder() { + + onChanged(); + return getSecurityPolicyResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.SecurityPolicyOrBuilder + getSecurityPolicyResourceOrBuilder() { + if (securityPolicyResourceBuilder_ != null) { + return securityPolicyResourceBuilder_.getMessageOrBuilder(); + } else { + return securityPolicyResource_ == null + ? com.google.cloud.compute.v1.SecurityPolicy.getDefaultInstance() + : securityPolicyResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicy, + com.google.cloud.compute.v1.SecurityPolicy.Builder, + com.google.cloud.compute.v1.SecurityPolicyOrBuilder> + getSecurityPolicyResourceFieldBuilder() { + if (securityPolicyResourceBuilder_ == null) { + securityPolicyResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicy, + com.google.cloud.compute.v1.SecurityPolicy.Builder, + com.google.cloud.compute.v1.SecurityPolicyOrBuilder>( + getSecurityPolicyResource(), getParentForChildren(), isClean()); + securityPolicyResource_ = null; + } + return securityPolicyResourceBuilder_; + } + + private boolean validateOnly_; + /** + * + * + *
+     * If true, the request will not be committed.
+     * 
+ * + * optional bool validate_only = 242744629; + * + * @return Whether the validateOnly field is set. + */ + @java.lang.Override + public boolean hasValidateOnly() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * If true, the request will not be committed.
+     * 
+ * + * optional bool validate_only = 242744629; + * + * @return The validateOnly. + */ + @java.lang.Override + public boolean getValidateOnly() { + return validateOnly_; + } + /** + * + * + *
+     * If true, the request will not be committed.
+     * 
+ * + * optional bool validate_only = 242744629; + * + * @param value The validateOnly to set. + * @return This builder for chaining. + */ + public Builder setValidateOnly(boolean value) { + bitField0_ |= 0x00000002; + validateOnly_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * If true, the request will not be committed.
+     * 
+ * + * optional bool validate_only = 242744629; + * + * @return This builder for chaining. + */ + public Builder clearValidateOnly() { + bitField0_ = (bitField0_ & ~0x00000002); + validateOnly_ = false; + 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.InsertRegionSecurityPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InsertRegionSecurityPolicyRequest) + private static final com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest(); + } + + public static com.google.cloud.compute.v1.InsertRegionSecurityPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InsertRegionSecurityPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InsertRegionSecurityPolicyRequest(input, extensionRegistry); + } + }; + + 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.InsertRegionSecurityPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionSecurityPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionSecurityPolicyRequestOrBuilder.java new file mode 100644 index 000000000..a69442b6a --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InsertRegionSecurityPolicyRequestOrBuilder.java @@ -0,0 +1,186 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface InsertRegionSecurityPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InsertRegionSecurityPolicyRequest) + 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the securityPolicyResource field is set. + */ + boolean hasSecurityPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The securityPolicyResource. + */ + com.google.cloud.compute.v1.SecurityPolicy getSecurityPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.SecurityPolicyOrBuilder getSecurityPolicyResourceOrBuilder(); + + /** + * + * + *
+   * If true, the request will not be committed.
+   * 
+ * + * optional bool validate_only = 242744629; + * + * @return Whether the validateOnly field is set. + */ + boolean hasValidateOnly(); + /** + * + * + *
+   * If true, the request will not be committed.
+   * 
+ * + * optional bool validate_only = 242744629; + * + * @return The validateOnly. + */ + boolean getValidateOnly(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Instance.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Instance.java index c6b3e223f..d07104032 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Instance.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Instance.java @@ -118,7 +118,7 @@ private Instance( case 28418250: { com.google.cloud.compute.v1.Tags.Builder subBuilder = null; - if (((bitField1_ & 0x00000002) != 0)) { + if (((bitField1_ & 0x00000004) != 0)) { subBuilder = tags_.toBuilder(); } tags_ = @@ -127,20 +127,20 @@ private Instance( subBuilder.mergeFrom(tags_); tags_ = subBuilder.buildPartial(); } - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; break; } case 29957474: { java.lang.String s = input.readStringRequireUtf8(); - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; zone_ = s; break; } case 102903210: { com.google.cloud.compute.v1.ShieldedInstanceConfig.Builder subBuilder = null; - if (((bitField0_ & 0x04000000) != 0)) { + if (((bitField0_ & 0x08000000) != 0)) { subBuilder = shieldedInstanceConfig_.toBuilder(); } shieldedInstanceConfig_ = @@ -151,22 +151,22 @@ private Instance( subBuilder.mergeFrom(shieldedInstanceConfig_); shieldedInstanceConfig_ = subBuilder.buildPartial(); } - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; break; } case 174158330: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x10000000; + bitField0_ |= 0x20000000; sourceMachineImage_ = s; break; } case 177763082: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x08000000) != 0)) { + if (!((mutable_bitField0_ & 0x10000000) != 0)) { resourcePolicies_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x08000000; + mutable_bitField0_ |= 0x10000000; } resourcePolicies_.add(s); break; @@ -181,7 +181,7 @@ private Instance( case 386216050: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; privateIpv6GoogleAccess_ = s; break; } @@ -197,6 +197,22 @@ private Instance( com.google.cloud.compute.v1.NetworkInterface.parser(), extensionRegistry)); break; } + case 626510898: + { + com.google.cloud.compute.v1.InstanceParams.Builder subBuilder = null; + if (((bitField0_ & 0x00200000) != 0)) { + subBuilder = params_.toBuilder(); + } + params_ = + input.readMessage( + com.google.cloud.compute.v1.InstanceParams.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(params_); + params_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00200000; + break; + } case 694933882: { com.google.cloud.compute.v1.Metadata.Builder subBuilder = null; @@ -226,14 +242,14 @@ private Instance( } case 989545152: { - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; startRestricted_ = input.readBool(); break; } case 1262805466: { com.google.cloud.compute.v1.ReservationAffinity.Builder subBuilder = null; - if (((bitField0_ & 0x00400000) != 0)) { + if (((bitField0_ & 0x00800000) != 0)) { subBuilder = reservationAffinity_.toBuilder(); } reservationAffinity_ = @@ -243,13 +259,13 @@ private Instance( subBuilder.mergeFrom(reservationAffinity_); reservationAffinity_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; break; } case 1309575354: { com.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy.Builder subBuilder = null; - if (((bitField0_ & 0x08000000) != 0)) { + if (((bitField0_ & 0x10000000) != 0)) { subBuilder = shieldedInstanceIntegrityPolicy_.toBuilder(); } shieldedInstanceIntegrityPolicy_ = @@ -260,7 +276,7 @@ private Instance( subBuilder.mergeFrom(shieldedInstanceIntegrityPolicy_); shieldedInstanceIntegrityPolicy_ = subBuilder.buildPartial(); } - bitField0_ |= 0x08000000; + bitField0_ |= 0x10000000; break; } case 1424998602: @@ -273,14 +289,14 @@ private Instance( case 1450082194: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; status_ = s; break; } case 1542712602: { com.google.cloud.compute.v1.CustomerEncryptionKey.Builder subBuilder = null; - if (((bitField0_ & 0x20000000) != 0)) { + if (((bitField0_ & 0x40000000) != 0)) { subBuilder = sourceMachineImageEncryptionKey_.toBuilder(); } sourceMachineImageEncryptionKey_ = @@ -291,7 +307,7 @@ private Instance( subBuilder.mergeFrom(sourceMachineImageEncryptionKey_); sourceMachineImageEncryptionKey_ = subBuilder.buildPartial(); } - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; break; } case 1821688210: @@ -340,10 +356,10 @@ private Instance( } case -2074668670: { - if (!((mutable_bitField0_ & 0x80000000) != 0)) { + if (!((mutable_bitField1_ & 0x00000001) != 0)) { serviceAccounts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x80000000; + mutable_bitField1_ |= 0x00000001; } serviceAccounts_.add( input.readMessage( @@ -353,7 +369,7 @@ private Instance( case -1915542062: { java.lang.String s = input.readStringRequireUtf8(); - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; statusMessage_ = s; break; } @@ -367,7 +383,7 @@ private Instance( case -1201460062: { com.google.cloud.compute.v1.Scheduling.Builder subBuilder = null; - if (((bitField0_ & 0x01000000) != 0)) { + if (((bitField0_ & 0x02000000) != 0)) { subBuilder = scheduling_.toBuilder(); } scheduling_ = @@ -377,7 +393,7 @@ private Instance( subBuilder.mergeFrom(scheduling_); scheduling_ = subBuilder.buildPartial(); } - bitField0_ |= 0x01000000; + bitField0_ |= 0x02000000; break; } case -1108320494: @@ -445,7 +461,7 @@ private Instance( case -645248918: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; selfLink_ = s; break; } @@ -475,7 +491,7 @@ private Instance( } case -447253160: { - bitField0_ |= 0x00800000; + bitField0_ |= 0x01000000; satisfiesPzs_ = input.readBool(); break; } @@ -523,7 +539,7 @@ private Instance( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x08000000) != 0)) { + if (((mutable_bitField0_ & 0x10000000) != 0)) { resourcePolicies_ = resourcePolicies_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00800000) != 0)) { @@ -532,7 +548,7 @@ private Instance( if (((mutable_bitField0_ & 0x00000080) != 0)) { disks_ = java.util.Collections.unmodifiableList(disks_); } - if (((mutable_bitField0_ & 0x80000000) != 0)) { + if (((mutable_bitField1_ & 0x00000001) != 0)) { serviceAccounts_ = java.util.Collections.unmodifiableList(serviceAccounts_); } if (((mutable_bitField0_ & 0x00000400) != 0)) { @@ -2564,6 +2580,56 @@ public com.google.cloud.compute.v1.NetworkPerformanceConfig getNetworkPerformanc : networkPerformanceConfig_; } + public static final int PARAMS_FIELD_NUMBER = 78313862; + private com.google.cloud.compute.v1.InstanceParams params_; + /** + * + * + *
+   * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + * + * @return Whether the params field is set. + */ + @java.lang.Override + public boolean hasParams() { + return ((bitField0_ & 0x00200000) != 0); + } + /** + * + * + *
+   * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + * + * @return The params. + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceParams getParams() { + return params_ == null + ? com.google.cloud.compute.v1.InstanceParams.getDefaultInstance() + : params_; + } + /** + * + * + *
+   * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + */ + @java.lang.Override + public com.google.cloud.compute.v1.InstanceParamsOrBuilder getParamsOrBuilder() { + return params_ == null + ? com.google.cloud.compute.v1.InstanceParams.getDefaultInstance() + : params_; + } + public static final int PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER = 48277006; private volatile java.lang.Object privateIpv6GoogleAccess_; /** @@ -2580,7 +2646,7 @@ public com.google.cloud.compute.v1.NetworkPerformanceConfig getNetworkPerformanc */ @java.lang.Override public boolean hasPrivateIpv6GoogleAccess() { - return ((bitField0_ & 0x00200000) != 0); + return ((bitField0_ & 0x00400000) != 0); } /** * @@ -2647,7 +2713,7 @@ public com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes() { */ @java.lang.Override public boolean hasReservationAffinity() { - return ((bitField0_ & 0x00400000) != 0); + return ((bitField0_ & 0x00800000) != 0); } /** * @@ -2761,7 +2827,7 @@ public com.google.protobuf.ByteString getResourcePoliciesBytes(int index) { */ @java.lang.Override public boolean hasSatisfiesPzs() { - return ((bitField0_ & 0x00800000) != 0); + return ((bitField0_ & 0x01000000) != 0); } /** * @@ -2794,7 +2860,7 @@ public boolean getSatisfiesPzs() { */ @java.lang.Override public boolean hasScheduling() { - return ((bitField0_ & 0x01000000) != 0); + return ((bitField0_ & 0x02000000) != 0); } /** * @@ -2844,7 +2910,7 @@ public com.google.cloud.compute.v1.SchedulingOrBuilder getSchedulingOrBuilder() */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x02000000) != 0); + return ((bitField0_ & 0x04000000) != 0); } /** * @@ -2974,7 +3040,7 @@ public com.google.cloud.compute.v1.ServiceAccountOrBuilder getServiceAccountsOrB */ @java.lang.Override public boolean hasShieldedInstanceConfig() { - return ((bitField0_ & 0x04000000) != 0); + return ((bitField0_ & 0x08000000) != 0); } /** * @@ -3014,7 +3080,7 @@ public com.google.cloud.compute.v1.ShieldedInstanceConfig getShieldedInstanceCon */ @java.lang.Override public boolean hasShieldedInstanceIntegrityPolicy() { - return ((bitField0_ & 0x08000000) != 0); + return ((bitField0_ & 0x10000000) != 0); } /** * @@ -3058,7 +3124,7 @@ public boolean hasShieldedInstanceIntegrityPolicy() { */ @java.lang.Override public boolean hasSourceMachineImage() { - return ((bitField0_ & 0x10000000) != 0); + return ((bitField0_ & 0x20000000) != 0); } /** * @@ -3124,7 +3190,7 @@ public com.google.protobuf.ByteString getSourceMachineImageBytes() { */ @java.lang.Override public boolean hasSourceMachineImageEncryptionKey() { - return ((bitField0_ & 0x20000000) != 0); + return ((bitField0_ & 0x40000000) != 0); } /** * @@ -3179,7 +3245,7 @@ public com.google.cloud.compute.v1.CustomerEncryptionKey getSourceMachineImageEn */ @java.lang.Override public boolean hasStartRestricted() { - return ((bitField0_ & 0x40000000) != 0); + return ((bitField0_ & 0x80000000) != 0); } /** * @@ -3213,7 +3279,7 @@ public boolean getStartRestricted() { */ @java.lang.Override public boolean hasStatus() { - return ((bitField0_ & 0x80000000) != 0); + return ((bitField1_ & 0x00000001) != 0); } /** * @@ -3279,7 +3345,7 @@ public com.google.protobuf.ByteString getStatusBytes() { */ @java.lang.Override public boolean hasStatusMessage() { - return ((bitField1_ & 0x00000001) != 0); + return ((bitField1_ & 0x00000002) != 0); } /** * @@ -3343,7 +3409,7 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { */ @java.lang.Override public boolean hasTags() { - return ((bitField1_ & 0x00000002) != 0); + return ((bitField1_ & 0x00000004) != 0); } /** * @@ -3389,7 +3455,7 @@ public com.google.cloud.compute.v1.TagsOrBuilder getTagsOrBuilder() { */ @java.lang.Override public boolean hasZone() { - return ((bitField1_ & 0x00000004) != 0); + return ((bitField1_ & 0x00000008) != 0); } /** * @@ -3461,16 +3527,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00080000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField1_ & 0x00000002) != 0)) { + if (((bitField1_ & 0x00000004) != 0)) { output.writeMessage(3552281, getTags()); } - if (((bitField1_ & 0x00000004) != 0)) { + if (((bitField1_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3744684, zone_); } - if (((bitField0_ & 0x04000000) != 0)) { + if (((bitField0_ & 0x08000000) != 0)) { output.writeMessage(12862901, getShieldedInstanceConfig()); } - if (((bitField0_ & 0x10000000) != 0)) { + if (((bitField0_ & 0x20000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 21769791, sourceMachineImage_); } for (int i = 0; i < resourcePolicies_.size(); i++) { @@ -3480,35 +3546,38 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); } - if (((bitField0_ & 0x00200000) != 0)) { + if (((bitField0_ & 0x00400000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString( output, 48277006, privateIpv6GoogleAccess_); } for (int i = 0; i < networkInterfaces_.size(); i++) { output.writeMessage(52735243, networkInterfaces_.get(i)); } + if (((bitField0_ & 0x00200000) != 0)) { + output.writeMessage(78313862, getParams()); + } if (((bitField0_ & 0x00020000) != 0)) { output.writeMessage(86866735, getMetadata()); } for (int i = 0; i < disks_.size(); i++) { output.writeMessage(95594102, disks_.get(i)); } - if (((bitField0_ & 0x40000000) != 0)) { + if (((bitField0_ & 0x80000000) != 0)) { output.writeBool(123693144, startRestricted_); } - if (((bitField0_ & 0x00400000) != 0)) { + if (((bitField0_ & 0x00800000) != 0)) { output.writeMessage(157850683, getReservationAffinity()); } - if (((bitField0_ & 0x08000000) != 0)) { + if (((bitField0_ & 0x10000000) != 0)) { output.writeMessage(163696919, getShieldedInstanceIntegrityPolicy()); } if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 178124825, labelFingerprint_); } - if (((bitField0_ & 0x80000000) != 0)) { + if (((bitField1_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 181260274, status_); } - if (((bitField0_ & 0x20000000) != 0)) { + if (((bitField0_ & 0x40000000) != 0)) { output.writeMessage(192839075, getSourceMachineImageEncryptionKey()); } if (((bitField0_ & 0x00010000) != 0)) { @@ -3529,14 +3598,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < serviceAccounts_.size(); i++) { output.writeMessage(277537328, serviceAccounts_.get(i)); } - if (((bitField1_ & 0x00000001) != 0)) { + if (((bitField1_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 297428154, statusMessage_); } if (((bitField0_ & 0x00008000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString( output, 356275337, lastSuspendedTimestamp_); } - if (((bitField0_ & 0x01000000) != 0)) { + if (((bitField0_ & 0x02000000) != 0)) { output.writeMessage(386688404, getScheduling()); } if (((bitField0_ & 0x00100000) != 0)) { @@ -3557,7 +3626,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 443830736, lastStartTimestamp_); } - if (((bitField0_ & 0x02000000) != 0)) { + if (((bitField0_ & 0x04000000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } if (((bitField0_ & 0x00000020) != 0)) { @@ -3569,7 +3638,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(467731324, canIpForward_); } - if (((bitField0_ & 0x00800000) != 0)) { + if (((bitField0_ & 0x01000000) != 0)) { output.writeBool(480964267, satisfiesPzs_); } if (((bitField0_ & 0x00000004) != 0)) { @@ -3595,18 +3664,18 @@ public int getSerializedSize() { if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField1_ & 0x00000002) != 0)) { + if (((bitField1_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(3552281, getTags()); } - if (((bitField1_ & 0x00000004) != 0)) { + if (((bitField1_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3744684, zone_); } - if (((bitField0_ & 0x04000000) != 0)) { + if (((bitField0_ & 0x08000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 12862901, getShieldedInstanceConfig()); } - if (((bitField0_ & 0x10000000) != 0)) { + if (((bitField0_ & 0x20000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(21769791, sourceMachineImage_); } @@ -3622,7 +3691,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); } - if (((bitField0_ & 0x00200000) != 0)) { + if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize( 48277006, privateIpv6GoogleAccess_); @@ -3632,21 +3701,24 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 52735243, networkInterfaces_.get(i)); } + if (((bitField0_ & 0x00200000) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(78313862, getParams()); + } if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(86866735, getMetadata()); } for (int i = 0; i < disks_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(95594102, disks_.get(i)); } - if (((bitField0_ & 0x40000000) != 0)) { + if (((bitField0_ & 0x80000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(123693144, startRestricted_); } - if (((bitField0_ & 0x00400000) != 0)) { + if (((bitField0_ & 0x00800000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 157850683, getReservationAffinity()); } - if (((bitField0_ & 0x08000000) != 0)) { + if (((bitField0_ & 0x10000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 163696919, getShieldedInstanceIntegrityPolicy()); @@ -3655,10 +3727,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(178124825, labelFingerprint_); } - if (((bitField0_ & 0x80000000) != 0)) { + if (((bitField1_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(181260274, status_); } - if (((bitField0_ & 0x20000000) != 0)) { + if (((bitField0_ & 0x40000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 192839075, getSourceMachineImageEncryptionKey()); @@ -3684,7 +3756,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 277537328, serviceAccounts_.get(i)); } - if (((bitField1_ & 0x00000001) != 0)) { + if (((bitField1_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(297428154, statusMessage_); } if (((bitField0_ & 0x00008000) != 0)) { @@ -3692,7 +3764,7 @@ public int getSerializedSize() { com.google.protobuf.GeneratedMessageV3.computeStringSize( 356275337, lastSuspendedTimestamp_); } - if (((bitField0_ & 0x01000000) != 0)) { + if (((bitField0_ & 0x02000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(386688404, getScheduling()); } if (((bitField0_ & 0x00100000) != 0)) { @@ -3719,7 +3791,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(443830736, lastStartTimestamp_); } - if (((bitField0_ & 0x02000000) != 0)) { + if (((bitField0_ & 0x04000000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } if (((bitField0_ & 0x00000020) != 0)) { @@ -3733,7 +3805,7 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(467731324, canIpForward_); } - if (((bitField0_ & 0x00800000) != 0)) { + if (((bitField0_ & 0x01000000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(480964267, satisfiesPzs_); } if (((bitField0_ & 0x00000004) != 0)) { @@ -3855,6 +3927,10 @@ public boolean equals(final java.lang.Object obj) { if (hasNetworkPerformanceConfig()) { if (!getNetworkPerformanceConfig().equals(other.getNetworkPerformanceConfig())) return false; } + if (hasParams() != other.hasParams()) return false; + if (hasParams()) { + if (!getParams().equals(other.getParams())) return false; + } if (hasPrivateIpv6GoogleAccess() != other.hasPrivateIpv6GoogleAccess()) return false; if (hasPrivateIpv6GoogleAccess()) { if (!getPrivateIpv6GoogleAccess().equals(other.getPrivateIpv6GoogleAccess())) return false; @@ -4028,6 +4104,10 @@ public int hashCode() { hash = (37 * hash) + NETWORK_PERFORMANCE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getNetworkPerformanceConfig().hashCode(); } + if (hasParams()) { + hash = (37 * hash) + PARAMS_FIELD_NUMBER; + hash = (53 * hash) + getParams().hashCode(); + } if (hasPrivateIpv6GoogleAccess()) { hash = (37 * hash) + PRIVATE_IPV6_GOOGLE_ACCESS_FIELD_NUMBER; hash = (53 * hash) + getPrivateIpv6GoogleAccess().hashCode(); @@ -4259,6 +4339,7 @@ private void maybeForceBuilderInitialization() { getMetadataFieldBuilder(); getNetworkInterfacesFieldBuilder(); getNetworkPerformanceConfigFieldBuilder(); + getParamsFieldBuilder(); getReservationAffinityFieldBuilder(); getSchedulingFieldBuilder(); getServiceAccountsFieldBuilder(); @@ -4353,29 +4434,35 @@ public Builder clear() { networkPerformanceConfigBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x01000000); - privateIpv6GoogleAccess_ = ""; + if (paramsBuilder_ == null) { + params_ = null; + } else { + paramsBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x02000000); + privateIpv6GoogleAccess_ = ""; + bitField0_ = (bitField0_ & ~0x04000000); if (reservationAffinityBuilder_ == null) { reservationAffinity_ = null; } else { reservationAffinityBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x04000000); - resourcePolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x08000000); - satisfiesPzs_ = false; + resourcePolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x10000000); + satisfiesPzs_ = false; + bitField0_ = (bitField0_ & ~0x20000000); if (schedulingBuilder_ == null) { scheduling_ = null; } else { schedulingBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x20000000); - selfLink_ = ""; bitField0_ = (bitField0_ & ~0x40000000); + selfLink_ = ""; + bitField0_ = (bitField0_ & ~0x80000000); if (serviceAccountsBuilder_ == null) { serviceAccounts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x80000000); + bitField1_ = (bitField1_ & ~0x00000001); } else { serviceAccountsBuilder_.clear(); } @@ -4384,35 +4471,35 @@ public Builder clear() { } else { shieldedInstanceConfigBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000001); + bitField1_ = (bitField1_ & ~0x00000002); if (shieldedInstanceIntegrityPolicyBuilder_ == null) { shieldedInstanceIntegrityPolicy_ = null; } else { shieldedInstanceIntegrityPolicyBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000002); - sourceMachineImage_ = ""; bitField1_ = (bitField1_ & ~0x00000004); + sourceMachineImage_ = ""; + bitField1_ = (bitField1_ & ~0x00000008); if (sourceMachineImageEncryptionKeyBuilder_ == null) { sourceMachineImageEncryptionKey_ = null; } else { sourceMachineImageEncryptionKeyBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000008); - startRestricted_ = false; bitField1_ = (bitField1_ & ~0x00000010); - status_ = ""; + startRestricted_ = false; bitField1_ = (bitField1_ & ~0x00000020); - statusMessage_ = ""; + status_ = ""; bitField1_ = (bitField1_ & ~0x00000040); + statusMessage_ = ""; + bitField1_ = (bitField1_ & ~0x00000080); if (tagsBuilder_ == null) { tags_ = null; } else { tagsBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000080); - zone_ = ""; bitField1_ = (bitField1_ & ~0x00000100); + zone_ = ""; + bitField1_ = (bitField1_ & ~0x00000200); return this; } @@ -4577,98 +4664,106 @@ public com.google.cloud.compute.v1.Instance buildPartial() { to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x02000000) != 0)) { + if (paramsBuilder_ == null) { + result.params_ = params_; + } else { + result.params_ = paramsBuilder_.build(); + } to_bitField0_ |= 0x00200000; } - result.privateIpv6GoogleAccess_ = privateIpv6GoogleAccess_; if (((from_bitField0_ & 0x04000000) != 0)) { + to_bitField0_ |= 0x00400000; + } + result.privateIpv6GoogleAccess_ = privateIpv6GoogleAccess_; + if (((from_bitField0_ & 0x08000000) != 0)) { if (reservationAffinityBuilder_ == null) { result.reservationAffinity_ = reservationAffinity_; } else { result.reservationAffinity_ = reservationAffinityBuilder_.build(); } - to_bitField0_ |= 0x00400000; + to_bitField0_ |= 0x00800000; } - if (((bitField0_ & 0x08000000) != 0)) { + if (((bitField0_ & 0x10000000) != 0)) { resourcePolicies_ = resourcePolicies_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x08000000); + bitField0_ = (bitField0_ & ~0x10000000); } result.resourcePolicies_ = resourcePolicies_; - if (((from_bitField0_ & 0x10000000) != 0)) { + if (((from_bitField0_ & 0x20000000) != 0)) { result.satisfiesPzs_ = satisfiesPzs_; - to_bitField0_ |= 0x00800000; + to_bitField0_ |= 0x01000000; } - if (((from_bitField0_ & 0x20000000) != 0)) { + if (((from_bitField0_ & 0x40000000) != 0)) { if (schedulingBuilder_ == null) { result.scheduling_ = scheduling_; } else { result.scheduling_ = schedulingBuilder_.build(); } - to_bitField0_ |= 0x01000000; - } - if (((from_bitField0_ & 0x40000000) != 0)) { to_bitField0_ |= 0x02000000; } + if (((from_bitField0_ & 0x80000000) != 0)) { + to_bitField0_ |= 0x04000000; + } result.selfLink_ = selfLink_; if (serviceAccountsBuilder_ == null) { - if (((bitField0_ & 0x80000000) != 0)) { + if (((bitField1_ & 0x00000001) != 0)) { serviceAccounts_ = java.util.Collections.unmodifiableList(serviceAccounts_); - bitField0_ = (bitField0_ & ~0x80000000); + bitField1_ = (bitField1_ & ~0x00000001); } result.serviceAccounts_ = serviceAccounts_; } else { result.serviceAccounts_ = serviceAccountsBuilder_.build(); } - if (((from_bitField1_ & 0x00000001) != 0)) { + if (((from_bitField1_ & 0x00000002) != 0)) { if (shieldedInstanceConfigBuilder_ == null) { result.shieldedInstanceConfig_ = shieldedInstanceConfig_; } else { result.shieldedInstanceConfig_ = shieldedInstanceConfigBuilder_.build(); } - to_bitField0_ |= 0x04000000; + to_bitField0_ |= 0x08000000; } - if (((from_bitField1_ & 0x00000002) != 0)) { + if (((from_bitField1_ & 0x00000004) != 0)) { if (shieldedInstanceIntegrityPolicyBuilder_ == null) { result.shieldedInstanceIntegrityPolicy_ = shieldedInstanceIntegrityPolicy_; } else { result.shieldedInstanceIntegrityPolicy_ = shieldedInstanceIntegrityPolicyBuilder_.build(); } - to_bitField0_ |= 0x08000000; - } - if (((from_bitField1_ & 0x00000004) != 0)) { to_bitField0_ |= 0x10000000; } - result.sourceMachineImage_ = sourceMachineImage_; if (((from_bitField1_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x20000000; + } + result.sourceMachineImage_ = sourceMachineImage_; + if (((from_bitField1_ & 0x00000010) != 0)) { if (sourceMachineImageEncryptionKeyBuilder_ == null) { result.sourceMachineImageEncryptionKey_ = sourceMachineImageEncryptionKey_; } else { result.sourceMachineImageEncryptionKey_ = sourceMachineImageEncryptionKeyBuilder_.build(); } - to_bitField0_ |= 0x20000000; - } - if (((from_bitField1_ & 0x00000010) != 0)) { - result.startRestricted_ = startRestricted_; to_bitField0_ |= 0x40000000; } if (((from_bitField1_ & 0x00000020) != 0)) { + result.startRestricted_ = startRestricted_; to_bitField0_ |= 0x80000000; } - result.status_ = status_; if (((from_bitField1_ & 0x00000040) != 0)) { to_bitField1_ |= 0x00000001; } - result.statusMessage_ = statusMessage_; + result.status_ = status_; if (((from_bitField1_ & 0x00000080) != 0)) { + to_bitField1_ |= 0x00000002; + } + result.statusMessage_ = statusMessage_; + if (((from_bitField1_ & 0x00000100) != 0)) { if (tagsBuilder_ == null) { result.tags_ = tags_; } else { result.tags_ = tagsBuilder_.build(); } - to_bitField1_ |= 0x00000002; - } - if (((from_bitField1_ & 0x00000100) != 0)) { to_bitField1_ |= 0x00000004; } + if (((from_bitField1_ & 0x00000200) != 0)) { + to_bitField1_ |= 0x00000008; + } result.zone_ = zone_; result.bitField0_ = to_bitField0_; result.bitField1_ = to_bitField1_; @@ -4892,8 +4987,11 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Instance other) { if (other.hasNetworkPerformanceConfig()) { mergeNetworkPerformanceConfig(other.getNetworkPerformanceConfig()); } + if (other.hasParams()) { + mergeParams(other.getParams()); + } if (other.hasPrivateIpv6GoogleAccess()) { - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; privateIpv6GoogleAccess_ = other.privateIpv6GoogleAccess_; onChanged(); } @@ -4903,7 +5001,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Instance other) { if (!other.resourcePolicies_.isEmpty()) { if (resourcePolicies_.isEmpty()) { resourcePolicies_ = other.resourcePolicies_; - bitField0_ = (bitField0_ & ~0x08000000); + bitField0_ = (bitField0_ & ~0x10000000); } else { ensureResourcePoliciesIsMutable(); resourcePolicies_.addAll(other.resourcePolicies_); @@ -4917,7 +5015,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Instance other) { mergeScheduling(other.getScheduling()); } if (other.hasSelfLink()) { - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; selfLink_ = other.selfLink_; onChanged(); } @@ -4925,7 +5023,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Instance other) { if (!other.serviceAccounts_.isEmpty()) { if (serviceAccounts_.isEmpty()) { serviceAccounts_ = other.serviceAccounts_; - bitField0_ = (bitField0_ & ~0x80000000); + bitField1_ = (bitField1_ & ~0x00000001); } else { ensureServiceAccountsIsMutable(); serviceAccounts_.addAll(other.serviceAccounts_); @@ -4938,7 +5036,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Instance other) { serviceAccountsBuilder_.dispose(); serviceAccountsBuilder_ = null; serviceAccounts_ = other.serviceAccounts_; - bitField0_ = (bitField0_ & ~0x80000000); + bitField1_ = (bitField1_ & ~0x00000001); serviceAccountsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getServiceAccountsFieldBuilder() @@ -4955,7 +5053,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Instance other) { mergeShieldedInstanceIntegrityPolicy(other.getShieldedInstanceIntegrityPolicy()); } if (other.hasSourceMachineImage()) { - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; sourceMachineImage_ = other.sourceMachineImage_; onChanged(); } @@ -4966,12 +5064,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Instance other) { setStartRestricted(other.getStartRestricted()); } if (other.hasStatus()) { - bitField1_ |= 0x00000020; + bitField1_ |= 0x00000040; status_ = other.status_; onChanged(); } if (other.hasStatusMessage()) { - bitField1_ |= 0x00000040; + bitField1_ |= 0x00000080; statusMessage_ = other.statusMessage_; onChanged(); } @@ -4979,7 +5077,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Instance other) { mergeTags(other.getTags()); } if (other.hasZone()) { - bitField1_ |= 0x00000100; + bitField1_ |= 0x00000200; zone_ = other.zone_; onChanged(); } @@ -8936,6 +9034,192 @@ public Builder clearNetworkPerformanceConfig() { return networkPerformanceConfigBuilder_; } + private com.google.cloud.compute.v1.InstanceParams params_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceParams, + com.google.cloud.compute.v1.InstanceParams.Builder, + com.google.cloud.compute.v1.InstanceParamsOrBuilder> + paramsBuilder_; + /** + * + * + *
+     * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + * + * @return Whether the params field is set. + */ + public boolean hasParams() { + return ((bitField0_ & 0x02000000) != 0); + } + /** + * + * + *
+     * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + * + * @return The params. + */ + public com.google.cloud.compute.v1.InstanceParams getParams() { + if (paramsBuilder_ == null) { + return params_ == null + ? com.google.cloud.compute.v1.InstanceParams.getDefaultInstance() + : params_; + } else { + return paramsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + */ + public Builder setParams(com.google.cloud.compute.v1.InstanceParams value) { + if (paramsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + params_ = value; + onChanged(); + } else { + paramsBuilder_.setMessage(value); + } + bitField0_ |= 0x02000000; + return this; + } + /** + * + * + *
+     * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + */ + public Builder setParams(com.google.cloud.compute.v1.InstanceParams.Builder builderForValue) { + if (paramsBuilder_ == null) { + params_ = builderForValue.build(); + onChanged(); + } else { + paramsBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x02000000; + return this; + } + /** + * + * + *
+     * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + */ + public Builder mergeParams(com.google.cloud.compute.v1.InstanceParams value) { + if (paramsBuilder_ == null) { + if (((bitField0_ & 0x02000000) != 0) + && params_ != null + && params_ != com.google.cloud.compute.v1.InstanceParams.getDefaultInstance()) { + params_ = + com.google.cloud.compute.v1.InstanceParams.newBuilder(params_) + .mergeFrom(value) + .buildPartial(); + } else { + params_ = value; + } + onChanged(); + } else { + paramsBuilder_.mergeFrom(value); + } + bitField0_ |= 0x02000000; + return this; + } + /** + * + * + *
+     * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + */ + public Builder clearParams() { + if (paramsBuilder_ == null) { + params_ = null; + onChanged(); + } else { + paramsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x02000000); + return this; + } + /** + * + * + *
+     * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + */ + public com.google.cloud.compute.v1.InstanceParams.Builder getParamsBuilder() { + bitField0_ |= 0x02000000; + onChanged(); + return getParamsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + */ + public com.google.cloud.compute.v1.InstanceParamsOrBuilder getParamsOrBuilder() { + if (paramsBuilder_ != null) { + return paramsBuilder_.getMessageOrBuilder(); + } else { + return params_ == null + ? com.google.cloud.compute.v1.InstanceParams.getDefaultInstance() + : params_; + } + } + /** + * + * + *
+     * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+     * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceParams, + com.google.cloud.compute.v1.InstanceParams.Builder, + com.google.cloud.compute.v1.InstanceParamsOrBuilder> + getParamsFieldBuilder() { + if (paramsBuilder_ == null) { + paramsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.InstanceParams, + com.google.cloud.compute.v1.InstanceParams.Builder, + com.google.cloud.compute.v1.InstanceParamsOrBuilder>( + getParams(), getParentForChildren(), isClean()); + params_ = null; + } + return paramsBuilder_; + } + private java.lang.Object privateIpv6GoogleAccess_ = ""; /** * @@ -8950,7 +9234,7 @@ public Builder clearNetworkPerformanceConfig() { * @return Whether the privateIpv6GoogleAccess field is set. */ public boolean hasPrivateIpv6GoogleAccess() { - return ((bitField0_ & 0x02000000) != 0); + return ((bitField0_ & 0x04000000) != 0); } /** * @@ -9015,7 +9299,7 @@ public Builder setPrivateIpv6GoogleAccess(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; privateIpv6GoogleAccess_ = value; onChanged(); return this; @@ -9033,7 +9317,7 @@ public Builder setPrivateIpv6GoogleAccess(java.lang.String value) { * @return This builder for chaining. */ public Builder clearPrivateIpv6GoogleAccess() { - bitField0_ = (bitField0_ & ~0x02000000); + bitField0_ = (bitField0_ & ~0x04000000); privateIpv6GoogleAccess_ = getDefaultInstance().getPrivateIpv6GoogleAccess(); onChanged(); return this; @@ -9056,7 +9340,7 @@ public Builder setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString va throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x02000000; + bitField0_ |= 0x04000000; privateIpv6GoogleAccess_ = value; onChanged(); return this; @@ -9081,7 +9365,7 @@ public Builder setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString va * @return Whether the reservationAffinity field is set. */ public boolean hasReservationAffinity() { - return ((bitField0_ & 0x04000000) != 0); + return ((bitField0_ & 0x08000000) != 0); } /** * @@ -9124,7 +9408,7 @@ public Builder setReservationAffinity(com.google.cloud.compute.v1.ReservationAff } else { reservationAffinityBuilder_.setMessage(value); } - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; return this; } /** @@ -9145,7 +9429,7 @@ public Builder setReservationAffinity( } else { reservationAffinityBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; return this; } /** @@ -9160,7 +9444,7 @@ public Builder setReservationAffinity( */ public Builder mergeReservationAffinity(com.google.cloud.compute.v1.ReservationAffinity value) { if (reservationAffinityBuilder_ == null) { - if (((bitField0_ & 0x04000000) != 0) + if (((bitField0_ & 0x08000000) != 0) && reservationAffinity_ != null && reservationAffinity_ != com.google.cloud.compute.v1.ReservationAffinity.getDefaultInstance()) { @@ -9175,7 +9459,7 @@ public Builder mergeReservationAffinity(com.google.cloud.compute.v1.ReservationA } else { reservationAffinityBuilder_.mergeFrom(value); } - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; return this; } /** @@ -9195,7 +9479,7 @@ public Builder clearReservationAffinity() { } else { reservationAffinityBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x04000000); + bitField0_ = (bitField0_ & ~0x08000000); return this; } /** @@ -9209,7 +9493,7 @@ public Builder clearReservationAffinity() { *
*/ public com.google.cloud.compute.v1.ReservationAffinity.Builder getReservationAffinityBuilder() { - bitField0_ |= 0x04000000; + bitField0_ |= 0x08000000; onChanged(); return getReservationAffinityFieldBuilder().getBuilder(); } @@ -9264,9 +9548,9 @@ public com.google.cloud.compute.v1.ReservationAffinity.Builder getReservationAff com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureResourcePoliciesIsMutable() { - if (!((bitField0_ & 0x08000000) != 0)) { + if (!((bitField0_ & 0x10000000) != 0)) { resourcePolicies_ = new com.google.protobuf.LazyStringArrayList(resourcePolicies_); - bitField0_ |= 0x08000000; + bitField0_ |= 0x10000000; } } /** @@ -9401,7 +9685,7 @@ public Builder addAllResourcePolicies(java.lang.Iterable value */ public Builder clearResourcePolicies() { resourcePolicies_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x08000000); + bitField0_ = (bitField0_ & ~0x10000000); onChanged(); return this; } @@ -9442,7 +9726,7 @@ public Builder addResourcePoliciesBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasSatisfiesPzs() { - return ((bitField0_ & 0x10000000) != 0); + return ((bitField0_ & 0x20000000) != 0); } /** * @@ -9472,7 +9756,7 @@ public boolean getSatisfiesPzs() { * @return This builder for chaining. */ public Builder setSatisfiesPzs(boolean value) { - bitField0_ |= 0x10000000; + bitField0_ |= 0x20000000; satisfiesPzs_ = value; onChanged(); return this; @@ -9489,7 +9773,7 @@ public Builder setSatisfiesPzs(boolean value) { * @return This builder for chaining. */ public Builder clearSatisfiesPzs() { - bitField0_ = (bitField0_ & ~0x10000000); + bitField0_ = (bitField0_ & ~0x20000000); satisfiesPzs_ = false; onChanged(); return this; @@ -9513,7 +9797,7 @@ public Builder clearSatisfiesPzs() { * @return Whether the scheduling field is set. */ public boolean hasScheduling() { - return ((bitField0_ & 0x20000000) != 0); + return ((bitField0_ & 0x40000000) != 0); } /** * @@ -9554,7 +9838,7 @@ public Builder setScheduling(com.google.cloud.compute.v1.Scheduling value) { } else { schedulingBuilder_.setMessage(value); } - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; return this; } /** @@ -9573,7 +9857,7 @@ public Builder setScheduling(com.google.cloud.compute.v1.Scheduling.Builder buil } else { schedulingBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; return this; } /** @@ -9587,7 +9871,7 @@ public Builder setScheduling(com.google.cloud.compute.v1.Scheduling.Builder buil */ public Builder mergeScheduling(com.google.cloud.compute.v1.Scheduling value) { if (schedulingBuilder_ == null) { - if (((bitField0_ & 0x20000000) != 0) + if (((bitField0_ & 0x40000000) != 0) && scheduling_ != null && scheduling_ != com.google.cloud.compute.v1.Scheduling.getDefaultInstance()) { scheduling_ = @@ -9601,7 +9885,7 @@ public Builder mergeScheduling(com.google.cloud.compute.v1.Scheduling value) { } else { schedulingBuilder_.mergeFrom(value); } - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; return this; } /** @@ -9620,7 +9904,7 @@ public Builder clearScheduling() { } else { schedulingBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x20000000); + bitField0_ = (bitField0_ & ~0x40000000); return this; } /** @@ -9633,7 +9917,7 @@ public Builder clearScheduling() { * optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; */ public com.google.cloud.compute.v1.Scheduling.Builder getSchedulingBuilder() { - bitField0_ |= 0x20000000; + bitField0_ |= 0x40000000; onChanged(); return getSchedulingFieldBuilder().getBuilder(); } @@ -9694,7 +9978,7 @@ public com.google.cloud.compute.v1.SchedulingOrBuilder getSchedulingOrBuilder() * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x40000000) != 0); + return ((bitField0_ & 0x80000000) != 0); } /** * @@ -9756,7 +10040,7 @@ public Builder setSelfLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; selfLink_ = value; onChanged(); return this; @@ -9773,7 +10057,7 @@ public Builder setSelfLink(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSelfLink() { - bitField0_ = (bitField0_ & ~0x40000000); + bitField0_ = (bitField0_ & ~0x80000000); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; @@ -9795,7 +10079,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x40000000; + bitField0_ |= 0x80000000; selfLink_ = value; onChanged(); return this; @@ -9805,10 +10089,10 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureServiceAccountsIsMutable() { - if (!((bitField0_ & 0x80000000) != 0)) { + if (!((bitField1_ & 0x00000001) != 0)) { serviceAccounts_ = new java.util.ArrayList(serviceAccounts_); - bitField0_ |= 0x80000000; + bitField1_ |= 0x00000001; } } @@ -10024,7 +10308,7 @@ public Builder addAllServiceAccounts( public Builder clearServiceAccounts() { if (serviceAccountsBuilder_ == null) { serviceAccounts_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x80000000); + bitField1_ = (bitField1_ & ~0x00000001); onChanged(); } else { serviceAccountsBuilder_.clear(); @@ -10148,7 +10432,7 @@ public com.google.cloud.compute.v1.ServiceAccount.Builder addServiceAccountsBuil com.google.cloud.compute.v1.ServiceAccount.Builder, com.google.cloud.compute.v1.ServiceAccountOrBuilder>( serviceAccounts_, - ((bitField0_ & 0x80000000) != 0), + ((bitField1_ & 0x00000001) != 0), getParentForChildren(), isClean()); serviceAccounts_ = null; @@ -10170,7 +10454,7 @@ public com.google.cloud.compute.v1.ServiceAccount.Builder addServiceAccountsBuil * @return Whether the shieldedInstanceConfig field is set. */ public boolean hasShieldedInstanceConfig() { - return ((bitField1_ & 0x00000001) != 0); + return ((bitField1_ & 0x00000002) != 0); } /** * @@ -10204,7 +10488,7 @@ public Builder setShieldedInstanceConfig( } else { shieldedInstanceConfigBuilder_.setMessage(value); } - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; return this; } /** @@ -10220,7 +10504,7 @@ public Builder setShieldedInstanceConfig( } else { shieldedInstanceConfigBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; return this; } /** @@ -10231,7 +10515,7 @@ public Builder setShieldedInstanceConfig( public Builder mergeShieldedInstanceConfig( com.google.cloud.compute.v1.ShieldedInstanceConfig value) { if (shieldedInstanceConfigBuilder_ == null) { - if (((bitField1_ & 0x00000001) != 0) + if (((bitField1_ & 0x00000002) != 0) && shieldedInstanceConfig_ != null && shieldedInstanceConfig_ != com.google.cloud.compute.v1.ShieldedInstanceConfig.getDefaultInstance()) { @@ -10246,7 +10530,7 @@ public Builder mergeShieldedInstanceConfig( } else { shieldedInstanceConfigBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; return this; } /** @@ -10261,7 +10545,7 @@ public Builder clearShieldedInstanceConfig() { } else { shieldedInstanceConfigBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000001); + bitField1_ = (bitField1_ & ~0x00000002); return this; } /** @@ -10271,7 +10555,7 @@ public Builder clearShieldedInstanceConfig() { */ public com.google.cloud.compute.v1.ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder() { - bitField1_ |= 0x00000001; + bitField1_ |= 0x00000002; onChanged(); return getShieldedInstanceConfigFieldBuilder().getBuilder(); } @@ -10327,7 +10611,7 @@ public Builder clearShieldedInstanceConfig() { * @return Whether the shieldedInstanceIntegrityPolicy field is set. */ public boolean hasShieldedInstanceIntegrityPolicy() { - return ((bitField1_ & 0x00000002) != 0); + return ((bitField1_ & 0x00000004) != 0); } /** * @@ -10362,7 +10646,7 @@ public Builder setShieldedInstanceIntegrityPolicy( } else { shieldedInstanceIntegrityPolicyBuilder_.setMessage(value); } - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; return this; } /** @@ -10378,7 +10662,7 @@ public Builder setShieldedInstanceIntegrityPolicy( } else { shieldedInstanceIntegrityPolicyBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; return this; } /** @@ -10389,7 +10673,7 @@ public Builder setShieldedInstanceIntegrityPolicy( public Builder mergeShieldedInstanceIntegrityPolicy( com.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy value) { if (shieldedInstanceIntegrityPolicyBuilder_ == null) { - if (((bitField1_ & 0x00000002) != 0) + if (((bitField1_ & 0x00000004) != 0) && shieldedInstanceIntegrityPolicy_ != null && shieldedInstanceIntegrityPolicy_ != com.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy @@ -10406,7 +10690,7 @@ public Builder mergeShieldedInstanceIntegrityPolicy( } else { shieldedInstanceIntegrityPolicyBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; return this; } /** @@ -10421,7 +10705,7 @@ public Builder clearShieldedInstanceIntegrityPolicy() { } else { shieldedInstanceIntegrityPolicyBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000002); + bitField1_ = (bitField1_ & ~0x00000004); return this; } /** @@ -10431,7 +10715,7 @@ public Builder clearShieldedInstanceIntegrityPolicy() { */ public com.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy.Builder getShieldedInstanceIntegrityPolicyBuilder() { - bitField1_ |= 0x00000002; + bitField1_ |= 0x00000004; onChanged(); return getShieldedInstanceIntegrityPolicyFieldBuilder().getBuilder(); } @@ -10485,7 +10769,7 @@ public Builder clearShieldedInstanceIntegrityPolicy() { * @return Whether the sourceMachineImage field is set. */ public boolean hasSourceMachineImage() { - return ((bitField1_ & 0x00000004) != 0); + return ((bitField1_ & 0x00000008) != 0); } /** * @@ -10547,7 +10831,7 @@ public Builder setSourceMachineImage(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; sourceMachineImage_ = value; onChanged(); return this; @@ -10564,7 +10848,7 @@ public Builder setSourceMachineImage(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSourceMachineImage() { - bitField1_ = (bitField1_ & ~0x00000004); + bitField1_ = (bitField1_ & ~0x00000008); sourceMachineImage_ = getDefaultInstance().getSourceMachineImage(); onChanged(); return this; @@ -10586,7 +10870,7 @@ public Builder setSourceMachineImageBytes(com.google.protobuf.ByteString value) throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField1_ |= 0x00000004; + bitField1_ |= 0x00000008; sourceMachineImage_ = value; onChanged(); return this; @@ -10612,7 +10896,7 @@ public Builder setSourceMachineImageBytes(com.google.protobuf.ByteString value) * @return Whether the sourceMachineImageEncryptionKey field is set. */ public boolean hasSourceMachineImageEncryptionKey() { - return ((bitField1_ & 0x00000008) != 0); + return ((bitField1_ & 0x00000010) != 0); } /** * @@ -10658,7 +10942,7 @@ public Builder setSourceMachineImageEncryptionKey( } else { sourceMachineImageEncryptionKeyBuilder_.setMessage(value); } - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000010; return this; } /** @@ -10680,7 +10964,7 @@ public Builder setSourceMachineImageEncryptionKey( } else { sourceMachineImageEncryptionKeyBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000010; return this; } /** @@ -10697,7 +10981,7 @@ public Builder setSourceMachineImageEncryptionKey( public Builder mergeSourceMachineImageEncryptionKey( com.google.cloud.compute.v1.CustomerEncryptionKey value) { if (sourceMachineImageEncryptionKeyBuilder_ == null) { - if (((bitField1_ & 0x00000008) != 0) + if (((bitField1_ & 0x00000010) != 0) && sourceMachineImageEncryptionKey_ != null && sourceMachineImageEncryptionKey_ != com.google.cloud.compute.v1.CustomerEncryptionKey.getDefaultInstance()) { @@ -10713,7 +10997,7 @@ public Builder mergeSourceMachineImageEncryptionKey( } else { sourceMachineImageEncryptionKeyBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000010; return this; } /** @@ -10734,7 +11018,7 @@ public Builder clearSourceMachineImageEncryptionKey() { } else { sourceMachineImageEncryptionKeyBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000008); + bitField1_ = (bitField1_ & ~0x00000010); return this; } /** @@ -10750,7 +11034,7 @@ public Builder clearSourceMachineImageEncryptionKey() { */ public com.google.cloud.compute.v1.CustomerEncryptionKey.Builder getSourceMachineImageEncryptionKeyBuilder() { - bitField1_ |= 0x00000008; + bitField1_ |= 0x00000010; onChanged(); return getSourceMachineImageEncryptionKeyFieldBuilder().getBuilder(); } @@ -10817,7 +11101,7 @@ public Builder clearSourceMachineImageEncryptionKey() { */ @java.lang.Override public boolean hasStartRestricted() { - return ((bitField1_ & 0x00000010) != 0); + return ((bitField1_ & 0x00000020) != 0); } /** * @@ -10847,7 +11131,7 @@ public boolean getStartRestricted() { * @return This builder for chaining. */ public Builder setStartRestricted(boolean value) { - bitField1_ |= 0x00000010; + bitField1_ |= 0x00000020; startRestricted_ = value; onChanged(); return this; @@ -10864,7 +11148,7 @@ public Builder setStartRestricted(boolean value) { * @return This builder for chaining. */ public Builder clearStartRestricted() { - bitField1_ = (bitField1_ & ~0x00000010); + bitField1_ = (bitField1_ & ~0x00000020); startRestricted_ = false; onChanged(); return this; @@ -10884,7 +11168,7 @@ public Builder clearStartRestricted() { * @return Whether the status field is set. */ public boolean hasStatus() { - return ((bitField1_ & 0x00000020) != 0); + return ((bitField1_ & 0x00000040) != 0); } /** * @@ -10949,7 +11233,7 @@ public Builder setStatus(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00000020; + bitField1_ |= 0x00000040; status_ = value; onChanged(); return this; @@ -10967,7 +11251,7 @@ public Builder setStatus(java.lang.String value) { * @return This builder for chaining. */ public Builder clearStatus() { - bitField1_ = (bitField1_ & ~0x00000020); + bitField1_ = (bitField1_ & ~0x00000040); status_ = getDefaultInstance().getStatus(); onChanged(); return this; @@ -10990,7 +11274,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField1_ |= 0x00000020; + bitField1_ |= 0x00000040; status_ = value; onChanged(); return this; @@ -11009,7 +11293,7 @@ public Builder setStatusBytes(com.google.protobuf.ByteString value) { * @return Whether the statusMessage field is set. */ public boolean hasStatusMessage() { - return ((bitField1_ & 0x00000040) != 0); + return ((bitField1_ & 0x00000080) != 0); } /** * @@ -11071,7 +11355,7 @@ public Builder setStatusMessage(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00000040; + bitField1_ |= 0x00000080; statusMessage_ = value; onChanged(); return this; @@ -11088,7 +11372,7 @@ public Builder setStatusMessage(java.lang.String value) { * @return This builder for chaining. */ public Builder clearStatusMessage() { - bitField1_ = (bitField1_ & ~0x00000040); + bitField1_ = (bitField1_ & ~0x00000080); statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; @@ -11110,7 +11394,7 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField1_ |= 0x00000040; + bitField1_ |= 0x00000080; statusMessage_ = value; onChanged(); return this; @@ -11134,7 +11418,7 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { * @return Whether the tags field is set. */ public boolean hasTags() { - return ((bitField1_ & 0x00000080) != 0); + return ((bitField1_ & 0x00000100) != 0); } /** * @@ -11173,7 +11457,7 @@ public Builder setTags(com.google.cloud.compute.v1.Tags value) { } else { tagsBuilder_.setMessage(value); } - bitField1_ |= 0x00000080; + bitField1_ |= 0x00000100; return this; } /** @@ -11192,7 +11476,7 @@ public Builder setTags(com.google.cloud.compute.v1.Tags.Builder builderForValue) } else { tagsBuilder_.setMessage(builderForValue.build()); } - bitField1_ |= 0x00000080; + bitField1_ |= 0x00000100; return this; } /** @@ -11206,7 +11490,7 @@ public Builder setTags(com.google.cloud.compute.v1.Tags.Builder builderForValue) */ public Builder mergeTags(com.google.cloud.compute.v1.Tags value) { if (tagsBuilder_ == null) { - if (((bitField1_ & 0x00000080) != 0) + if (((bitField1_ & 0x00000100) != 0) && tags_ != null && tags_ != com.google.cloud.compute.v1.Tags.getDefaultInstance()) { tags_ = @@ -11218,7 +11502,7 @@ public Builder mergeTags(com.google.cloud.compute.v1.Tags value) { } else { tagsBuilder_.mergeFrom(value); } - bitField1_ |= 0x00000080; + bitField1_ |= 0x00000100; return this; } /** @@ -11237,7 +11521,7 @@ public Builder clearTags() { } else { tagsBuilder_.clear(); } - bitField1_ = (bitField1_ & ~0x00000080); + bitField1_ = (bitField1_ & ~0x00000100); return this; } /** @@ -11250,7 +11534,7 @@ public Builder clearTags() { * optional .google.cloud.compute.v1.Tags tags = 3552281; */ public com.google.cloud.compute.v1.Tags.Builder getTagsBuilder() { - bitField1_ |= 0x00000080; + bitField1_ |= 0x00000100; onChanged(); return getTagsFieldBuilder().getBuilder(); } @@ -11309,7 +11593,7 @@ public com.google.cloud.compute.v1.TagsOrBuilder getTagsOrBuilder() { * @return Whether the zone field is set. */ public boolean hasZone() { - return ((bitField1_ & 0x00000100) != 0); + return ((bitField1_ & 0x00000200) != 0); } /** * @@ -11371,7 +11655,7 @@ public Builder setZone(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField1_ |= 0x00000100; + bitField1_ |= 0x00000200; zone_ = value; onChanged(); return this; @@ -11388,7 +11672,7 @@ public Builder setZone(java.lang.String value) { * @return This builder for chaining. */ public Builder clearZone() { - bitField1_ = (bitField1_ & ~0x00000100); + bitField1_ = (bitField1_ & ~0x00000200); zone_ = getDefaultInstance().getZone(); onChanged(); return this; @@ -11410,7 +11694,7 @@ public Builder setZoneBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField1_ |= 0x00000100; + bitField1_ |= 0x00000200; zone_ = value; onChanged(); return this; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java index b8b78f104..9c9afdb23 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroup.java @@ -571,7 +571,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -584,7 +584,7 @@ public java.util.List getNamedPortsList() * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -598,7 +598,7 @@ public java.util.List getNamedPortsList() * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -611,7 +611,7 @@ public int getNamedPortsCount() { * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -624,7 +624,7 @@ public com.google.cloud.compute.v1.NamedPort getNamedPorts(int index) { * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2332,7 +2332,7 @@ private void ensureNamedPortsIsMutable() { * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2348,7 +2348,7 @@ public java.util.List getNamedPortsList() * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2364,7 +2364,7 @@ public int getNamedPortsCount() { * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2380,7 +2380,7 @@ public com.google.cloud.compute.v1.NamedPort getNamedPorts(int index) { * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2402,7 +2402,7 @@ public Builder setNamedPorts(int index, com.google.cloud.compute.v1.NamedPort va * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2422,7 +2422,7 @@ public Builder setNamedPorts( * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2444,7 +2444,7 @@ public Builder addNamedPorts(com.google.cloud.compute.v1.NamedPort value) { * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2466,7 +2466,7 @@ public Builder addNamedPorts(int index, com.google.cloud.compute.v1.NamedPort va * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2485,7 +2485,7 @@ public Builder addNamedPorts(com.google.cloud.compute.v1.NamedPort.Builder build * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2505,7 +2505,7 @@ public Builder addNamedPorts( * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2525,7 +2525,7 @@ public Builder addAllNamedPorts( * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2544,7 +2544,7 @@ public Builder clearNamedPorts() { * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2563,7 +2563,7 @@ public Builder removeNamedPorts(int index) { * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2575,7 +2575,7 @@ public com.google.cloud.compute.v1.NamedPort.Builder getNamedPortsBuilder(int in * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2591,7 +2591,7 @@ public com.google.cloud.compute.v1.NamedPortOrBuilder getNamedPortsOrBuilder(int * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2608,7 +2608,7 @@ public com.google.cloud.compute.v1.NamedPortOrBuilder getNamedPortsOrBuilder(int * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2621,7 +2621,7 @@ public com.google.cloud.compute.v1.NamedPort.Builder addNamedPortsBuilder() { * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -2634,7 +2634,7 @@ public com.google.cloud.compute.v1.NamedPort.Builder addNamedPortsBuilder(int in * * *
-     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+     *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
      * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java index 4b5fd87d7..c047bf69d 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicy.java @@ -176,6 +176,674 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.Builder.class); } + /** + * + * + *
+   * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * NONE
+   * PROACTIVE
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.InstanceRedistributionType} + */ + public enum InstanceRedistributionType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_INSTANCE_REDISTRIBUTION_TYPE = 0; + */ + UNDEFINED_INSTANCE_REDISTRIBUTION_TYPE(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_INSTANCE_REDISTRIBUTION_TYPE = 0; + */ + public static final int UNDEFINED_INSTANCE_REDISTRIBUTION_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 InstanceRedistributionType 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 InstanceRedistributionType forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_INSTANCE_REDISTRIBUTION_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 InstanceRedistributionType findValueByNumber(int number) { + return InstanceRedistributionType.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.InstanceGroupManagerUpdatePolicy.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final InstanceRedistributionType[] VALUES = values(); + + public static InstanceRedistributionType 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 InstanceRedistributionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.InstanceRedistributionType) + } + + /** + * + * + *
+   * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * NONE
+   * REFRESH
+   * REPLACE
+   * RESTART
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.MinimalAction} + */ + public enum MinimalAction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MINIMAL_ACTION = 0; + */ + UNDEFINED_MINIMAL_ACTION(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MINIMAL_ACTION = 0; + */ + public static final int UNDEFINED_MINIMAL_ACTION_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 MinimalAction 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 MinimalAction forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MINIMAL_ACTION; + 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 MinimalAction findValueByNumber(int number) { + return MinimalAction.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.InstanceGroupManagerUpdatePolicy.getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final MinimalAction[] VALUES = values(); + + public static MinimalAction 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 MinimalAction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.MinimalAction) + } + + /** + * + * + *
+   * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * NONE
+   * REFRESH
+   * REPLACE
+   * RESTART
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction} + */ + public enum MostDisruptiveAllowedAction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + */ + UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + */ + public static final int UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION_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 MostDisruptiveAllowedAction 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 MostDisruptiveAllowedAction forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION; + 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 MostDisruptiveAllowedAction findValueByNumber(int number) { + return MostDisruptiveAllowedAction.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.InstanceGroupManagerUpdatePolicy.getDescriptor() + .getEnumTypes() + .get(2); + } + + private static final MostDisruptiveAllowedAction[] VALUES = values(); + + public static MostDisruptiveAllowedAction 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 MostDisruptiveAllowedAction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.MostDisruptiveAllowedAction) + } + + /** + * + * + *
+   * What action should be used to replace instances. See minimal_action.REPLACE
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.ReplacementMethod} + */ + public enum ReplacementMethod implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_REPLACEMENT_METHOD = 0; + */ + UNDEFINED_REPLACEMENT_METHOD(0), + /** + * + * + *
+     * Instances will be recreated (with the same name)
+     * 
+ * + * RECREATE = 522644719; + */ + RECREATE(522644719), + /** + * + * + *
+     * Default option: instances will be deleted and created (with a new name)
+     * 
+ * + * SUBSTITUTE = 280924314; + */ + SUBSTITUTE(280924314), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_REPLACEMENT_METHOD = 0; + */ + public static final int UNDEFINED_REPLACEMENT_METHOD_VALUE = 0; + /** + * + * + *
+     * Instances will be recreated (with the same name)
+     * 
+ * + * RECREATE = 522644719; + */ + public static final int RECREATE_VALUE = 522644719; + /** + * + * + *
+     * Default option: instances will be deleted and created (with a new name)
+     * 
+ * + * SUBSTITUTE = 280924314; + */ + public static final int SUBSTITUTE_VALUE = 280924314; + + 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 ReplacementMethod 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 ReplacementMethod forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_REPLACEMENT_METHOD; + case 522644719: + return RECREATE; + case 280924314: + return SUBSTITUTE; + 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 ReplacementMethod findValueByNumber(int number) { + return ReplacementMethod.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.InstanceGroupManagerUpdatePolicy.getDescriptor() + .getEnumTypes() + .get(3); + } + + private static final ReplacementMethod[] VALUES = values(); + + public static ReplacementMethod 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 ReplacementMethod(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.ReplacementMethod) + } + + /** + * + * + *
+   * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * PROACTIVE
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.InstanceGroupManagerUpdatePolicy.Type} + */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_TYPE = 0; + */ + UNDEFINED_TYPE(0), + /** + * + * + *
+     * No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
+     * 
+ * + * OPPORTUNISTIC = 429530089; + */ + OPPORTUNISTIC(429530089), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_TYPE = 0; + */ + public static final int UNDEFINED_TYPE_VALUE = 0; + /** + * + * + *
+     * No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
+     * 
+ * + * OPPORTUNISTIC = 429530089; + */ + public static final int OPPORTUNISTIC_VALUE = 429530089; + + 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 UNDEFINED_TYPE; + case 429530089: + return OPPORTUNISTIC; + 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.compute.v1.InstanceGroupManagerUpdatePolicy.getDescriptor() + .getEnumTypes() + .get(4); + } + + 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.compute.v1.InstanceGroupManagerUpdatePolicy.Type) + } + private int bitField0_; public static final int INSTANCE_REDISTRIBUTION_TYPE_FIELD_NUMBER = 292630424; private volatile java.lang.Object instanceRedistributionType_; @@ -184,6 +852,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+   * Check the InstanceRedistributionType enum for the list of possible values.
    * 
* * optional string instance_redistribution_type = 292630424; @@ -199,6 +868,7 @@ public boolean hasInstanceRedistributionType() { * *
    * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+   * Check the InstanceRedistributionType enum for the list of possible values.
    * 
* * optional string instance_redistribution_type = 292630424; @@ -222,6 +892,7 @@ public java.lang.String getInstanceRedistributionType() { * *
    * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+   * Check the InstanceRedistributionType enum for the list of possible values.
    * 
* * optional string instance_redistribution_type = 292630424; @@ -348,6 +1019,7 @@ public com.google.cloud.compute.v1.FixedOrPercentOrBuilder getMaxUnavailableOrBu * *
    * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -363,6 +1035,7 @@ public boolean hasMinimalAction() { * *
    * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -386,6 +1059,7 @@ public java.lang.String getMinimalAction() { * *
    * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -412,6 +1086,7 @@ public com.google.protobuf.ByteString getMinimalActionBytes() { * *
    * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -427,6 +1102,7 @@ public boolean hasMostDisruptiveAllowedAction() { * *
    * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -450,6 +1126,7 @@ public java.lang.String getMostDisruptiveAllowedAction() { * *
    * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -476,6 +1153,7 @@ public com.google.protobuf.ByteString getMostDisruptiveAllowedActionBytes() { * *
    * What action should be used to replace instances. See minimal_action.REPLACE
+   * Check the ReplacementMethod enum for the list of possible values.
    * 
* * optional string replacement_method = 505931694; @@ -491,6 +1169,7 @@ public boolean hasReplacementMethod() { * *
    * What action should be used to replace instances. See minimal_action.REPLACE
+   * Check the ReplacementMethod enum for the list of possible values.
    * 
* * optional string replacement_method = 505931694; @@ -514,6 +1193,7 @@ public java.lang.String getReplacementMethod() { * *
    * What action should be used to replace instances. See minimal_action.REPLACE
+   * Check the ReplacementMethod enum for the list of possible values.
    * 
* * optional string replacement_method = 505931694; @@ -540,6 +1220,7 @@ public com.google.protobuf.ByteString getReplacementMethodBytes() { * *
    * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+   * Check the Type enum for the list of possible values.
    * 
* * optional string type = 3575610; @@ -555,6 +1236,7 @@ public boolean hasType() { * *
    * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+   * Check the Type enum for the list of possible values.
    * 
* * optional string type = 3575610; @@ -578,6 +1260,7 @@ public java.lang.String getType() { * *
    * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+   * Check the Type enum for the list of possible values.
    * 
* * optional string type = 3575610; @@ -1112,6 +1795,7 @@ public Builder mergeFrom( * *
      * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+     * Check the InstanceRedistributionType enum for the list of possible values.
      * 
* * optional string instance_redistribution_type = 292630424; @@ -1126,6 +1810,7 @@ public boolean hasInstanceRedistributionType() { * *
      * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+     * Check the InstanceRedistributionType enum for the list of possible values.
      * 
* * optional string instance_redistribution_type = 292630424; @@ -1148,6 +1833,7 @@ public java.lang.String getInstanceRedistributionType() { * *
      * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+     * Check the InstanceRedistributionType enum for the list of possible values.
      * 
* * optional string instance_redistribution_type = 292630424; @@ -1170,6 +1856,7 @@ public com.google.protobuf.ByteString getInstanceRedistributionTypeBytes() { * *
      * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+     * Check the InstanceRedistributionType enum for the list of possible values.
      * 
* * optional string instance_redistribution_type = 292630424; @@ -1191,6 +1878,7 @@ public Builder setInstanceRedistributionType(java.lang.String value) { * *
      * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+     * Check the InstanceRedistributionType enum for the list of possible values.
      * 
* * optional string instance_redistribution_type = 292630424; @@ -1208,6 +1896,7 @@ public Builder clearInstanceRedistributionType() { * *
      * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+     * Check the InstanceRedistributionType enum for the list of possible values.
      * 
* * optional string instance_redistribution_type = 292630424; @@ -1605,6 +2294,7 @@ public com.google.cloud.compute.v1.FixedOrPercentOrBuilder getMaxUnavailableOrBu * *
      * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1619,6 +2309,7 @@ public boolean hasMinimalAction() { * *
      * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1641,6 +2332,7 @@ public java.lang.String getMinimalAction() { * *
      * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1663,6 +2355,7 @@ public com.google.protobuf.ByteString getMinimalActionBytes() { * *
      * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1684,6 +2377,7 @@ public Builder setMinimalAction(java.lang.String value) { * *
      * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1701,6 +2395,7 @@ public Builder clearMinimalAction() { * *
      * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1725,6 +2420,7 @@ public Builder setMinimalActionBytes(com.google.protobuf.ByteString value) { * *
      * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1739,6 +2435,7 @@ public boolean hasMostDisruptiveAllowedAction() { * *
      * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1761,6 +2458,7 @@ public java.lang.String getMostDisruptiveAllowedAction() { * *
      * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1783,6 +2481,7 @@ public com.google.protobuf.ByteString getMostDisruptiveAllowedActionBytes() { * *
      * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1804,6 +2503,7 @@ public Builder setMostDisruptiveAllowedAction(java.lang.String value) { * *
      * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1821,6 +2521,7 @@ public Builder clearMostDisruptiveAllowedAction() { * *
      * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1845,6 +2546,7 @@ public Builder setMostDisruptiveAllowedActionBytes(com.google.protobuf.ByteStrin * *
      * What action should be used to replace instances. See minimal_action.REPLACE
+     * Check the ReplacementMethod enum for the list of possible values.
      * 
* * optional string replacement_method = 505931694; @@ -1859,6 +2561,7 @@ public boolean hasReplacementMethod() { * *
      * What action should be used to replace instances. See minimal_action.REPLACE
+     * Check the ReplacementMethod enum for the list of possible values.
      * 
* * optional string replacement_method = 505931694; @@ -1881,6 +2584,7 @@ public java.lang.String getReplacementMethod() { * *
      * What action should be used to replace instances. See minimal_action.REPLACE
+     * Check the ReplacementMethod enum for the list of possible values.
      * 
* * optional string replacement_method = 505931694; @@ -1903,6 +2607,7 @@ public com.google.protobuf.ByteString getReplacementMethodBytes() { * *
      * What action should be used to replace instances. See minimal_action.REPLACE
+     * Check the ReplacementMethod enum for the list of possible values.
      * 
* * optional string replacement_method = 505931694; @@ -1924,6 +2629,7 @@ public Builder setReplacementMethod(java.lang.String value) { * *
      * What action should be used to replace instances. See minimal_action.REPLACE
+     * Check the ReplacementMethod enum for the list of possible values.
      * 
* * optional string replacement_method = 505931694; @@ -1941,6 +2647,7 @@ public Builder clearReplacementMethod() { * *
      * What action should be used to replace instances. See minimal_action.REPLACE
+     * Check the ReplacementMethod enum for the list of possible values.
      * 
* * optional string replacement_method = 505931694; @@ -1965,6 +2672,7 @@ public Builder setReplacementMethodBytes(com.google.protobuf.ByteString value) { * *
      * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+     * Check the Type enum for the list of possible values.
      * 
* * optional string type = 3575610; @@ -1979,6 +2687,7 @@ public boolean hasType() { * *
      * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+     * Check the Type enum for the list of possible values.
      * 
* * optional string type = 3575610; @@ -2001,6 +2710,7 @@ public java.lang.String getType() { * *
      * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+     * Check the Type enum for the list of possible values.
      * 
* * optional string type = 3575610; @@ -2023,6 +2733,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * *
      * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+     * Check the Type enum for the list of possible values.
      * 
* * optional string type = 3575610; @@ -2044,6 +2755,7 @@ public Builder setType(java.lang.String value) { * *
      * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+     * Check the Type enum for the list of possible values.
      * 
* * optional string type = 3575610; @@ -2061,6 +2773,7 @@ public Builder clearType() { * *
      * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+     * Check the Type enum for the list of possible values.
      * 
* * optional string type = 3575610; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicyOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicyOrBuilder.java index 361b4d3c9..5bc9a42dc 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicyOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerUpdatePolicyOrBuilder.java @@ -28,6 +28,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+   * Check the InstanceRedistributionType enum for the list of possible values.
    * 
* * optional string instance_redistribution_type = 292630424; @@ -40,6 +41,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+   * Check the InstanceRedistributionType enum for the list of possible values.
    * 
* * optional string instance_redistribution_type = 292630424; @@ -52,6 +54,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
+   * Check the InstanceRedistributionType enum for the list of possible values.
    * 
* * optional string instance_redistribution_type = 292630424; @@ -135,6 +138,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -147,6 +151,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -159,6 +164,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -172,6 +178,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -184,6 +191,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -196,6 +204,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -209,6 +218,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * What action should be used to replace instances. See minimal_action.REPLACE
+   * Check the ReplacementMethod enum for the list of possible values.
    * 
* * optional string replacement_method = 505931694; @@ -221,6 +231,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * What action should be used to replace instances. See minimal_action.REPLACE
+   * Check the ReplacementMethod enum for the list of possible values.
    * 
* * optional string replacement_method = 505931694; @@ -233,6 +244,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * What action should be used to replace instances. See minimal_action.REPLACE
+   * Check the ReplacementMethod enum for the list of possible values.
    * 
* * optional string replacement_method = 505931694; @@ -246,6 +258,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+   * Check the Type enum for the list of possible values.
    * 
* * optional string type = 3575610; @@ -258,6 +271,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+   * Check the Type enum for the list of possible values.
    * 
* * optional string type = 3575610; @@ -270,6 +284,7 @@ public interface InstanceGroupManagerUpdatePolicyOrBuilder * *
    * The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
+   * Check the Type enum for the list of possible values.
    * 
* * optional string type = 3575610; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersApplyUpdatesRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersApplyUpdatesRequest.java index fd85dd9ce..0e6a5e667 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersApplyUpdatesRequest.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersApplyUpdatesRequest.java @@ -142,6 +142,251 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest.Builder.class); } + /** + * + * + *
+   * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * NONE
+   * REFRESH
+   * REPLACE
+   * RESTART
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest.MinimalAction} + */ + public enum MinimalAction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MINIMAL_ACTION = 0; + */ + UNDEFINED_MINIMAL_ACTION(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MINIMAL_ACTION = 0; + */ + public static final int UNDEFINED_MINIMAL_ACTION_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 MinimalAction 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 MinimalAction forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MINIMAL_ACTION; + 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 MinimalAction findValueByNumber(int number) { + return MinimalAction.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.InstanceGroupManagersApplyUpdatesRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final MinimalAction[] VALUES = values(); + + public static MinimalAction 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 MinimalAction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest.MinimalAction) + } + + /** + * + * + *
+   * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * NONE
+   * REFRESH
+   * REPLACE
+   * RESTART
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction} + */ + public enum MostDisruptiveAllowedAction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + */ + UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + */ + public static final int UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION_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 MostDisruptiveAllowedAction 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 MostDisruptiveAllowedAction forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION; + 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 MostDisruptiveAllowedAction findValueByNumber(int number) { + return MostDisruptiveAllowedAction.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.InstanceGroupManagersApplyUpdatesRequest.getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final MostDisruptiveAllowedAction[] VALUES = values(); + + public static MostDisruptiveAllowedAction 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 MostDisruptiveAllowedAction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.InstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction) + } + private int bitField0_; public static final int ALL_INSTANCES_FIELD_NUMBER = 403676512; private boolean allInstances_; @@ -244,6 +489,7 @@ public com.google.protobuf.ByteString getInstancesBytes(int index) { * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -259,6 +505,7 @@ public boolean hasMinimalAction() { * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -282,6 +529,7 @@ public java.lang.String getMinimalAction() { * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -308,6 +556,7 @@ public com.google.protobuf.ByteString getMinimalActionBytes() { * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -323,6 +572,7 @@ public boolean hasMostDisruptiveAllowedAction() { * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -346,6 +596,7 @@ public java.lang.String getMostDisruptiveAllowedAction() { * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1032,6 +1283,7 @@ public Builder addInstancesBytes(com.google.protobuf.ByteString value) { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1046,6 +1298,7 @@ public boolean hasMinimalAction() { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1068,6 +1321,7 @@ public java.lang.String getMinimalAction() { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1090,6 +1344,7 @@ public com.google.protobuf.ByteString getMinimalActionBytes() { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1111,6 +1366,7 @@ public Builder setMinimalAction(java.lang.String value) { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1128,6 +1384,7 @@ public Builder clearMinimalAction() { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1152,6 +1409,7 @@ public Builder setMinimalActionBytes(com.google.protobuf.ByteString value) { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1166,6 +1424,7 @@ public boolean hasMostDisruptiveAllowedAction() { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1188,6 +1447,7 @@ public java.lang.String getMostDisruptiveAllowedAction() { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1210,6 +1470,7 @@ public com.google.protobuf.ByteString getMostDisruptiveAllowedActionBytes() { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1231,6 +1492,7 @@ public Builder setMostDisruptiveAllowedAction(java.lang.String value) { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1248,6 +1510,7 @@ public Builder clearMostDisruptiveAllowedAction() { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersApplyUpdatesRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersApplyUpdatesRequestOrBuilder.java index 7fde05354..c3828526a 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersApplyUpdatesRequestOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagersApplyUpdatesRequestOrBuilder.java @@ -104,6 +104,7 @@ public interface InstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -116,6 +117,7 @@ public interface InstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -128,6 +130,7 @@ public interface InstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -141,6 +144,7 @@ public interface InstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -153,6 +157,7 @@ public interface InstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -165,6 +170,7 @@ public interface InstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupOrBuilder.java index 69dbf01d0..641c640a3 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceGroupOrBuilder.java @@ -237,7 +237,7 @@ public interface InstanceGroupOrBuilder * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -247,7 +247,7 @@ public interface InstanceGroupOrBuilder * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -257,7 +257,7 @@ public interface InstanceGroupOrBuilder * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -267,7 +267,7 @@ public interface InstanceGroupOrBuilder * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; @@ -278,7 +278,7 @@ public interface InstanceGroupOrBuilder * * *
-   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group.
+   *  Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group.
    * 
* * repeated .google.cloud.compute.v1.NamedPort named_ports = 427598732; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceOrBuilder.java index 165effb19..4925a0a70 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceOrBuilder.java @@ -954,6 +954,41 @@ public interface InstanceOrBuilder com.google.cloud.compute.v1.NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder(); + /** + * + * + *
+   * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + * + * @return Whether the params field is set. + */ + boolean hasParams(); + /** + * + * + *
+   * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + * + * @return The params. + */ + com.google.cloud.compute.v1.InstanceParams getParams(); + /** + * + * + *
+   * Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
+   * 
+ * + * optional .google.cloud.compute.v1.InstanceParams params = 78313862; + */ + com.google.cloud.compute.v1.InstanceParamsOrBuilder getParamsOrBuilder(); + /** * * diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceParams.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceParams.java new file mode 100644 index 000000000..b0b19a55b --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceParams.java @@ -0,0 +1,801 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * Additional instance params.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceParams} + */ +public final class InstanceParams extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.InstanceParams) + InstanceParamsOrBuilder { + private static final long serialVersionUID = 0L; + // Use InstanceParams.newBuilder() to construct. + private InstanceParams(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private InstanceParams() {} + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new InstanceParams(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private InstanceParams( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case -1273597982: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + resourceManagerTags_ = + com.google.protobuf.MapField.newMapField( + ResourceManagerTagsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry + resourceManagerTags__ = + input.readMessage( + ResourceManagerTagsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + resourceManagerTags_ + .getMutableMap() + .put(resourceManagerTags__.getKey(), resourceManagerTags__.getValue()); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceParams_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 377671164: + return internalGetResourceManagerTags(); + 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_InstanceParams_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceParams.class, + com.google.cloud.compute.v1.InstanceParams.Builder.class); + } + + public static final int RESOURCE_MANAGER_TAGS_FIELD_NUMBER = 377671164; + + private static final class ResourceManagerTagsDefaultEntryHolder { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceParams_ResourceManagerTagsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + private com.google.protobuf.MapField resourceManagerTags_; + + private com.google.protobuf.MapField + internalGetResourceManagerTags() { + if (resourceManagerTags_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ResourceManagerTagsDefaultEntryHolder.defaultEntry); + } + return resourceManagerTags_; + } + + public int getResourceManagerTagsCount() { + return internalGetResourceManagerTags().getMap().size(); + } + /** + * + * + *
+   * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+   * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + @java.lang.Override + public boolean containsResourceManagerTags(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetResourceManagerTags().getMap().containsKey(key); + } + /** Use {@link #getResourceManagerTagsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getResourceManagerTags() { + return getResourceManagerTagsMap(); + } + /** + * + * + *
+   * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+   * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + @java.lang.Override + public java.util.Map getResourceManagerTagsMap() { + return internalGetResourceManagerTags().getMap(); + } + /** + * + * + *
+   * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+   * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + @java.lang.Override + public java.lang.String getResourceManagerTagsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetResourceManagerTags().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+   * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + @java.lang.Override + public java.lang.String getResourceManagerTagsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetResourceManagerTags().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 { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, + internalGetResourceManagerTags(), + ResourceManagerTagsDefaultEntryHolder.defaultEntry, + 377671164); + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (java.util.Map.Entry entry : + internalGetResourceManagerTags().getMap().entrySet()) { + com.google.protobuf.MapEntry resourceManagerTags__ = + ResourceManagerTagsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 377671164, resourceManagerTags__); + } + size += unknownFields.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.InstanceParams)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.InstanceParams other = + (com.google.cloud.compute.v1.InstanceParams) obj; + + if (!internalGetResourceManagerTags().equals(other.internalGetResourceManagerTags())) + return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (!internalGetResourceManagerTags().getMap().isEmpty()) { + hash = (37 * hash) + RESOURCE_MANAGER_TAGS_FIELD_NUMBER; + hash = (53 * hash) + internalGetResourceManagerTags().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.InstanceParams parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceParams 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.InstanceParams parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceParams 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.InstanceParams parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.InstanceParams 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.InstanceParams parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceParams 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.InstanceParams parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.InstanceParams 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.InstanceParams 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.InstanceParams 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.InstanceParams 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; + } + /** + * + * + *
+   * Additional instance params.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.InstanceParams} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.InstanceParams) + com.google.cloud.compute.v1.InstanceParamsOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_InstanceParams_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 377671164: + return internalGetResourceManagerTags(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { + switch (number) { + case 377671164: + return internalGetMutableResourceManagerTags(); + 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_InstanceParams_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.InstanceParams.class, + com.google.cloud.compute.v1.InstanceParams.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.InstanceParams.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + internalGetMutableResourceManagerTags().clear(); + 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_InstanceParams_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceParams getDefaultInstanceForType() { + return com.google.cloud.compute.v1.InstanceParams.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceParams build() { + com.google.cloud.compute.v1.InstanceParams result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.InstanceParams buildPartial() { + com.google.cloud.compute.v1.InstanceParams result = + new com.google.cloud.compute.v1.InstanceParams(this); + int from_bitField0_ = bitField0_; + result.resourceManagerTags_ = internalGetResourceManagerTags(); + result.resourceManagerTags_.makeImmutable(); + 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.compute.v1.InstanceParams) { + return mergeFrom((com.google.cloud.compute.v1.InstanceParams) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.InstanceParams other) { + if (other == com.google.cloud.compute.v1.InstanceParams.getDefaultInstance()) return this; + internalGetMutableResourceManagerTags().mergeFrom(other.internalGetResourceManagerTags()); + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.InstanceParams parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.compute.v1.InstanceParams) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private com.google.protobuf.MapField resourceManagerTags_; + + private com.google.protobuf.MapField + internalGetResourceManagerTags() { + if (resourceManagerTags_ == null) { + return com.google.protobuf.MapField.emptyMapField( + ResourceManagerTagsDefaultEntryHolder.defaultEntry); + } + return resourceManagerTags_; + } + + private com.google.protobuf.MapField + internalGetMutableResourceManagerTags() { + onChanged(); + ; + if (resourceManagerTags_ == null) { + resourceManagerTags_ = + com.google.protobuf.MapField.newMapField( + ResourceManagerTagsDefaultEntryHolder.defaultEntry); + } + if (!resourceManagerTags_.isMutable()) { + resourceManagerTags_ = resourceManagerTags_.copy(); + } + return resourceManagerTags_; + } + + public int getResourceManagerTagsCount() { + return internalGetResourceManagerTags().getMap().size(); + } + /** + * + * + *
+     * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+     * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + @java.lang.Override + public boolean containsResourceManagerTags(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetResourceManagerTags().getMap().containsKey(key); + } + /** Use {@link #getResourceManagerTagsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getResourceManagerTags() { + return getResourceManagerTagsMap(); + } + /** + * + * + *
+     * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+     * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + @java.lang.Override + public java.util.Map getResourceManagerTagsMap() { + return internalGetResourceManagerTags().getMap(); + } + /** + * + * + *
+     * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+     * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + @java.lang.Override + public java.lang.String getResourceManagerTagsOrDefault( + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetResourceManagerTags().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+     * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + @java.lang.Override + public java.lang.String getResourceManagerTagsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetResourceManagerTags().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearResourceManagerTags() { + internalGetMutableResourceManagerTags().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+     * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + public Builder removeResourceManagerTags(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableResourceManagerTags().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map getMutableResourceManagerTags() { + return internalGetMutableResourceManagerTags().getMutableMap(); + } + /** + * + * + *
+     * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+     * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + public Builder putResourceManagerTags(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableResourceManagerTags().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+     * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + public Builder putAllResourceManagerTags( + java.util.Map values) { + internalGetMutableResourceManagerTags().getMutableMap().putAll(values); + 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.InstanceParams) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.InstanceParams) + private static final com.google.cloud.compute.v1.InstanceParams DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.InstanceParams(); + } + + public static com.google.cloud.compute.v1.InstanceParams getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public InstanceParams parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new InstanceParams(input, extensionRegistry); + } + }; + + 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.InstanceParams getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceParamsOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceParamsOrBuilder.java new file mode 100644 index 000000000..c03fbb857 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstanceParamsOrBuilder.java @@ -0,0 +1,80 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface InstanceParamsOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstanceParams) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+   * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + int getResourceManagerTagsCount(); + /** + * + * + *
+   * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+   * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + boolean containsResourceManagerTags(java.lang.String key); + /** Use {@link #getResourceManagerTagsMap()} instead. */ + @java.lang.Deprecated + java.util.Map getResourceManagerTags(); + /** + * + * + *
+   * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+   * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + java.util.Map getResourceManagerTagsMap(); + /** + * + * + *
+   * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+   * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + java.lang.String getResourceManagerTagsOrDefault( + java.lang.String key, java.lang.String defaultValue); + /** + * + * + *
+   * Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.
+   * 
+ * + * map<string, string> resource_manager_tags = 377671164; + */ + java.lang.String getResourceManagerTagsOrThrow(java.lang.String key); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java index 721304693..aaf449495 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java @@ -159,7 +159,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * [Output Only] The type of the firewall policy.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
    * 
* * Protobuf enum {@code @@ -178,6 +178,10 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { UNDEFINED_TYPE(0), /** HIERARCHY = 69902869; */ HIERARCHY(69902869), + /** NETWORK = 413984270; */ + NETWORK(413984270), + /** NETWORK_REGIONAL = 190804272; */ + NETWORK_REGIONAL(190804272), /** UNSPECIFIED = 526786327; */ UNSPECIFIED(526786327), UNRECOGNIZED(-1), @@ -195,6 +199,10 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { public static final int UNDEFINED_TYPE_VALUE = 0; /** HIERARCHY = 69902869; */ public static final int HIERARCHY_VALUE = 69902869; + /** NETWORK = 413984270; */ + public static final int NETWORK_VALUE = 413984270; + /** NETWORK_REGIONAL = 190804272; */ + public static final int NETWORK_REGIONAL_VALUE = 190804272; /** UNSPECIFIED = 526786327; */ public static final int UNSPECIFIED_VALUE = 526786327; @@ -226,6 +234,10 @@ public static Type forNumber(int value) { return UNDEFINED_TYPE; case 69902869: return HIERARCHY; + case 413984270: + return NETWORK; + case 190804272: + return NETWORK_REGIONAL; case 526786327: return UNSPECIFIED; default: @@ -552,7 +564,7 @@ public com.google.protobuf.ByteString getShortNameBytes() { * * *
-   * [Output Only] The type of the firewall policy.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -568,7 +580,7 @@ public boolean hasType() { * * *
-   * [Output Only] The type of the firewall policy.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -592,7 +604,7 @@ public java.lang.String getType() { * * *
-   * [Output Only] The type of the firewall policy.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -1840,7 +1852,7 @@ public Builder setShortNameBytes(com.google.protobuf.ByteString value) { * * *
-     * [Output Only] The type of the firewall policy.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1855,7 +1867,7 @@ public boolean hasType() { * * *
-     * [Output Only] The type of the firewall policy.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1878,7 +1890,7 @@ public java.lang.String getType() { * * *
-     * [Output Only] The type of the firewall policy.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1901,7 +1913,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * * *
-     * [Output Only] The type of the firewall policy.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1923,7 +1935,7 @@ public Builder setType(java.lang.String value) { * * *
-     * [Output Only] The type of the firewall policy.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* @@ -1941,7 +1953,7 @@ public Builder clearType() { * * *
-     * [Output Only] The type of the firewall policy.
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
      * Check the Type enum for the list of possible values.
      * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java index 533aa4335..69e1bb997 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java @@ -190,7 +190,7 @@ public interface InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOr * * *
-   * [Output Only] The type of the firewall policy.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -203,7 +203,7 @@ public interface InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOr * * *
-   * [Output Only] The type of the firewall policy.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* @@ -216,7 +216,7 @@ public interface InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOr * * *
-   * [Output Only] The type of the firewall policy.
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
    * Check the Type enum for the list of possible values.
    * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java index 0ffc1fc2d..b16bd874a 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectAttachment.java @@ -1945,7 +1945,7 @@ public com.google.protobuf.ByteString getBandwidthBytes() { * * *
-   * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+   * This field is not available.
    * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -1959,7 +1959,7 @@ public com.google.protobuf.ProtocolStringList getCandidateIpv6SubnetsList() { * * *
-   * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+   * This field is not available.
    * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -1973,7 +1973,7 @@ public int getCandidateIpv6SubnetsCount() { * * *
-   * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+   * This field is not available.
    * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -1988,7 +1988,7 @@ public java.lang.String getCandidateIpv6Subnets(int index) { * * *
-   * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+   * This field is not available.
    * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -2195,7 +2195,7 @@ public com.google.protobuf.ByteString getCloudRouterIpv6AddressBytes() { * * *
-   * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -2210,7 +2210,7 @@ public boolean hasCloudRouterIpv6InterfaceId() { * * *
-   * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -2233,7 +2233,7 @@ public java.lang.String getCloudRouterIpv6InterfaceId() { * * *
-   * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -2451,7 +2451,7 @@ public com.google.protobuf.ByteString getCustomerRouterIpv6AddressBytes() { * * *
-   * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -2466,7 +2466,7 @@ public boolean hasCustomerRouterIpv6InterfaceId() { * * *
-   * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -2489,7 +2489,7 @@ public java.lang.String getCustomerRouterIpv6InterfaceId() { * * *
-   * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -2515,7 +2515,7 @@ public com.google.protobuf.ByteString getCustomerRouterIpv6InterfaceIdBytes() { * * *
-   * [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
+   * [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
    * 
* * optional int32 dataplane_version = 34920075; @@ -2530,7 +2530,7 @@ public boolean hasDataplaneVersion() { * * *
-   * [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
+   * [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
    * 
* * optional int32 dataplane_version = 34920075; @@ -5309,7 +5309,7 @@ private void ensureCandidateIpv6SubnetsIsMutable() { * * *
-     * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+     * This field is not available.
      * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -5323,7 +5323,7 @@ public com.google.protobuf.ProtocolStringList getCandidateIpv6SubnetsList() { * * *
-     * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+     * This field is not available.
      * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -5337,7 +5337,7 @@ public int getCandidateIpv6SubnetsCount() { * * *
-     * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+     * This field is not available.
      * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -5352,7 +5352,7 @@ public java.lang.String getCandidateIpv6Subnets(int index) { * * *
-     * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+     * This field is not available.
      * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -5367,7 +5367,7 @@ public com.google.protobuf.ByteString getCandidateIpv6SubnetsBytes(int index) { * * *
-     * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+     * This field is not available.
      * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -5389,7 +5389,7 @@ public Builder setCandidateIpv6Subnets(int index, java.lang.String value) { * * *
-     * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+     * This field is not available.
      * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -5410,7 +5410,7 @@ public Builder addCandidateIpv6Subnets(java.lang.String value) { * * *
-     * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+     * This field is not available.
      * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -5428,7 +5428,7 @@ public Builder addAllCandidateIpv6Subnets(java.lang.Iterable v * * *
-     * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+     * This field is not available.
      * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -5445,7 +5445,7 @@ public Builder clearCandidateIpv6Subnets() { * * *
-     * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+     * This field is not available.
      * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -5877,7 +5877,7 @@ public Builder setCloudRouterIpv6AddressBytes(com.google.protobuf.ByteString val * * *
-     * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -5891,7 +5891,7 @@ public boolean hasCloudRouterIpv6InterfaceId() { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -5913,7 +5913,7 @@ public java.lang.String getCloudRouterIpv6InterfaceId() { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -5935,7 +5935,7 @@ public com.google.protobuf.ByteString getCloudRouterIpv6InterfaceIdBytes() { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -5956,7 +5956,7 @@ public Builder setCloudRouterIpv6InterfaceId(java.lang.String value) { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -5973,7 +5973,7 @@ public Builder clearCloudRouterIpv6InterfaceId() { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -6357,7 +6357,7 @@ public Builder setCustomerRouterIpv6AddressBytes(com.google.protobuf.ByteString * * *
-     * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -6371,7 +6371,7 @@ public boolean hasCustomerRouterIpv6InterfaceId() { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -6393,7 +6393,7 @@ public java.lang.String getCustomerRouterIpv6InterfaceId() { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -6415,7 +6415,7 @@ public com.google.protobuf.ByteString getCustomerRouterIpv6InterfaceIdBytes() { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -6436,7 +6436,7 @@ public Builder setCustomerRouterIpv6InterfaceId(java.lang.String value) { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -6453,7 +6453,7 @@ public Builder clearCustomerRouterIpv6InterfaceId() { * * *
-     * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+     * This field is not available.
      * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -6477,7 +6477,7 @@ public Builder setCustomerRouterIpv6InterfaceIdBytes(com.google.protobuf.ByteStr * * *
-     * [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
+     * [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
      * 
* * optional int32 dataplane_version = 34920075; @@ -6492,7 +6492,7 @@ public boolean hasDataplaneVersion() { * * *
-     * [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
+     * [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
      * 
* * optional int32 dataplane_version = 34920075; @@ -6507,7 +6507,7 @@ public int getDataplaneVersion() { * * *
-     * [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
+     * [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
      * 
* * optional int32 dataplane_version = 34920075; @@ -6525,7 +6525,7 @@ public Builder setDataplaneVersion(int value) { * * *
-     * [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
+     * [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
      * 
* * optional int32 dataplane_version = 34920075; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentOrBuilder.java index 63d7cd1d2..fb3805c92 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentOrBuilder.java @@ -92,7 +92,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+   * This field is not available.
    * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -104,7 +104,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+   * This field is not available.
    * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -116,7 +116,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+   * This field is not available.
    * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -129,7 +129,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected.
+   * This field is not available.
    * 
* * repeated string candidate_ipv6_subnets = 70682522; @@ -268,7 +268,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -280,7 +280,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -292,7 +292,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string cloud_router_ipv6_interface_id = 521282701; @@ -416,7 +416,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -428,7 +428,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -440,7 +440,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet.
+   * This field is not available.
    * 
* * optional string customer_router_ipv6_interface_id = 380994308; @@ -453,7 +453,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
+   * [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
    * 
* * optional int32 dataplane_version = 34920075; @@ -465,7 +465,7 @@ public interface InterconnectAttachmentOrBuilder * * *
-   * [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
+   * [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1.
    * 
* * optional int32 dataplane_version = 34920075; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListNetworkFirewallPoliciesRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListNetworkFirewallPoliciesRequest.java new file mode 100644 index 000000000..d34a77dd6 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListNetworkFirewallPoliciesRequest.java @@ -0,0 +1,1561 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.List. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest} + */ +public final class ListNetworkFirewallPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest) + ListNetworkFirewallPoliciesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListNetworkFirewallPoliciesRequest.newBuilder() to construct. + private ListNetworkFirewallPoliciesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListNetworkFirewallPoliciesRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListNetworkFirewallPoliciesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListNetworkFirewallPoliciesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 159957578: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + pageToken_ = s; + break; + } + case 437723352: + { + bitField0_ |= 0x00000002; + maxResults_ = input.readUInt32(); + break; + } + case 1284503362: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + orderBy_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -1606001726: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + filter_ = s; + break; + } + case -157380176: + { + bitField0_ |= 0x00000010; + returnPartialSuccess_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest.class, + com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest.Builder.class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + private volatile java.lang.Object filter_; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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_; + /** + * + * + *
+   * 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; + 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; + 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; + 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_; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + 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)) { + 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_); + } + unknownFields.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.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 += unknownFields.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.ListNetworkFirewallPoliciesRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest other = + (com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest) 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 (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest 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.ListNetworkFirewallPoliciesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest 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.ListNetworkFirewallPoliciesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest 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.ListNetworkFirewallPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest 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.ListNetworkFirewallPoliciesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest 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.ListNetworkFirewallPoliciesRequest 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.ListNetworkFirewallPoliciesRequest 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.ListNetworkFirewallPoliciesRequest 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 NetworkFirewallPolicies.List. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest) + com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListNetworkFirewallPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest.class, + com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + filter_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + maxResults_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + orderBy_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + pageToken_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + project_ = ""; + + returnPartialSuccess_ = false; + bitField0_ = (bitField0_ & ~0x00000010); + 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_ListNetworkFirewallPoliciesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest build() { + com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest buildPartial() { + com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest result = + new com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.filter_ = filter_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxResults_ = maxResults_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.orderBy_ = orderBy_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.pageToken_ = pageToken_; + result.project_ = project_; + if (((from_bitField0_ & 0x00000010) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000010; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.ListNetworkFirewallPoliciesRequest) { + return mergeFrom((com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest other) { + if (other + == com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest.getDefaultInstance()) + return this; + if (other.hasFilter()) { + bitField0_ |= 0x00000001; + filter_ = other.filter_; + onChanged(); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + bitField0_ |= 0x00000004; + orderBy_ = other.orderBy_; + onChanged(); + } + if (other.hasPageToken()) { + bitField0_ |= 0x00000008; + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + filter_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + bitField0_ = (bitField0_ & ~0x00000001); + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + filter_ = value; + 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) { + bitField0_ |= 0x00000002; + maxResults_ = value; + 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(); + } + bitField0_ |= 0x00000004; + orderBy_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000004); + orderBy_ = getDefaultInstance().getOrderBy(); + 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); + bitField0_ |= 0x00000004; + orderBy_ = value; + 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(); + } + bitField0_ |= 0x00000008; + pageToken_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000008); + pageToken_ = getDefaultInstance().getPageToken(); + 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); + bitField0_ |= 0x00000008; + pageToken_ = value; + 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; + 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(); + 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; + 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.
+     * 
+ * + * 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.
+     * 
+ * + * 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.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + bitField0_ |= 0x00000010; + returnPartialSuccess_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000010); + returnPartialSuccess_ = false; + 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.ListNetworkFirewallPoliciesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest) + private static final com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest(); + } + + public static com.google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListNetworkFirewallPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListNetworkFirewallPoliciesRequest(input, extensionRegistry); + } + }; + + 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.ListNetworkFirewallPoliciesRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListNetworkFirewallPoliciesRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListNetworkFirewallPoliciesRequestOrBuilder.java new file mode 100644 index 000000000..63a7f3168 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListNetworkFirewallPoliciesRequestOrBuilder.java @@ -0,0 +1,211 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface ListNetworkFirewallPoliciesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ListNetworkFirewallPoliciesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionNetworkFirewallPoliciesRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionNetworkFirewallPoliciesRequest.java new file mode 100644 index 000000000..9bd610508 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionNetworkFirewallPoliciesRequest.java @@ -0,0 +1,1746 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.List. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest} + */ +public final class ListRegionNetworkFirewallPoliciesRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest) + ListRegionNetworkFirewallPoliciesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListRegionNetworkFirewallPoliciesRequest.newBuilder() to construct. + private ListRegionNetworkFirewallPoliciesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListRegionNetworkFirewallPoliciesRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + region_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListRegionNetworkFirewallPoliciesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListRegionNetworkFirewallPoliciesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 159957578: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + pageToken_ = s; + break; + } + case 437723352: + { + bitField0_ |= 0x00000002; + maxResults_ = input.readUInt32(); + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1284503362: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + orderBy_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -1606001726: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + filter_ = s; + break; + } + case -157380176: + { + bitField0_ |= 0x00000010; + returnPartialSuccess_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest.class, + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest.Builder.class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + private volatile java.lang.Object filter_; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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_; + /** + * + * + *
+   * 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; + 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; + 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; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 517198390; + private boolean returnPartialSuccess_; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + 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)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(54715419, maxResults_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + 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_); + } + unknownFields.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.GeneratedMessageV3.computeStringSize(19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + 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 += unknownFields.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.ListRegionNetworkFirewallPoliciesRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest other = + (com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest) 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 (!getRegion().equals(other.getRegion())) return false; + if (hasReturnPartialSuccess() != other.hasReturnPartialSuccess()) return false; + if (hasReturnPartialSuccess()) { + if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasReturnPartialSuccess()) { + hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest 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.ListRegionNetworkFirewallPoliciesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest 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.ListRegionNetworkFirewallPoliciesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest 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.ListRegionNetworkFirewallPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest 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.ListRegionNetworkFirewallPoliciesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest + 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.ListRegionNetworkFirewallPoliciesRequest 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.ListRegionNetworkFirewallPoliciesRequest 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.ListRegionNetworkFirewallPoliciesRequest 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 RegionNetworkFirewallPolicies.List. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest) + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListRegionNetworkFirewallPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest.class, + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + filter_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + maxResults_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + orderBy_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + pageToken_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + project_ = ""; + + region_ = ""; + + returnPartialSuccess_ = false; + bitField0_ = (bitField0_ & ~0x00000010); + 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_ListRegionNetworkFirewallPoliciesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest build() { + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest buildPartial() { + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest result = + new com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.filter_ = filter_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxResults_ = maxResults_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.orderBy_ = orderBy_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.pageToken_ = pageToken_; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000010) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000010; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.ListRegionNetworkFirewallPoliciesRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest other) { + if (other + == com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest + .getDefaultInstance()) return this; + if (other.hasFilter()) { + bitField0_ |= 0x00000001; + filter_ = other.filter_; + onChanged(); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + bitField0_ |= 0x00000004; + orderBy_ = other.orderBy_; + onChanged(); + } + if (other.hasPageToken()) { + bitField0_ |= 0x00000008; + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + filter_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + bitField0_ = (bitField0_ & ~0x00000001); + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + filter_ = value; + 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) { + bitField0_ |= 0x00000002; + maxResults_ = value; + 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(); + } + bitField0_ |= 0x00000004; + orderBy_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000004); + orderBy_ = getDefaultInstance().getOrderBy(); + 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); + bitField0_ |= 0x00000004; + orderBy_ = value; + 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(); + } + bitField0_ |= 0x00000008; + pageToken_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000008); + pageToken_ = getDefaultInstance().getPageToken(); + 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); + bitField0_ |= 0x00000008; + pageToken_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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.
+     * 
+ * + * 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.
+     * 
+ * + * 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.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + bitField0_ |= 0x00000010; + returnPartialSuccess_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000010); + returnPartialSuccess_ = false; + 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.ListRegionNetworkFirewallPoliciesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest) + private static final com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest(); + } + + public static com.google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegionNetworkFirewallPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegionNetworkFirewallPoliciesRequest(input, extensionRegistry); + } + }; + + 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.ListRegionNetworkFirewallPoliciesRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionNetworkFirewallPoliciesRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionNetworkFirewallPoliciesRequestOrBuilder.java new file mode 100644 index 000000000..f98c5feb9 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionNetworkFirewallPoliciesRequestOrBuilder.java @@ -0,0 +1,236 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface ListRegionNetworkFirewallPoliciesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ListRegionNetworkFirewallPoliciesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionSecurityPoliciesRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionSecurityPoliciesRequest.java new file mode 100644 index 000000000..e82e3cd8b --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionSecurityPoliciesRequest.java @@ -0,0 +1,1738 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionSecurityPolicies.List. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListRegionSecurityPoliciesRequest} + */ +public final class ListRegionSecurityPoliciesRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.ListRegionSecurityPoliciesRequest) + ListRegionSecurityPoliciesRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ListRegionSecurityPoliciesRequest.newBuilder() to construct. + private ListRegionSecurityPoliciesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private ListRegionSecurityPoliciesRequest() { + filter_ = ""; + orderBy_ = ""; + pageToken_ = ""; + project_ = ""; + region_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new ListRegionSecurityPoliciesRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private ListRegionSecurityPoliciesRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 159957578: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + pageToken_ = s; + break; + } + case 437723352: + { + bitField0_ |= 0x00000002; + maxResults_ = input.readUInt32(); + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1284503362: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + orderBy_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -1606001726: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + filter_ = s; + break; + } + case -157380176: + { + bitField0_ |= 0x00000010; + returnPartialSuccess_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest.class, + com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest.Builder.class); + } + + private int bitField0_; + public static final int FILTER_FIELD_NUMBER = 336120696; + private volatile java.lang.Object filter_; + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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_; + /** + * + * + *
+   * 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; + 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; + 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; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RETURN_PARTIAL_SUCCESS_FIELD_NUMBER = 517198390; + private boolean returnPartialSuccess_; + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + @java.lang.Override + public boolean getReturnPartialSuccess() { + return returnPartialSuccess_; + } + + 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)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + output.writeUInt32(54715419, maxResults_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + 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_); + } + unknownFields.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.GeneratedMessageV3.computeStringSize(19994697, pageToken_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeUInt32Size(54715419, maxResults_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + 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 += unknownFields.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.ListRegionSecurityPoliciesRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest other = + (com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest) 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 (!getRegion().equals(other.getRegion())) return false; + if (hasReturnPartialSuccess() != other.hasReturnPartialSuccess()) return false; + if (hasReturnPartialSuccess()) { + if (getReturnPartialSuccess() != other.getReturnPartialSuccess()) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasReturnPartialSuccess()) { + hash = (37 * hash) + RETURN_PARTIAL_SUCCESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getReturnPartialSuccess()); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest 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.ListRegionSecurityPoliciesRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest 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.ListRegionSecurityPoliciesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest 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.ListRegionSecurityPoliciesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest 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.ListRegionSecurityPoliciesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest 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.ListRegionSecurityPoliciesRequest 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.ListRegionSecurityPoliciesRequest 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.ListRegionSecurityPoliciesRequest 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 RegionSecurityPolicies.List. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.ListRegionSecurityPoliciesRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.ListRegionSecurityPoliciesRequest) + com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_ListRegionSecurityPoliciesRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest.class, + com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + filter_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + maxResults_ = 0; + bitField0_ = (bitField0_ & ~0x00000002); + orderBy_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + pageToken_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + project_ = ""; + + region_ = ""; + + returnPartialSuccess_ = false; + bitField0_ = (bitField0_ & ~0x00000010); + 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_ListRegionSecurityPoliciesRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest build() { + com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest buildPartial() { + com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest result = + new com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.filter_ = filter_; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.maxResults_ = maxResults_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.orderBy_ = orderBy_; + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.pageToken_ = pageToken_; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000010) != 0)) { + result.returnPartialSuccess_ = returnPartialSuccess_; + to_bitField0_ |= 0x00000010; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.ListRegionSecurityPoliciesRequest) { + return mergeFrom((com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest other) { + if (other + == com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest.getDefaultInstance()) + return this; + if (other.hasFilter()) { + bitField0_ |= 0x00000001; + filter_ = other.filter_; + onChanged(); + } + if (other.hasMaxResults()) { + setMaxResults(other.getMaxResults()); + } + if (other.hasOrderBy()) { + bitField0_ |= 0x00000004; + orderBy_ = other.orderBy_; + onChanged(); + } + if (other.hasPageToken()) { + bitField0_ |= 0x00000008; + pageToken_ = other.pageToken_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasReturnPartialSuccess()) { + setReturnPartialSuccess(other.getReturnPartialSuccess()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object filter_ = ""; + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + filter_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * optional string filter = 336120696; + * + * @return This builder for chaining. + */ + public Builder clearFilter() { + bitField0_ = (bitField0_ & ~0x00000001); + filter_ = getDefaultInstance().getFilter(); + onChanged(); + return this; + } + /** + * + * + *
+     * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + filter_ = value; + 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) { + bitField0_ |= 0x00000002; + maxResults_ = value; + 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(); + } + bitField0_ |= 0x00000004; + orderBy_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000004); + orderBy_ = getDefaultInstance().getOrderBy(); + 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); + bitField0_ |= 0x00000004; + orderBy_ = value; + 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(); + } + bitField0_ |= 0x00000008; + pageToken_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000008); + pageToken_ = getDefaultInstance().getPageToken(); + 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); + bitField0_ |= 0x00000008; + pageToken_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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.
+     * 
+ * + * 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.
+     * 
+ * + * 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.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @param value The returnPartialSuccess to set. + * @return This builder for chaining. + */ + public Builder setReturnPartialSuccess(boolean value) { + bitField0_ |= 0x00000010; + returnPartialSuccess_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+     * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return This builder for chaining. + */ + public Builder clearReturnPartialSuccess() { + bitField0_ = (bitField0_ & ~0x00000010); + returnPartialSuccess_ = false; + 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.ListRegionSecurityPoliciesRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.ListRegionSecurityPoliciesRequest) + private static final com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest(); + } + + public static com.google.cloud.compute.v1.ListRegionSecurityPoliciesRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRegionSecurityPoliciesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRegionSecurityPoliciesRequest(input, extensionRegistry); + } + }; + + 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.ListRegionSecurityPoliciesRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionSecurityPoliciesRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionSecurityPoliciesRequestOrBuilder.java new file mode 100644 index 000000000..22da65c4a --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ListRegionSecurityPoliciesRequestOrBuilder.java @@ -0,0 +1,236 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface ListRegionSecurityPoliciesRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.ListRegionSecurityPoliciesRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return Whether the filter field is set. + */ + boolean hasFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * optional string filter = 336120696; + * + * @return The filter. + */ + java.lang.String getFilter(); + /** + * + * + *
+   * A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ```
+   * 
+ * + * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
+   * 
+ * + * 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.
+   * 
+ * + * optional bool return_partial_success = 517198390; + * + * @return The returnPartialSuccess. + */ + boolean getReturnPartialSuccess(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/MachineImage.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/MachineImage.java index 817ff5685..40194328c 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/MachineImage.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/MachineImage.java @@ -559,7 +559,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { * * *
-   * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+   * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
    * 
* * optional bool guest_flush = 385550813; @@ -574,7 +574,7 @@ public boolean hasGuestFlush() { * * *
-   * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+   * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
    * 
* * optional bool guest_flush = 385550813; @@ -2456,7 +2456,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * * *
-     * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+     * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
      * 
* * optional bool guest_flush = 385550813; @@ -2471,7 +2471,7 @@ public boolean hasGuestFlush() { * * *
-     * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+     * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
      * 
* * optional bool guest_flush = 385550813; @@ -2486,7 +2486,7 @@ public boolean getGuestFlush() { * * *
-     * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+     * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
      * 
* * optional bool guest_flush = 385550813; @@ -2504,7 +2504,7 @@ public Builder setGuestFlush(boolean value) { * * *
-     * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+     * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
      * 
* * optional bool guest_flush = 385550813; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/MachineImageOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/MachineImageOrBuilder.java index 7c37422b3..f18399257 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/MachineImageOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/MachineImageOrBuilder.java @@ -101,7 +101,7 @@ public interface MachineImageOrBuilder * * *
-   * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+   * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
    * 
* * optional bool guest_flush = 385550813; @@ -113,7 +113,7 @@ public interface MachineImageOrBuilder * * *
-   * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
+   * [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process.
    * 
* * optional bool guest_flush = 385550813; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java index 70a0d3ce4..2ae9d891a 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstance.java @@ -223,6 +223,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * *
    * [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * STOPPING
+   * SUSPENDING
    * 
* * Protobuf enum {@code google.cloud.compute.v1.ManagedInstance.CurrentAction} @@ -318,6 +321,26 @@ public enum CurrentAction implements com.google.protobuf.ProtocolMessageEnum { * RESTARTING = 320534387; */ RESTARTING(320534387), + /** + * + * + *
+     * The managed instance group is resuming this instance.
+     * 
+ * + * RESUMING = 446856618; + */ + RESUMING(446856618), + /** + * + * + *
+     * The managed instance group is starting this instance.
+     * 
+ * + * STARTING = 488820800; + */ + STARTING(488820800), /** * * @@ -421,6 +444,26 @@ public enum CurrentAction implements com.google.protobuf.ProtocolMessageEnum { * RESTARTING = 320534387; */ public static final int RESTARTING_VALUE = 320534387; + /** + * + * + *
+     * The managed instance group is resuming this instance.
+     * 
+ * + * RESUMING = 446856618; + */ + public static final int RESUMING_VALUE = 446856618; + /** + * + * + *
+     * The managed instance group is starting this instance.
+     * 
+ * + * STARTING = 488820800; + */ + public static final int STARTING_VALUE = 488820800; /** * * @@ -474,6 +517,10 @@ public static CurrentAction forNumber(int value) { return REFRESHING; case 320534387: return RESTARTING; + case 446856618: + return RESUMING; + case 488820800: + return STARTING; case 16982185: return VERIFYING; default: @@ -534,6 +581,9 @@ private CurrentAction(int value) { * *
    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * STOPPING
+   * SUSPENDING
    * 
* * Protobuf enum {@code google.cloud.compute.v1.ManagedInstance.InstanceStatus} @@ -609,15 +659,7 @@ public enum InstanceStatus implements com.google.protobuf.ProtocolMessageEnum { * STOPPED = 444276141; */ STOPPED(444276141), - /** - * - * - *
-     * The instance is currently stopping (either being deleted or killed).
-     * 
- * - * STOPPING = 350791796; - */ + /** STOPPING = 350791796; */ STOPPING(350791796), /** * @@ -629,15 +671,7 @@ public enum InstanceStatus implements com.google.protobuf.ProtocolMessageEnum { * SUSPENDED = 51223995; */ SUSPENDED(51223995), - /** - * - * - *
-     * The instance is suspending.
-     * 
- * - * SUSPENDING = 514206246; - */ + /** SUSPENDING = 514206246; */ SUSPENDING(514206246), /** * @@ -722,15 +756,7 @@ public enum InstanceStatus implements com.google.protobuf.ProtocolMessageEnum { * STOPPED = 444276141; */ public static final int STOPPED_VALUE = 444276141; - /** - * - * - *
-     * The instance is currently stopping (either being deleted or killed).
-     * 
- * - * STOPPING = 350791796; - */ + /** STOPPING = 350791796; */ public static final int STOPPING_VALUE = 350791796; /** * @@ -742,15 +768,7 @@ public enum InstanceStatus implements com.google.protobuf.ProtocolMessageEnum { * SUSPENDED = 51223995; */ public static final int SUSPENDED_VALUE = 51223995; - /** - * - * - *
-     * The instance is suspending.
-     * 
- * - * SUSPENDING = 514206246; - */ + /** SUSPENDING = 514206246; */ public static final int SUSPENDING_VALUE = 514206246; /** * @@ -1116,6 +1134,7 @@ public com.google.cloud.compute.v1.ManagedInstanceInstanceHealth getInstanceHeal * *
    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+   * Check the InstanceStatus enum for the list of possible values.
    * 
* * optional string instance_status = 174577372; @@ -1131,6 +1150,7 @@ public boolean hasInstanceStatus() { * *
    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+   * Check the InstanceStatus enum for the list of possible values.
    * 
* * optional string instance_status = 174577372; @@ -1154,6 +1174,7 @@ public java.lang.String getInstanceStatus() { * *
    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+   * Check the InstanceStatus enum for the list of possible values.
    * 
* * optional string instance_status = 174577372; @@ -2701,6 +2722,7 @@ public Builder removeInstanceHealth(int index) { * *
      * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+     * Check the InstanceStatus enum for the list of possible values.
      * 
* * optional string instance_status = 174577372; @@ -2715,6 +2737,7 @@ public boolean hasInstanceStatus() { * *
      * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+     * Check the InstanceStatus enum for the list of possible values.
      * 
* * optional string instance_status = 174577372; @@ -2737,6 +2760,7 @@ public java.lang.String getInstanceStatus() { * *
      * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+     * Check the InstanceStatus enum for the list of possible values.
      * 
* * optional string instance_status = 174577372; @@ -2759,6 +2783,7 @@ public com.google.protobuf.ByteString getInstanceStatusBytes() { * *
      * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+     * Check the InstanceStatus enum for the list of possible values.
      * 
* * optional string instance_status = 174577372; @@ -2780,6 +2805,7 @@ public Builder setInstanceStatus(java.lang.String value) { * *
      * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+     * Check the InstanceStatus enum for the list of possible values.
      * 
* * optional string instance_status = 174577372; @@ -2797,6 +2823,7 @@ public Builder clearInstanceStatus() { * *
      * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+     * Check the InstanceStatus enum for the list of possible values.
      * 
* * optional string instance_status = 174577372; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceOrBuilder.java index 3664e29fd..8ca5bb0d6 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ManagedInstanceOrBuilder.java @@ -193,6 +193,7 @@ com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder getInstanceHe * *
    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+   * Check the InstanceStatus enum for the list of possible values.
    * 
* * optional string instance_status = 174577372; @@ -205,6 +206,7 @@ com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder getInstanceHe * *
    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+   * Check the InstanceStatus enum for the list of possible values.
    * 
* * optional string instance_status = 174577372; @@ -217,6 +219,7 @@ com.google.cloud.compute.v1.ManagedInstanceInstanceHealthOrBuilder getInstanceHe * *
    * [Output Only] The status of the instance. This field is empty when the instance does not exist.
+   * Check the InstanceStatus enum for the list of possible values.
    * 
* * optional string instance_status = 174577372; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Network.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Network.java index 3506a8907..b49b1315d 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Network.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Network.java @@ -42,10 +42,13 @@ private Network() { creationTimestamp_ = ""; description_ = ""; gatewayIPv4_ = ""; + internalIpv6Range_ = ""; kind_ = ""; name_ = ""; + networkFirewallPolicyEnforcementOrder_ = ""; peerings_ = java.util.Collections.emptyList(); selfLink_ = ""; + selfLinkWithId_ = ""; subnetworks_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @@ -81,30 +84,37 @@ private Network( break; case 26840: { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; id_ = input.readUInt64(); break; } case 867696: { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; mtu_ = input.readInt32(); break; } case 26336418: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; kind_ = s; break; } case 26989658: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; name_ = s; break; } + case 52038274: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + networkFirewallPolicyEnforcementOrder_ = s; + break; + } case 244202930: { java.lang.String s = input.readStringRequireUtf8(); @@ -112,6 +122,13 @@ private Network( creationTimestamp_ = s; break; } + case 356167698: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00004000; + selfLinkWithId_ = s; + break; + } case 473874866: { java.lang.String s = input.readStringRequireUtf8(); @@ -121,9 +138,9 @@ private Network( } case 559065498: { - if (!((mutable_bitField0_ & 0x00000200) != 0)) { + if (!((mutable_bitField0_ & 0x00001000) != 0)) { peerings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000200; + mutable_bitField0_ |= 0x00001000; } peerings_.add( input.readMessage( @@ -133,7 +150,7 @@ private Network( case 1429431018: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; gatewayIPv4_ = s; break; } @@ -143,12 +160,19 @@ private Network( autoCreateSubnetworks_ = input.readBool(); break; } + case -2075312838: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + internalIpv6Range_ = s; + break; + } case -968142294: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00001000) != 0)) { + if (!((mutable_bitField0_ & 0x00010000) != 0)) { subnetworks_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00001000; + mutable_bitField0_ |= 0x00010000; } subnetworks_.add(s); break; @@ -160,17 +184,23 @@ private Network( description_ = s; break; } + case -904905536: + { + bitField0_ |= 0x00000010; + enableUlaInternalIpv6_ = input.readBool(); + break; + } case -645248918: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; selfLink_ = s; break; } case -106518822: { com.google.cloud.compute.v1.NetworkRoutingConfig.Builder subBuilder = null; - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { subBuilder = routingConfig_.toBuilder(); } routingConfig_ = @@ -180,7 +210,7 @@ private Network( subBuilder.mergeFrom(routingConfig_); routingConfig_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00001000; break; } default: @@ -197,10 +227,10 @@ private Network( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000200) != 0)) { + if (((mutable_bitField0_ & 0x00001000) != 0)) { peerings_ = java.util.Collections.unmodifiableList(peerings_); } - if (((mutable_bitField0_ & 0x00001000) != 0)) { + if (((mutable_bitField0_ & 0x00010000) != 0)) { subnetworks_ = subnetworks_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); @@ -223,6 +253,136 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.Network.Builder.class); } + /** + * + * + *
+   * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.Network.NetworkFirewallPolicyEnforcementOrder} + */ + public enum NetworkFirewallPolicyEnforcementOrder + implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER = 0; + */ + UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER(0), + /** AFTER_CLASSIC_FIREWALL = 154582608; */ + AFTER_CLASSIC_FIREWALL(154582608), + /** BEFORE_CLASSIC_FIREWALL = 338458349; */ + BEFORE_CLASSIC_FIREWALL(338458349), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER = 0; + */ + public static final int UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER_VALUE = 0; + /** AFTER_CLASSIC_FIREWALL = 154582608; */ + public static final int AFTER_CLASSIC_FIREWALL_VALUE = 154582608; + /** BEFORE_CLASSIC_FIREWALL = 338458349; */ + public static final int BEFORE_CLASSIC_FIREWALL_VALUE = 338458349; + + 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 NetworkFirewallPolicyEnforcementOrder 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 NetworkFirewallPolicyEnforcementOrder forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER; + case 154582608: + return AFTER_CLASSIC_FIREWALL; + case 338458349: + return BEFORE_CLASSIC_FIREWALL; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap< + NetworkFirewallPolicyEnforcementOrder> + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public NetworkFirewallPolicyEnforcementOrder findValueByNumber(int number) { + return NetworkFirewallPolicyEnforcementOrder.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.Network.getDescriptor().getEnumTypes().get(0); + } + + private static final NetworkFirewallPolicyEnforcementOrder[] VALUES = values(); + + public static NetworkFirewallPolicyEnforcementOrder 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 NetworkFirewallPolicyEnforcementOrder(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Network.NetworkFirewallPolicyEnforcementOrder) + } + private int bitField0_; public static final int I_PV4_RANGE_FIELD_NUMBER = 59234358; private volatile java.lang.Object iPv4Range_; @@ -449,6 +609,39 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } + public static final int ENABLE_ULA_INTERNAL_IPV6_FIELD_NUMBER = 423757720; + private boolean enableUlaInternalIpv6_; + /** + * + * + *
+   * Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
+   * 
+ * + * optional bool enable_ula_internal_ipv6 = 423757720; + * + * @return Whether the enableUlaInternalIpv6 field is set. + */ + @java.lang.Override + public boolean hasEnableUlaInternalIpv6() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+   * Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
+   * 
+ * + * optional bool enable_ula_internal_ipv6 = 423757720; + * + * @return The enableUlaInternalIpv6. + */ + @java.lang.Override + public boolean getEnableUlaInternalIpv6() { + return enableUlaInternalIpv6_; + } + public static final int GATEWAY_I_PV4_FIELD_NUMBER = 178678877; private volatile java.lang.Object gatewayIPv4_; /** @@ -464,7 +657,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { */ @java.lang.Override public boolean hasGatewayIPv4() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -528,7 +721,7 @@ public com.google.protobuf.ByteString getGatewayIPv4Bytes() { */ @java.lang.Override public boolean hasId() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -546,6 +739,70 @@ public long getId() { return id_; } + public static final int INTERNAL_IPV6_RANGE_FIELD_NUMBER = 277456807; + private volatile java.lang.Object internalIpv6Range_; + /** + * + * + *
+   * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
+   * 
+ * + * optional string internal_ipv6_range = 277456807; + * + * @return Whether the internalIpv6Range field is set. + */ + @java.lang.Override + public boolean hasInternalIpv6Range() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
+   * 
+ * + * optional string internal_ipv6_range = 277456807; + * + * @return The internalIpv6Range. + */ + @java.lang.Override + public java.lang.String getInternalIpv6Range() { + java.lang.Object ref = internalIpv6Range_; + 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(); + internalIpv6Range_ = s; + return s; + } + } + /** + * + * + *
+   * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
+   * 
+ * + * optional string internal_ipv6_range = 277456807; + * + * @return The bytes for internalIpv6Range. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInternalIpv6RangeBytes() { + java.lang.Object ref = internalIpv6Range_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + internalIpv6Range_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int KIND_FIELD_NUMBER = 3292052; private volatile java.lang.Object kind_; /** @@ -561,7 +818,7 @@ public long getId() { */ @java.lang.Override public boolean hasKind() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -625,7 +882,7 @@ public com.google.protobuf.ByteString getKindBytes() { */ @java.lang.Override public boolean hasMtu() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -658,7 +915,7 @@ public int getMtu() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -707,6 +964,73 @@ public com.google.protobuf.ByteString getNameBytes() { } } + public static final int NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER_FIELD_NUMBER = 6504784; + private volatile java.lang.Object networkFirewallPolicyEnforcementOrder_; + /** + * + * + *
+   * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+   * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+   * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return Whether the networkFirewallPolicyEnforcementOrder field is set. + */ + @java.lang.Override + public boolean hasNetworkFirewallPolicyEnforcementOrder() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+   * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+   * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+   * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return The networkFirewallPolicyEnforcementOrder. + */ + @java.lang.Override + public java.lang.String getNetworkFirewallPolicyEnforcementOrder() { + java.lang.Object ref = networkFirewallPolicyEnforcementOrder_; + 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(); + networkFirewallPolicyEnforcementOrder_ = s; + return s; + } + } + /** + * + * + *
+   * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+   * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+   * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return The bytes for networkFirewallPolicyEnforcementOrder. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNetworkFirewallPolicyEnforcementOrderBytes() { + java.lang.Object ref = networkFirewallPolicyEnforcementOrder_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + networkFirewallPolicyEnforcementOrder_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int PEERINGS_FIELD_NUMBER = 69883187; private java.util.List peerings_; /** @@ -791,7 +1115,7 @@ public com.google.cloud.compute.v1.NetworkPeeringOrBuilder getPeeringsOrBuilder( */ @java.lang.Override public boolean hasRoutingConfig() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -841,7 +1165,7 @@ public com.google.cloud.compute.v1.NetworkRoutingConfigOrBuilder getRoutingConfi */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -890,6 +1214,70 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { } } + public static final int SELF_LINK_WITH_ID_FIELD_NUMBER = 44520962; + 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 SUBNETWORKS_FIELD_NUMBER = 415853125; private com.google.protobuf.LazyStringList subnetworks_; /** @@ -965,43 +1353,56 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt64(3355, id_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeInt32(108462, mtu_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } + if (((bitField0_ & 0x00000800) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 6504784, networkFirewallPolicyEnforcementOrder_); + } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); } + if (((bitField0_ & 0x00004000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 44520962, selfLinkWithId_); + } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 59234358, iPv4Range_); } for (int i = 0; i < peerings_.size(); i++) { output.writeMessage(69883187, peerings_.get(i)); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 178678877, gatewayIPv4_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeBool(256156690, autoCreateSubnetworks_); } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 277456807, internalIpv6Range_); + } for (int i = 0; i < subnetworks_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 415853125, subnetworks_.getRaw(i)); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { + output.writeBool(423757720, enableUlaInternalIpv6_); + } + if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(523556059, getRoutingConfig()); } unknownFields.writeTo(output); @@ -1013,35 +1414,47 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(108462, mtu_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } + if (((bitField0_ & 0x00000800) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 6504784, networkFirewallPolicyEnforcementOrder_); + } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); } + if (((bitField0_ & 0x00004000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(44520962, selfLinkWithId_); + } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(59234358, iPv4Range_); } for (int i = 0; i < peerings_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(69883187, peerings_.get(i)); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(178678877, gatewayIPv4_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(256156690, autoCreateSubnetworks_); } + if (((bitField0_ & 0x00000080) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(277456807, internalIpv6Range_); + } { int dataSize = 0; for (int i = 0; i < subnetworks_.size(); i++) { @@ -1053,10 +1466,14 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(423757720, enableUlaInternalIpv6_); + } + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(523556059, getRoutingConfig()); } @@ -1091,6 +1508,10 @@ public boolean equals(final java.lang.Object obj) { if (hasDescription()) { if (!getDescription().equals(other.getDescription())) return false; } + if (hasEnableUlaInternalIpv6() != other.hasEnableUlaInternalIpv6()) return false; + if (hasEnableUlaInternalIpv6()) { + if (getEnableUlaInternalIpv6() != other.getEnableUlaInternalIpv6()) return false; + } if (hasGatewayIPv4() != other.hasGatewayIPv4()) return false; if (hasGatewayIPv4()) { if (!getGatewayIPv4().equals(other.getGatewayIPv4())) return false; @@ -1099,6 +1520,10 @@ public boolean equals(final java.lang.Object obj) { if (hasId()) { if (getId() != other.getId()) return false; } + if (hasInternalIpv6Range() != other.hasInternalIpv6Range()) return false; + if (hasInternalIpv6Range()) { + if (!getInternalIpv6Range().equals(other.getInternalIpv6Range())) return false; + } if (hasKind() != other.hasKind()) return false; if (hasKind()) { if (!getKind().equals(other.getKind())) return false; @@ -1111,6 +1536,12 @@ public boolean equals(final java.lang.Object obj) { if (hasName()) { if (!getName().equals(other.getName())) return false; } + if (hasNetworkFirewallPolicyEnforcementOrder() + != other.hasNetworkFirewallPolicyEnforcementOrder()) return false; + if (hasNetworkFirewallPolicyEnforcementOrder()) { + if (!getNetworkFirewallPolicyEnforcementOrder() + .equals(other.getNetworkFirewallPolicyEnforcementOrder())) return false; + } if (!getPeeringsList().equals(other.getPeeringsList())) return false; if (hasRoutingConfig() != other.hasRoutingConfig()) return false; if (hasRoutingConfig()) { @@ -1120,6 +1551,10 @@ public boolean equals(final java.lang.Object obj) { 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 (!getSubnetworksList().equals(other.getSubnetworksList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1148,6 +1583,10 @@ public int hashCode() { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); } + if (hasEnableUlaInternalIpv6()) { + hash = (37 * hash) + ENABLE_ULA_INTERNAL_IPV6_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableUlaInternalIpv6()); + } if (hasGatewayIPv4()) { hash = (37 * hash) + GATEWAY_I_PV4_FIELD_NUMBER; hash = (53 * hash) + getGatewayIPv4().hashCode(); @@ -1156,6 +1595,10 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); } + if (hasInternalIpv6Range()) { + hash = (37 * hash) + INTERNAL_IPV6_RANGE_FIELD_NUMBER; + hash = (53 * hash) + getInternalIpv6Range().hashCode(); + } if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + getKind().hashCode(); @@ -1168,6 +1611,10 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } + if (hasNetworkFirewallPolicyEnforcementOrder()) { + hash = (37 * hash) + NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER_FIELD_NUMBER; + hash = (53 * hash) + getNetworkFirewallPolicyEnforcementOrder().hashCode(); + } if (getPeeringsCount() > 0) { hash = (37 * hash) + PEERINGS_FIELD_NUMBER; hash = (53 * hash) + getPeeringsList().hashCode(); @@ -1180,6 +1627,10 @@ public int hashCode() { 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 (getSubnetworksCount() > 0) { hash = (37 * hash) + SUBNETWORKS_FIELD_NUMBER; hash = (53 * hash) + getSubnetworksList().hashCode(); @@ -1339,19 +1790,25 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000004); description_ = ""; bitField0_ = (bitField0_ & ~0x00000008); - gatewayIPv4_ = ""; + enableUlaInternalIpv6_ = false; bitField0_ = (bitField0_ & ~0x00000010); - id_ = 0L; + gatewayIPv4_ = ""; bitField0_ = (bitField0_ & ~0x00000020); - kind_ = ""; + id_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); - mtu_ = 0; + internalIpv6Range_ = ""; bitField0_ = (bitField0_ & ~0x00000080); - name_ = ""; + kind_ = ""; bitField0_ = (bitField0_ & ~0x00000100); + mtu_ = 0; + bitField0_ = (bitField0_ & ~0x00000200); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000400); + networkFirewallPolicyEnforcementOrder_ = ""; + bitField0_ = (bitField0_ & ~0x00000800); if (peeringsBuilder_ == null) { peerings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00001000); } else { peeringsBuilder_.clear(); } @@ -1360,11 +1817,13 @@ public Builder clear() { } else { routingConfigBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00002000); selfLink_ = ""; - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00004000); + selfLinkWithId_ = ""; + bitField0_ = (bitField0_ & ~0x00008000); subnetworks_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00010000); return this; } @@ -1410,49 +1869,65 @@ public com.google.cloud.compute.v1.Network buildPartial() { } result.description_ = description_; if (((from_bitField0_ & 0x00000010) != 0)) { + result.enableUlaInternalIpv6_ = enableUlaInternalIpv6_; to_bitField0_ |= 0x00000010; } - result.gatewayIPv4_ = gatewayIPv4_; if (((from_bitField0_ & 0x00000020) != 0)) { - result.id_ = id_; to_bitField0_ |= 0x00000020; } + result.gatewayIPv4_ = gatewayIPv4_; if (((from_bitField0_ & 0x00000040) != 0)) { + result.id_ = id_; to_bitField0_ |= 0x00000040; } - result.kind_ = kind_; if (((from_bitField0_ & 0x00000080) != 0)) { - result.mtu_ = mtu_; to_bitField0_ |= 0x00000080; } + result.internalIpv6Range_ = internalIpv6Range_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } + result.kind_ = kind_; + if (((from_bitField0_ & 0x00000200) != 0)) { + result.mtu_ = mtu_; + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + to_bitField0_ |= 0x00000400; + } result.name_ = name_; + if (((from_bitField0_ & 0x00000800) != 0)) { + to_bitField0_ |= 0x00000800; + } + result.networkFirewallPolicyEnforcementOrder_ = networkFirewallPolicyEnforcementOrder_; if (peeringsBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { peerings_ = java.util.Collections.unmodifiableList(peerings_); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00001000); } result.peerings_ = peerings_; } else { result.peerings_ = peeringsBuilder_.build(); } - if (((from_bitField0_ & 0x00000400) != 0)) { + if (((from_bitField0_ & 0x00002000) != 0)) { if (routingConfigBuilder_ == null) { result.routingConfig_ = routingConfig_; } else { result.routingConfig_ = routingConfigBuilder_.build(); } - to_bitField0_ |= 0x00000200; + to_bitField0_ |= 0x00001000; } - if (((from_bitField0_ & 0x00000800) != 0)) { - to_bitField0_ |= 0x00000400; + if (((from_bitField0_ & 0x00004000) != 0)) { + to_bitField0_ |= 0x00002000; } result.selfLink_ = selfLink_; - if (((bitField0_ & 0x00001000) != 0)) { + if (((from_bitField0_ & 0x00008000) != 0)) { + to_bitField0_ |= 0x00004000; + } + result.selfLinkWithId_ = selfLinkWithId_; + if (((bitField0_ & 0x00010000) != 0)) { subnetworks_ = subnetworks_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00010000); } result.subnetworks_ = subnetworks_; result.bitField0_ = to_bitField0_; @@ -1523,16 +1998,24 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Network other) { description_ = other.description_; onChanged(); } + if (other.hasEnableUlaInternalIpv6()) { + setEnableUlaInternalIpv6(other.getEnableUlaInternalIpv6()); + } if (other.hasGatewayIPv4()) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; gatewayIPv4_ = other.gatewayIPv4_; onChanged(); } if (other.hasId()) { setId(other.getId()); } + if (other.hasInternalIpv6Range()) { + bitField0_ |= 0x00000080; + internalIpv6Range_ = other.internalIpv6Range_; + onChanged(); + } if (other.hasKind()) { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; kind_ = other.kind_; onChanged(); } @@ -1540,15 +2023,20 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Network other) { setMtu(other.getMtu()); } if (other.hasName()) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; name_ = other.name_; onChanged(); } + if (other.hasNetworkFirewallPolicyEnforcementOrder()) { + bitField0_ |= 0x00000800; + networkFirewallPolicyEnforcementOrder_ = other.networkFirewallPolicyEnforcementOrder_; + onChanged(); + } if (peeringsBuilder_ == null) { if (!other.peerings_.isEmpty()) { if (peerings_.isEmpty()) { peerings_ = other.peerings_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00001000); } else { ensurePeeringsIsMutable(); peerings_.addAll(other.peerings_); @@ -1561,7 +2049,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Network other) { peeringsBuilder_.dispose(); peeringsBuilder_ = null; peerings_ = other.peerings_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00001000); peeringsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPeeringsFieldBuilder() @@ -1575,14 +2063,19 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Network other) { mergeRoutingConfig(other.getRoutingConfig()); } if (other.hasSelfLink()) { - bitField0_ |= 0x00000800; + bitField0_ |= 0x00004000; selfLink_ = other.selfLink_; onChanged(); } + if (other.hasSelfLinkWithId()) { + bitField0_ |= 0x00008000; + selfLinkWithId_ = other.selfLinkWithId_; + onChanged(); + } if (!other.subnetworks_.isEmpty()) { if (subnetworks_.isEmpty()) { subnetworks_ = other.subnetworks_; - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00010000); } else { ensureSubnetworksIsMutable(); subnetworks_.addAll(other.subnetworks_); @@ -2047,6 +2540,73 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { return this; } + private boolean enableUlaInternalIpv6_; + /** + * + * + *
+     * Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
+     * 
+ * + * optional bool enable_ula_internal_ipv6 = 423757720; + * + * @return Whether the enableUlaInternalIpv6 field is set. + */ + @java.lang.Override + public boolean hasEnableUlaInternalIpv6() { + return ((bitField0_ & 0x00000010) != 0); + } + /** + * + * + *
+     * Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
+     * 
+ * + * optional bool enable_ula_internal_ipv6 = 423757720; + * + * @return The enableUlaInternalIpv6. + */ + @java.lang.Override + public boolean getEnableUlaInternalIpv6() { + return enableUlaInternalIpv6_; + } + /** + * + * + *
+     * Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
+     * 
+ * + * optional bool enable_ula_internal_ipv6 = 423757720; + * + * @param value The enableUlaInternalIpv6 to set. + * @return This builder for chaining. + */ + public Builder setEnableUlaInternalIpv6(boolean value) { + bitField0_ |= 0x00000010; + enableUlaInternalIpv6_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
+     * 
+ * + * optional bool enable_ula_internal_ipv6 = 423757720; + * + * @return This builder for chaining. + */ + public Builder clearEnableUlaInternalIpv6() { + bitField0_ = (bitField0_ & ~0x00000010); + enableUlaInternalIpv6_ = false; + onChanged(); + return this; + } + private java.lang.Object gatewayIPv4_ = ""; /** * @@ -2060,7 +2620,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * @return Whether the gatewayIPv4 field is set. */ public boolean hasGatewayIPv4() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -2122,7 +2682,7 @@ public Builder setGatewayIPv4(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; gatewayIPv4_ = value; onChanged(); return this; @@ -2139,7 +2699,7 @@ public Builder setGatewayIPv4(java.lang.String value) { * @return This builder for chaining. */ public Builder clearGatewayIPv4() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); gatewayIPv4_ = getDefaultInstance().getGatewayIPv4(); onChanged(); return this; @@ -2161,58 +2721,173 @@ public Builder setGatewayIPv4Bytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; gatewayIPv4_ = value; onChanged(); return this; } - - private long id_; + + 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_ & 0x00000040) != 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) { + bitField0_ |= 0x00000040; + id_ = value; + 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_ & ~0x00000040); + id_ = 0L; + onChanged(); + return this; + } + + private java.lang.Object internalIpv6Range_ = ""; + /** + * + * + *
+     * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
+     * 
+ * + * optional string internal_ipv6_range = 277456807; + * + * @return Whether the internalIpv6Range field is set. + */ + public boolean hasInternalIpv6Range() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
+     * 
+ * + * optional string internal_ipv6_range = 277456807; + * + * @return The internalIpv6Range. + */ + public java.lang.String getInternalIpv6Range() { + java.lang.Object ref = internalIpv6Range_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + internalIpv6Range_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } /** * * *
-     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
      * 
* - * optional uint64 id = 3355; + * optional string internal_ipv6_range = 277456807; * - * @return Whether the id field is set. + * @return The bytes for internalIpv6Range. */ - @java.lang.Override - public boolean hasId() { - return ((bitField0_ & 0x00000020) != 0); + public com.google.protobuf.ByteString getInternalIpv6RangeBytes() { + java.lang.Object ref = internalIpv6Range_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + internalIpv6Range_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } /** * * *
-     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
      * 
* - * optional uint64 id = 3355; + * optional string internal_ipv6_range = 277456807; * - * @return The id. + * @param value The internalIpv6Range to set. + * @return This builder for chaining. */ - @java.lang.Override - public long getId() { - return id_; + public Builder setInternalIpv6Range(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + internalIpv6Range_ = value; + onChanged(); + return this; } /** * * *
-     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
      * 
* - * optional uint64 id = 3355; + * optional string internal_ipv6_range = 277456807; * - * @param value The id to set. * @return This builder for chaining. */ - public Builder setId(long value) { - bitField0_ |= 0x00000020; - id_ = value; + public Builder clearInternalIpv6Range() { + bitField0_ = (bitField0_ & ~0x00000080); + internalIpv6Range_ = getDefaultInstance().getInternalIpv6Range(); onChanged(); return this; } @@ -2220,16 +2895,21 @@ public Builder setId(long value) { * * *
-     * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
+     * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
      * 
* - * optional uint64 id = 3355; + * optional string internal_ipv6_range = 277456807; * + * @param value The bytes for internalIpv6Range to set. * @return This builder for chaining. */ - public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000020); - id_ = 0L; + public Builder setInternalIpv6RangeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000080; + internalIpv6Range_ = value; onChanged(); return this; } @@ -2247,7 +2927,7 @@ public Builder clearId() { * @return Whether the kind field is set. */ public boolean hasKind() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -2309,7 +2989,7 @@ public Builder setKind(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; kind_ = value; onChanged(); return this; @@ -2326,7 +3006,7 @@ public Builder setKind(java.lang.String value) { * @return This builder for chaining. */ public Builder clearKind() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000100); kind_ = getDefaultInstance().getKind(); onChanged(); return this; @@ -2348,7 +3028,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000100; kind_ = value; onChanged(); return this; @@ -2368,7 +3048,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasMtu() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -2398,7 +3078,7 @@ public int getMtu() { * @return This builder for chaining. */ public Builder setMtu(int value) { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000200; mtu_ = value; onChanged(); return this; @@ -2415,7 +3095,7 @@ public Builder setMtu(int value) { * @return This builder for chaining. */ public Builder clearMtu() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000200); mtu_ = 0; onChanged(); return this; @@ -2434,7 +3114,7 @@ public Builder clearMtu() { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -2496,7 +3176,7 @@ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; name_ = value; onChanged(); return this; @@ -2513,7 +3193,7 @@ public Builder setName(java.lang.String value) { * @return This builder for chaining. */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000400); name_ = getDefaultInstance().getName(); onChanged(); return this; @@ -2535,19 +3215,147 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000400; name_ = value; onChanged(); return this; } + private java.lang.Object networkFirewallPolicyEnforcementOrder_ = ""; + /** + * + * + *
+     * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+     * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+     * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return Whether the networkFirewallPolicyEnforcementOrder field is set. + */ + public boolean hasNetworkFirewallPolicyEnforcementOrder() { + return ((bitField0_ & 0x00000800) != 0); + } + /** + * + * + *
+     * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+     * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+     * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return The networkFirewallPolicyEnforcementOrder. + */ + public java.lang.String getNetworkFirewallPolicyEnforcementOrder() { + java.lang.Object ref = networkFirewallPolicyEnforcementOrder_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + networkFirewallPolicyEnforcementOrder_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+     * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+     * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return The bytes for networkFirewallPolicyEnforcementOrder. + */ + public com.google.protobuf.ByteString getNetworkFirewallPolicyEnforcementOrderBytes() { + java.lang.Object ref = networkFirewallPolicyEnforcementOrder_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + networkFirewallPolicyEnforcementOrder_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+     * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+     * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @param value The networkFirewallPolicyEnforcementOrder to set. + * @return This builder for chaining. + */ + public Builder setNetworkFirewallPolicyEnforcementOrder(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000800; + networkFirewallPolicyEnforcementOrder_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+     * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+     * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return This builder for chaining. + */ + public Builder clearNetworkFirewallPolicyEnforcementOrder() { + bitField0_ = (bitField0_ & ~0x00000800); + networkFirewallPolicyEnforcementOrder_ = + getDefaultInstance().getNetworkFirewallPolicyEnforcementOrder(); + onChanged(); + return this; + } + /** + * + * + *
+     * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+     * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+     * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @param value The bytes for networkFirewallPolicyEnforcementOrder to set. + * @return This builder for chaining. + */ + public Builder setNetworkFirewallPolicyEnforcementOrderBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000800; + networkFirewallPolicyEnforcementOrder_ = value; + onChanged(); + return this; + } + private java.util.List peerings_ = java.util.Collections.emptyList(); private void ensurePeeringsIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { + if (!((bitField0_ & 0x00001000) != 0)) { peerings_ = new java.util.ArrayList(peerings_); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00001000; } } @@ -2762,7 +3570,7 @@ public Builder addAllPeerings( public Builder clearPeerings() { if (peeringsBuilder_ == null) { peerings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00001000); onChanged(); } else { peeringsBuilder_.clear(); @@ -2884,7 +3692,7 @@ public com.google.cloud.compute.v1.NetworkPeering.Builder addPeeringsBuilder(int com.google.cloud.compute.v1.NetworkPeering, com.google.cloud.compute.v1.NetworkPeering.Builder, com.google.cloud.compute.v1.NetworkPeeringOrBuilder>( - peerings_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); + peerings_, ((bitField0_ & 0x00001000) != 0), getParentForChildren(), isClean()); peerings_ = null; } return peeringsBuilder_; @@ -2909,7 +3717,7 @@ public com.google.cloud.compute.v1.NetworkPeering.Builder addPeeringsBuilder(int * @return Whether the routingConfig field is set. */ public boolean hasRoutingConfig() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -2952,7 +3760,7 @@ public Builder setRoutingConfig(com.google.cloud.compute.v1.NetworkRoutingConfig } else { routingConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; return this; } /** @@ -2973,7 +3781,7 @@ public Builder setRoutingConfig( } else { routingConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; return this; } /** @@ -2988,7 +3796,7 @@ public Builder setRoutingConfig( */ public Builder mergeRoutingConfig(com.google.cloud.compute.v1.NetworkRoutingConfig value) { if (routingConfigBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) + if (((bitField0_ & 0x00002000) != 0) && routingConfig_ != null && routingConfig_ != com.google.cloud.compute.v1.NetworkRoutingConfig.getDefaultInstance()) { @@ -3003,7 +3811,7 @@ public Builder mergeRoutingConfig(com.google.cloud.compute.v1.NetworkRoutingConf } else { routingConfigBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; return this; } /** @@ -3023,7 +3831,7 @@ public Builder clearRoutingConfig() { } else { routingConfigBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00002000); return this; } /** @@ -3037,7 +3845,7 @@ public Builder clearRoutingConfig() { *
*/ public com.google.cloud.compute.v1.NetworkRoutingConfig.Builder getRoutingConfigBuilder() { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00002000; onChanged(); return getRoutingConfigFieldBuilder().getBuilder(); } @@ -3100,7 +3908,7 @@ public com.google.cloud.compute.v1.NetworkRoutingConfigOrBuilder getRoutingConfi * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -3162,7 +3970,7 @@ public Builder setSelfLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00004000; selfLink_ = value; onChanged(); return this; @@ -3179,7 +3987,7 @@ public Builder setSelfLink(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSelfLink() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00004000); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; @@ -3201,19 +4009,139 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00004000; selfLink_ = value; 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_ & 0x00008000) != 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(); + } + bitField0_ |= 0x00008000; + selfLinkWithId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00008000); + selfLinkWithId_ = getDefaultInstance().getSelfLinkWithId(); + 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); + bitField0_ |= 0x00008000; + selfLinkWithId_ = value; + onChanged(); + return this; + } + private com.google.protobuf.LazyStringList subnetworks_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureSubnetworksIsMutable() { - if (!((bitField0_ & 0x00001000) != 0)) { + if (!((bitField0_ & 0x00010000) != 0)) { subnetworks_ = new com.google.protobuf.LazyStringArrayList(subnetworks_); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00010000; } } /** @@ -3348,7 +4276,7 @@ public Builder addAllSubnetworks(java.lang.Iterable values) { */ public Builder clearSubnetworks() { subnetworks_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityService.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityService.java new file mode 100644 index 000000000..16160a4ef --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityService.java @@ -0,0 +1,2548 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * Represents a Google Cloud Armor network edge security service resource.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.NetworkEdgeSecurityService} + */ +public final class NetworkEdgeSecurityService extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.NetworkEdgeSecurityService) + NetworkEdgeSecurityServiceOrBuilder { + private static final long serialVersionUID = 0L; + // Use NetworkEdgeSecurityService.newBuilder() to construct. + private NetworkEdgeSecurityService(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NetworkEdgeSecurityService() { + creationTimestamp_ = ""; + description_ = ""; + fingerprint_ = ""; + kind_ = ""; + name_ = ""; + region_ = ""; + securityPolicy_ = ""; + selfLink_ = ""; + selfLinkWithId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NetworkEdgeSecurityService(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NetworkEdgeSecurityService( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26840: + { + bitField0_ |= 0x00000008; + id_ = input.readUInt64(); + break; + } + case 26336418: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + kind_ = s; + break; + } + case 26989658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + name_ = s; + break; + } + case 244202930: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + creationTimestamp_ = s; + break; + } + case 356167698: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + selfLinkWithId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + region_ = s; + break; + } + case 1368660106: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + securityPolicy_ = s; + break; + } + case 1877428002: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + fingerprint_ = s; + break; + } + case -911466526: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + description_ = s; + break; + } + case -645248918: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + selfLink_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.NetworkEdgeSecurityService.class, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder.class); + } + + private int bitField0_; + public static final int CREATION_TIMESTAMP_FIELD_NUMBER = 30525366; + 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 DESCRIPTION_FIELD_NUMBER = 422937596; + 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_ & 0x00000002) != 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 FINGERPRINT_FIELD_NUMBER = 234678500; + private volatile java.lang.Object fingerprint_; + /** + * + * + *
+   * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return Whether the fingerprint field is set. + */ + @java.lang.Override + public boolean hasFingerprint() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+   * 
+ * + * 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; + } + } + /** + * + * + *
+   * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+   * 
+ * + * 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 ID_FIELD_NUMBER = 3355; + 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_; + } + + public static final int KIND_FIELD_NUMBER = 3292052; + private volatile java.lang.Object kind_; + /** + * + * + *
+   * [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
+   * 
+ * + * 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#networkEdgeSecurityService for NetworkEdgeSecurityServices
+   * 
+ * + * 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#networkEdgeSecurityService for NetworkEdgeSecurityServices
+   * 
+ * + * 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; + 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_ & 0x00000020) != 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * [Output Only] URL of the region 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 region = 138946292; + * + * @return Whether the region field is set. + */ + @java.lang.Override + public boolean hasRegion() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+   * [Output Only] URL of the region 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 region = 138946292; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] URL of the region 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 region = 138946292; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECURITY_POLICY_FIELD_NUMBER = 171082513; + private volatile java.lang.Object securityPolicy_; + /** + * + * + *
+   * The resource URL for the network edge security service associated with this network edge security service.
+   * 
+ * + * optional string security_policy = 171082513; + * + * @return Whether the securityPolicy field is set. + */ + @java.lang.Override + public boolean hasSecurityPolicy() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * The resource URL for the network edge security service associated with this network edge security service.
+   * 
+ * + * optional string security_policy = 171082513; + * + * @return The securityPolicy. + */ + @java.lang.Override + public java.lang.String getSecurityPolicy() { + java.lang.Object ref = securityPolicy_; + 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(); + securityPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * The resource URL for the network edge security service associated with this network edge security service.
+   * 
+ * + * optional string security_policy = 171082513; + * + * @return The bytes for securityPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecurityPolicyBytes() { + java.lang.Object ref = securityPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + securityPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SELF_LINK_FIELD_NUMBER = 456214797; + 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_ & 0x00000100) != 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; + 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_ & 0x00000200) != 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; + } + } + + 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_ & 0x00000020) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); + } + if (((bitField0_ & 0x00000200) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 44520962, selfLinkWithId_); + } + if (((bitField0_ & 0x00000040) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 171082513, securityPolicy_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 234678500, fingerprint_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); + } + if (((bitField0_ & 0x00000100) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); + } + unknownFields.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_ & 0x00000020) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); + } + if (((bitField0_ & 0x00000200) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(44520962, selfLinkWithId_); + } + if (((bitField0_ & 0x00000040) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (((bitField0_ & 0x00000080) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(171082513, securityPolicy_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(234678500, fingerprint_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); + } + if (((bitField0_ & 0x00000100) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); + } + size += unknownFields.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.NetworkEdgeSecurityService)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.NetworkEdgeSecurityService other = + (com.google.cloud.compute.v1.NetworkEdgeSecurityService) 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 (hasFingerprint() != other.hasFingerprint()) return false; + if (hasFingerprint()) { + if (!getFingerprint().equals(other.getFingerprint())) 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 (hasRegion() != other.hasRegion()) return false; + if (hasRegion()) { + if (!getRegion().equals(other.getRegion())) return false; + } + if (hasSecurityPolicy() != other.hasSecurityPolicy()) return false; + if (hasSecurityPolicy()) { + if (!getSecurityPolicy().equals(other.getSecurityPolicy())) 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 (!unknownFields.equals(other.unknownFields)) 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 (hasFingerprint()) { + hash = (37 * hash) + FINGERPRINT_FIELD_NUMBER; + hash = (53 * hash) + getFingerprint().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 (hasRegion()) { + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + } + if (hasSecurityPolicy()) { + hash = (37 * hash) + SECURITY_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getSecurityPolicy().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(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityService parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityService 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.NetworkEdgeSecurityService parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityService 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.NetworkEdgeSecurityService parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityService 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.NetworkEdgeSecurityService parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityService 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.NetworkEdgeSecurityService parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityService 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.NetworkEdgeSecurityService 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.NetworkEdgeSecurityService 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.NetworkEdgeSecurityService 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 Google Cloud Armor network edge security service resource.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.NetworkEdgeSecurityService} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.NetworkEdgeSecurityService) + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityService_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.NetworkEdgeSecurityService.class, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.NetworkEdgeSecurityService.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + creationTimestamp_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + description_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + fingerprint_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + id_ = 0L; + bitField0_ = (bitField0_ & ~0x00000008); + kind_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000020); + region_ = ""; + bitField0_ = (bitField0_ & ~0x00000040); + securityPolicy_ = ""; + bitField0_ = (bitField0_ & ~0x00000080); + selfLink_ = ""; + bitField0_ = (bitField0_ & ~0x00000100); + selfLinkWithId_ = ""; + bitField0_ = (bitField0_ & ~0x00000200); + 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_NetworkEdgeSecurityService_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityService getDefaultInstanceForType() { + return com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityService build() { + com.google.cloud.compute.v1.NetworkEdgeSecurityService result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityService buildPartial() { + com.google.cloud.compute.v1.NetworkEdgeSecurityService result = + new com.google.cloud.compute.v1.NetworkEdgeSecurityService(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.creationTimestamp_ = creationTimestamp_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.description_ = description_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.fingerprint_ = fingerprint_; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.id_ = id_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.kind_ = kind_; + if (((from_bitField0_ & 0x00000020) != 0)) { + to_bitField0_ |= 0x00000020; + } + result.name_ = name_; + if (((from_bitField0_ & 0x00000040) != 0)) { + to_bitField0_ |= 0x00000040; + } + result.region_ = region_; + if (((from_bitField0_ & 0x00000080) != 0)) { + to_bitField0_ |= 0x00000080; + } + result.securityPolicy_ = securityPolicy_; + if (((from_bitField0_ & 0x00000100) != 0)) { + to_bitField0_ |= 0x00000100; + } + result.selfLink_ = selfLink_; + if (((from_bitField0_ & 0x00000200) != 0)) { + to_bitField0_ |= 0x00000200; + } + result.selfLinkWithId_ = selfLinkWithId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.NetworkEdgeSecurityService) { + return mergeFrom((com.google.cloud.compute.v1.NetworkEdgeSecurityService) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.NetworkEdgeSecurityService other) { + if (other == com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance()) + return this; + if (other.hasCreationTimestamp()) { + bitField0_ |= 0x00000001; + creationTimestamp_ = other.creationTimestamp_; + onChanged(); + } + if (other.hasDescription()) { + bitField0_ |= 0x00000002; + description_ = other.description_; + onChanged(); + } + if (other.hasFingerprint()) { + bitField0_ |= 0x00000004; + fingerprint_ = other.fingerprint_; + onChanged(); + } + if (other.hasId()) { + setId(other.getId()); + } + if (other.hasKind()) { + bitField0_ |= 0x00000010; + kind_ = other.kind_; + onChanged(); + } + if (other.hasName()) { + bitField0_ |= 0x00000020; + name_ = other.name_; + onChanged(); + } + if (other.hasRegion()) { + bitField0_ |= 0x00000040; + region_ = other.region_; + onChanged(); + } + if (other.hasSecurityPolicy()) { + bitField0_ |= 0x00000080; + securityPolicy_ = other.securityPolicy_; + onChanged(); + } + if (other.hasSelfLink()) { + bitField0_ |= 0x00000100; + selfLink_ = other.selfLink_; + onChanged(); + } + if (other.hasSelfLinkWithId()) { + bitField0_ |= 0x00000200; + selfLinkWithId_ = other.selfLinkWithId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.NetworkEdgeSecurityService parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.NetworkEdgeSecurityService) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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(); + } + bitField0_ |= 0x00000001; + creationTimestamp_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Creation timestamp in RFC3339 text format.
+     * 
+ * + * optional string creation_timestamp = 30525366; + * + * @return This builder for chaining. + */ + public Builder clearCreationTimestamp() { + bitField0_ = (bitField0_ & ~0x00000001); + creationTimestamp_ = getDefaultInstance().getCreationTimestamp(); + 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); + bitField0_ |= 0x00000001; + creationTimestamp_ = value; + 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_ & 0x00000002) != 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(); + } + bitField0_ |= 0x00000002; + description_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + description_ = getDefaultInstance().getDescription(); + 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); + bitField0_ |= 0x00000002; + description_ = value; + onChanged(); + return this; + } + + private java.lang.Object fingerprint_ = ""; + /** + * + * + *
+     * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+     * 
+ * + * optional string fingerprint = 234678500; + * + * @return Whether the fingerprint field is set. + */ + public boolean hasFingerprint() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+     * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+     * 
+ * + * 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; + } + } + /** + * + * + *
+     * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000004; + fingerprint_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+     * 
+ * + * optional string fingerprint = 234678500; + * + * @return This builder for chaining. + */ + public Builder clearFingerprint() { + bitField0_ = (bitField0_ & ~0x00000004); + fingerprint_ = getDefaultInstance().getFingerprint(); + onChanged(); + return this; + } + /** + * + * + *
+     * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+     * 
+ * + * 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); + bitField0_ |= 0x00000004; + fingerprint_ = value; + 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) { + bitField0_ |= 0x00000008; + id_ = value; + 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#networkEdgeSecurityService for NetworkEdgeSecurityServices
+     * 
+ * + * 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#networkEdgeSecurityService for NetworkEdgeSecurityServices
+     * 
+ * + * 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#networkEdgeSecurityService for NetworkEdgeSecurityServices
+     * 
+ * + * 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#networkEdgeSecurityService for NetworkEdgeSecurityServices
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000010; + kind_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + bitField0_ = (bitField0_ & ~0x00000010); + kind_ = getDefaultInstance().getKind(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
+     * 
+ * + * 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); + bitField0_ |= 0x00000010; + kind_ = value; + onChanged(); + 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_ & 0x00000020) != 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(); + } + bitField0_ |= 0x00000020; + name_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000020); + name_ = getDefaultInstance().getName(); + 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); + bitField0_ |= 0x00000020; + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * [Output Only] URL of the region 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 region = 138946292; + * + * @return Whether the region field is set. + */ + public boolean hasRegion() { + return ((bitField0_ & 0x00000040) != 0); + } + /** + * + * + *
+     * [Output Only] URL of the region 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 region = 138946292; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the region 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 region = 138946292; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the region 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 region = 138946292; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the region 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 region = 138946292; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + bitField0_ = (bitField0_ & ~0x00000040); + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the region 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 region = 138946292; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000040; + region_ = value; + onChanged(); + return this; + } + + private java.lang.Object securityPolicy_ = ""; + /** + * + * + *
+     * The resource URL for the network edge security service associated with this network edge security service.
+     * 
+ * + * optional string security_policy = 171082513; + * + * @return Whether the securityPolicy field is set. + */ + public boolean hasSecurityPolicy() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * The resource URL for the network edge security service associated with this network edge security service.
+     * 
+ * + * optional string security_policy = 171082513; + * + * @return The securityPolicy. + */ + public java.lang.String getSecurityPolicy() { + java.lang.Object ref = securityPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + securityPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The resource URL for the network edge security service associated with this network edge security service.
+     * 
+ * + * optional string security_policy = 171082513; + * + * @return The bytes for securityPolicy. + */ + public com.google.protobuf.ByteString getSecurityPolicyBytes() { + java.lang.Object ref = securityPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + securityPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The resource URL for the network edge security service associated with this network edge security service.
+     * 
+ * + * optional string security_policy = 171082513; + * + * @param value The securityPolicy to set. + * @return This builder for chaining. + */ + public Builder setSecurityPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + securityPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The resource URL for the network edge security service associated with this network edge security service.
+     * 
+ * + * optional string security_policy = 171082513; + * + * @return This builder for chaining. + */ + public Builder clearSecurityPolicy() { + bitField0_ = (bitField0_ & ~0x00000080); + securityPolicy_ = getDefaultInstance().getSecurityPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * The resource URL for the network edge security service associated with this network edge security service.
+     * 
+ * + * optional string security_policy = 171082513; + * + * @param value The bytes for securityPolicy to set. + * @return This builder for chaining. + */ + public Builder setSecurityPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000080; + securityPolicy_ = value; + 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_ & 0x00000100) != 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(); + } + bitField0_ |= 0x00000100; + selfLink_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for the resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + bitField0_ = (bitField0_ & ~0x00000100); + selfLink_ = getDefaultInstance().getSelfLink(); + 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); + bitField0_ |= 0x00000100; + selfLink_ = value; + 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_ & 0x00000200) != 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(); + } + bitField0_ |= 0x00000200; + selfLinkWithId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000200); + selfLinkWithId_ = getDefaultInstance().getSelfLinkWithId(); + 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); + bitField0_ |= 0x00000200; + selfLinkWithId_ = value; + 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.NetworkEdgeSecurityService) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.NetworkEdgeSecurityService) + private static final com.google.cloud.compute.v1.NetworkEdgeSecurityService DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.NetworkEdgeSecurityService(); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityService getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkEdgeSecurityService parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkEdgeSecurityService(input, extensionRegistry); + } + }; + + 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.NetworkEdgeSecurityService getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServiceAggregatedList.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServiceAggregatedList.java new file mode 100644 index 000000000..b32b227ed --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServiceAggregatedList.java @@ -0,0 +1,2457 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList} + */ +public final class NetworkEdgeSecurityServiceAggregatedList + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList) + NetworkEdgeSecurityServiceAggregatedListOrBuilder { + private static final long serialVersionUID = 0L; + // Use NetworkEdgeSecurityServiceAggregatedList.newBuilder() to construct. + private NetworkEdgeSecurityServiceAggregatedList( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NetworkEdgeSecurityServiceAggregatedList() { + etag_ = ""; + id_ = ""; + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + unreachables_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NetworkEdgeSecurityServiceAggregatedList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NetworkEdgeSecurityServiceAggregatedList( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26842: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + id_ = s; + break; + } + case 24987818: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + etag_ = s; + break; + } + case 26336418: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + kind_ = s; + break; + } + case 405634274: + { + com.google.cloud.compute.v1.Warning.Builder subBuilder = null; + if (((bitField0_ & 0x00000020) != 0)) { + subBuilder = warning_.toBuilder(); + } + warning_ = + input.readMessage( + com.google.cloud.compute.v1.Warning.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(warning_); + warning_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000020; + break; + } + case 638380202: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + nextPageToken_ = s; + break; + } + case 804208130: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + items_ = + com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry< + java.lang.String, + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + items__ = + input.readMessage( + ItemsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + items_.getMutableMap().put(items__.getKey(), items__.getValue()); + break; + } + case 1946976506: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + unreachables_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000040; + } + unreachables_.add(s); + break; + } + case -645248918: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + selfLink_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000040) != 0)) { + unreachables_ = unreachables_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(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_NetworkEdgeSecurityServiceAggregatedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList.class, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList.Builder.class); + } + + private int bitField0_; + public static final int ETAG_FIELD_NUMBER = 3123477; + 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; + 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.NetworkEdgeSecurityServicesScopedList> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_ItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList + .getDefaultInstance()); + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + items_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + internalGetItems() { + if (items_ == null) { + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + } + return items_; + } + + public int getItemsCount() { + return internalGetItems().getMap().size(); + } + /** + * + * + *
+   * A list of NetworkEdgeSecurityServicesScopedList resources.
+   * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetItems().getMap().containsKey(key); + } + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + getItems() { + return getItemsMap(); + } + /** + * + * + *
+   * A list of NetworkEdgeSecurityServicesScopedList resources.
+   * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + @java.lang.Override + public java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + getItemsMap() { + return internalGetItems().getMap(); + } + /** + * + * + *
+   * A list of NetworkEdgeSecurityServicesScopedList resources.
+   * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList getItemsOrDefault( + java.lang.String key, + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + map = internalGetItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * A list of NetworkEdgeSecurityServicesScopedList resources.
+   * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList getItemsOrThrow( + java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + map = internalGetItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int KIND_FIELD_NUMBER = 3292052; + private volatile java.lang.Object kind_; + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+   * 
+ * + * 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#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+   * 
+ * + * 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#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+   * 
+ * + * 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; + 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; + 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; + private com.google.protobuf.LazyStringList unreachables_; + /** + * + * + *
+   * [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_); + } + unknownFields.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< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + entry : internalGetItems().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + 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 += unknownFields.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.NetworkEdgeSecurityServiceAggregatedList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList other = + (com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList) 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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList 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.NetworkEdgeSecurityServiceAggregatedList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList 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.NetworkEdgeSecurityServiceAggregatedList parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList 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.NetworkEdgeSecurityServiceAggregatedList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList 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.NetworkEdgeSecurityServiceAggregatedList + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList + 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.NetworkEdgeSecurityServiceAggregatedList 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.NetworkEdgeSecurityServiceAggregatedList 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.NetworkEdgeSecurityServiceAggregatedList 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.NetworkEdgeSecurityServiceAggregatedList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList) + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServiceAggregatedList_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 100526016: + return internalGetItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(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_NetworkEdgeSecurityServiceAggregatedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList.class, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList.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(); + etag_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableItems().clear(); + kind_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + nextPageToken_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + selfLink_ = ""; + bitField0_ = (bitField0_ & ~0x00000020); + unreachables_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + if (warningBuilder_ == null) { + warning_ = null; + } else { + warningBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + 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_NetworkEdgeSecurityServiceAggregatedList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList build() { + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList buildPartial() { + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList result = + new com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.etag_ = etag_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.id_ = id_; + result.items_ = internalGetItems(); + result.items_.makeImmutable(); + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.kind_ = kind_; + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.nextPageToken_ = nextPageToken_; + if (((from_bitField0_ & 0x00000020) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.selfLink_ = selfLink_; + if (((bitField0_ & 0x00000040) != 0)) { + unreachables_ = unreachables_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.unreachables_ = unreachables_; + if (((from_bitField0_ & 0x00000080) != 0)) { + if (warningBuilder_ == null) { + result.warning_ = warning_; + } else { + result.warning_ = warningBuilder_.build(); + } + to_bitField0_ |= 0x00000020; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.NetworkEdgeSecurityServiceAggregatedList) { + return mergeFrom( + (com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList other) { + if (other + == com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList + .getDefaultInstance()) return this; + if (other.hasEtag()) { + bitField0_ |= 0x00000001; + etag_ = other.etag_; + onChanged(); + } + if (other.hasId()) { + bitField0_ |= 0x00000002; + id_ = other.id_; + onChanged(); + } + internalGetMutableItems().mergeFrom(other.internalGetItems()); + if (other.hasKind()) { + bitField0_ |= 0x00000008; + kind_ = other.kind_; + onChanged(); + } + if (other.hasNextPageToken()) { + bitField0_ |= 0x00000010; + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + if (other.hasSelfLink()) { + bitField0_ |= 0x00000020; + selfLink_ = other.selfLink_; + onChanged(); + } + if (!other.unreachables_.isEmpty()) { + if (unreachables_.isEmpty()) { + unreachables_ = other.unreachables_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureUnreachablesIsMutable(); + unreachables_.addAll(other.unreachables_); + } + onChanged(); + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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(); + } + bitField0_ |= 0x00000001; + etag_ = value; + onChanged(); + return this; + } + /** + * optional string etag = 3123477; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + bitField0_ = (bitField0_ & ~0x00000001); + etag_ = getDefaultInstance().getEtag(); + 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); + bitField0_ |= 0x00000001; + etag_ = value; + 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(); + } + bitField0_ |= 0x00000002; + id_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + id_ = getDefaultInstance().getId(); + 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); + bitField0_ |= 0x00000002; + id_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + items_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + internalGetItems() { + if (items_ == null) { + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + } + return items_; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + internalGetMutableItems() { + onChanged(); + ; + if (items_ == null) { + items_ = com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry); + } + if (!items_.isMutable()) { + items_ = items_.copy(); + } + return items_; + } + + public int getItemsCount() { + return internalGetItems().getMap().size(); + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServicesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + return internalGetItems().getMap().containsKey(key); + } + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + getItems() { + return getItemsMap(); + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServicesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + @java.lang.Override + public java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + getItemsMap() { + return internalGetItems().getMap(); + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServicesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList getItemsOrDefault( + java.lang.String key, + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + map = internalGetItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServicesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList getItemsOrThrow( + java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + map = internalGetItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearItems() { + internalGetMutableItems().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServicesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + public Builder removeItems(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableItems().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + getMutableItems() { + return internalGetMutableItems().getMutableMap(); + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServicesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + public Builder putItems( + java.lang.String key, + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableItems().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServicesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + public Builder putAllItems( + java.util.Map< + java.lang.String, com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> + values) { + internalGetMutableItems().getMutableMap().putAll(values); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+     * 
+ * + * 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#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+     * 
+ * + * 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#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+     * 
+ * + * 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#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000008; + kind_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + bitField0_ = (bitField0_ & ~0x00000008); + kind_ = getDefaultInstance().getKind(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+     * 
+ * + * 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); + bitField0_ |= 0x00000008; + kind_ = value; + 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(); + } + bitField0_ |= 0x00000010; + nextPageToken_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000010); + nextPageToken_ = getDefaultInstance().getNextPageToken(); + 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); + bitField0_ |= 0x00000010; + nextPageToken_ = value; + 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(); + } + bitField0_ |= 0x00000020; + selfLink_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + bitField0_ = (bitField0_ & ~0x00000020); + selfLink_ = getDefaultInstance().getSelfLink(); + 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); + bitField0_ |= 0x00000020; + selfLink_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList unreachables_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureUnreachablesIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + 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() { + return unreachables_.getUnmodifiableView(); + } + /** + * + * + *
+     * [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); + 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); + 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_); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return This builder for chaining. + */ + public Builder clearUnreachables() { + unreachables_ = com.google.protobuf.LazyStringArrayList.EMPTY; + 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); + 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; + onChanged(); + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + 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(); + onChanged(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + 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()) { + warning_ = + com.google.cloud.compute.v1.Warning.newBuilder(warning_) + .mergeFrom(value) + .buildPartial(); + } else { + warning_ = value; + } + onChanged(); + } else { + warningBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + if (warningBuilder_ == null) { + warning_ = null; + onChanged(); + } else { + warningBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + 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.NetworkEdgeSecurityServiceAggregatedList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList) + private static final com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList(); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkEdgeSecurityServiceAggregatedList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkEdgeSecurityServiceAggregatedList(input, extensionRegistry); + } + }; + + 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.NetworkEdgeSecurityServiceAggregatedList + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServiceAggregatedListOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServiceAggregatedListOrBuilder.java new file mode 100644 index 000000000..9272982b9 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServiceAggregatedListOrBuilder.java @@ -0,0 +1,347 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface NetworkEdgeSecurityServiceAggregatedListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NetworkEdgeSecurityServiceAggregatedList) + 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 NetworkEdgeSecurityServicesScopedList resources.
+   * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + int getItemsCount(); + /** + * + * + *
+   * A list of NetworkEdgeSecurityServicesScopedList resources.
+   * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + boolean containsItems(java.lang.String key); + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Deprecated + java.util.Map + getItems(); + /** + * + * + *
+   * A list of NetworkEdgeSecurityServicesScopedList resources.
+   * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + java.util.Map + getItemsMap(); + /** + * + * + *
+   * A list of NetworkEdgeSecurityServicesScopedList resources.
+   * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList getItemsOrDefault( + java.lang.String key, + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList defaultValue); + /** + * + * + *
+   * A list of NetworkEdgeSecurityServicesScopedList resources.
+   * 
+ * + * + * map<string, .google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList> items = 100526016; + * + */ + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList getItemsOrThrow( + java.lang.String key); + + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services.
+   * 
+ * + * 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/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServiceOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServiceOrBuilder.java new file mode 100644 index 000000000..a693ce9f8 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServiceOrBuilder.java @@ -0,0 +1,383 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface NetworkEdgeSecurityServiceOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NetworkEdgeSecurityService) + 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(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return Whether the fingerprint field is set. + */ + boolean hasFingerprint(); + /** + * + * + *
+   * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return The fingerprint. + */ + java.lang.String getFingerprint(); + /** + * + * + *
+   * Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService.
+   * 
+ * + * optional string fingerprint = 234678500; + * + * @return The bytes for fingerprint. + */ + com.google.protobuf.ByteString getFingerprintBytes(); + + /** + * + * + *
+   * [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#networkEdgeSecurityService for NetworkEdgeSecurityServices
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices
+   * 
+ * + * optional string kind = 3292052; + * + * @return The bytes for kind. + */ + com.google.protobuf.ByteString getKindBytes(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * [Output Only] URL of the region 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 region = 138946292; + * + * @return Whether the region field is set. + */ + boolean hasRegion(); + /** + * + * + *
+   * [Output Only] URL of the region 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 region = 138946292; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * [Output Only] URL of the region 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 region = 138946292; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * The resource URL for the network edge security service associated with this network edge security service.
+   * 
+ * + * optional string security_policy = 171082513; + * + * @return Whether the securityPolicy field is set. + */ + boolean hasSecurityPolicy(); + /** + * + * + *
+   * The resource URL for the network edge security service associated with this network edge security service.
+   * 
+ * + * optional string security_policy = 171082513; + * + * @return The securityPolicy. + */ + java.lang.String getSecurityPolicy(); + /** + * + * + *
+   * The resource URL for the network edge security service associated with this network edge security service.
+   * 
+ * + * optional string security_policy = 171082513; + * + * @return The bytes for securityPolicy. + */ + com.google.protobuf.ByteString getSecurityPolicyBytes(); + + /** + * + * + *
+   * [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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesScopedList.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesScopedList.java new file mode 100644 index 000000000..84d6d0f77 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesScopedList.java @@ -0,0 +1,1318 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList} + */ +public final class NetworkEdgeSecurityServicesScopedList + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList) + NetworkEdgeSecurityServicesScopedListOrBuilder { + private static final long serialVersionUID = 0L; + // Use NetworkEdgeSecurityServicesScopedList.newBuilder() to construct. + private NetworkEdgeSecurityServicesScopedList( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private NetworkEdgeSecurityServicesScopedList() { + networkEdgeSecurityServices_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new NetworkEdgeSecurityServicesScopedList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private NetworkEdgeSecurityServicesScopedList( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 284241250: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + networkEdgeSecurityServices_ = + new java.util.ArrayList< + com.google.cloud.compute.v1.NetworkEdgeSecurityService>(); + mutable_bitField0_ |= 0x00000001; + } + networkEdgeSecurityServices_.add( + input.readMessage( + com.google.cloud.compute.v1.NetworkEdgeSecurityService.parser(), + extensionRegistry)); + break; + } + case 405634274: + { + com.google.cloud.compute.v1.Warning.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = warning_.toBuilder(); + } + warning_ = + input.readMessage( + com.google.cloud.compute.v1.Warning.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(warning_); + warning_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + networkEdgeSecurityServices_ = + java.util.Collections.unmodifiableList(networkEdgeSecurityServices_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList.class, + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList.Builder.class); + } + + private int bitField0_; + public static final int NETWORK_EDGE_SECURITY_SERVICES_FIELD_NUMBER = 35530156; + private java.util.List + networkEdgeSecurityServices_; + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + @java.lang.Override + public java.util.List + getNetworkEdgeSecurityServicesList() { + return networkEdgeSecurityServices_; + } + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + @java.lang.Override + public java.util.List + getNetworkEdgeSecurityServicesOrBuilderList() { + return networkEdgeSecurityServices_; + } + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + @java.lang.Override + public int getNetworkEdgeSecurityServicesCount() { + return networkEdgeSecurityServices_.size(); + } + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityService getNetworkEdgeSecurityServices( + int index) { + return networkEdgeSecurityServices_.get(index); + } + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder + getNetworkEdgeSecurityServicesOrBuilder(int index) { + return networkEdgeSecurityServices_.get(index); + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * Informational warning which replaces the list of security policies 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); + } + /** + * + * + *
+   * Informational warning which replaces the list of security policies 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_; + } + /** + * + * + *
+   * Informational warning which replaces the list of security policies 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 { + for (int i = 0; i < networkEdgeSecurityServices_.size(); i++) { + output.writeMessage(35530156, networkEdgeSecurityServices_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(50704284, getWarning()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < networkEdgeSecurityServices_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 35530156, networkEdgeSecurityServices_.get(i)); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50704284, getWarning()); + } + size += unknownFields.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.NetworkEdgeSecurityServicesScopedList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList other = + (com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList) obj; + + if (!getNetworkEdgeSecurityServicesList().equals(other.getNetworkEdgeSecurityServicesList())) + return false; + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getNetworkEdgeSecurityServicesCount() > 0) { + hash = (37 * hash) + NETWORK_EDGE_SECURITY_SERVICES_FIELD_NUMBER; + hash = (53 * hash) + getNetworkEdgeSecurityServicesList().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList 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.NetworkEdgeSecurityServicesScopedList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList 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.NetworkEdgeSecurityServicesScopedList parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList 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.NetworkEdgeSecurityServicesScopedList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList 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.NetworkEdgeSecurityServicesScopedList + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList + 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.NetworkEdgeSecurityServicesScopedList 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.NetworkEdgeSecurityServicesScopedList 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.NetworkEdgeSecurityServicesScopedList 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.NetworkEdgeSecurityServicesScopedList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList) + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_NetworkEdgeSecurityServicesScopedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList.class, + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getNetworkEdgeSecurityServicesFieldBuilder(); + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (networkEdgeSecurityServicesBuilder_ == null) { + networkEdgeSecurityServices_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + networkEdgeSecurityServicesBuilder_.clear(); + } + if (warningBuilder_ == null) { + warning_ = null; + } else { + warningBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + 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_NetworkEdgeSecurityServicesScopedList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList build() { + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList buildPartial() { + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList result = + new com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (networkEdgeSecurityServicesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + networkEdgeSecurityServices_ = + java.util.Collections.unmodifiableList(networkEdgeSecurityServices_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.networkEdgeSecurityServices_ = networkEdgeSecurityServices_; + } else { + result.networkEdgeSecurityServices_ = networkEdgeSecurityServicesBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (warningBuilder_ == null) { + result.warning_ = warning_; + } else { + result.warning_ = warningBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.NetworkEdgeSecurityServicesScopedList) { + return mergeFrom((com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList other) { + if (other + == com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList.getDefaultInstance()) + return this; + if (networkEdgeSecurityServicesBuilder_ == null) { + if (!other.networkEdgeSecurityServices_.isEmpty()) { + if (networkEdgeSecurityServices_.isEmpty()) { + networkEdgeSecurityServices_ = other.networkEdgeSecurityServices_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureNetworkEdgeSecurityServicesIsMutable(); + networkEdgeSecurityServices_.addAll(other.networkEdgeSecurityServices_); + } + onChanged(); + } + } else { + if (!other.networkEdgeSecurityServices_.isEmpty()) { + if (networkEdgeSecurityServicesBuilder_.isEmpty()) { + networkEdgeSecurityServicesBuilder_.dispose(); + networkEdgeSecurityServicesBuilder_ = null; + networkEdgeSecurityServices_ = other.networkEdgeSecurityServices_; + bitField0_ = (bitField0_ & ~0x00000001); + networkEdgeSecurityServicesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getNetworkEdgeSecurityServicesFieldBuilder() + : null; + } else { + networkEdgeSecurityServicesBuilder_.addAllMessages(other.networkEdgeSecurityServices_); + } + } + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List + networkEdgeSecurityServices_ = java.util.Collections.emptyList(); + + private void ensureNetworkEdgeSecurityServicesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + networkEdgeSecurityServices_ = + new java.util.ArrayList( + networkEdgeSecurityServices_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.NetworkEdgeSecurityService, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder> + networkEdgeSecurityServicesBuilder_; + + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public java.util.List + getNetworkEdgeSecurityServicesList() { + if (networkEdgeSecurityServicesBuilder_ == null) { + return java.util.Collections.unmodifiableList(networkEdgeSecurityServices_); + } else { + return networkEdgeSecurityServicesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public int getNetworkEdgeSecurityServicesCount() { + if (networkEdgeSecurityServicesBuilder_ == null) { + return networkEdgeSecurityServices_.size(); + } else { + return networkEdgeSecurityServicesBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityService getNetworkEdgeSecurityServices( + int index) { + if (networkEdgeSecurityServicesBuilder_ == null) { + return networkEdgeSecurityServices_.get(index); + } else { + return networkEdgeSecurityServicesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public Builder setNetworkEdgeSecurityServices( + int index, com.google.cloud.compute.v1.NetworkEdgeSecurityService value) { + if (networkEdgeSecurityServicesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNetworkEdgeSecurityServicesIsMutable(); + networkEdgeSecurityServices_.set(index, value); + onChanged(); + } else { + networkEdgeSecurityServicesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public Builder setNetworkEdgeSecurityServices( + int index, com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder builderForValue) { + if (networkEdgeSecurityServicesBuilder_ == null) { + ensureNetworkEdgeSecurityServicesIsMutable(); + networkEdgeSecurityServices_.set(index, builderForValue.build()); + onChanged(); + } else { + networkEdgeSecurityServicesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public Builder addNetworkEdgeSecurityServices( + com.google.cloud.compute.v1.NetworkEdgeSecurityService value) { + if (networkEdgeSecurityServicesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNetworkEdgeSecurityServicesIsMutable(); + networkEdgeSecurityServices_.add(value); + onChanged(); + } else { + networkEdgeSecurityServicesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public Builder addNetworkEdgeSecurityServices( + int index, com.google.cloud.compute.v1.NetworkEdgeSecurityService value) { + if (networkEdgeSecurityServicesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureNetworkEdgeSecurityServicesIsMutable(); + networkEdgeSecurityServices_.add(index, value); + onChanged(); + } else { + networkEdgeSecurityServicesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public Builder addNetworkEdgeSecurityServices( + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder builderForValue) { + if (networkEdgeSecurityServicesBuilder_ == null) { + ensureNetworkEdgeSecurityServicesIsMutable(); + networkEdgeSecurityServices_.add(builderForValue.build()); + onChanged(); + } else { + networkEdgeSecurityServicesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public Builder addNetworkEdgeSecurityServices( + int index, com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder builderForValue) { + if (networkEdgeSecurityServicesBuilder_ == null) { + ensureNetworkEdgeSecurityServicesIsMutable(); + networkEdgeSecurityServices_.add(index, builderForValue.build()); + onChanged(); + } else { + networkEdgeSecurityServicesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public Builder addAllNetworkEdgeSecurityServices( + java.lang.Iterable + values) { + if (networkEdgeSecurityServicesBuilder_ == null) { + ensureNetworkEdgeSecurityServicesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, networkEdgeSecurityServices_); + onChanged(); + } else { + networkEdgeSecurityServicesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public Builder clearNetworkEdgeSecurityServices() { + if (networkEdgeSecurityServicesBuilder_ == null) { + networkEdgeSecurityServices_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + networkEdgeSecurityServicesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public Builder removeNetworkEdgeSecurityServices(int index) { + if (networkEdgeSecurityServicesBuilder_ == null) { + ensureNetworkEdgeSecurityServicesIsMutable(); + networkEdgeSecurityServices_.remove(index); + onChanged(); + } else { + networkEdgeSecurityServicesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder + getNetworkEdgeSecurityServicesBuilder(int index) { + return getNetworkEdgeSecurityServicesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder + getNetworkEdgeSecurityServicesOrBuilder(int index) { + if (networkEdgeSecurityServicesBuilder_ == null) { + return networkEdgeSecurityServices_.get(index); + } else { + return networkEdgeSecurityServicesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public java.util.List + getNetworkEdgeSecurityServicesOrBuilderList() { + if (networkEdgeSecurityServicesBuilder_ != null) { + return networkEdgeSecurityServicesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(networkEdgeSecurityServices_); + } + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder + addNetworkEdgeSecurityServicesBuilder() { + return getNetworkEdgeSecurityServicesFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance()); + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder + addNetworkEdgeSecurityServicesBuilder(int index) { + return getNetworkEdgeSecurityServicesFieldBuilder() + .addBuilder( + index, com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance()); + } + /** + * + * + *
+     * A list of NetworkEdgeSecurityServices contained in this scope.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + public java.util.List + getNetworkEdgeSecurityServicesBuilderList() { + return getNetworkEdgeSecurityServicesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.NetworkEdgeSecurityService, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder> + getNetworkEdgeSecurityServicesFieldBuilder() { + if (networkEdgeSecurityServicesBuilder_ == null) { + networkEdgeSecurityServicesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.NetworkEdgeSecurityService, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder>( + networkEdgeSecurityServices_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + networkEdgeSecurityServices_ = null; + } + return networkEdgeSecurityServicesBuilder_; + } + + 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_; + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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); + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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(); + } + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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; + onChanged(); + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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(); + onChanged(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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()) { + warning_ = + com.google.cloud.compute.v1.Warning.newBuilder(warning_) + .mergeFrom(value) + .buildPartial(); + } else { + warning_ = value; + } + onChanged(); + } else { + warningBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + if (warningBuilder_ == null) { + warning_ = null; + onChanged(); + } else { + warningBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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(); + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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_; + } + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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.NetworkEdgeSecurityServicesScopedList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList) + private static final com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList(); + } + + public static com.google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public NetworkEdgeSecurityServicesScopedList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new NetworkEdgeSecurityServicesScopedList(input, extensionRegistry); + } + }; + + 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.NetworkEdgeSecurityServicesScopedList + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesScopedListOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesScopedListOrBuilder.java new file mode 100644 index 000000000..2265569e0 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEdgeSecurityServicesScopedListOrBuilder.java @@ -0,0 +1,124 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface NetworkEdgeSecurityServicesScopedListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.NetworkEdgeSecurityServicesScopedList) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + java.util.List + getNetworkEdgeSecurityServicesList(); + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + com.google.cloud.compute.v1.NetworkEdgeSecurityService getNetworkEdgeSecurityServices(int index); + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + int getNetworkEdgeSecurityServicesCount(); + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + java.util.List + getNetworkEdgeSecurityServicesOrBuilderList(); + /** + * + * + *
+   * A list of NetworkEdgeSecurityServices contained in this scope.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_services = 35530156; + * + */ + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder + getNetworkEdgeSecurityServicesOrBuilder(int index); + + /** + * + * + *
+   * Informational warning which replaces the list of security policies when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * Informational warning which replaces the list of security policies when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * Informational warning which replaces the list of security policies when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java index 44fd3b2fe..78a3d1182 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroup.java @@ -292,7 +292,7 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * Type of network endpoints in this network endpoint group. Can be one of 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.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.NetworkEndpointGroup.NetworkEndpointType} @@ -1215,7 +1215,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { * * *
-   * Type of network endpoints in this network endpoint group. Can be one of 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.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -1231,7 +1231,7 @@ public boolean hasNetworkEndpointType() { * * *
-   * Type of network endpoints in this network endpoint group. Can be one of 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.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -1255,7 +1255,7 @@ public java.lang.String getNetworkEndpointType() { * * *
-   * Type of network endpoints in this network endpoint group. Can be one of 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.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -3928,7 +3928,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_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.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -3943,7 +3943,7 @@ public boolean hasNetworkEndpointType() { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of 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.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -3966,7 +3966,7 @@ public java.lang.String getNetworkEndpointType() { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of 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.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -3989,7 +3989,7 @@ public com.google.protobuf.ByteString getNetworkEndpointTypeBytes() { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of 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.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -4011,7 +4011,7 @@ public Builder setNetworkEndpointType(java.lang.String value) { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of 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.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* @@ -4029,7 +4029,7 @@ public Builder clearNetworkEndpointType() { * * *
-     * Type of network endpoints in this network endpoint group. Can be one of 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.
      * Check the NetworkEndpointType enum for the list of possible values.
      * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupCloudRun.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupCloudRun.java index f36699714..1937a95d3 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupCloudRun.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupCloudRun.java @@ -263,7 +263,7 @@ public com.google.protobuf.ByteString getTagBytes() { * * *
-   * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+   * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
    * 
* * optional string url_mask = 103352252; @@ -278,7 +278,7 @@ public boolean hasUrlMask() { * * *
-   * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+   * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
    * 
* * optional string url_mask = 103352252; @@ -301,7 +301,7 @@ public java.lang.String getUrlMask() { * * *
-   * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+   * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
    * 
* * optional string url_mask = 103352252; @@ -949,7 +949,7 @@ public Builder setTagBytes(com.google.protobuf.ByteString value) { * * *
-     * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+     * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
      * 
* * optional string url_mask = 103352252; @@ -963,7 +963,7 @@ public boolean hasUrlMask() { * * *
-     * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+     * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
      * 
* * optional string url_mask = 103352252; @@ -985,7 +985,7 @@ public java.lang.String getUrlMask() { * * *
-     * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+     * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
      * 
* * optional string url_mask = 103352252; @@ -1007,7 +1007,7 @@ public com.google.protobuf.ByteString getUrlMaskBytes() { * * *
-     * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+     * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
      * 
* * optional string url_mask = 103352252; @@ -1028,7 +1028,7 @@ public Builder setUrlMask(java.lang.String value) { * * *
-     * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+     * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
      * 
* * optional string url_mask = 103352252; @@ -1045,7 +1045,7 @@ public Builder clearUrlMask() { * * *
-     * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+     * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
      * 
* * optional string url_mask = 103352252; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupCloudRunOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupCloudRunOrBuilder.java index 491d45f70..52c1aefd1 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupCloudRunOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupCloudRunOrBuilder.java @@ -101,7 +101,7 @@ public interface NetworkEndpointGroupCloudRunOrBuilder * * *
-   * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+   * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
    * 
* * optional string url_mask = 103352252; @@ -113,7 +113,7 @@ public interface NetworkEndpointGroupCloudRunOrBuilder * * *
-   * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+   * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
    * 
* * optional string url_mask = 103352252; @@ -125,7 +125,7 @@ public interface NetworkEndpointGroupCloudRunOrBuilder * * *
-   * A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
+   * A template to parse <service> and <tag> fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask "<tag>.domain.com/<service>". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively.
    * 
* * optional string url_mask = 103352252; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupOrBuilder.java index 18953bcb6..b334fee4c 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkEndpointGroupOrBuilder.java @@ -434,7 +434,7 @@ public interface NetworkEndpointGroupOrBuilder * * *
-   * Type of network endpoints in this network endpoint group. Can be one of 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.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -447,7 +447,7 @@ public interface NetworkEndpointGroupOrBuilder * * *
-   * Type of network endpoints in this network endpoint group. Can be one of 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.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* @@ -460,7 +460,7 @@ public interface NetworkEndpointGroupOrBuilder * * *
-   * Type of network endpoints in this network endpoint group. Can be one of 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.
    * Check the NetworkEndpointType enum for the list of possible values.
    * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java index ffed2f565..044c825d2 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkInterface.java @@ -86,21 +86,21 @@ private NetworkInterface( case 26336418: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; kind_ = s; break; } case 26989658: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; name_ = s; break; } case 478484618: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; nicType_ = s; break; } @@ -128,17 +128,23 @@ private NetworkInterface( com.google.cloud.compute.v1.AliasIpRange.parser(), extensionRegistry)); break; } + case 1630670056: + { + bitField0_ |= 0x00000002; + internalIpv6PrefixLength_ = input.readInt32(); + break; + } case 1657455690: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; networkIP_ = s; break; } case 1862979954: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; network_ = s; break; } @@ -152,30 +158,30 @@ private NetworkInterface( case -1832345742: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; subnetwork_ = s; break; } case -1562456862: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; + bitField0_ |= 0x00000008; ipv6Address_ = s; break; } case -887696246: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; stackType_ = s; break; } case -427190414: { - if (!((mutable_bitField0_ & 0x00000008) != 0)) { + if (!((mutable_bitField0_ & 0x00000010) != 0)) { ipv6AccessConfigs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000008; + mutable_bitField0_ |= 0x00000010; } ipv6AccessConfigs_.add( input.readMessage( @@ -184,14 +190,14 @@ private NetworkInterface( } case -265297144: { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; queueCount_ = input.readInt32(); break; } case -257698070: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; + bitField0_ |= 0x00000004; ipv6AccessType_ = s; break; } @@ -215,7 +221,7 @@ private NetworkInterface( if (((mutable_bitField0_ & 0x00000002) != 0)) { aliasIpRanges_ = java.util.Collections.unmodifiableList(aliasIpRanges_); } - if (((mutable_bitField0_ & 0x00000008) != 0)) { + if (((mutable_bitField0_ & 0x00000010) != 0)) { ipv6AccessConfigs_ = java.util.Collections.unmodifiableList(ipv6AccessConfigs_); } this.unknownFields = unknownFields.build(); @@ -272,11 +278,13 @@ public enum Ipv6AccessType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
+     * This network interface can have internal IPv6.
      * 
* - * UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; + * INTERNAL = 279295677; */ + INTERNAL(279295677), + /** UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; */ UNSPECIFIED_IPV6_ACCESS_TYPE(313080613), UNRECOGNIZED(-1), ; @@ -305,11 +313,13 @@ public enum Ipv6AccessType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet.
+     * This network interface can have internal IPv6.
      * 
* - * UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; + * INTERNAL = 279295677; */ + public static final int INTERNAL_VALUE = 279295677; + /** UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; */ public static final int UNSPECIFIED_IPV6_ACCESS_TYPE_VALUE = 313080613; public final int getNumber() { @@ -340,6 +350,8 @@ public static Ipv6AccessType forNumber(int value) { return UNDEFINED_IPV6_ACCESS_TYPE; case 35607499: return EXTERNAL; + case 279295677: + return INTERNAL; case 313080613: return UNSPECIFIED_IPV6_ACCESS_TYPE; default: @@ -940,6 +952,39 @@ public com.google.protobuf.ByteString getFingerprintBytes() { } } + public static final int INTERNAL_IPV6_PREFIX_LENGTH_FIELD_NUMBER = 203833757; + private int internalIpv6PrefixLength_; + /** + * + * + *
+   * The prefix length of the primary internal IPv6 range.
+   * 
+ * + * optional int32 internal_ipv6_prefix_length = 203833757; + * + * @return Whether the internalIpv6PrefixLength field is set. + */ + @java.lang.Override + public boolean hasInternalIpv6PrefixLength() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * The prefix length of the primary internal IPv6 range.
+   * 
+ * + * optional int32 internal_ipv6_prefix_length = 203833757; + * + * @return The internalIpv6PrefixLength. + */ + @java.lang.Override + public int getInternalIpv6PrefixLength() { + return internalIpv6PrefixLength_; + } + public static final int IPV6_ACCESS_CONFIGS_FIELD_NUMBER = 483472110; private java.util.List ipv6AccessConfigs_; /** @@ -1026,7 +1071,7 @@ public com.google.cloud.compute.v1.AccessConfigOrBuilder getIpv6AccessConfigsOrB */ @java.lang.Override public boolean hasIpv6AccessType() { - return ((bitField0_ & 0x00000002) != 0); + return ((bitField0_ & 0x00000004) != 0); } /** * @@ -1092,7 +1137,7 @@ public com.google.protobuf.ByteString getIpv6AccessTypeBytes() { */ @java.lang.Override public boolean hasIpv6Address() { - return ((bitField0_ & 0x00000004) != 0); + return ((bitField0_ & 0x00000008) != 0); } /** * @@ -1156,7 +1201,7 @@ public com.google.protobuf.ByteString getIpv6AddressBytes() { */ @java.lang.Override public boolean hasKind() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -1211,7 +1256,7 @@ public com.google.protobuf.ByteString getKindBytes() { * * *
-   * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+   * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
    * 
* * optional string name = 3373707; @@ -1220,13 +1265,13 @@ public com.google.protobuf.ByteString getKindBytes() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * * *
-   * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+   * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
    * 
* * optional string name = 3373707; @@ -1249,7 +1294,7 @@ public java.lang.String getName() { * * *
-   * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+   * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
    * 
* * optional string name = 3373707; @@ -1284,7 +1329,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasNetwork() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -1348,7 +1393,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { */ @java.lang.Override public boolean hasNetworkIP() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -1413,7 +1458,7 @@ public com.google.protobuf.ByteString getNetworkIPBytes() { */ @java.lang.Override public boolean hasNicType() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -1479,7 +1524,7 @@ public com.google.protobuf.ByteString getNicTypeBytes() { */ @java.lang.Override public boolean hasQueueCount() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -1513,7 +1558,7 @@ public int getQueueCount() { */ @java.lang.Override public boolean hasStackType() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -1579,7 +1624,7 @@ public com.google.protobuf.ByteString getStackTypeBytes() { */ @java.lang.Override public boolean hasSubnetwork() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -1642,13 +1687,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 59810577, nicType_); } for (int i = 0; i < accessConfigs_.size(); i++) { @@ -1657,31 +1702,34 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < aliasIpRanges_.size(); i++) { output.writeMessage(165085631, aliasIpRanges_.get(i)); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { + output.writeInt32(203833757, internalIpv6PrefixLength_); + } + if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 207181961, networkIP_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 232872494, network_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 234678500, fingerprint_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 307827694, subnetwork_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 341563804, ipv6Address_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 425908881, stackType_); } for (int i = 0; i < ipv6AccessConfigs_.size(); i++) { output.writeMessage(483472110, ipv6AccessConfigs_.get(i)); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeInt32(503708769, queueCount_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 504658653, ipv6AccessType_); } unknownFields.writeTo(output); @@ -1693,13 +1741,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(59810577, nicType_); } for (int i = 0; i < accessConfigs_.size(); i++) { @@ -1712,22 +1760,27 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 165085631, aliasIpRanges_.get(i)); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000002) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeInt32Size( + 203833757, internalIpv6PrefixLength_); + } + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(207181961, networkIP_); } - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(232872494, network_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(234678500, fingerprint_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(307827694, subnetwork_); } - if (((bitField0_ & 0x00000004) != 0)) { + if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(341563804, ipv6Address_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(425908881, stackType_); } for (int i = 0; i < ipv6AccessConfigs_.size(); i++) { @@ -1735,10 +1788,10 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 483472110, ipv6AccessConfigs_.get(i)); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt32Size(503708769, queueCount_); } - if (((bitField0_ & 0x00000002) != 0)) { + if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(504658653, ipv6AccessType_); } size += unknownFields.getSerializedSize(); @@ -1763,6 +1816,10 @@ public boolean equals(final java.lang.Object obj) { if (hasFingerprint()) { if (!getFingerprint().equals(other.getFingerprint())) return false; } + if (hasInternalIpv6PrefixLength() != other.hasInternalIpv6PrefixLength()) return false; + if (hasInternalIpv6PrefixLength()) { + if (getInternalIpv6PrefixLength() != other.getInternalIpv6PrefixLength()) return false; + } if (!getIpv6AccessConfigsList().equals(other.getIpv6AccessConfigsList())) return false; if (hasIpv6AccessType() != other.hasIpv6AccessType()) return false; if (hasIpv6AccessType()) { @@ -1827,6 +1884,10 @@ public int hashCode() { hash = (37 * hash) + FINGERPRINT_FIELD_NUMBER; hash = (53 * hash) + getFingerprint().hashCode(); } + if (hasInternalIpv6PrefixLength()) { + hash = (37 * hash) + INTERNAL_IPV6_PREFIX_LENGTH_FIELD_NUMBER; + hash = (53 * hash) + getInternalIpv6PrefixLength(); + } if (getIpv6AccessConfigsCount() > 0) { hash = (37 * hash) + IPV6_ACCESS_CONFIGS_FIELD_NUMBER; hash = (53 * hash) + getIpv6AccessConfigsList().hashCode(); @@ -2034,32 +2095,34 @@ public Builder clear() { } fingerprint_ = ""; bitField0_ = (bitField0_ & ~0x00000004); + internalIpv6PrefixLength_ = 0; + bitField0_ = (bitField0_ & ~0x00000008); if (ipv6AccessConfigsBuilder_ == null) { ipv6AccessConfigs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } else { ipv6AccessConfigsBuilder_.clear(); } ipv6AccessType_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); - ipv6Address_ = ""; bitField0_ = (bitField0_ & ~0x00000020); - kind_ = ""; + ipv6Address_ = ""; bitField0_ = (bitField0_ & ~0x00000040); - name_ = ""; + kind_ = ""; bitField0_ = (bitField0_ & ~0x00000080); - network_ = ""; + name_ = ""; bitField0_ = (bitField0_ & ~0x00000100); - networkIP_ = ""; + network_ = ""; bitField0_ = (bitField0_ & ~0x00000200); - nicType_ = ""; + networkIP_ = ""; bitField0_ = (bitField0_ & ~0x00000400); - queueCount_ = 0; + nicType_ = ""; bitField0_ = (bitField0_ & ~0x00000800); - stackType_ = ""; + queueCount_ = 0; bitField0_ = (bitField0_ & ~0x00001000); - subnetwork_ = ""; + stackType_ = ""; bitField0_ = (bitField0_ & ~0x00002000); + subnetwork_ = ""; + bitField0_ = (bitField0_ & ~0x00004000); return this; } @@ -2111,54 +2174,58 @@ public com.google.cloud.compute.v1.NetworkInterface buildPartial() { to_bitField0_ |= 0x00000001; } result.fingerprint_ = fingerprint_; + if (((from_bitField0_ & 0x00000008) != 0)) { + result.internalIpv6PrefixLength_ = internalIpv6PrefixLength_; + to_bitField0_ |= 0x00000002; + } if (ipv6AccessConfigsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { ipv6AccessConfigs_ = java.util.Collections.unmodifiableList(ipv6AccessConfigs_); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } result.ipv6AccessConfigs_ = ipv6AccessConfigs_; } else { result.ipv6AccessConfigs_ = ipv6AccessConfigsBuilder_.build(); } - if (((from_bitField0_ & 0x00000010) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.ipv6AccessType_ = ipv6AccessType_; if (((from_bitField0_ & 0x00000020) != 0)) { to_bitField0_ |= 0x00000004; } - result.ipv6Address_ = ipv6Address_; + result.ipv6AccessType_ = ipv6AccessType_; if (((from_bitField0_ & 0x00000040) != 0)) { to_bitField0_ |= 0x00000008; } - result.kind_ = kind_; + result.ipv6Address_ = ipv6Address_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000010; } - result.name_ = name_; + result.kind_ = kind_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000020; } - result.network_ = network_; + result.name_ = name_; if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000040; } - result.networkIP_ = networkIP_; + result.network_ = network_; if (((from_bitField0_ & 0x00000400) != 0)) { to_bitField0_ |= 0x00000080; } - result.nicType_ = nicType_; + result.networkIP_ = networkIP_; if (((from_bitField0_ & 0x00000800) != 0)) { - result.queueCount_ = queueCount_; to_bitField0_ |= 0x00000100; } + result.nicType_ = nicType_; if (((from_bitField0_ & 0x00001000) != 0)) { + result.queueCount_ = queueCount_; to_bitField0_ |= 0x00000200; } - result.stackType_ = stackType_; if (((from_bitField0_ & 0x00002000) != 0)) { to_bitField0_ |= 0x00000400; } + result.stackType_ = stackType_; + if (((from_bitField0_ & 0x00004000) != 0)) { + to_bitField0_ |= 0x00000800; + } result.subnetwork_ = subnetwork_; result.bitField0_ = to_bitField0_; onBuilt(); @@ -2269,11 +2336,14 @@ public Builder mergeFrom(com.google.cloud.compute.v1.NetworkInterface other) { fingerprint_ = other.fingerprint_; onChanged(); } + if (other.hasInternalIpv6PrefixLength()) { + setInternalIpv6PrefixLength(other.getInternalIpv6PrefixLength()); + } if (ipv6AccessConfigsBuilder_ == null) { if (!other.ipv6AccessConfigs_.isEmpty()) { if (ipv6AccessConfigs_.isEmpty()) { ipv6AccessConfigs_ = other.ipv6AccessConfigs_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); } else { ensureIpv6AccessConfigsIsMutable(); ipv6AccessConfigs_.addAll(other.ipv6AccessConfigs_); @@ -2286,7 +2356,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.NetworkInterface other) { ipv6AccessConfigsBuilder_.dispose(); ipv6AccessConfigsBuilder_ = null; ipv6AccessConfigs_ = other.ipv6AccessConfigs_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); ipv6AccessConfigsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getIpv6AccessConfigsFieldBuilder() @@ -2297,37 +2367,37 @@ public Builder mergeFrom(com.google.cloud.compute.v1.NetworkInterface other) { } } if (other.hasIpv6AccessType()) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; ipv6AccessType_ = other.ipv6AccessType_; onChanged(); } if (other.hasIpv6Address()) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; ipv6Address_ = other.ipv6Address_; onChanged(); } if (other.hasKind()) { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; kind_ = other.kind_; onChanged(); } if (other.hasName()) { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; name_ = other.name_; onChanged(); } if (other.hasNetwork()) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; network_ = other.network_; onChanged(); } if (other.hasNetworkIP()) { - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; networkIP_ = other.networkIP_; onChanged(); } if (other.hasNicType()) { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; nicType_ = other.nicType_; onChanged(); } @@ -2335,12 +2405,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.NetworkInterface other) { setQueueCount(other.getQueueCount()); } if (other.hasStackType()) { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; stackType_ = other.stackType_; onChanged(); } if (other.hasSubnetwork()) { - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; subnetwork_ = other.subnetwork_; onChanged(); } @@ -3203,14 +3273,81 @@ public Builder setFingerprintBytes(com.google.protobuf.ByteString value) { return this; } + private int internalIpv6PrefixLength_; + /** + * + * + *
+     * The prefix length of the primary internal IPv6 range.
+     * 
+ * + * optional int32 internal_ipv6_prefix_length = 203833757; + * + * @return Whether the internalIpv6PrefixLength field is set. + */ + @java.lang.Override + public boolean hasInternalIpv6PrefixLength() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * The prefix length of the primary internal IPv6 range.
+     * 
+ * + * optional int32 internal_ipv6_prefix_length = 203833757; + * + * @return The internalIpv6PrefixLength. + */ + @java.lang.Override + public int getInternalIpv6PrefixLength() { + return internalIpv6PrefixLength_; + } + /** + * + * + *
+     * The prefix length of the primary internal IPv6 range.
+     * 
+ * + * optional int32 internal_ipv6_prefix_length = 203833757; + * + * @param value The internalIpv6PrefixLength to set. + * @return This builder for chaining. + */ + public Builder setInternalIpv6PrefixLength(int value) { + bitField0_ |= 0x00000008; + internalIpv6PrefixLength_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The prefix length of the primary internal IPv6 range.
+     * 
+ * + * optional int32 internal_ipv6_prefix_length = 203833757; + * + * @return This builder for chaining. + */ + public Builder clearInternalIpv6PrefixLength() { + bitField0_ = (bitField0_ & ~0x00000008); + internalIpv6PrefixLength_ = 0; + onChanged(); + return this; + } + private java.util.List ipv6AccessConfigs_ = java.util.Collections.emptyList(); private void ensureIpv6AccessConfigsIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!((bitField0_ & 0x00000010) != 0)) { ipv6AccessConfigs_ = new java.util.ArrayList(ipv6AccessConfigs_); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; } } @@ -3426,7 +3563,7 @@ public Builder addAllIpv6AccessConfigs( public Builder clearIpv6AccessConfigs() { if (ipv6AccessConfigsBuilder_ == null) { ipv6AccessConfigs_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { ipv6AccessConfigsBuilder_.clear(); @@ -3550,7 +3687,7 @@ public com.google.cloud.compute.v1.AccessConfig.Builder addIpv6AccessConfigsBuil com.google.cloud.compute.v1.AccessConfig.Builder, com.google.cloud.compute.v1.AccessConfigOrBuilder>( ipv6AccessConfigs_, - ((bitField0_ & 0x00000008) != 0), + ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); ipv6AccessConfigs_ = null; @@ -3572,7 +3709,7 @@ public com.google.cloud.compute.v1.AccessConfig.Builder addIpv6AccessConfigsBuil * @return Whether the ipv6AccessType field is set. */ public boolean hasIpv6AccessType() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -3637,7 +3774,7 @@ public Builder setIpv6AccessType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; ipv6AccessType_ = value; onChanged(); return this; @@ -3655,7 +3792,7 @@ public Builder setIpv6AccessType(java.lang.String value) { * @return This builder for chaining. */ public Builder clearIpv6AccessType() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); ipv6AccessType_ = getDefaultInstance().getIpv6AccessType(); onChanged(); return this; @@ -3678,7 +3815,7 @@ public Builder setIpv6AccessTypeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; ipv6AccessType_ = value; onChanged(); return this; @@ -3697,7 +3834,7 @@ public Builder setIpv6AccessTypeBytes(com.google.protobuf.ByteString value) { * @return Whether the ipv6Address field is set. */ public boolean hasIpv6Address() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -3759,7 +3896,7 @@ public Builder setIpv6Address(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; ipv6Address_ = value; onChanged(); return this; @@ -3776,7 +3913,7 @@ public Builder setIpv6Address(java.lang.String value) { * @return This builder for chaining. */ public Builder clearIpv6Address() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); ipv6Address_ = getDefaultInstance().getIpv6Address(); onChanged(); return this; @@ -3798,7 +3935,7 @@ public Builder setIpv6AddressBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; ipv6Address_ = value; onChanged(); return this; @@ -3817,7 +3954,7 @@ public Builder setIpv6AddressBytes(com.google.protobuf.ByteString value) { * @return Whether the kind field is set. */ public boolean hasKind() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -3879,7 +4016,7 @@ public Builder setKind(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; kind_ = value; onChanged(); return this; @@ -3896,7 +4033,7 @@ public Builder setKind(java.lang.String value) { * @return This builder for chaining. */ public Builder clearKind() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); kind_ = getDefaultInstance().getKind(); onChanged(); return this; @@ -3918,7 +4055,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; kind_ = value; onChanged(); return this; @@ -3929,7 +4066,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { * * *
-     * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+     * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
      * 
* * optional string name = 3373707; @@ -3937,13 +4074,13 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * * *
-     * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+     * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
      * 
* * optional string name = 3373707; @@ -3965,7 +4102,7 @@ public java.lang.String getName() { * * *
-     * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+     * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
      * 
* * optional string name = 3373707; @@ -3987,7 +4124,7 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+     * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
      * 
* * optional string name = 3373707; @@ -3999,7 +4136,7 @@ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; name_ = value; onChanged(); return this; @@ -4008,7 +4145,7 @@ public Builder setName(java.lang.String value) { * * *
-     * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+     * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
      * 
* * optional string name = 3373707; @@ -4016,7 +4153,7 @@ public Builder setName(java.lang.String value) { * @return This builder for chaining. */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); name_ = getDefaultInstance().getName(); onChanged(); return this; @@ -4025,7 +4162,7 @@ public Builder clearName() { * * *
-     * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+     * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
      * 
* * optional string name = 3373707; @@ -4038,7 +4175,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; name_ = value; onChanged(); return this; @@ -4057,7 +4194,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the network field is set. */ public boolean hasNetwork() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -4119,7 +4256,7 @@ public Builder setNetwork(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; network_ = value; onChanged(); return this; @@ -4136,7 +4273,7 @@ public Builder setNetwork(java.lang.String value) { * @return This builder for chaining. */ public Builder clearNetwork() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); network_ = getDefaultInstance().getNetwork(); onChanged(); return this; @@ -4158,7 +4295,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; network_ = value; onChanged(); return this; @@ -4177,7 +4314,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { * @return Whether the networkIP field is set. */ public boolean hasNetworkIP() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * @@ -4239,7 +4376,7 @@ public Builder setNetworkIP(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; networkIP_ = value; onChanged(); return this; @@ -4256,7 +4393,7 @@ public Builder setNetworkIP(java.lang.String value) { * @return This builder for chaining. */ public Builder clearNetworkIP() { - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); networkIP_ = getDefaultInstance().getNetworkIP(); onChanged(); return this; @@ -4278,7 +4415,7 @@ public Builder setNetworkIPBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; networkIP_ = value; onChanged(); return this; @@ -4298,7 +4435,7 @@ public Builder setNetworkIPBytes(com.google.protobuf.ByteString value) { * @return Whether the nicType field is set. */ public boolean hasNicType() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -4363,7 +4500,7 @@ public Builder setNicType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; nicType_ = value; onChanged(); return this; @@ -4381,7 +4518,7 @@ public Builder setNicType(java.lang.String value) { * @return This builder for chaining. */ public Builder clearNicType() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); nicType_ = getDefaultInstance().getNicType(); onChanged(); return this; @@ -4404,7 +4541,7 @@ public Builder setNicTypeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; nicType_ = value; onChanged(); return this; @@ -4424,7 +4561,7 @@ public Builder setNicTypeBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasQueueCount() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -4454,7 +4591,7 @@ public int getQueueCount() { * @return This builder for chaining. */ public Builder setQueueCount(int value) { - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; queueCount_ = value; onChanged(); return this; @@ -4471,7 +4608,7 @@ public Builder setQueueCount(int value) { * @return This builder for chaining. */ public Builder clearQueueCount() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); queueCount_ = 0; onChanged(); return this; @@ -4491,7 +4628,7 @@ public Builder clearQueueCount() { * @return Whether the stackType field is set. */ public boolean hasStackType() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -4556,7 +4693,7 @@ public Builder setStackType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; stackType_ = value; onChanged(); return this; @@ -4574,7 +4711,7 @@ public Builder setStackType(java.lang.String value) { * @return This builder for chaining. */ public Builder clearStackType() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); stackType_ = getDefaultInstance().getStackType(); onChanged(); return this; @@ -4597,7 +4734,7 @@ public Builder setStackTypeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; stackType_ = value; onChanged(); return this; @@ -4616,7 +4753,7 @@ public Builder setStackTypeBytes(com.google.protobuf.ByteString value) { * @return Whether the subnetwork field is set. */ public boolean hasSubnetwork() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -4678,7 +4815,7 @@ public Builder setSubnetwork(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; subnetwork_ = value; onChanged(); return this; @@ -4695,7 +4832,7 @@ public Builder setSubnetwork(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSubnetwork() { - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); subnetwork_ = getDefaultInstance().getSubnetwork(); onChanged(); return this; @@ -4717,7 +4854,7 @@ public Builder setSubnetworkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; subnetwork_ = value; onChanged(); return this; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkInterfaceOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkInterfaceOrBuilder.java index e18476ec5..353e7d4d7 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkInterfaceOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkInterfaceOrBuilder.java @@ -164,6 +164,31 @@ public interface NetworkInterfaceOrBuilder */ com.google.protobuf.ByteString getFingerprintBytes(); + /** + * + * + *
+   * The prefix length of the primary internal IPv6 range.
+   * 
+ * + * optional int32 internal_ipv6_prefix_length = 203833757; + * + * @return Whether the internalIpv6PrefixLength field is set. + */ + boolean hasInternalIpv6PrefixLength(); + /** + * + * + *
+   * The prefix length of the primary internal IPv6 range.
+   * 
+ * + * optional int32 internal_ipv6_prefix_length = 203833757; + * + * @return The internalIpv6PrefixLength. + */ + int getInternalIpv6PrefixLength(); + /** * * @@ -334,7 +359,7 @@ public interface NetworkInterfaceOrBuilder * * *
-   * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+   * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
    * 
* * optional string name = 3373707; @@ -346,7 +371,7 @@ public interface NetworkInterfaceOrBuilder * * *
-   * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+   * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
    * 
* * optional string name = 3373707; @@ -358,7 +383,7 @@ public interface NetworkInterfaceOrBuilder * * *
-   * [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc.
+   * [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0.
    * 
* * optional string name = 3373707; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkOrBuilder.java index 30fbe9216..5e4c887f1 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/NetworkOrBuilder.java @@ -159,6 +159,31 @@ public interface NetworkOrBuilder */ com.google.protobuf.ByteString getDescriptionBytes(); + /** + * + * + *
+   * Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
+   * 
+ * + * optional bool enable_ula_internal_ipv6 = 423757720; + * + * @return Whether the enableUlaInternalIpv6 field is set. + */ + boolean hasEnableUlaInternalIpv6(); + /** + * + * + *
+   * Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .
+   * 
+ * + * optional bool enable_ula_internal_ipv6 = 423757720; + * + * @return The enableUlaInternalIpv6. + */ + boolean getEnableUlaInternalIpv6(); + /** * * @@ -221,6 +246,43 @@ public interface NetworkOrBuilder */ long getId(); + /** + * + * + *
+   * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
+   * 
+ * + * optional string internal_ipv6_range = 277456807; + * + * @return Whether the internalIpv6Range field is set. + */ + boolean hasInternalIpv6Range(); + /** + * + * + *
+   * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
+   * 
+ * + * optional string internal_ipv6_range = 277456807; + * + * @return The internalIpv6Range. + */ + java.lang.String getInternalIpv6Range(); + /** + * + * + *
+   * When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. .
+   * 
+ * + * optional string internal_ipv6_range = 277456807; + * + * @return The bytes for internalIpv6Range. + */ + com.google.protobuf.ByteString getInternalIpv6RangeBytes(); + /** * * @@ -320,6 +382,46 @@ public interface NetworkOrBuilder */ com.google.protobuf.ByteString getNameBytes(); + /** + * + * + *
+   * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+   * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+   * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return Whether the networkFirewallPolicyEnforcementOrder field is set. + */ + boolean hasNetworkFirewallPolicyEnforcementOrder(); + /** + * + * + *
+   * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+   * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+   * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return The networkFirewallPolicyEnforcementOrder. + */ + java.lang.String getNetworkFirewallPolicyEnforcementOrder(); + /** + * + * + *
+   * The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified.
+   * Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values.
+   * 
+ * + * optional string network_firewall_policy_enforcement_order = 6504784; + * + * @return The bytes for networkFirewallPolicyEnforcementOrder. + */ + com.google.protobuf.ByteString getNetworkFirewallPolicyEnforcementOrderBytes(); + /** * * @@ -444,6 +546,43 @@ public interface NetworkOrBuilder */ 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(); + /** * * diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkEdgeSecurityServiceRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkEdgeSecurityServiceRequest.java new file mode 100644 index 000000000..96423b01b --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkEdgeSecurityServiceRequest.java @@ -0,0 +1,1977 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkEdgeSecurityServices.Patch. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest} + */ +public final class PatchNetworkEdgeSecurityServiceRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest) + PatchNetworkEdgeSecurityServiceRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PatchNetworkEdgeSecurityServiceRequest.newBuilder() to construct. + private PatchNetworkEdgeSecurityServiceRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PatchNetworkEdgeSecurityServiceRequest() { + networkEdgeSecurityService_ = ""; + paths_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + updateMask_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PatchNetworkEdgeSecurityServiceRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PatchNetworkEdgeSecurityServiceRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + requestId_ = s; + break; + } + case 851511154: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + paths_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1256095034: + { + java.lang.String s = input.readStringRequireUtf8(); + + networkEdgeSecurityService_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -474575566: + { + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder subBuilder = null; + if (networkEdgeSecurityServiceResource_ != null) { + subBuilder = networkEdgeSecurityServiceResource_.toBuilder(); + } + networkEdgeSecurityServiceResource_ = + input.readMessage( + com.google.cloud.compute.v1.NetworkEdgeSecurityService.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(networkEdgeSecurityServiceResource_); + networkEdgeSecurityServiceResource_ = subBuilder.buildPartial(); + } + + break; + } + case -294329070: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + updateMask_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest.class, + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest.Builder.class); + } + + private int bitField0_; + public static final int NETWORK_EDGE_SECURITY_SERVICE_FIELD_NUMBER = 157011879; + private volatile java.lang.Object networkEdgeSecurityService_; + /** + * + * + *
+   * Name of the network edge security service to update.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityService. + */ + @java.lang.Override + public java.lang.String getNetworkEdgeSecurityService() { + java.lang.Object ref = networkEdgeSecurityService_; + 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(); + networkEdgeSecurityService_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the network edge security service to update.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for networkEdgeSecurityService. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNetworkEdgeSecurityServiceBytes() { + java.lang.Object ref = networkEdgeSecurityService_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + networkEdgeSecurityService_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NETWORK_EDGE_SECURITY_SERVICE_RESOURCE_FIELD_NUMBER = 477548966; + private com.google.cloud.compute.v1.NetworkEdgeSecurityService + networkEdgeSecurityServiceResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the networkEdgeSecurityServiceResource field is set. + */ + @java.lang.Override + public boolean hasNetworkEdgeSecurityServiceResource() { + return networkEdgeSecurityServiceResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityServiceResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityService + getNetworkEdgeSecurityServiceResource() { + return networkEdgeSecurityServiceResource_ == null + ? com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance() + : networkEdgeSecurityServiceResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder + getNetworkEdgeSecurityServiceResourceOrBuilder() { + return getNetworkEdgeSecurityServiceResource(); + } + + public static final int PATHS_FIELD_NUMBER = 106438894; + private volatile java.lang.Object paths_; + /** + * optional string paths = 106438894; + * + * @return Whether the paths field is set. + */ + @java.lang.Override + public boolean hasPaths() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string paths = 106438894; + * + * @return The paths. + */ + @java.lang.Override + public java.lang.String getPaths() { + java.lang.Object ref = paths_; + 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(); + paths_ = s; + return s; + } + } + /** + * optional string paths = 106438894; + * + * @return The bytes for paths. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPathsBytes() { + java.lang.Object ref = paths_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + paths_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + private volatile java.lang.Object updateMask_; + /** + * + * + *
+   * 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); + } + /** + * + * + *
+   * 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; + } + } + /** + * + * + *
+   * 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; + } + } + + 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, 37109963, requestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 106438894, paths_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkEdgeSecurityService_)) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 157011879, networkEdgeSecurityService_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (networkEdgeSecurityServiceResource_ != null) { + output.writeMessage(477548966, getNetworkEdgeSecurityServiceResource()); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 500079778, updateMask_); + } + unknownFields.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(37109963, requestId_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(106438894, paths_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(networkEdgeSecurityService_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize( + 157011879, networkEdgeSecurityService_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (networkEdgeSecurityServiceResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 477548966, getNetworkEdgeSecurityServiceResource()); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(500079778, updateMask_); + } + size += unknownFields.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.PatchNetworkEdgeSecurityServiceRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest other = + (com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest) obj; + + if (!getNetworkEdgeSecurityService().equals(other.getNetworkEdgeSecurityService())) + return false; + if (hasNetworkEdgeSecurityServiceResource() != other.hasNetworkEdgeSecurityServiceResource()) + return false; + if (hasNetworkEdgeSecurityServiceResource()) { + if (!getNetworkEdgeSecurityServiceResource() + .equals(other.getNetworkEdgeSecurityServiceResource())) return false; + } + if (hasPaths() != other.hasPaths()) return false; + if (hasPaths()) { + if (!getPaths().equals(other.getPaths())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) 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 (!unknownFields.equals(other.unknownFields)) 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) + NETWORK_EDGE_SECURITY_SERVICE_FIELD_NUMBER; + hash = (53 * hash) + getNetworkEdgeSecurityService().hashCode(); + if (hasNetworkEdgeSecurityServiceResource()) { + hash = (37 * hash) + NETWORK_EDGE_SECURITY_SERVICE_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getNetworkEdgeSecurityServiceResource().hashCode(); + } + if (hasPaths()) { + hash = (37 * hash) + PATHS_FIELD_NUMBER; + hash = (53 * hash) + getPaths().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest 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.PatchNetworkEdgeSecurityServiceRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest 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.PatchNetworkEdgeSecurityServiceRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest 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.PatchNetworkEdgeSecurityServiceRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest 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.PatchNetworkEdgeSecurityServiceRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest + 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.PatchNetworkEdgeSecurityServiceRequest 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.PatchNetworkEdgeSecurityServiceRequest 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.PatchNetworkEdgeSecurityServiceRequest 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 NetworkEdgeSecurityServices.Patch. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest) + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchNetworkEdgeSecurityServiceRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest.class, + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + networkEdgeSecurityService_ = ""; + + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + networkEdgeSecurityServiceResource_ = null; + } else { + networkEdgeSecurityServiceResource_ = null; + networkEdgeSecurityServiceResourceBuilder_ = null; + } + paths_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + updateMask_ = ""; + bitField0_ = (bitField0_ & ~0x00000004); + 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_PatchNetworkEdgeSecurityServiceRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest build() { + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest buildPartial() { + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest result = + new com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.networkEdgeSecurityService_ = networkEdgeSecurityService_; + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + result.networkEdgeSecurityServiceResource_ = networkEdgeSecurityServiceResource_; + } else { + result.networkEdgeSecurityServiceResource_ = + networkEdgeSecurityServiceResourceBuilder_.build(); + } + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.paths_ = paths_; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.requestId_ = requestId_; + if (((from_bitField0_ & 0x00000004) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.updateMask_ = updateMask_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.PatchNetworkEdgeSecurityServiceRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest other) { + if (other + == com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest + .getDefaultInstance()) return this; + if (!other.getNetworkEdgeSecurityService().isEmpty()) { + networkEdgeSecurityService_ = other.networkEdgeSecurityService_; + onChanged(); + } + if (other.hasNetworkEdgeSecurityServiceResource()) { + mergeNetworkEdgeSecurityServiceResource(other.getNetworkEdgeSecurityServiceResource()); + } + if (other.hasPaths()) { + bitField0_ |= 0x00000001; + paths_ = other.paths_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000002; + requestId_ = other.requestId_; + onChanged(); + } + if (other.hasUpdateMask()) { + bitField0_ |= 0x00000004; + updateMask_ = other.updateMask_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object networkEdgeSecurityService_ = ""; + /** + * + * + *
+     * Name of the network edge security service to update.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityService. + */ + public java.lang.String getNetworkEdgeSecurityService() { + java.lang.Object ref = networkEdgeSecurityService_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + networkEdgeSecurityService_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the network edge security service to update.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for networkEdgeSecurityService. + */ + public com.google.protobuf.ByteString getNetworkEdgeSecurityServiceBytes() { + java.lang.Object ref = networkEdgeSecurityService_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + networkEdgeSecurityService_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the network edge security service to update.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The networkEdgeSecurityService to set. + * @return This builder for chaining. + */ + public Builder setNetworkEdgeSecurityService(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + networkEdgeSecurityService_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the network edge security service to update.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return This builder for chaining. + */ + public Builder clearNetworkEdgeSecurityService() { + + networkEdgeSecurityService_ = getDefaultInstance().getNetworkEdgeSecurityService(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the network edge security service to update.
+     * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @param value The bytes for networkEdgeSecurityService to set. + * @return This builder for chaining. + */ + public Builder setNetworkEdgeSecurityServiceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + networkEdgeSecurityService_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.NetworkEdgeSecurityService + networkEdgeSecurityServiceResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.NetworkEdgeSecurityService, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder> + networkEdgeSecurityServiceResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the networkEdgeSecurityServiceResource field is set. + */ + public boolean hasNetworkEdgeSecurityServiceResource() { + return networkEdgeSecurityServiceResourceBuilder_ != null + || networkEdgeSecurityServiceResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityServiceResource. + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityService + getNetworkEdgeSecurityServiceResource() { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + return networkEdgeSecurityServiceResource_ == null + ? com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance() + : networkEdgeSecurityServiceResource_; + } else { + return networkEdgeSecurityServiceResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNetworkEdgeSecurityServiceResource( + com.google.cloud.compute.v1.NetworkEdgeSecurityService value) { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + networkEdgeSecurityServiceResource_ = value; + onChanged(); + } else { + networkEdgeSecurityServiceResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setNetworkEdgeSecurityServiceResource( + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder builderForValue) { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + networkEdgeSecurityServiceResource_ = builderForValue.build(); + onChanged(); + } else { + networkEdgeSecurityServiceResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeNetworkEdgeSecurityServiceResource( + com.google.cloud.compute.v1.NetworkEdgeSecurityService value) { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + if (networkEdgeSecurityServiceResource_ != null) { + networkEdgeSecurityServiceResource_ = + com.google.cloud.compute.v1.NetworkEdgeSecurityService.newBuilder( + networkEdgeSecurityServiceResource_) + .mergeFrom(value) + .buildPartial(); + } else { + networkEdgeSecurityServiceResource_ = value; + } + onChanged(); + } else { + networkEdgeSecurityServiceResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearNetworkEdgeSecurityServiceResource() { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + networkEdgeSecurityServiceResource_ = null; + onChanged(); + } else { + networkEdgeSecurityServiceResource_ = null; + networkEdgeSecurityServiceResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder + getNetworkEdgeSecurityServiceResourceBuilder() { + + onChanged(); + return getNetworkEdgeSecurityServiceResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder + getNetworkEdgeSecurityServiceResourceOrBuilder() { + if (networkEdgeSecurityServiceResourceBuilder_ != null) { + return networkEdgeSecurityServiceResourceBuilder_.getMessageOrBuilder(); + } else { + return networkEdgeSecurityServiceResource_ == null + ? com.google.cloud.compute.v1.NetworkEdgeSecurityService.getDefaultInstance() + : networkEdgeSecurityServiceResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.NetworkEdgeSecurityService, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder> + getNetworkEdgeSecurityServiceResourceFieldBuilder() { + if (networkEdgeSecurityServiceResourceBuilder_ == null) { + networkEdgeSecurityServiceResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.NetworkEdgeSecurityService, + com.google.cloud.compute.v1.NetworkEdgeSecurityService.Builder, + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder>( + getNetworkEdgeSecurityServiceResource(), getParentForChildren(), isClean()); + networkEdgeSecurityServiceResource_ = null; + } + return networkEdgeSecurityServiceResourceBuilder_; + } + + private java.lang.Object paths_ = ""; + /** + * optional string paths = 106438894; + * + * @return Whether the paths field is set. + */ + public boolean hasPaths() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * optional string paths = 106438894; + * + * @return The paths. + */ + public java.lang.String getPaths() { + java.lang.Object ref = paths_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + paths_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * optional string paths = 106438894; + * + * @return The bytes for paths. + */ + public com.google.protobuf.ByteString getPathsBytes() { + java.lang.Object ref = paths_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + paths_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * optional string paths = 106438894; + * + * @param value The paths to set. + * @return This builder for chaining. + */ + public Builder setPaths(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + paths_ = value; + onChanged(); + return this; + } + /** + * optional string paths = 106438894; + * + * @return This builder for chaining. + */ + public Builder clearPaths() { + bitField0_ = (bitField0_ & ~0x00000001); + paths_ = getDefaultInstance().getPaths(); + onChanged(); + return this; + } + /** + * optional string paths = 106438894; + * + * @param value The bytes for paths to set. + * @return This builder for chaining. + */ + public Builder setPathsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000001; + paths_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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(); + } + bitField0_ |= 0x00000002; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000002; + requestId_ = value; + onChanged(); + return this; + } + + private java.lang.Object updateMask_ = ""; + /** + * + * + *
+     * 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_ & 0x00000004) != 0); + } + /** + * + * + *
+     * 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; + } + } + /** + * + * + *
+     * 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; + } + } + /** + * + * + *
+     * 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(); + } + bitField0_ |= 0x00000004; + updateMask_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Indicates fields to be updated as part of this request.
+     * 
+ * + * optional string update_mask = 500079778; + * + * @return This builder for chaining. + */ + public Builder clearUpdateMask() { + bitField0_ = (bitField0_ & ~0x00000004); + updateMask_ = getDefaultInstance().getUpdateMask(); + onChanged(); + return this; + } + /** + * + * + *
+     * 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); + bitField0_ |= 0x00000004; + updateMask_ = value; + 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.PatchNetworkEdgeSecurityServiceRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest) + private static final com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest(); + } + + public static com.google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchNetworkEdgeSecurityServiceRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchNetworkEdgeSecurityServiceRequest(input, extensionRegistry); + } + }; + + 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.PatchNetworkEdgeSecurityServiceRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkEdgeSecurityServiceRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkEdgeSecurityServiceRequestOrBuilder.java new file mode 100644 index 000000000..aa4a3c563 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkEdgeSecurityServiceRequestOrBuilder.java @@ -0,0 +1,247 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface PatchNetworkEdgeSecurityServiceRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchNetworkEdgeSecurityServiceRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the network edge security service to update.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityService. + */ + java.lang.String getNetworkEdgeSecurityService(); + /** + * + * + *
+   * Name of the network edge security service to update.
+   * 
+ * + * + * string network_edge_security_service = 157011879 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The bytes for networkEdgeSecurityService. + */ + com.google.protobuf.ByteString getNetworkEdgeSecurityServiceBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the networkEdgeSecurityServiceResource field is set. + */ + boolean hasNetworkEdgeSecurityServiceResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The networkEdgeSecurityServiceResource. + */ + com.google.cloud.compute.v1.NetworkEdgeSecurityService getNetworkEdgeSecurityServiceResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.NetworkEdgeSecurityServiceOrBuilder + getNetworkEdgeSecurityServiceResourceOrBuilder(); + + /** + * optional string paths = 106438894; + * + * @return Whether the paths field is set. + */ + boolean hasPaths(); + /** + * optional string paths = 106438894; + * + * @return The paths. + */ + java.lang.String getPaths(); + /** + * optional string paths = 106438894; + * + * @return The bytes for paths. + */ + com.google.protobuf.ByteString getPathsBytes(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return Whether the updateMask field is set. + */ + boolean hasUpdateMask(); + /** + * + * + *
+   * Indicates fields to be updated as part of this request.
+   * 
+ * + * optional string update_mask = 500079778; + * + * @return The updateMask. + */ + java.lang.String getUpdateMask(); + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..1d74a5bfc --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkFirewallPolicyRequest.java @@ -0,0 +1,1364 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.Patch. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest} + */ +public final class PatchNetworkFirewallPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest) + PatchNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PatchNetworkFirewallPolicyRequest.newBuilder() to construct. + private PatchNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PatchNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PatchNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PatchNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -334571038: + { + com.google.cloud.compute.v1.FirewallPolicy.Builder subBuilder = null; + if (firewallPolicyResource_ != null) { + subBuilder = firewallPolicyResource_.toBuilder(); + } + firewallPolicyResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyResource_); + firewallPolicyResource_ = subBuilder.buildPartial(); + } + + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIREWALL_POLICY_RESOURCE_FIELD_NUMBER = 495049532; + private com.google.cloud.compute.v1.FirewallPolicy firewallPolicyResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyResource() { + return firewallPolicyResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource() { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyOrBuilder getFirewallPolicyResourceOrBuilder() { + return getFirewallPolicyResource(); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyResource_ != null) { + output.writeMessage(495049532, getFirewallPolicyResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 495049532, getFirewallPolicyResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.PatchNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasFirewallPolicyResource() != other.hasFirewallPolicyResource()) return false; + if (hasFirewallPolicyResource()) { + if (!getFirewallPolicyResource().equals(other.getFirewallPolicyResource())) 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 (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasFirewallPolicyResource()) { + hash = (37 * hash) + FIREWALL_POLICY_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyResource().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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest 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.PatchNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest 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.PatchNetworkFirewallPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest 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.PatchNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest 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.PatchNetworkFirewallPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest 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.PatchNetworkFirewallPolicyRequest 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.PatchNetworkFirewallPolicyRequest 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.PatchNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.Patch. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = null; + } else { + firewallPolicyResource_ = null; + firewallPolicyResourceBuilder_ = null; + } + project_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + 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_PatchNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (firewallPolicyResourceBuilder_ == null) { + result.firewallPolicyResource_ = firewallPolicyResource_; + } else { + result.firewallPolicyResource_ = firewallPolicyResourceBuilder_.build(); + } + result.project_ = project_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.PatchNetworkFirewallPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest.getDefaultInstance()) + return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasFirewallPolicyResource()) { + mergeFirewallPolicyResource(other.getFirewallPolicyResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.FirewallPolicy firewallPolicyResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder> + firewallPolicyResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + public boolean hasFirewallPolicyResource() { + return firewallPolicyResourceBuilder_ != null || firewallPolicyResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + public com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource() { + if (firewallPolicyResourceBuilder_ == null) { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } else { + return firewallPolicyResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyResource(com.google.cloud.compute.v1.FirewallPolicy value) { + if (firewallPolicyResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyResource_ = value; + onChanged(); + } else { + firewallPolicyResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyResource( + com.google.cloud.compute.v1.FirewallPolicy.Builder builderForValue) { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyResource(com.google.cloud.compute.v1.FirewallPolicy value) { + if (firewallPolicyResourceBuilder_ == null) { + if (firewallPolicyResource_ != null) { + firewallPolicyResource_ = + com.google.cloud.compute.v1.FirewallPolicy.newBuilder(firewallPolicyResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyResource_ = value; + } + onChanged(); + } else { + firewallPolicyResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyResource() { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = null; + onChanged(); + } else { + firewallPolicyResource_ = null; + firewallPolicyResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicy.Builder getFirewallPolicyResourceBuilder() { + + onChanged(); + return getFirewallPolicyResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyOrBuilder + getFirewallPolicyResourceOrBuilder() { + if (firewallPolicyResourceBuilder_ != null) { + return firewallPolicyResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder> + getFirewallPolicyResourceFieldBuilder() { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder>( + getFirewallPolicyResource(), getParentForChildren(), isClean()); + firewallPolicyResource_ = null; + } + return firewallPolicyResourceBuilder_; + } + + 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; + 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(); + 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; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + 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.PatchNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.PatchNetworkFirewallPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..082b495fa --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,157 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface PatchNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + boolean hasFirewallPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyOrBuilder getFirewallPolicyResourceOrBuilder(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..65764a5c5 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1565 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.Patch. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest} + */ +public final class PatchRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest) + PatchRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PatchRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private PatchRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PatchRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PatchRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PatchRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -334571038: + { + com.google.cloud.compute.v1.FirewallPolicy.Builder subBuilder = null; + if (firewallPolicyResource_ != null) { + subBuilder = firewallPolicyResource_.toBuilder(); + } + firewallPolicyResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyResource_); + firewallPolicyResource_ = subBuilder.buildPartial(); + } + + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIREWALL_POLICY_RESOURCE_FIELD_NUMBER = 495049532; + private com.google.cloud.compute.v1.FirewallPolicy firewallPolicyResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyResource() { + return firewallPolicyResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource() { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyOrBuilder getFirewallPolicyResourceOrBuilder() { + return getFirewallPolicyResource(); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyResource_ != null) { + output.writeMessage(495049532, getFirewallPolicyResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 495049532, getFirewallPolicyResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.PatchRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasFirewallPolicyResource() != other.hasFirewallPolicyResource()) return false; + if (hasFirewallPolicyResource()) { + if (!getFirewallPolicyResource().equals(other.getFirewallPolicyResource())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasFirewallPolicyResource()) { + hash = (37 * hash) + FIREWALL_POLICY_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyResource().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest 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.PatchRegionNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest 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.PatchRegionNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest 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.PatchRegionNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest 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.PatchRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest + 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.PatchRegionNetworkFirewallPolicyRequest 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.PatchRegionNetworkFirewallPolicyRequest 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.PatchRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.Patch. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = null; + } else { + firewallPolicyResource_ = null; + firewallPolicyResourceBuilder_ = null; + } + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + 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_PatchRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (firewallPolicyResourceBuilder_ == null) { + result.firewallPolicyResource_ = firewallPolicyResource_; + } else { + result.firewallPolicyResource_ = firewallPolicyResourceBuilder_.build(); + } + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.PatchRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasFirewallPolicyResource()) { + mergeFirewallPolicyResource(other.getFirewallPolicyResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.FirewallPolicy firewallPolicyResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder> + firewallPolicyResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + public boolean hasFirewallPolicyResource() { + return firewallPolicyResourceBuilder_ != null || firewallPolicyResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + public com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource() { + if (firewallPolicyResourceBuilder_ == null) { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } else { + return firewallPolicyResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyResource(com.google.cloud.compute.v1.FirewallPolicy value) { + if (firewallPolicyResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyResource_ = value; + onChanged(); + } else { + firewallPolicyResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyResource( + com.google.cloud.compute.v1.FirewallPolicy.Builder builderForValue) { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyResource(com.google.cloud.compute.v1.FirewallPolicy value) { + if (firewallPolicyResourceBuilder_ == null) { + if (firewallPolicyResource_ != null) { + firewallPolicyResource_ = + com.google.cloud.compute.v1.FirewallPolicy.newBuilder(firewallPolicyResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyResource_ = value; + } + onChanged(); + } else { + firewallPolicyResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyResource() { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResource_ = null; + onChanged(); + } else { + firewallPolicyResource_ = null; + firewallPolicyResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicy.Builder getFirewallPolicyResourceBuilder() { + + onChanged(); + return getFirewallPolicyResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyOrBuilder + getFirewallPolicyResourceOrBuilder() { + if (firewallPolicyResourceBuilder_ != null) { + return firewallPolicyResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicy.getDefaultInstance() + : firewallPolicyResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder> + getFirewallPolicyResourceFieldBuilder() { + if (firewallPolicyResourceBuilder_ == null) { + firewallPolicyResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicy, + com.google.cloud.compute.v1.FirewallPolicy.Builder, + com.google.cloud.compute.v1.FirewallPolicyOrBuilder>( + getFirewallPolicyResource(), getParentForChildren(), isClean()); + firewallPolicyResource_ = null; + } + return firewallPolicyResourceBuilder_; + } + + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + 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.PatchRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.PatchRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..b943fa0fb --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,186 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface PatchRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyResource field is set. + */ + boolean hasFirewallPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyResource. + */ + com.google.cloud.compute.v1.FirewallPolicy getFirewallPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicy firewall_policy_resource = 495049532 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyOrBuilder getFirewallPolicyResourceOrBuilder(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionSecurityPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionSecurityPolicyRequest.java new file mode 100644 index 000000000..294d6dfbf --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionSecurityPolicyRequest.java @@ -0,0 +1,1556 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionSecurityPolicies.Patch. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRegionSecurityPolicyRequest} + */ +public final class PatchRegionSecurityPolicyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.PatchRegionSecurityPolicyRequest) + PatchRegionSecurityPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PatchRegionSecurityPolicyRequest.newBuilder() to construct. + private PatchRegionSecurityPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PatchRegionSecurityPolicyRequest() { + project_ = ""; + region_ = ""; + requestId_ = ""; + securityPolicy_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PatchRegionSecurityPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PatchRegionSecurityPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1368660106: + { + java.lang.String s = input.readStringRequireUtf8(); + + securityPolicy_ = s; + break; + } + case 1729276898: + { + com.google.cloud.compute.v1.SecurityPolicy.Builder subBuilder = null; + if (securityPolicyResource_ != null) { + subBuilder = securityPolicyResource_.toBuilder(); + } + securityPolicyResource_ = + input.readMessage( + com.google.cloud.compute.v1.SecurityPolicy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(securityPolicyResource_); + securityPolicyResource_ = subBuilder.buildPartial(); + } + + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest.class, + com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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 SECURITY_POLICY_FIELD_NUMBER = 171082513; + private volatile java.lang.Object securityPolicy_; + /** + * + * + *
+   * Name of the security policy to update.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The securityPolicy. + */ + @java.lang.Override + public java.lang.String getSecurityPolicy() { + java.lang.Object ref = securityPolicy_; + 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(); + securityPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the security policy to update.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for securityPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSecurityPolicyBytes() { + java.lang.Object ref = securityPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + securityPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SECURITY_POLICY_RESOURCE_FIELD_NUMBER = 216159612; + private com.google.cloud.compute.v1.SecurityPolicy securityPolicyResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the securityPolicyResource field is set. + */ + @java.lang.Override + public boolean hasSecurityPolicyResource() { + return securityPolicyResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The securityPolicyResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicy getSecurityPolicyResource() { + return securityPolicyResource_ == null + ? com.google.cloud.compute.v1.SecurityPolicy.getDefaultInstance() + : securityPolicyResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicyOrBuilder getSecurityPolicyResourceOrBuilder() { + return getSecurityPolicyResource(); + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 171082513, securityPolicy_); + } + if (securityPolicyResource_ != null) { + output.writeMessage(216159612, getSecurityPolicyResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(securityPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(171082513, securityPolicy_); + } + if (securityPolicyResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 216159612, getSecurityPolicyResource()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + size += unknownFields.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.PatchRegionSecurityPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest other = + (com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getSecurityPolicy().equals(other.getSecurityPolicy())) return false; + if (hasSecurityPolicyResource() != other.hasSecurityPolicyResource()) return false; + if (hasSecurityPolicyResource()) { + if (!getSecurityPolicyResource().equals(other.getSecurityPolicyResource())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + SECURITY_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getSecurityPolicy().hashCode(); + if (hasSecurityPolicyResource()) { + hash = (37 * hash) + SECURITY_POLICY_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getSecurityPolicyResource().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest 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.PatchRegionSecurityPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest 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.PatchRegionSecurityPolicyRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest 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.PatchRegionSecurityPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest 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.PatchRegionSecurityPolicyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest 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.PatchRegionSecurityPolicyRequest 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.PatchRegionSecurityPolicyRequest 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.PatchRegionSecurityPolicyRequest 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 RegionSecurityPolicies.Patch. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRegionSecurityPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.PatchRegionSecurityPolicyRequest) + com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionSecurityPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest.class, + com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + securityPolicy_ = ""; + + if (securityPolicyResourceBuilder_ == null) { + securityPolicyResource_ = null; + } else { + securityPolicyResource_ = null; + securityPolicyResourceBuilder_ = 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_PatchRegionSecurityPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest build() { + com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest buildPartial() { + com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest result = + new com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.securityPolicy_ = securityPolicy_; + if (securityPolicyResourceBuilder_ == null) { + result.securityPolicyResource_ = securityPolicyResource_; + } else { + result.securityPolicyResource_ = securityPolicyResourceBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.PatchRegionSecurityPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + if (!other.getSecurityPolicy().isEmpty()) { + securityPolicy_ = other.securityPolicy_; + onChanged(); + } + if (other.hasSecurityPolicyResource()) { + mergeSecurityPolicyResource(other.getSecurityPolicyResource()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + onChanged(); + return this; + } + + private java.lang.Object securityPolicy_ = ""; + /** + * + * + *
+     * Name of the security policy to update.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The securityPolicy. + */ + public java.lang.String getSecurityPolicy() { + java.lang.Object ref = securityPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + securityPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the security policy to update.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for securityPolicy. + */ + public com.google.protobuf.ByteString getSecurityPolicyBytes() { + java.lang.Object ref = securityPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + securityPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the security policy to update.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The securityPolicy to set. + * @return This builder for chaining. + */ + public Builder setSecurityPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + securityPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the security policy to update.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearSecurityPolicy() { + + securityPolicy_ = getDefaultInstance().getSecurityPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the security policy to update.
+     * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for securityPolicy to set. + * @return This builder for chaining. + */ + public Builder setSecurityPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + securityPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.SecurityPolicy securityPolicyResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicy, + com.google.cloud.compute.v1.SecurityPolicy.Builder, + com.google.cloud.compute.v1.SecurityPolicyOrBuilder> + securityPolicyResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the securityPolicyResource field is set. + */ + public boolean hasSecurityPolicyResource() { + return securityPolicyResourceBuilder_ != null || securityPolicyResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The securityPolicyResource. + */ + public com.google.cloud.compute.v1.SecurityPolicy getSecurityPolicyResource() { + if (securityPolicyResourceBuilder_ == null) { + return securityPolicyResource_ == null + ? com.google.cloud.compute.v1.SecurityPolicy.getDefaultInstance() + : securityPolicyResource_; + } else { + return securityPolicyResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSecurityPolicyResource(com.google.cloud.compute.v1.SecurityPolicy value) { + if (securityPolicyResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + securityPolicyResource_ = value; + onChanged(); + } else { + securityPolicyResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setSecurityPolicyResource( + com.google.cloud.compute.v1.SecurityPolicy.Builder builderForValue) { + if (securityPolicyResourceBuilder_ == null) { + securityPolicyResource_ = builderForValue.build(); + onChanged(); + } else { + securityPolicyResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeSecurityPolicyResource(com.google.cloud.compute.v1.SecurityPolicy value) { + if (securityPolicyResourceBuilder_ == null) { + if (securityPolicyResource_ != null) { + securityPolicyResource_ = + com.google.cloud.compute.v1.SecurityPolicy.newBuilder(securityPolicyResource_) + .mergeFrom(value) + .buildPartial(); + } else { + securityPolicyResource_ = value; + } + onChanged(); + } else { + securityPolicyResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearSecurityPolicyResource() { + if (securityPolicyResourceBuilder_ == null) { + securityPolicyResource_ = null; + onChanged(); + } else { + securityPolicyResource_ = null; + securityPolicyResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.SecurityPolicy.Builder getSecurityPolicyResourceBuilder() { + + onChanged(); + return getSecurityPolicyResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.SecurityPolicyOrBuilder + getSecurityPolicyResourceOrBuilder() { + if (securityPolicyResourceBuilder_ != null) { + return securityPolicyResourceBuilder_.getMessageOrBuilder(); + } else { + return securityPolicyResource_ == null + ? com.google.cloud.compute.v1.SecurityPolicy.getDefaultInstance() + : securityPolicyResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicy, + com.google.cloud.compute.v1.SecurityPolicy.Builder, + com.google.cloud.compute.v1.SecurityPolicyOrBuilder> + getSecurityPolicyResourceFieldBuilder() { + if (securityPolicyResourceBuilder_ == null) { + securityPolicyResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicy, + com.google.cloud.compute.v1.SecurityPolicy.Builder, + com.google.cloud.compute.v1.SecurityPolicyOrBuilder>( + getSecurityPolicyResource(), getParentForChildren(), isClean()); + securityPolicyResource_ = null; + } + return securityPolicyResourceBuilder_; + } + + @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.PatchRegionSecurityPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.PatchRegionSecurityPolicyRequest) + private static final com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest(); + } + + public static com.google.cloud.compute.v1.PatchRegionSecurityPolicyRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchRegionSecurityPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchRegionSecurityPolicyRequest(input, extensionRegistry); + } + }; + + 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.PatchRegionSecurityPolicyRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionSecurityPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionSecurityPolicyRequestOrBuilder.java new file mode 100644 index 000000000..ef7badf0c --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionSecurityPolicyRequestOrBuilder.java @@ -0,0 +1,186 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface PatchRegionSecurityPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchRegionSecurityPolicyRequest) + 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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 security policy to update.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The securityPolicy. + */ + java.lang.String getSecurityPolicy(); + /** + * + * + *
+   * Name of the security policy to update.
+   * 
+ * + * string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for securityPolicy. + */ + com.google.protobuf.ByteString getSecurityPolicyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the securityPolicyResource field is set. + */ + boolean hasSecurityPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The securityPolicyResource. + */ + com.google.cloud.compute.v1.SecurityPolicy getSecurityPolicyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.SecurityPolicy security_policy_resource = 216159612 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.SecurityPolicyOrBuilder getSecurityPolicyResourceOrBuilder(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionTargetHttpsProxyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionTargetHttpsProxyRequest.java new file mode 100644 index 000000000..644e753ea --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionTargetHttpsProxyRequest.java @@ -0,0 +1,1562 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionTargetHttpsProxies.Patch. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest} + */ +public final class PatchRegionTargetHttpsProxyRequest extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest) + PatchRegionTargetHttpsProxyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PatchRegionTargetHttpsProxyRequest.newBuilder() to construct. + private PatchRegionTargetHttpsProxyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PatchRegionTargetHttpsProxyRequest() { + project_ = ""; + region_ = ""; + requestId_ = ""; + targetHttpsProxy_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PatchRegionTargetHttpsProxyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PatchRegionTargetHttpsProxyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + requestId_ = s; + break; + } + case 418693986: + { + java.lang.String s = input.readStringRequireUtf8(); + + targetHttpsProxy_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -825707510: + { + com.google.cloud.compute.v1.TargetHttpsProxy.Builder subBuilder = null; + if (targetHttpsProxyResource_ != null) { + subBuilder = targetHttpsProxyResource_.toBuilder(); + } + targetHttpsProxyResource_ = + input.readMessage( + com.google.cloud.compute.v1.TargetHttpsProxy.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(targetHttpsProxyResource_); + targetHttpsProxyResource_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest.class, + com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest.Builder.class); + } + + private int bitField0_; + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region for this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region for this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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 TARGET_HTTPS_PROXY_FIELD_NUMBER = 52336748; + private volatile java.lang.Object targetHttpsProxy_; + /** + * + * + *
+   * Name of the TargetHttpsProxy resource to patch.
+   * 
+ * + * string target_https_proxy = 52336748 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The targetHttpsProxy. + */ + @java.lang.Override + public java.lang.String getTargetHttpsProxy() { + java.lang.Object ref = targetHttpsProxy_; + 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(); + targetHttpsProxy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the TargetHttpsProxy resource to patch.
+   * 
+ * + * string target_https_proxy = 52336748 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for targetHttpsProxy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getTargetHttpsProxyBytes() { + java.lang.Object ref = targetHttpsProxy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetHttpsProxy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TARGET_HTTPS_PROXY_RESOURCE_FIELD_NUMBER = 433657473; + private com.google.cloud.compute.v1.TargetHttpsProxy targetHttpsProxyResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the targetHttpsProxyResource field is set. + */ + @java.lang.Override + public boolean hasTargetHttpsProxyResource() { + return targetHttpsProxyResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The targetHttpsProxyResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.TargetHttpsProxy getTargetHttpsProxyResource() { + return targetHttpsProxyResource_ == null + ? com.google.cloud.compute.v1.TargetHttpsProxy.getDefaultInstance() + : targetHttpsProxyResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.TargetHttpsProxyOrBuilder + getTargetHttpsProxyResourceOrBuilder() { + return getTargetHttpsProxyResource(); + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetHttpsProxy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 52336748, targetHttpsProxy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (targetHttpsProxyResource_ != null) { + output.writeMessage(433657473, getTargetHttpsProxyResource()); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(targetHttpsProxy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(52336748, targetHttpsProxy_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (targetHttpsProxyResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 433657473, getTargetHttpsProxyResource()); + } + size += unknownFields.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.PatchRegionTargetHttpsProxyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest other = + (com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!getTargetHttpsProxy().equals(other.getTargetHttpsProxy())) return false; + if (hasTargetHttpsProxyResource() != other.hasTargetHttpsProxyResource()) return false; + if (hasTargetHttpsProxyResource()) { + if (!getTargetHttpsProxyResource().equals(other.getTargetHttpsProxyResource())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (37 * hash) + TARGET_HTTPS_PROXY_FIELD_NUMBER; + hash = (53 * hash) + getTargetHttpsProxy().hashCode(); + if (hasTargetHttpsProxyResource()) { + hash = (37 * hash) + TARGET_HTTPS_PROXY_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getTargetHttpsProxyResource().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest 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.PatchRegionTargetHttpsProxyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest 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.PatchRegionTargetHttpsProxyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest 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.PatchRegionTargetHttpsProxyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest 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.PatchRegionTargetHttpsProxyRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest 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.PatchRegionTargetHttpsProxyRequest 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.PatchRegionTargetHttpsProxyRequest 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.PatchRegionTargetHttpsProxyRequest 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 RegionTargetHttpsProxies.Patch. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest) + com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRegionTargetHttpsProxyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest.class, + com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + targetHttpsProxy_ = ""; + + if (targetHttpsProxyResourceBuilder_ == null) { + targetHttpsProxyResource_ = null; + } else { + targetHttpsProxyResource_ = null; + targetHttpsProxyResourceBuilder_ = 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_PatchRegionTargetHttpsProxyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest build() { + com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest buildPartial() { + com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest result = + new com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.requestId_ = requestId_; + result.targetHttpsProxy_ = targetHttpsProxy_; + if (targetHttpsProxyResourceBuilder_ == null) { + result.targetHttpsProxyResource_ = targetHttpsProxyResource_; + } else { + result.targetHttpsProxyResource_ = targetHttpsProxyResourceBuilder_.build(); + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.PatchRegionTargetHttpsProxyRequest) { + return mergeFrom((com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest other) { + if (other + == com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest.getDefaultInstance()) + return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000001; + requestId_ = other.requestId_; + onChanged(); + } + if (!other.getTargetHttpsProxy().isEmpty()) { + targetHttpsProxy_ = other.targetHttpsProxy_; + onChanged(); + } + if (other.hasTargetHttpsProxyResource()) { + mergeTargetHttpsProxyResource(other.getTargetHttpsProxyResource()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region for this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region for this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region for this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region for this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region for this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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_ & 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. + */ + 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(); + } + bitField0_ |= 0x00000001; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000001); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000001; + requestId_ = value; + onChanged(); + return this; + } + + private java.lang.Object targetHttpsProxy_ = ""; + /** + * + * + *
+     * Name of the TargetHttpsProxy resource to patch.
+     * 
+ * + * string target_https_proxy = 52336748 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The targetHttpsProxy. + */ + public java.lang.String getTargetHttpsProxy() { + java.lang.Object ref = targetHttpsProxy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + targetHttpsProxy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the TargetHttpsProxy resource to patch.
+     * 
+ * + * string target_https_proxy = 52336748 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for targetHttpsProxy. + */ + public com.google.protobuf.ByteString getTargetHttpsProxyBytes() { + java.lang.Object ref = targetHttpsProxy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + targetHttpsProxy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the TargetHttpsProxy resource to patch.
+     * 
+ * + * string target_https_proxy = 52336748 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The targetHttpsProxy to set. + * @return This builder for chaining. + */ + public Builder setTargetHttpsProxy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + targetHttpsProxy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the TargetHttpsProxy resource to patch.
+     * 
+ * + * string target_https_proxy = 52336748 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearTargetHttpsProxy() { + + targetHttpsProxy_ = getDefaultInstance().getTargetHttpsProxy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the TargetHttpsProxy resource to patch.
+     * 
+ * + * string target_https_proxy = 52336748 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for targetHttpsProxy to set. + * @return This builder for chaining. + */ + public Builder setTargetHttpsProxyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + targetHttpsProxy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.TargetHttpsProxy targetHttpsProxyResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.TargetHttpsProxy, + com.google.cloud.compute.v1.TargetHttpsProxy.Builder, + com.google.cloud.compute.v1.TargetHttpsProxyOrBuilder> + targetHttpsProxyResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the targetHttpsProxyResource field is set. + */ + public boolean hasTargetHttpsProxyResource() { + return targetHttpsProxyResourceBuilder_ != null || targetHttpsProxyResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The targetHttpsProxyResource. + */ + public com.google.cloud.compute.v1.TargetHttpsProxy getTargetHttpsProxyResource() { + if (targetHttpsProxyResourceBuilder_ == null) { + return targetHttpsProxyResource_ == null + ? com.google.cloud.compute.v1.TargetHttpsProxy.getDefaultInstance() + : targetHttpsProxyResource_; + } else { + return targetHttpsProxyResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTargetHttpsProxyResource(com.google.cloud.compute.v1.TargetHttpsProxy value) { + if (targetHttpsProxyResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + targetHttpsProxyResource_ = value; + onChanged(); + } else { + targetHttpsProxyResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setTargetHttpsProxyResource( + com.google.cloud.compute.v1.TargetHttpsProxy.Builder builderForValue) { + if (targetHttpsProxyResourceBuilder_ == null) { + targetHttpsProxyResource_ = builderForValue.build(); + onChanged(); + } else { + targetHttpsProxyResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeTargetHttpsProxyResource( + com.google.cloud.compute.v1.TargetHttpsProxy value) { + if (targetHttpsProxyResourceBuilder_ == null) { + if (targetHttpsProxyResource_ != null) { + targetHttpsProxyResource_ = + com.google.cloud.compute.v1.TargetHttpsProxy.newBuilder(targetHttpsProxyResource_) + .mergeFrom(value) + .buildPartial(); + } else { + targetHttpsProxyResource_ = value; + } + onChanged(); + } else { + targetHttpsProxyResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearTargetHttpsProxyResource() { + if (targetHttpsProxyResourceBuilder_ == null) { + targetHttpsProxyResource_ = null; + onChanged(); + } else { + targetHttpsProxyResource_ = null; + targetHttpsProxyResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.TargetHttpsProxy.Builder + getTargetHttpsProxyResourceBuilder() { + + onChanged(); + return getTargetHttpsProxyResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.TargetHttpsProxyOrBuilder + getTargetHttpsProxyResourceOrBuilder() { + if (targetHttpsProxyResourceBuilder_ != null) { + return targetHttpsProxyResourceBuilder_.getMessageOrBuilder(); + } else { + return targetHttpsProxyResource_ == null + ? com.google.cloud.compute.v1.TargetHttpsProxy.getDefaultInstance() + : targetHttpsProxyResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.TargetHttpsProxy, + com.google.cloud.compute.v1.TargetHttpsProxy.Builder, + com.google.cloud.compute.v1.TargetHttpsProxyOrBuilder> + getTargetHttpsProxyResourceFieldBuilder() { + if (targetHttpsProxyResourceBuilder_ == null) { + targetHttpsProxyResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.TargetHttpsProxy, + com.google.cloud.compute.v1.TargetHttpsProxy.Builder, + com.google.cloud.compute.v1.TargetHttpsProxyOrBuilder>( + getTargetHttpsProxyResource(), getParentForChildren(), isClean()); + targetHttpsProxyResource_ = null; + } + return targetHttpsProxyResourceBuilder_; + } + + @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.PatchRegionTargetHttpsProxyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest) + private static final com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest(); + } + + public static com.google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchRegionTargetHttpsProxyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchRegionTargetHttpsProxyRequest(input, extensionRegistry); + } + }; + + 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.PatchRegionTargetHttpsProxyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionTargetHttpsProxyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionTargetHttpsProxyRequestOrBuilder.java new file mode 100644 index 000000000..0c32bcfc4 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRegionTargetHttpsProxyRequestOrBuilder.java @@ -0,0 +1,186 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface PatchRegionTargetHttpsProxyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchRegionTargetHttpsProxyRequest) + 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(); + + /** + * + * + *
+   * Name of the region for this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region for this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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 TargetHttpsProxy resource to patch.
+   * 
+ * + * string target_https_proxy = 52336748 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The targetHttpsProxy. + */ + java.lang.String getTargetHttpsProxy(); + /** + * + * + *
+   * Name of the TargetHttpsProxy resource to patch.
+   * 
+ * + * string target_https_proxy = 52336748 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for targetHttpsProxy. + */ + com.google.protobuf.ByteString getTargetHttpsProxyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the targetHttpsProxyResource field is set. + */ + boolean hasTargetHttpsProxyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The targetHttpsProxyResource. + */ + com.google.cloud.compute.v1.TargetHttpsProxy getTargetHttpsProxyResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.TargetHttpsProxy target_https_proxy_resource = 433657473 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.TargetHttpsProxyOrBuilder getTargetHttpsProxyResourceOrBuilder(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..5f71cbc3f --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleNetworkFirewallPolicyRequest.java @@ -0,0 +1,1504 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.PatchRule. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest} + */ +public final class PatchRuleNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest) + PatchRuleNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PatchRuleNetworkFirewallPolicyRequest.newBuilder() to construct. + private PatchRuleNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PatchRuleNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PatchRuleNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PatchRuleNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + requestId_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 2004188186: + { + com.google.cloud.compute.v1.FirewallPolicyRule.Builder subBuilder = null; + if (firewallPolicyRuleResource_ != null) { + subBuilder = firewallPolicyRuleResource_.toBuilder(); + } + firewallPolicyRuleResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicyRule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyRuleResource_); + firewallPolicyRuleResource_ = subBuilder.buildPartial(); + } + + break; + } + case -733754080: + { + bitField0_ |= 0x00000001; + priority_ = input.readInt32(); + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIREWALL_POLICY_RULE_RESOURCE_FIELD_NUMBER = 250523523; + private com.google.cloud.compute.v1.FirewallPolicyRule firewallPolicyRuleResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyRuleResource() { + return firewallPolicyRuleResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource() { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder + getFirewallPolicyRuleResourceOrBuilder() { + return getFirewallPolicyRuleResource(); + } + + public static final int PRIORITY_FIELD_NUMBER = 445151652; + private int priority_; + /** + * + * + *
+   * The priority of the rule to patch.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The priority of the rule to patch.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyRuleResource_ != null) { + output.writeMessage(250523523, getFirewallPolicyRuleResource()); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyRuleResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 250523523, getFirewallPolicyRuleResource()); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.PatchRuleNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasFirewallPolicyRuleResource() != other.hasFirewallPolicyRuleResource()) return false; + if (hasFirewallPolicyRuleResource()) { + if (!getFirewallPolicyRuleResource().equals(other.getFirewallPolicyRuleResource())) + return false; + } + if (hasPriority() != other.hasPriority()) return false; + if (hasPriority()) { + if (getPriority() != other.getPriority()) 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 (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasFirewallPolicyRuleResource()) { + hash = (37 * hash) + FIREWALL_POLICY_RULE_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyRuleResource().hashCode(); + } + if (hasPriority()) { + hash = (37 * hash) + PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getPriority(); + } + 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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest 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.PatchRuleNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest 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.PatchRuleNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest 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.PatchRuleNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest 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.PatchRuleNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest + 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.PatchRuleNetworkFirewallPolicyRequest 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.PatchRuleNetworkFirewallPolicyRequest 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.PatchRuleNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.PatchRule. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRuleNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = null; + } else { + firewallPolicyRuleResource_ = null; + firewallPolicyRuleResourceBuilder_ = null; + } + priority_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_PatchRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (firewallPolicyRuleResourceBuilder_ == null) { + result.firewallPolicyRuleResource_ = firewallPolicyRuleResource_; + } else { + result.firewallPolicyRuleResource_ = firewallPolicyRuleResourceBuilder_.build(); + } + if (((from_bitField0_ & 0x00000001) != 0)) { + result.priority_ = priority_; + to_bitField0_ |= 0x00000001; + } + result.project_ = project_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.PatchRuleNetworkFirewallPolicyRequest) { + return mergeFrom((com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest.getDefaultInstance()) + return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasFirewallPolicyRuleResource()) { + mergeFirewallPolicyRuleResource(other.getFirewallPolicyRuleResource()); + } + if (other.hasPriority()) { + setPriority(other.getPriority()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000002; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.FirewallPolicyRule firewallPolicyRuleResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + firewallPolicyRuleResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + public boolean hasFirewallPolicyRuleResource() { + return firewallPolicyRuleResourceBuilder_ != null || firewallPolicyRuleResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + public com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource() { + if (firewallPolicyRuleResourceBuilder_ == null) { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } else { + return firewallPolicyRuleResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (firewallPolicyRuleResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyRuleResource_ = value; + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule.Builder builderForValue) { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (firewallPolicyRuleResourceBuilder_ == null) { + if (firewallPolicyRuleResource_ != null) { + firewallPolicyRuleResource_ = + com.google.cloud.compute.v1.FirewallPolicyRule.newBuilder(firewallPolicyRuleResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyRuleResource_ = value; + } + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyRuleResource() { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = null; + onChanged(); + } else { + firewallPolicyRuleResource_ = null; + firewallPolicyRuleResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRule.Builder + getFirewallPolicyRuleResourceBuilder() { + + onChanged(); + return getFirewallPolicyRuleResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder + getFirewallPolicyRuleResourceOrBuilder() { + if (firewallPolicyRuleResourceBuilder_ != null) { + return firewallPolicyRuleResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + getFirewallPolicyRuleResourceFieldBuilder() { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder>( + getFirewallPolicyRuleResource(), getParentForChildren(), isClean()); + firewallPolicyRuleResource_ = null; + } + return firewallPolicyRuleResourceBuilder_; + } + + private int priority_; + /** + * + * + *
+     * The priority of the rule to patch.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The priority of the rule to patch.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + /** + * + * + *
+     * The priority of the rule to patch.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @param value The priority to set. + * @return This builder for chaining. + */ + public Builder setPriority(int value) { + bitField0_ |= 0x00000001; + priority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The priority of the rule to patch.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return This builder for chaining. + */ + public Builder clearPriority() { + bitField0_ = (bitField0_ & ~0x00000001); + priority_ = 0; + 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; + 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(); + 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; + 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(); + } + bitField0_ |= 0x00000002; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000002; + requestId_ = value; + 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.PatchRuleNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchRuleNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchRuleNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.PatchRuleNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..dd781aba6 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,182 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface PatchRuleNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchRuleNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + boolean hasFirewallPolicyRuleResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder getFirewallPolicyRuleResourceOrBuilder(); + + /** + * + * + *
+   * The priority of the rule to patch.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + boolean hasPriority(); + /** + * + * + *
+   * The priority of the rule to patch.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + int getPriority(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..f8428fcad --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1705 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.PatchRule. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest} + */ +public final class PatchRuleRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest) + PatchRuleRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use PatchRuleRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private PatchRuleRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private PatchRuleRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new PatchRuleRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private PatchRuleRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case 2004188186: + { + com.google.cloud.compute.v1.FirewallPolicyRule.Builder subBuilder = null; + if (firewallPolicyRuleResource_ != null) { + subBuilder = firewallPolicyRuleResource_.toBuilder(); + } + firewallPolicyRuleResource_ = + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicyRule.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(firewallPolicyRuleResource_); + firewallPolicyRuleResource_ = subBuilder.buildPartial(); + } + + break; + } + case -733754080: + { + bitField0_ |= 0x00000001; + priority_ = input.readInt32(); + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FIREWALL_POLICY_RULE_RESOURCE_FIELD_NUMBER = 250523523; + private com.google.cloud.compute.v1.FirewallPolicyRule firewallPolicyRuleResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + @java.lang.Override + public boolean hasFirewallPolicyRuleResource() { + return firewallPolicyRuleResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource() { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder + getFirewallPolicyRuleResourceOrBuilder() { + return getFirewallPolicyRuleResource(); + } + + public static final int PRIORITY_FIELD_NUMBER = 445151652; + private int priority_; + /** + * + * + *
+   * The priority of the rule to patch.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The priority of the rule to patch.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (firewallPolicyRuleResource_ != null) { + output.writeMessage(250523523, getFirewallPolicyRuleResource()); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (firewallPolicyRuleResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 250523523, getFirewallPolicyRuleResource()); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.PatchRuleRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasFirewallPolicyRuleResource() != other.hasFirewallPolicyRuleResource()) return false; + if (hasFirewallPolicyRuleResource()) { + if (!getFirewallPolicyRuleResource().equals(other.getFirewallPolicyRuleResource())) + return false; + } + if (hasPriority() != other.hasPriority()) return false; + if (hasPriority()) { + if (getPriority() != other.getPriority()) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasFirewallPolicyRuleResource()) { + hash = (37 * hash) + FIREWALL_POLICY_RULE_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicyRuleResource().hashCode(); + } + if (hasPriority()) { + hash = (37 * hash) + PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getPriority(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest 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.PatchRuleRegionNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest 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.PatchRuleRegionNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest 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.PatchRuleRegionNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest 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.PatchRuleRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest + 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.PatchRuleRegionNetworkFirewallPolicyRequest 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.PatchRuleRegionNetworkFirewallPolicyRequest 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.PatchRuleRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.PatchRule. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_PatchRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = null; + } else { + firewallPolicyRuleResource_ = null; + firewallPolicyRuleResourceBuilder_ = null; + } + priority_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_PatchRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (firewallPolicyRuleResourceBuilder_ == null) { + result.firewallPolicyRuleResource_ = firewallPolicyRuleResource_; + } else { + result.firewallPolicyRuleResource_ = firewallPolicyRuleResourceBuilder_.build(); + } + if (((from_bitField0_ & 0x00000001) != 0)) { + result.priority_ = priority_; + to_bitField0_ |= 0x00000001; + } + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasFirewallPolicyRuleResource()) { + mergeFirewallPolicyRuleResource(other.getFirewallPolicyRuleResource()); + } + if (other.hasPriority()) { + setPriority(other.getPriority()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000002; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.FirewallPolicyRule firewallPolicyRuleResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + firewallPolicyRuleResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + public boolean hasFirewallPolicyRuleResource() { + return firewallPolicyRuleResourceBuilder_ != null || firewallPolicyRuleResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + public com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource() { + if (firewallPolicyRuleResourceBuilder_ == null) { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } else { + return firewallPolicyRuleResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (firewallPolicyRuleResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + firewallPolicyRuleResource_ = value; + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule.Builder builderForValue) { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = builderForValue.build(); + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeFirewallPolicyRuleResource( + com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (firewallPolicyRuleResourceBuilder_ == null) { + if (firewallPolicyRuleResource_ != null) { + firewallPolicyRuleResource_ = + com.google.cloud.compute.v1.FirewallPolicyRule.newBuilder(firewallPolicyRuleResource_) + .mergeFrom(value) + .buildPartial(); + } else { + firewallPolicyRuleResource_ = value; + } + onChanged(); + } else { + firewallPolicyRuleResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearFirewallPolicyRuleResource() { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResource_ = null; + onChanged(); + } else { + firewallPolicyRuleResource_ = null; + firewallPolicyRuleResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRule.Builder + getFirewallPolicyRuleResourceBuilder() { + + onChanged(); + return getFirewallPolicyRuleResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder + getFirewallPolicyRuleResourceOrBuilder() { + if (firewallPolicyRuleResourceBuilder_ != null) { + return firewallPolicyRuleResourceBuilder_.getMessageOrBuilder(); + } else { + return firewallPolicyRuleResource_ == null + ? com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance() + : firewallPolicyRuleResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + getFirewallPolicyRuleResourceFieldBuilder() { + if (firewallPolicyRuleResourceBuilder_ == null) { + firewallPolicyRuleResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder>( + getFirewallPolicyRuleResource(), getParentForChildren(), isClean()); + firewallPolicyRuleResource_ = null; + } + return firewallPolicyRuleResourceBuilder_; + } + + private int priority_; + /** + * + * + *
+     * The priority of the rule to patch.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The priority of the rule to patch.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + /** + * + * + *
+     * The priority of the rule to patch.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @param value The priority to set. + * @return This builder for chaining. + */ + public Builder setPriority(int value) { + bitField0_ |= 0x00000001; + priority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The priority of the rule to patch.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return This builder for chaining. + */ + public Builder clearPriority() { + bitField0_ = (bitField0_ & ~0x00000001); + priority_ = 0; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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(); + } + bitField0_ |= 0x00000002; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000002; + requestId_ = value; + 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.PatchRuleRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PatchRuleRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new PatchRuleRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.PatchRuleRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..4b3baaad8 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PatchRuleRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,211 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface PatchRuleRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.PatchRuleRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the firewallPolicyRuleResource field is set. + */ + boolean hasFirewallPolicyRuleResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The firewallPolicyRuleResource. + */ + com.google.cloud.compute.v1.FirewallPolicyRule getFirewallPolicyRuleResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder getFirewallPolicyRuleResourceOrBuilder(); + + /** + * + * + *
+   * The priority of the rule to patch.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + boolean hasPriority(); + /** + * + * + *
+   * The priority of the rule to patch.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + int getPriority(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Policy.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Policy.java index 3be72bc00..f6c4db8f9 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Policy.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Policy.java @@ -374,12 +374,6 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int IAM_OWNED_FIELD_NUMBER = 450566203; private boolean iamOwned_; /** - * - * - *
-   * This is deprecated and has no effect. Do not use.
-   * 
- * * optional bool iam_owned = 450566203; * * @return Whether the iamOwned field is set. @@ -389,12 +383,6 @@ public boolean hasIamOwned() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * - *
-   * This is deprecated and has no effect. Do not use.
-   * 
- * * optional bool iam_owned = 450566203; * * @return The iamOwned. @@ -1864,12 +1852,6 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { private boolean iamOwned_; /** - * - * - *
-     * This is deprecated and has no effect. Do not use.
-     * 
- * * optional bool iam_owned = 450566203; * * @return Whether the iamOwned field is set. @@ -1879,12 +1861,6 @@ public boolean hasIamOwned() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * - *
-     * This is deprecated and has no effect. Do not use.
-     * 
- * * optional bool iam_owned = 450566203; * * @return The iamOwned. @@ -1894,12 +1870,6 @@ public boolean getIamOwned() { return iamOwned_; } /** - * - * - *
-     * This is deprecated and has no effect. Do not use.
-     * 
- * * optional bool iam_owned = 450566203; * * @param value The iamOwned to set. @@ -1912,12 +1882,6 @@ public Builder setIamOwned(boolean value) { return this; } /** - * - * - *
-     * This is deprecated and has no effect. Do not use.
-     * 
- * * optional bool iam_owned = 450566203; * * @return This builder for chaining. diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PolicyOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PolicyOrBuilder.java index 886029157..f8831445f 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PolicyOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/PolicyOrBuilder.java @@ -164,24 +164,12 @@ public interface PolicyOrBuilder com.google.protobuf.ByteString getEtagBytes(); /** - * - * - *
-   * This is deprecated and has no effect. Do not use.
-   * 
- * * optional bool iam_owned = 450566203; * * @return Whether the iamOwned field is set. */ boolean hasIamOwned(); /** - * - * - *
-   * This is deprecated and has no effect. Do not use.
-   * 
- * * optional bool iam_owned = 450566203; * * @return The iamOwned. diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Quota.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Quota.java index ff71be067..0e2f0f1d7 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Quota.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Quota.java @@ -228,6 +228,8 @@ public enum Metric implements com.google.protobuf.ProtocolMessageEnum { DISKS_TOTAL_GB(353520543), /** E2_CPUS = 481995837; */ E2_CPUS(481995837), + /** EXTERNAL_MANAGED_FORWARDING_RULES = 150790089; */ + EXTERNAL_MANAGED_FORWARDING_RULES(150790089), /** EXTERNAL_NETWORK_LB_FORWARDING_RULES = 374298265; */ EXTERNAL_NETWORK_LB_FORWARDING_RULES(374298265), /** EXTERNAL_PROTOCOL_FORWARDING_RULES = 63478888; */ @@ -513,6 +515,8 @@ public enum Metric implements com.google.protobuf.ProtocolMessageEnum { public static final int DISKS_TOTAL_GB_VALUE = 353520543; /** E2_CPUS = 481995837; */ public static final int E2_CPUS_VALUE = 481995837; + /** EXTERNAL_MANAGED_FORWARDING_RULES = 150790089; */ + public static final int EXTERNAL_MANAGED_FORWARDING_RULES_VALUE = 150790089; /** EXTERNAL_NETWORK_LB_FORWARDING_RULES = 374298265; */ public static final int EXTERNAL_NETWORK_LB_FORWARDING_RULES_VALUE = 374298265; /** EXTERNAL_PROTOCOL_FORWARDING_RULES = 63478888; */ @@ -805,6 +809,8 @@ public static Metric forNumber(int value) { return DISKS_TOTAL_GB; case 481995837: return E2_CPUS; + case 150790089: + return EXTERNAL_MANAGED_FORWARDING_RULES; case 374298265: return EXTERNAL_NETWORK_LB_FORWARDING_RULES; case 63478888: diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersApplyUpdatesRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersApplyUpdatesRequest.java index 0227c1e23..b304c48c3 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersApplyUpdatesRequest.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersApplyUpdatesRequest.java @@ -143,6 +143,253 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { .class); } + /** + * + * + *
+   * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * NONE
+   * REFRESH
+   * REPLACE
+   * RESTART
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest.MinimalAction} + */ + public enum MinimalAction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MINIMAL_ACTION = 0; + */ + UNDEFINED_MINIMAL_ACTION(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MINIMAL_ACTION = 0; + */ + public static final int UNDEFINED_MINIMAL_ACTION_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 MinimalAction 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 MinimalAction forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MINIMAL_ACTION; + 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 MinimalAction findValueByNumber(int number) { + return MinimalAction.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.RegionInstanceGroupManagersApplyUpdatesRequest + .getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final MinimalAction[] VALUES = values(); + + public static MinimalAction 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 MinimalAction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest.MinimalAction) + } + + /** + * + * + *
+   * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * NONE
+   * REFRESH
+   * REPLACE
+   * RESTART
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction} + */ + public enum MostDisruptiveAllowedAction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + */ + UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + */ + public static final int UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION_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 MostDisruptiveAllowedAction 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 MostDisruptiveAllowedAction forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION; + 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 MostDisruptiveAllowedAction findValueByNumber(int number) { + return MostDisruptiveAllowedAction.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.RegionInstanceGroupManagersApplyUpdatesRequest + .getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final MostDisruptiveAllowedAction[] VALUES = values(); + + public static MostDisruptiveAllowedAction 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 MostDisruptiveAllowedAction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.RegionInstanceGroupManagersApplyUpdatesRequest.MostDisruptiveAllowedAction) + } + private int bitField0_; public static final int ALL_INSTANCES_FIELD_NUMBER = 403676512; private boolean allInstances_; @@ -245,6 +492,7 @@ public com.google.protobuf.ByteString getInstancesBytes(int index) { * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -260,6 +508,7 @@ public boolean hasMinimalAction() { * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -283,6 +532,7 @@ public java.lang.String getMinimalAction() { * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -309,6 +559,7 @@ public com.google.protobuf.ByteString getMinimalActionBytes() { * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -324,6 +575,7 @@ public boolean hasMostDisruptiveAllowedAction() { * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -347,6 +599,7 @@ public java.lang.String getMostDisruptiveAllowedAction() { * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1044,6 +1297,7 @@ public Builder addInstancesBytes(com.google.protobuf.ByteString value) { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1058,6 +1312,7 @@ public boolean hasMinimalAction() { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1080,6 +1335,7 @@ public java.lang.String getMinimalAction() { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1102,6 +1358,7 @@ public com.google.protobuf.ByteString getMinimalActionBytes() { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1123,6 +1380,7 @@ public Builder setMinimalAction(java.lang.String value) { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1140,6 +1398,7 @@ public Builder clearMinimalAction() { * *
      * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1164,6 +1423,7 @@ public Builder setMinimalActionBytes(com.google.protobuf.ByteString value) { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1178,6 +1438,7 @@ public boolean hasMostDisruptiveAllowedAction() { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1200,6 +1461,7 @@ public java.lang.String getMostDisruptiveAllowedAction() { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1222,6 +1484,7 @@ public com.google.protobuf.ByteString getMostDisruptiveAllowedActionBytes() { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1243,6 +1506,7 @@ public Builder setMostDisruptiveAllowedAction(java.lang.String value) { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1260,6 +1524,7 @@ public Builder clearMostDisruptiveAllowedAction() { * *
      * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder.java index cf68bacb6..5665f6c4b 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder.java @@ -104,6 +104,7 @@ public interface RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -116,6 +117,7 @@ public interface RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -128,6 +130,7 @@ public interface RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -141,6 +144,7 @@ public interface RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -153,6 +157,7 @@ public interface RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -165,6 +170,7 @@ public interface RegionInstanceGroupManagersApplyUpdatesRequestOrBuilder * *
    * The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.java new file mode 100644 index 000000000..55282430e --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.java @@ -0,0 +1,1641 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse} + */ +public final class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.newBuilder() to construct. + private RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse() { + firewallPolicys_ = java.util.Collections.emptyList(); + firewalls_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case -2117002342: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + firewalls_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; + } + firewalls_.add( + input.readMessage( + com.google.cloud.compute.v1.Firewall.parser(), extensionRegistry)); + break; + } + case -1007080942: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + firewallPolicys_ = + new java.util.ArrayList< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>(); + mutable_bitField0_ |= 0x00000001; + } + firewallPolicys_.add( + input.readMessage( + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .parser(), + extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000002) != 0)) { + firewalls_ = java.util.Collections.unmodifiableList(firewalls_); + } + if (((mutable_bitField0_ & 0x00000001) != 0)) { + firewallPolicys_ = java.util.Collections.unmodifiableList(firewallPolicys_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + .class, + com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + .Builder.class); + } + + public static final int FIREWALL_POLICYS_FIELD_NUMBER = 410985794; + private java.util.List< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> + firewallPolicys_; + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + @java.lang.Override + public java.util.List< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> + getFirewallPolicysList() { + return firewallPolicys_; + } + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + @java.lang.Override + public java.util.List< + ? extends + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder> + getFirewallPolicysOrBuilderList() { + return firewallPolicys_; + } + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + @java.lang.Override + public int getFirewallPolicysCount() { + return firewallPolicys_.size(); + } + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + getFirewallPolicys(int index) { + return firewallPolicys_.get(index); + } + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder + getFirewallPolicysOrBuilder(int index) { + return firewallPolicys_.get(index); + } + + public static final int FIREWALLS_FIELD_NUMBER = 272245619; + private java.util.List firewalls_; + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + @java.lang.Override + public java.util.List getFirewallsList() { + return firewalls_; + } + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + @java.lang.Override + public java.util.List + getFirewallsOrBuilderList() { + return firewalls_; + } + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + @java.lang.Override + public int getFirewallsCount() { + return firewalls_.size(); + } + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + @java.lang.Override + public com.google.cloud.compute.v1.Firewall getFirewalls(int index) { + return firewalls_.get(index); + } + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallOrBuilder getFirewallsOrBuilder(int index) { + return firewalls_.get(index); + } + + 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 < firewalls_.size(); i++) { + output.writeMessage(272245619, firewalls_.get(i)); + } + for (int i = 0; i < firewallPolicys_.size(); i++) { + output.writeMessage(410985794, firewallPolicys_.get(i)); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < firewalls_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(272245619, firewalls_.get(i)); + } + for (int i = 0; i < firewallPolicys_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 410985794, firewallPolicys_.get(i)); + } + size += unknownFields.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.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse other = + (com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) + obj; + + if (!getFirewallPolicysList().equals(other.getFirewallPolicysList())) return false; + if (!getFirewallsList().equals(other.getFirewallsList())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getFirewallPolicysCount() > 0) { + hash = (37 * hash) + FIREWALL_POLICYS_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicysList().hashCode(); + } + if (getFirewallsCount() > 0) { + hash = (37 * hash) + FIREWALLS_FIELD_NUMBER; + hash = (53 * hash) + getFirewallsList().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + 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.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + 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.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + .class, + com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + .Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getFirewallPolicysFieldBuilder(); + getFirewallsFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (firewallPolicysBuilder_ == null) { + firewallPolicys_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + firewallPolicysBuilder_.clear(); + } + if (firewallsBuilder_ == null) { + firewalls_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + } else { + firewallsBuilder_.clear(); + } + 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_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + build() { + com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + buildPartial() { + com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + result = + new com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse(this); + int from_bitField0_ = bitField0_; + if (firewallPolicysBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + firewallPolicys_ = java.util.Collections.unmodifiableList(firewallPolicys_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.firewallPolicys_ = firewallPolicys_; + } else { + result.firewallPolicys_ = firewallPolicysBuilder_.build(); + } + if (firewallsBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0)) { + firewalls_ = java.util.Collections.unmodifiableList(firewalls_); + bitField0_ = (bitField0_ & ~0x00000002); + } + result.firewalls_ = firewalls_; + } else { + result.firewalls_ = firewallsBuilder_.build(); + } + 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.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) { + return mergeFrom( + (com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + other) { + if (other + == com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + .getDefaultInstance()) return this; + if (firewallPolicysBuilder_ == null) { + if (!other.firewallPolicys_.isEmpty()) { + if (firewallPolicys_.isEmpty()) { + firewallPolicys_ = other.firewallPolicys_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFirewallPolicysIsMutable(); + firewallPolicys_.addAll(other.firewallPolicys_); + } + onChanged(); + } + } else { + if (!other.firewallPolicys_.isEmpty()) { + if (firewallPolicysBuilder_.isEmpty()) { + firewallPolicysBuilder_.dispose(); + firewallPolicysBuilder_ = null; + firewallPolicys_ = other.firewallPolicys_; + bitField0_ = (bitField0_ & ~0x00000001); + firewallPolicysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFirewallPolicysFieldBuilder() + : null; + } else { + firewallPolicysBuilder_.addAllMessages(other.firewallPolicys_); + } + } + } + if (firewallsBuilder_ == null) { + if (!other.firewalls_.isEmpty()) { + if (firewalls_.isEmpty()) { + firewalls_ = other.firewalls_; + bitField0_ = (bitField0_ & ~0x00000002); + } else { + ensureFirewallsIsMutable(); + firewalls_.addAll(other.firewalls_); + } + onChanged(); + } + } else { + if (!other.firewalls_.isEmpty()) { + if (firewallsBuilder_.isEmpty()) { + firewallsBuilder_.dispose(); + firewallsBuilder_ = null; + firewalls_ = other.firewalls_; + bitField0_ = (bitField0_ & ~0x00000002); + firewallsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFirewallsFieldBuilder() + : null; + } else { + firewallsBuilder_.addAllMessages(other.firewalls_); + } + } + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> + firewallPolicys_ = java.util.Collections.emptyList(); + + private void ensureFirewallPolicysIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + firewallPolicys_ = + new java.util.ArrayList< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>( + firewallPolicys_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder> + firewallPolicysBuilder_; + + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public java.util.List< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> + getFirewallPolicysList() { + if (firewallPolicysBuilder_ == null) { + return java.util.Collections.unmodifiableList(firewallPolicys_); + } else { + return firewallPolicysBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public int getFirewallPolicysCount() { + if (firewallPolicysBuilder_ == null) { + return firewallPolicys_.size(); + } else { + return firewallPolicysBuilder_.getCount(); + } + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + getFirewallPolicys(int index) { + if (firewallPolicysBuilder_ == null) { + return firewallPolicys_.get(index); + } else { + return firewallPolicysBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public Builder setFirewallPolicys( + int index, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + value) { + if (firewallPolicysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFirewallPolicysIsMutable(); + firewallPolicys_.set(index, value); + onChanged(); + } else { + firewallPolicysBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public Builder setFirewallPolicys( + int index, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder + builderForValue) { + if (firewallPolicysBuilder_ == null) { + ensureFirewallPolicysIsMutable(); + firewallPolicys_.set(index, builderForValue.build()); + onChanged(); + } else { + firewallPolicysBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public Builder addFirewallPolicys( + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + value) { + if (firewallPolicysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFirewallPolicysIsMutable(); + firewallPolicys_.add(value); + onChanged(); + } else { + firewallPolicysBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public Builder addFirewallPolicys( + int index, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + value) { + if (firewallPolicysBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFirewallPolicysIsMutable(); + firewallPolicys_.add(index, value); + onChanged(); + } else { + firewallPolicysBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public Builder addFirewallPolicys( + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder + builderForValue) { + if (firewallPolicysBuilder_ == null) { + ensureFirewallPolicysIsMutable(); + firewallPolicys_.add(builderForValue.build()); + onChanged(); + } else { + firewallPolicysBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public Builder addFirewallPolicys( + int index, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder + builderForValue) { + if (firewallPolicysBuilder_ == null) { + ensureFirewallPolicysIsMutable(); + firewallPolicys_.add(index, builderForValue.build()); + onChanged(); + } else { + firewallPolicysBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public Builder addAllFirewallPolicys( + java.lang.Iterable< + ? extends + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> + values) { + if (firewallPolicysBuilder_ == null) { + ensureFirewallPolicysIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, firewallPolicys_); + onChanged(); + } else { + firewallPolicysBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public Builder clearFirewallPolicys() { + if (firewallPolicysBuilder_ == null) { + firewallPolicys_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + firewallPolicysBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public Builder removeFirewallPolicys(int index) { + if (firewallPolicysBuilder_ == null) { + ensureFirewallPolicysIsMutable(); + firewallPolicys_.remove(index); + onChanged(); + } else { + firewallPolicysBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder + getFirewallPolicysBuilder(int index) { + return getFirewallPolicysFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder + getFirewallPolicysOrBuilder(int index) { + if (firewallPolicysBuilder_ == null) { + return firewallPolicys_.get(index); + } else { + return firewallPolicysBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public java.util.List< + ? extends + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder> + getFirewallPolicysOrBuilderList() { + if (firewallPolicysBuilder_ != null) { + return firewallPolicysBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(firewallPolicys_); + } + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder + addFirewallPolicysBuilder() { + return getFirewallPolicysFieldBuilder() + .addBuilder( + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .getDefaultInstance()); + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder + addFirewallPolicysBuilder(int index) { + return getFirewallPolicysFieldBuilder() + .addBuilder( + index, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .getDefaultInstance()); + } + /** + * + * + *
+     * Effective firewalls from firewall policy.
+     * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + public java.util.List< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder> + getFirewallPolicysBuilderList() { + return getFirewallPolicysFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder> + getFirewallPolicysFieldBuilder() { + if (firewallPolicysBuilder_ == null) { + firewallPolicysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder>( + firewallPolicys_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + firewallPolicys_ = null; + } + return firewallPolicysBuilder_; + } + + private java.util.List firewalls_ = + java.util.Collections.emptyList(); + + private void ensureFirewallsIsMutable() { + if (!((bitField0_ & 0x00000002) != 0)) { + firewalls_ = new java.util.ArrayList(firewalls_); + bitField0_ |= 0x00000002; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.Firewall, + com.google.cloud.compute.v1.Firewall.Builder, + com.google.cloud.compute.v1.FirewallOrBuilder> + firewallsBuilder_; + + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public java.util.List getFirewallsList() { + if (firewallsBuilder_ == null) { + return java.util.Collections.unmodifiableList(firewalls_); + } else { + return firewallsBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public int getFirewallsCount() { + if (firewallsBuilder_ == null) { + return firewalls_.size(); + } else { + return firewallsBuilder_.getCount(); + } + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public com.google.cloud.compute.v1.Firewall getFirewalls(int index) { + if (firewallsBuilder_ == null) { + return firewalls_.get(index); + } else { + return firewallsBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public Builder setFirewalls(int index, com.google.cloud.compute.v1.Firewall value) { + if (firewallsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFirewallsIsMutable(); + firewalls_.set(index, value); + onChanged(); + } else { + firewallsBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public Builder setFirewalls( + int index, com.google.cloud.compute.v1.Firewall.Builder builderForValue) { + if (firewallsBuilder_ == null) { + ensureFirewallsIsMutable(); + firewalls_.set(index, builderForValue.build()); + onChanged(); + } else { + firewallsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public Builder addFirewalls(com.google.cloud.compute.v1.Firewall value) { + if (firewallsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFirewallsIsMutable(); + firewalls_.add(value); + onChanged(); + } else { + firewallsBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public Builder addFirewalls(int index, com.google.cloud.compute.v1.Firewall value) { + if (firewallsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFirewallsIsMutable(); + firewalls_.add(index, value); + onChanged(); + } else { + firewallsBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public Builder addFirewalls(com.google.cloud.compute.v1.Firewall.Builder builderForValue) { + if (firewallsBuilder_ == null) { + ensureFirewallsIsMutable(); + firewalls_.add(builderForValue.build()); + onChanged(); + } else { + firewallsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public Builder addFirewalls( + int index, com.google.cloud.compute.v1.Firewall.Builder builderForValue) { + if (firewallsBuilder_ == null) { + ensureFirewallsIsMutable(); + firewalls_.add(index, builderForValue.build()); + onChanged(); + } else { + firewallsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public Builder addAllFirewalls( + java.lang.Iterable values) { + if (firewallsBuilder_ == null) { + ensureFirewallsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, firewalls_); + onChanged(); + } else { + firewallsBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public Builder clearFirewalls() { + if (firewallsBuilder_ == null) { + firewalls_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + } else { + firewallsBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public Builder removeFirewalls(int index) { + if (firewallsBuilder_ == null) { + ensureFirewallsIsMutable(); + firewalls_.remove(index); + onChanged(); + } else { + firewallsBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public com.google.cloud.compute.v1.Firewall.Builder getFirewallsBuilder(int index) { + return getFirewallsFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public com.google.cloud.compute.v1.FirewallOrBuilder getFirewallsOrBuilder(int index) { + if (firewallsBuilder_ == null) { + return firewalls_.get(index); + } else { + return firewallsBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public java.util.List + getFirewallsOrBuilderList() { + if (firewallsBuilder_ != null) { + return firewallsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(firewalls_); + } + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public com.google.cloud.compute.v1.Firewall.Builder addFirewallsBuilder() { + return getFirewallsFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.Firewall.getDefaultInstance()); + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public com.google.cloud.compute.v1.Firewall.Builder addFirewallsBuilder(int index) { + return getFirewallsFieldBuilder() + .addBuilder(index, com.google.cloud.compute.v1.Firewall.getDefaultInstance()); + } + /** + * + * + *
+     * Effective firewalls on the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + public java.util.List getFirewallsBuilderList() { + return getFirewallsFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.Firewall, + com.google.cloud.compute.v1.Firewall.Builder, + com.google.cloud.compute.v1.FirewallOrBuilder> + getFirewallsFieldBuilder() { + if (firewallsBuilder_ == null) { + firewallsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.Firewall, + com.google.cloud.compute.v1.Firewall.Builder, + com.google.cloud.compute.v1.FirewallOrBuilder>( + firewalls_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + firewalls_ = null; + } + return firewallsBuilder_; + } + + @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.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) + private static final com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse(); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + PARSER = + new com.google.protobuf.AbstractParser< + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse>() { + @java.lang.Override + public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse( + input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser< + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse> + parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java new file mode 100644 index 000000000..24f4793ba --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.java @@ -0,0 +1,1843 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy} + */ +public final class RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder { + private static final long serialVersionUID = 0L; + // Use + // RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.newBuilder() + // to construct. + private RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy() { + displayName_ = ""; + name_ = ""; + rules_ = java.util.Collections.emptyList(); + type_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26989658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + name_ = s; + break; + } + case 28604882: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + type_ = s; + break; + } + case 35790658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + displayName_ = s; + break; + } + case 870991802: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + rules_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000004; + } + rules_.add( + input.readMessage( + com.google.cloud.compute.v1.FirewallPolicyRule.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000004) != 0)) { + rules_ = java.util.Collections.unmodifiableList(rules_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .class, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder.class); + } + + /** + * + * + *
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * 
+ * + * Protobuf enum {@code + * google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type} + */ + public enum Type implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_TYPE = 0; + */ + UNDEFINED_TYPE(0), + /** HIERARCHY = 69902869; */ + HIERARCHY(69902869), + /** NETWORK = 413984270; */ + NETWORK(413984270), + /** NETWORK_REGIONAL = 190804272; */ + NETWORK_REGIONAL(190804272), + /** UNSPECIFIED = 526786327; */ + UNSPECIFIED(526786327), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_TYPE = 0; + */ + public static final int UNDEFINED_TYPE_VALUE = 0; + /** HIERARCHY = 69902869; */ + public static final int HIERARCHY_VALUE = 69902869; + /** NETWORK = 413984270; */ + public static final int NETWORK_VALUE = 413984270; + /** NETWORK_REGIONAL = 190804272; */ + public static final int NETWORK_REGIONAL_VALUE = 190804272; + /** UNSPECIFIED = 526786327; */ + public static final int UNSPECIFIED_VALUE = 526786327; + + 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 UNDEFINED_TYPE; + case 69902869: + return HIERARCHY; + case 413984270: + return NETWORK; + case 190804272: + return NETWORK_REGIONAL; + case 526786327: + return UNSPECIFIED; + 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.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .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.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Type) + } + + private int bitField0_; + public static final int DISPLAY_NAME_FIELD_NUMBER = 4473832; + private volatile java.lang.Object displayName_; + /** + * + * + *
+   * [Output Only] The display name of the firewall policy.
+   * 
+ * + * optional string display_name = 4473832; + * + * @return Whether the displayName field is set. + */ + @java.lang.Override + public boolean hasDisplayName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * [Output Only] The display name of the firewall policy.
+   * 
+ * + * optional string display_name = 4473832; + * + * @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; + } + } + /** + * + * + *
+   * [Output Only] The display name of the firewall policy.
+   * 
+ * + * optional string display_name = 4473832; + * + * @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 NAME_FIELD_NUMBER = 3373707; + private volatile java.lang.Object name_; + /** + * + * + *
+   * [Output Only] The name of the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+   * [Output Only] The name of the firewall policy.
+   * 
+ * + * 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 firewall policy.
+   * 
+ * + * 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 RULES_FIELD_NUMBER = 108873975; + private java.util.List rules_; + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + @java.lang.Override + public java.util.List getRulesList() { + return rules_; + } + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + @java.lang.Override + public java.util.List + getRulesOrBuilderList() { + return rules_; + } + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + @java.lang.Override + public int getRulesCount() { + return rules_.size(); + } + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRule getRules(int index) { + return rules_.get(index); + } + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + @java.lang.Override + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder getRulesOrBuilder(int index) { + return rules_.get(index); + } + + public static final int TYPE_FIELD_NUMBER = 3575610; + private volatile java.lang.Object type_; + /** + * + * + *
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * Check the Type enum for the list of possible values.
+   * 
+ * + * optional string type = 3575610; + * + * @return Whether the type field is set. + */ + @java.lang.Override + public boolean hasType() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + * + * + *
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * Check the Type enum for the list of possible values.
+   * 
+ * + * 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 type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * Check the Type enum for the list of possible values.
+   * 
+ * + * 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; + } + } + + 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, 3373707, name_); + } + if (((bitField0_ & 0x00000004) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3575610, type_); + } + if (((bitField0_ & 0x00000001) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4473832, displayName_); + } + for (int i = 0; i < rules_.size(); i++) { + output.writeMessage(108873975, rules_.get(i)); + } + unknownFields.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(3373707, name_); + } + if (((bitField0_ & 0x00000004) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3575610, type_); + } + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4473832, displayName_); + } + for (int i = 0; i < rules_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(108873975, rules_.get(i)); + } + size += unknownFields.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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy)) { + return super.equals(obj); + } + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + other = + (com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) + obj; + + if (hasDisplayName() != other.hasDisplayName()) return false; + if (hasDisplayName()) { + if (!getDisplayName().equals(other.getDisplayName())) return false; + } + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (!getRulesList().equals(other.getRulesList())) return false; + if (hasType() != other.hasType()) return false; + if (hasType()) { + if (!getType().equals(other.getType())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDisplayName()) { + hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER; + hash = (53 * hash) + getDisplayName().hashCode(); + } + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + if (getRulesCount() > 0) { + hash = (37 * hash) + RULES_FIELD_NUMBER; + hash = (53 * hash) + getRulesList().hashCode(); + } + if (hasType()) { + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + getType().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + 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 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + 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.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .class, + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getRulesFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + displayName_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + if (rulesBuilder_ == null) { + rules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + } else { + rulesBuilder_.clear(); + } + type_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + 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_RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + getDefaultInstanceForType() { + return com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + build() { + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + buildPartial() { + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + result = + new com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( + this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.displayName_ = displayName_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.name_ = name_; + if (rulesBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0)) { + rules_ = java.util.Collections.unmodifiableList(rules_); + bitField0_ = (bitField0_ & ~0x00000004); + } + result.rules_ = rules_; + } else { + result.rules_ = rulesBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.type_ = type_; + result.bitField0_ = to_bitField0_; + 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.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) { + return mergeFrom( + (com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + other) { + if (other + == com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + .getDefaultInstance()) return this; + if (other.hasDisplayName()) { + bitField0_ |= 0x00000001; + displayName_ = other.displayName_; + onChanged(); + } + if (other.hasName()) { + bitField0_ |= 0x00000002; + name_ = other.name_; + onChanged(); + } + if (rulesBuilder_ == null) { + if (!other.rules_.isEmpty()) { + if (rules_.isEmpty()) { + rules_ = other.rules_; + bitField0_ = (bitField0_ & ~0x00000004); + } else { + ensureRulesIsMutable(); + rules_.addAll(other.rules_); + } + onChanged(); + } + } else { + if (!other.rules_.isEmpty()) { + if (rulesBuilder_.isEmpty()) { + rulesBuilder_.dispose(); + rulesBuilder_ = null; + rules_ = other.rules_; + bitField0_ = (bitField0_ & ~0x00000004); + rulesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRulesFieldBuilder() + : null; + } else { + rulesBuilder_.addAllMessages(other.rules_); + } + } + } + if (other.hasType()) { + bitField0_ |= 0x00000008; + type_ = other.type_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object displayName_ = ""; + /** + * + * + *
+     * [Output Only] The display name of the firewall policy.
+     * 
+ * + * optional string display_name = 4473832; + * + * @return Whether the displayName field is set. + */ + public boolean hasDisplayName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * [Output Only] The display name of the firewall policy.
+     * 
+ * + * optional string display_name = 4473832; + * + * @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; + } + } + /** + * + * + *
+     * [Output Only] The display name of the firewall policy.
+     * 
+ * + * optional string display_name = 4473832; + * + * @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; + } + } + /** + * + * + *
+     * [Output Only] The display name of the firewall policy.
+     * 
+ * + * optional string display_name = 4473832; + * + * @param value The displayName to set. + * @return This builder for chaining. + */ + public Builder setDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + displayName_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The display name of the firewall policy.
+     * 
+ * + * optional string display_name = 4473832; + * + * @return This builder for chaining. + */ + public Builder clearDisplayName() { + bitField0_ = (bitField0_ & ~0x00000001); + displayName_ = getDefaultInstance().getDisplayName(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The display name of the firewall policy.
+     * 
+ * + * optional string display_name = 4473832; + * + * @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); + bitField0_ |= 0x00000001; + displayName_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * [Output Only] The name of the firewall policy.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + * + * + *
+     * [Output Only] The name of the firewall policy.
+     * 
+ * + * 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 firewall policy.
+     * 
+ * + * 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 firewall policy.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000002; + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The name of the firewall policy.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000002); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The name of the firewall policy.
+     * 
+ * + * 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); + bitField0_ |= 0x00000002; + name_ = value; + onChanged(); + return this; + } + + private java.util.List rules_ = + java.util.Collections.emptyList(); + + private void ensureRulesIsMutable() { + if (!((bitField0_ & 0x00000004) != 0)) { + rules_ = new java.util.ArrayList(rules_); + bitField0_ |= 0x00000004; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + rulesBuilder_; + + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public java.util.List getRulesList() { + if (rulesBuilder_ == null) { + return java.util.Collections.unmodifiableList(rules_); + } else { + return rulesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public int getRulesCount() { + if (rulesBuilder_ == null) { + return rules_.size(); + } else { + return rulesBuilder_.getCount(); + } + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public com.google.cloud.compute.v1.FirewallPolicyRule getRules(int index) { + if (rulesBuilder_ == null) { + return rules_.get(index); + } else { + return rulesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public Builder setRules(int index, com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (rulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRulesIsMutable(); + rules_.set(index, value); + onChanged(); + } else { + rulesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public Builder setRules( + int index, com.google.cloud.compute.v1.FirewallPolicyRule.Builder builderForValue) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.set(index, builderForValue.build()); + onChanged(); + } else { + rulesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public Builder addRules(com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (rulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRulesIsMutable(); + rules_.add(value); + onChanged(); + } else { + rulesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public Builder addRules(int index, com.google.cloud.compute.v1.FirewallPolicyRule value) { + if (rulesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureRulesIsMutable(); + rules_.add(index, value); + onChanged(); + } else { + rulesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public Builder addRules( + com.google.cloud.compute.v1.FirewallPolicyRule.Builder builderForValue) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(builderForValue.build()); + onChanged(); + } else { + rulesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public Builder addRules( + int index, com.google.cloud.compute.v1.FirewallPolicyRule.Builder builderForValue) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.add(index, builderForValue.build()); + onChanged(); + } else { + rulesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public Builder addAllRules( + java.lang.Iterable values) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, rules_); + onChanged(); + } else { + rulesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public Builder clearRules() { + if (rulesBuilder_ == null) { + rules_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + } else { + rulesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public Builder removeRules(int index) { + if (rulesBuilder_ == null) { + ensureRulesIsMutable(); + rules_.remove(index); + onChanged(); + } else { + rulesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public com.google.cloud.compute.v1.FirewallPolicyRule.Builder getRulesBuilder(int index) { + return getRulesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder getRulesOrBuilder(int index) { + if (rulesBuilder_ == null) { + return rules_.get(index); + } else { + return rulesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public java.util.List + getRulesOrBuilderList() { + if (rulesBuilder_ != null) { + return rulesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(rules_); + } + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public com.google.cloud.compute.v1.FirewallPolicyRule.Builder addRulesBuilder() { + return getRulesFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance()); + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public com.google.cloud.compute.v1.FirewallPolicyRule.Builder addRulesBuilder(int index) { + return getRulesFieldBuilder() + .addBuilder(index, com.google.cloud.compute.v1.FirewallPolicyRule.getDefaultInstance()); + } + /** + * + * + *
+     * The rules that apply to the network.
+     * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + public java.util.List + getRulesBuilderList() { + return getRulesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder> + getRulesFieldBuilder() { + if (rulesBuilder_ == null) { + rulesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.FirewallPolicyRule, + com.google.cloud.compute.v1.FirewallPolicyRule.Builder, + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder>( + rules_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + rules_ = null; + } + return rulesBuilder_; + } + + private java.lang.Object type_ = ""; + /** + * + * + *
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * Check the Type enum for the list of possible values.
+     * 
+ * + * optional string type = 3575610; + * + * @return Whether the type field is set. + */ + public boolean hasType() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * + *
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * Check the Type enum for the list of possible values.
+     * 
+ * + * 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 type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * Check the Type enum for the list of possible values.
+     * 
+ * + * 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 type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * Check the Type enum for the list of possible values.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000008; + type_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * Check the Type enum for the list of possible values.
+     * 
+ * + * optional string type = 3575610; + * + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000008); + type_ = getDefaultInstance().getType(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+     * Check the Type enum for the list of possible values.
+     * 
+ * + * 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); + bitField0_ |= 0x00000008; + type_ = value; + 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.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) + private static final com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy(); + } + + public static com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> + PARSER = + new com.google.protobuf.AbstractParser< + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>() { + @java.lang.Override + public RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy( + input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser< + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> + parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser< + RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> + getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java new file mode 100644 index 000000000..5f72d5915 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder.java @@ -0,0 +1,192 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public +interface RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Output Only] The display name of the firewall policy.
+   * 
+ * + * optional string display_name = 4473832; + * + * @return Whether the displayName field is set. + */ + boolean hasDisplayName(); + /** + * + * + *
+   * [Output Only] The display name of the firewall policy.
+   * 
+ * + * optional string display_name = 4473832; + * + * @return The displayName. + */ + java.lang.String getDisplayName(); + /** + * + * + *
+   * [Output Only] The display name of the firewall policy.
+   * 
+ * + * optional string display_name = 4473832; + * + * @return The bytes for displayName. + */ + com.google.protobuf.ByteString getDisplayNameBytes(); + + /** + * + * + *
+   * [Output Only] The name of the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * [Output Only] The name of the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * [Output Only] The name of the firewall policy.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + java.util.List getRulesList(); + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + com.google.cloud.compute.v1.FirewallPolicyRule getRules(int index); + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + int getRulesCount(); + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + java.util.List + getRulesOrBuilderList(); + /** + * + * + *
+   * The rules that apply to the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; + */ + com.google.cloud.compute.v1.FirewallPolicyRuleOrBuilder getRulesOrBuilder(int index); + + /** + * + * + *
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * Check the Type enum for the list of possible values.
+   * 
+ * + * optional string type = 3575610; + * + * @return Whether the type field is set. + */ + boolean hasType(); + /** + * + * + *
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * Check the Type enum for the list of possible values.
+   * 
+ * + * optional string type = 3575610; + * + * @return The type. + */ + java.lang.String getType(); + /** + * + * + *
+   * [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL.
+   * Check the Type enum for the list of possible values.
+   * 
+ * + * optional string type = 3575610; + * + * @return The bytes for type. + */ + com.google.protobuf.ByteString getTypeBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseOrBuilder.java new file mode 100644 index 000000000..5eeb69e4f --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseOrBuilder.java @@ -0,0 +1,149 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + java.util.List< + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> + getFirewallPolicysList(); + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy + getFirewallPolicys(int index); + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + int getFirewallPolicysCount(); + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + java.util.List< + ? extends + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder> + getFirewallPolicysOrBuilderList(); + /** + * + * + *
+   * Effective firewalls from firewall policy.
+   * 
+ * + * + * repeated .google.cloud.compute.v1.RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + * + */ + com.google.cloud.compute.v1 + .RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder + getFirewallPolicysOrBuilder(int index); + + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + java.util.List getFirewallsList(); + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + com.google.cloud.compute.v1.Firewall getFirewalls(int index); + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + int getFirewallsCount(); + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + java.util.List + getFirewallsOrBuilderList(); + /** + * + * + *
+   * Effective firewalls on the network.
+   * 
+ * + * repeated .google.cloud.compute.v1.Firewall firewalls = 272245619; + */ + com.google.cloud.compute.v1.FirewallOrBuilder getFirewallsOrBuilder(int index); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..4ab2b75e6 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationNetworkFirewallPolicyRequest.java @@ -0,0 +1,1294 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.RemoveAssociation. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest} + */ +public final class RemoveAssociationNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest) + RemoveAssociationNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveAssociationNetworkFirewallPolicyRequest.newBuilder() to construct. + private RemoveAssociationNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveAssociationNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + name_ = ""; + project_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveAssociationNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveAssociationNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26989658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + name_ = s; + break; + } + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + requestId_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest.Builder + .class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3373707; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Name for the attachment that will be removed.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Name for the attachment that will be removed.
+   * 
+ * + * 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 for the attachment that will be removed.
+   * 
+ * + * 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 PROJECT_FIELD_NUMBER = 227560217; + 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; + 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; + } + } + + 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, 3373707, name_); + } + 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(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(3373707, name_); + } + 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(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.RemoveAssociationNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) 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 (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest 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.RemoveAssociationNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest 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.RemoveAssociationNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest 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.RemoveAssociationNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest 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.RemoveAssociationNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest + 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.RemoveAssociationNetworkFirewallPolicyRequest 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.RemoveAssociationNetworkFirewallPolicyRequest 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.RemoveAssociationNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.RemoveAssociation. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveAssociationNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_RemoveAssociationNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest + buildPartial() { + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.name_ = name_; + result.project_ = project_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasName()) { + bitField0_ |= 0x00000001; + name_ = other.name_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000002; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Name for the attachment that will be removed.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Name for the attachment that will be removed.
+     * 
+ * + * 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 for the attachment that will be removed.
+     * 
+ * + * 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 for the attachment that will be removed.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name for the attachment that will be removed.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name for the attachment that will be removed.
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + name_ = value; + 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; + 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(); + 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; + 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(); + } + bitField0_ |= 0x00000002; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000002; + requestId_ = value; + 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.RemoveAssociationNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveAssociationNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveAssociationNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.RemoveAssociationNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..8f4c876fa --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,153 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface RemoveAssociationNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RemoveAssociationNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * Name for the attachment that will be removed.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * Name for the attachment that will be removed.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Name for the attachment that will be removed.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..4509d7013 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1501 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.RemoveAssociation. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest} + */ +public final class RemoveAssociationRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest) + RemoveAssociationRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveAssociationRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private RemoveAssociationRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveAssociationRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + name_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveAssociationRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveAssociationRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26989658: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + name_ = s; + break; + } + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int NAME_FIELD_NUMBER = 3373707; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Name for the association that will be removed.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + @java.lang.Override + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * Name for the association that will be removed.
+   * 
+ * + * 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 for the association that will be removed.
+   * 
+ * + * 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 PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + } + } + + 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, 3373707, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(3373707, name_); + } + if (((bitField0_ & 0x00000002) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(227560217, project_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.RemoveAssociationRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasName() != other.hasName()) return false; + if (hasName()) { + if (!getName().equals(other.getName())) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasName()) { + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + 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.RemoveAssociationRegionNetworkFirewallPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + 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.RemoveAssociationRegionNetworkFirewallPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + 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.RemoveAssociationRegionNetworkFirewallPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + 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.RemoveAssociationRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + 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.RemoveAssociationRegionNetworkFirewallPolicyRequest + 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.RemoveAssociationRegionNetworkFirewallPolicyRequest + 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.RemoveAssociationRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.RemoveAssociation. See the method description for details.
+   * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveAssociationRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + .Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_RemoveAssociationRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + buildPartial() { + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.name_ = name_; + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasName()) { + bitField0_ |= 0x00000001; + name_ = other.name_; + onChanged(); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000002; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Name for the association that will be removed.
+     * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + public boolean hasName() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * Name for the association that will be removed.
+     * 
+ * + * 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 for the association that will be removed.
+     * 
+ * + * 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 for the association that will be removed.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000001; + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name for the association that will be removed.
+     * 
+ * + * optional string name = 3373707; + * + * @return This builder for chaining. + */ + public Builder clearName() { + bitField0_ = (bitField0_ & ~0x00000001); + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name for the association that will be removed.
+     * 
+ * + * 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); + bitField0_ |= 0x00000001; + name_ = value; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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(); + } + bitField0_ |= 0x00000002; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000002; + requestId_ = value; + 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.RemoveAssociationRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1 + .RemoveAssociationRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + RemoveAssociationRegionNetworkFirewallPolicyRequest> + PARSER = + new com.google.protobuf.AbstractParser< + RemoveAssociationRegionNetworkFirewallPolicyRequest>() { + @java.lang.Override + public RemoveAssociationRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveAssociationRegionNetworkFirewallPolicyRequest( + input, extensionRegistry); + } + }; + + 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.RemoveAssociationRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..290cadd5b --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveAssociationRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,182 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface RemoveAssociationRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RemoveAssociationRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * Name for the association that will be removed.
+   * 
+ * + * optional string name = 3373707; + * + * @return Whether the name field is set. + */ + boolean hasName(); + /** + * + * + *
+   * Name for the association that will be removed.
+   * 
+ * + * optional string name = 3373707; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Name for the association that will be removed.
+   * 
+ * + * optional string name = 3373707; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..b133f9ecd --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleNetworkFirewallPolicyRequest.java @@ -0,0 +1,1196 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.RemoveRule. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest} + */ +public final class RemoveRuleNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest) + RemoveRuleNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveRuleNetworkFirewallPolicyRequest.newBuilder() to construct. + private RemoveRuleNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveRuleNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveRuleNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveRuleNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + requestId_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -733754080: + { + bitField0_ |= 0x00000001; + priority_ = input.readInt32(); + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PRIORITY_FIELD_NUMBER = 445151652; + private int priority_; + /** + * + * + *
+   * The priority of the rule to remove from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The priority of the rule to remove from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(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.computeInt32Size(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.RemoveRuleNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasPriority() != other.hasPriority()) return false; + if (hasPriority()) { + if (getPriority() != other.getPriority()) 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 (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasPriority()) { + hash = (37 * hash) + PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getPriority(); + } + 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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest 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.RemoveRuleNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest 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.RemoveRuleNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest 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.RemoveRuleNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest 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.RemoveRuleNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest + 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.RemoveRuleNetworkFirewallPolicyRequest 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.RemoveRuleNetworkFirewallPolicyRequest 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.RemoveRuleNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.RemoveRule. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveRuleNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + priority_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_RemoveRuleNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.priority_ = priority_; + to_bitField0_ |= 0x00000001; + } + result.project_ = project_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.RemoveRuleNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasPriority()) { + setPriority(other.getPriority()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000002; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private int priority_; + /** + * + * + *
+     * The priority of the rule to remove from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The priority of the rule to remove from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + /** + * + * + *
+     * The priority of the rule to remove from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @param value The priority to set. + * @return This builder for chaining. + */ + public Builder setPriority(int value) { + bitField0_ |= 0x00000001; + priority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The priority of the rule to remove from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return This builder for chaining. + */ + public Builder clearPriority() { + bitField0_ = (bitField0_ & ~0x00000001); + priority_ = 0; + 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; + 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(); + 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; + 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(); + } + bitField0_ |= 0x00000002; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000002; + requestId_ = value; + 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.RemoveRuleNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveRuleNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveRuleNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.RemoveRuleNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..b4b45b7d8 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,141 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface RemoveRuleNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RemoveRuleNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The priority of the rule to remove from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + boolean hasPriority(); + /** + * + * + *
+   * The priority of the rule to remove from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + int getPriority(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..af92d0a21 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1396 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.RemoveRule. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest} + */ +public final class RemoveRuleRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest) + RemoveRuleRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use RemoveRuleRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private RemoveRuleRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private RemoveRuleRegionNetworkFirewallPolicyRequest() { + firewallPolicy_ = ""; + project_ = ""; + region_ = ""; + requestId_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new RemoveRuleRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private RemoveRuleRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 296879706: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + requestId_ = s; + break; + } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -733754080: + { + bitField0_ |= 0x00000001; + priority_ = input.readInt32(); + break; + } + case -309581174: + { + java.lang.String s = input.readStringRequireUtf8(); + + firewallPolicy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest.Builder.class); + } + + private int bitField0_; + public static final int FIREWALL_POLICY_FIELD_NUMBER = 498173265; + private volatile java.lang.Object firewallPolicy_; + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + @java.lang.Override + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + 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(); + firewallPolicy_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + @java.lang.Override + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PRIORITY_FIELD_NUMBER = 445151652; + private int priority_; + /** + * + * + *
+   * The priority of the rule to remove from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   * The priority of the rule to remove from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REQUEST_ID_FIELD_NUMBER = 37109963; + 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; + } + } + + 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, 37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(project_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 227560217, project_); + } + if (((bitField0_ & 0x00000001) != 0)) { + output.writeInt32(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 498173265, firewallPolicy_); + } + unknownFields.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(37109963, requestId_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + 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(445151652, priority_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(firewallPolicy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(498173265, firewallPolicy_); + } + size += unknownFields.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.RemoveRuleRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest) obj; + + if (!getFirewallPolicy().equals(other.getFirewallPolicy())) return false; + if (hasPriority() != other.hasPriority()) return false; + if (hasPriority()) { + if (getPriority() != other.getPriority()) return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRequestId() != other.hasRequestId()) return false; + if (hasRequestId()) { + if (!getRequestId().equals(other.getRequestId())) return false; + } + if (!unknownFields.equals(other.unknownFields)) 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) + FIREWALL_POLICY_FIELD_NUMBER; + hash = (53 * hash) + getFirewallPolicy().hashCode(); + if (hasPriority()) { + hash = (37 * hash) + PRIORITY_FIELD_NUMBER; + hash = (53 * hash) + getPriority(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRequestId()) { + hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER; + hash = (53 * hash) + getRequestId().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest 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.RemoveRuleRegionNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest 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.RemoveRuleRegionNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest 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.RemoveRuleRegionNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest 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.RemoveRuleRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest + 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.RemoveRuleRegionNetworkFirewallPolicyRequest 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.RemoveRuleRegionNetworkFirewallPolicyRequest 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.RemoveRuleRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.RemoveRule. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_RemoveRuleRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + firewallPolicy_ = ""; + + priority_ = 0; + bitField0_ = (bitField0_ & ~0x00000001); + project_ = ""; + + region_ = ""; + + requestId_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + 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_RemoveRuleRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.firewallPolicy_ = firewallPolicy_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.priority_ = priority_; + to_bitField0_ |= 0x00000001; + } + result.project_ = project_; + result.region_ = region_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.requestId_ = requestId_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getFirewallPolicy().isEmpty()) { + firewallPolicy_ = other.firewallPolicy_; + onChanged(); + } + if (other.hasPriority()) { + setPriority(other.getPriority()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRequestId()) { + bitField0_ |= 0x00000002; + requestId_ = other.requestId_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object firewallPolicy_ = ""; + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + public java.lang.String getFirewallPolicy() { + java.lang.Object ref = firewallPolicy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + firewallPolicy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + public com.google.protobuf.ByteString getFirewallPolicyBytes() { + java.lang.Object ref = firewallPolicy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + firewallPolicy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + firewallPolicy_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearFirewallPolicy() { + + firewallPolicy_ = getDefaultInstance().getFirewallPolicy(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the firewall policy to update.
+     * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for firewallPolicy to set. + * @return This builder for chaining. + */ + public Builder setFirewallPolicyBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + firewallPolicy_ = value; + onChanged(); + return this; + } + + private int priority_; + /** + * + * + *
+     * The priority of the rule to remove from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + @java.lang.Override + public boolean hasPriority() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * The priority of the rule to remove from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + @java.lang.Override + public int getPriority() { + return priority_; + } + /** + * + * + *
+     * The priority of the rule to remove from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @param value The priority to set. + * @return This builder for chaining. + */ + public Builder setPriority(int value) { + bitField0_ |= 0x00000001; + priority_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The priority of the rule to remove from the firewall policy.
+     * 
+ * + * optional int32 priority = 445151652; + * + * @return This builder for chaining. + */ + public Builder clearPriority() { + bitField0_ = (bitField0_ & ~0x00000001); + priority_ = 0; + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * Name of the region scoping this request.
+     * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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(); + } + bitField0_ |= 0x00000002; + requestId_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + requestId_ = getDefaultInstance().getRequestId(); + 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); + bitField0_ |= 0x00000002; + requestId_ = value; + 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.RemoveRuleRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RemoveRuleRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new RemoveRuleRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.RemoveRuleRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..62c80b26b --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RemoveRuleRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,170 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface RemoveRuleRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RemoveRuleRegionNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The firewallPolicy. + */ + java.lang.String getFirewallPolicy(); + /** + * + * + *
+   * Name of the firewall policy to update.
+   * 
+ * + * string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for firewallPolicy. + */ + com.google.protobuf.ByteString getFirewallPolicyBytes(); + + /** + * + * + *
+   * The priority of the rule to remove from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return Whether the priority field is set. + */ + boolean hasPriority(); + /** + * + * + *
+   * The priority of the rule to remove from the firewall policy.
+   * 
+ * + * optional int32 priority = 445151652; + * + * @return The priority. + */ + int getPriority(); + + /** + * + * + *
+   * 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(); + + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * Name of the region scoping this request.
+   * 
+ * + * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED, (.google.cloud.operation_request_field) = "region"]; + * + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyDailyCycle.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyDailyCycle.java index 16ac3d49f..5f4e89656 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyDailyCycle.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyDailyCycle.java @@ -133,7 +133,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
+   * Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
    * 
* * optional int32 days_in_cycle = 369790004; @@ -148,7 +148,7 @@ public boolean hasDaysInCycle() { * * *
-   * Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
+   * Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
    * 
* * optional int32 days_in_cycle = 369790004; @@ -673,7 +673,7 @@ public Builder mergeFrom( * * *
-     * Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
+     * Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
      * 
* * optional int32 days_in_cycle = 369790004; @@ -688,7 +688,7 @@ public boolean hasDaysInCycle() { * * *
-     * Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
+     * Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
      * 
* * optional int32 days_in_cycle = 369790004; @@ -703,7 +703,7 @@ public int getDaysInCycle() { * * *
-     * Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
+     * Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
      * 
* * optional int32 days_in_cycle = 369790004; @@ -721,7 +721,7 @@ public Builder setDaysInCycle(int value) { * * *
-     * Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
+     * Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
      * 
* * optional int32 days_in_cycle = 369790004; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyDailyCycleOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyDailyCycleOrBuilder.java index ecbe67433..3cb532ba6 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyDailyCycleOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/ResourcePolicyDailyCycleOrBuilder.java @@ -27,7 +27,7 @@ public interface ResourcePolicyDailyCycleOrBuilder * * *
-   * Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
+   * Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
    * 
* * optional int32 days_in_cycle = 369790004; @@ -39,7 +39,7 @@ public interface ResourcePolicyDailyCycleOrBuilder * * *
-   * Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle.
+   * Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle.
    * 
* * optional int32 days_in_cycle = 369790004; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Route.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Route.java index a47f2755f..e0b49be91 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Route.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Route.java @@ -52,6 +52,7 @@ private Route() { nextHopNetwork_ = ""; nextHopPeering_ = ""; nextHopVpnTunnel_ = ""; + routeStatus_ = ""; routeType_ = ""; selfLink_ = ""; tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; @@ -111,9 +112,9 @@ private Route( case 28418250: { java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00040000) != 0)) { + if (!((mutable_bitField0_ & 0x00080000) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00040000; + mutable_bitField0_ |= 0x00080000; } tags_.add(s); break; @@ -167,7 +168,7 @@ private Route( case -1287857278: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; routeType_ = s; break; } @@ -199,6 +200,13 @@ private Route( nextHopPeering_ = s; break; } + case -949668542: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + routeStatus_ = s; + break; + } case -911466526: { java.lang.String s = input.readStringRequireUtf8(); @@ -215,15 +223,15 @@ private Route( case -645248918: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; selfLink_ = s; break; } case -310238534: { - if (!((mutable_bitField0_ & 0x00080000) != 0)) { + if (!((mutable_bitField0_ & 0x00100000) != 0)) { warnings_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00080000; + mutable_bitField0_ |= 0x00100000; } warnings_.add( input.readMessage( @@ -251,13 +259,13 @@ private Route( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00040000) != 0)) { + if (((mutable_bitField0_ & 0x00080000) != 0)) { tags_ = tags_.getUnmodifiableView(); } if (((mutable_bitField0_ & 0x00000001) != 0)) { asPaths_ = java.util.Collections.unmodifiableList(asPaths_); } - if (((mutable_bitField0_ & 0x00080000) != 0)) { + if (((mutable_bitField0_ & 0x00100000) != 0)) { warnings_ = java.util.Collections.unmodifiableList(warnings_); } this.unknownFields = unknownFields.build(); @@ -280,6 +288,207 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.Route.Builder.class); } + /** + * + * + *
+   * [Output only] The status of the route.
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.Route.RouteStatus} + */ + public enum RouteStatus implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_ROUTE_STATUS = 0; + */ + UNDEFINED_ROUTE_STATUS(0), + /** + * + * + *
+     * This route is processed and active.
+     * 
+ * + * ACTIVE = 314733318; + */ + ACTIVE(314733318), + /** + * + * + *
+     * The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example
+     * 
+ * + * DROPPED = 496235424; + */ + DROPPED(496235424), + /** + * + * + *
+     * This route is processed but inactive due to failure from the backend. The backend may have rejected the route
+     * 
+ * + * INACTIVE = 270421099; + */ + INACTIVE(270421099), + /** + * + * + *
+     * This route is being processed internally. The status will change once processed.
+     * 
+ * + * PENDING = 35394935; + */ + PENDING(35394935), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_ROUTE_STATUS = 0; + */ + public static final int UNDEFINED_ROUTE_STATUS_VALUE = 0; + /** + * + * + *
+     * This route is processed and active.
+     * 
+ * + * ACTIVE = 314733318; + */ + public static final int ACTIVE_VALUE = 314733318; + /** + * + * + *
+     * The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example
+     * 
+ * + * DROPPED = 496235424; + */ + public static final int DROPPED_VALUE = 496235424; + /** + * + * + *
+     * This route is processed but inactive due to failure from the backend. The backend may have rejected the route
+     * 
+ * + * INACTIVE = 270421099; + */ + public static final int INACTIVE_VALUE = 270421099; + /** + * + * + *
+     * This route is being processed internally. The status will change once processed.
+     * 
+ * + * PENDING = 35394935; + */ + public static final int PENDING_VALUE = 35394935; + + 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 RouteStatus 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 RouteStatus forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_ROUTE_STATUS; + case 314733318: + return ACTIVE; + case 496235424: + return DROPPED; + case 270421099: + return INACTIVE; + case 35394935: + return PENDING; + 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 RouteStatus findValueByNumber(int number) { + return RouteStatus.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.Route.getDescriptor().getEnumTypes().get(0); + } + + private static final RouteStatus[] VALUES = values(); + + public static RouteStatus 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 RouteStatus(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.Route.RouteStatus) + } + /** * * @@ -393,7 +602,7 @@ public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.compute.v1.Route.getDescriptor().getEnumTypes().get(0); + return com.google.cloud.compute.v1.Route.getDescriptor().getEnumTypes().get(1); } private static final RouteType[] VALUES = values(); @@ -1385,6 +1594,73 @@ public int getPriority() { return priority_; } + public static final int ROUTE_STATUS_FIELD_NUMBER = 418162344; + private volatile java.lang.Object routeStatus_; + /** + * + * + *
+   * [Output only] The status of the route.
+   * Check the RouteStatus enum for the list of possible values.
+   * 
+ * + * optional string route_status = 418162344; + * + * @return Whether the routeStatus field is set. + */ + @java.lang.Override + public boolean hasRouteStatus() { + return ((bitField0_ & 0x00008000) != 0); + } + /** + * + * + *
+   * [Output only] The status of the route.
+   * Check the RouteStatus enum for the list of possible values.
+   * 
+ * + * optional string route_status = 418162344; + * + * @return The routeStatus. + */ + @java.lang.Override + public java.lang.String getRouteStatus() { + java.lang.Object ref = routeStatus_; + 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(); + routeStatus_ = s; + return s; + } + } + /** + * + * + *
+   * [Output only] The status of the route.
+   * Check the RouteStatus enum for the list of possible values.
+   * 
+ * + * optional string route_status = 418162344; + * + * @return The bytes for routeStatus. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRouteStatusBytes() { + java.lang.Object ref = routeStatus_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + routeStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int ROUTE_TYPE_FIELD_NUMBER = 375888752; private volatile java.lang.Object routeType_; /** @@ -1401,7 +1677,7 @@ public int getPriority() { */ @java.lang.Override public boolean hasRouteType() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** * @@ -1467,7 +1743,7 @@ public com.google.protobuf.ByteString getRouteTypeBytes() { */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -1690,7 +1966,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 262295788, nextHopNetwork_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 375888752, routeType_); } if (((bitField0_ & 0x00000080) != 0)) { @@ -1705,13 +1981,16 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 412682750, nextHopPeering_); } + if (((bitField0_ & 0x00008000) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 418162344, routeStatus_); + } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } if (((bitField0_ & 0x00004000) != 0)) { output.writeUInt32(445151652, priority_); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } for (int i = 0; i < warnings_.size(); i++) { @@ -1765,7 +2044,7 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(262295788, nextHopNetwork_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(375888752, routeType_); } if (((bitField0_ & 0x00000080) != 0)) { @@ -1780,13 +2059,16 @@ public int getSerializedSize() { if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(412682750, nextHopPeering_); } + if (((bitField0_ & 0x00008000) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(418162344, routeStatus_); + } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt32Size(445151652, priority_); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } for (int i = 0; i < warnings_.size(); i++) { @@ -1872,6 +2154,10 @@ public boolean equals(final java.lang.Object obj) { if (hasPriority()) { if (getPriority() != other.getPriority()) return false; } + if (hasRouteStatus() != other.hasRouteStatus()) return false; + if (hasRouteStatus()) { + if (!getRouteStatus().equals(other.getRouteStatus())) return false; + } if (hasRouteType() != other.hasRouteType()) return false; if (hasRouteType()) { if (!getRouteType().equals(other.getRouteType())) return false; @@ -1957,6 +2243,10 @@ public int hashCode() { hash = (37 * hash) + PRIORITY_FIELD_NUMBER; hash = (53 * hash) + getPriority(); } + if (hasRouteStatus()) { + hash = (37 * hash) + ROUTE_STATUS_FIELD_NUMBER; + hash = (53 * hash) + getRouteStatus().hashCode(); + } if (hasRouteType()) { hash = (37 * hash) + ROUTE_TYPE_FIELD_NUMBER; hash = (53 * hash) + getRouteType().hashCode(); @@ -2156,15 +2446,17 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00004000); priority_ = 0; bitField0_ = (bitField0_ & ~0x00008000); - routeType_ = ""; + routeStatus_ = ""; bitField0_ = (bitField0_ & ~0x00010000); - selfLink_ = ""; + routeType_ = ""; bitField0_ = (bitField0_ & ~0x00020000); - tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + selfLink_ = ""; bitField0_ = (bitField0_ & ~0x00040000); + tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00080000); if (warningsBuilder_ == null) { warnings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); } else { warningsBuilder_.clear(); } @@ -2268,20 +2560,24 @@ public com.google.cloud.compute.v1.Route buildPartial() { if (((from_bitField0_ & 0x00010000) != 0)) { to_bitField0_ |= 0x00008000; } - result.routeType_ = routeType_; + result.routeStatus_ = routeStatus_; if (((from_bitField0_ & 0x00020000) != 0)) { to_bitField0_ |= 0x00010000; } + result.routeType_ = routeType_; + if (((from_bitField0_ & 0x00040000) != 0)) { + to_bitField0_ |= 0x00020000; + } result.selfLink_ = selfLink_; - if (((bitField0_ & 0x00040000) != 0)) { + if (((bitField0_ & 0x00080000) != 0)) { tags_ = tags_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00080000); } result.tags_ = tags_; if (warningsBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0)) { + if (((bitField0_ & 0x00100000) != 0)) { warnings_ = java.util.Collections.unmodifiableList(warnings_); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); } result.warnings_ = warnings_; } else { @@ -2435,20 +2731,25 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Route other) { if (other.hasPriority()) { setPriority(other.getPriority()); } - if (other.hasRouteType()) { + if (other.hasRouteStatus()) { bitField0_ |= 0x00010000; + routeStatus_ = other.routeStatus_; + onChanged(); + } + if (other.hasRouteType()) { + bitField0_ |= 0x00020000; routeType_ = other.routeType_; onChanged(); } if (other.hasSelfLink()) { - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; selfLink_ = other.selfLink_; onChanged(); } if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { tags_ = other.tags_; - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00080000); } else { ensureTagsIsMutable(); tags_.addAll(other.tags_); @@ -2459,7 +2760,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Route other) { if (!other.warnings_.isEmpty()) { if (warnings_.isEmpty()) { warnings_ = other.warnings_; - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); } else { ensureWarningsIsMutable(); warnings_.addAll(other.warnings_); @@ -2472,7 +2773,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Route other) { warningsBuilder_.dispose(); warningsBuilder_ = null; warnings_ = other.warnings_; - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); warningsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getWarningsFieldBuilder() @@ -4555,6 +4856,132 @@ public Builder clearPriority() { return this; } + private java.lang.Object routeStatus_ = ""; + /** + * + * + *
+     * [Output only] The status of the route.
+     * Check the RouteStatus enum for the list of possible values.
+     * 
+ * + * optional string route_status = 418162344; + * + * @return Whether the routeStatus field is set. + */ + public boolean hasRouteStatus() { + return ((bitField0_ & 0x00010000) != 0); + } + /** + * + * + *
+     * [Output only] The status of the route.
+     * Check the RouteStatus enum for the list of possible values.
+     * 
+ * + * optional string route_status = 418162344; + * + * @return The routeStatus. + */ + public java.lang.String getRouteStatus() { + java.lang.Object ref = routeStatus_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + routeStatus_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output only] The status of the route.
+     * Check the RouteStatus enum for the list of possible values.
+     * 
+ * + * optional string route_status = 418162344; + * + * @return The bytes for routeStatus. + */ + public com.google.protobuf.ByteString getRouteStatusBytes() { + java.lang.Object ref = routeStatus_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + routeStatus_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output only] The status of the route.
+     * Check the RouteStatus enum for the list of possible values.
+     * 
+ * + * optional string route_status = 418162344; + * + * @param value The routeStatus to set. + * @return This builder for chaining. + */ + public Builder setRouteStatus(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00010000; + routeStatus_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] The status of the route.
+     * Check the RouteStatus enum for the list of possible values.
+     * 
+ * + * optional string route_status = 418162344; + * + * @return This builder for chaining. + */ + public Builder clearRouteStatus() { + bitField0_ = (bitField0_ & ~0x00010000); + routeStatus_ = getDefaultInstance().getRouteStatus(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output only] The status of the route.
+     * Check the RouteStatus enum for the list of possible values.
+     * 
+ * + * optional string route_status = 418162344; + * + * @param value The bytes for routeStatus to set. + * @return This builder for chaining. + */ + public Builder setRouteStatusBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00010000; + routeStatus_ = value; + onChanged(); + return this; + } + private java.lang.Object routeType_ = ""; /** * @@ -4569,7 +4996,7 @@ public Builder clearPriority() { * @return Whether the routeType field is set. */ public boolean hasRouteType() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -4634,7 +5061,7 @@ public Builder setRouteType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; routeType_ = value; onChanged(); return this; @@ -4652,7 +5079,7 @@ public Builder setRouteType(java.lang.String value) { * @return This builder for chaining. */ public Builder clearRouteType() { - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); routeType_ = getDefaultInstance().getRouteType(); onChanged(); return this; @@ -4675,7 +5102,7 @@ public Builder setRouteTypeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; routeType_ = value; onChanged(); return this; @@ -4694,7 +5121,7 @@ public Builder setRouteTypeBytes(com.google.protobuf.ByteString value) { * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** * @@ -4756,7 +5183,7 @@ public Builder setSelfLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; selfLink_ = value; onChanged(); return this; @@ -4773,7 +5200,7 @@ public Builder setSelfLink(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSelfLink() { - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; @@ -4795,7 +5222,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; selfLink_ = value; onChanged(); return this; @@ -4805,9 +5232,9 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { - if (!((bitField0_ & 0x00040000) != 0)) { + if (!((bitField0_ & 0x00080000) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; } } /** @@ -4942,7 +5369,7 @@ public Builder addAllTags(java.lang.Iterable values) { */ public Builder clearTags() { tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00080000); onChanged(); return this; } @@ -4973,9 +5400,9 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) { java.util.Collections.emptyList(); private void ensureWarningsIsMutable() { - if (!((bitField0_ & 0x00080000) != 0)) { + if (!((bitField0_ & 0x00100000) != 0)) { warnings_ = new java.util.ArrayList(warnings_); - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; } } @@ -5190,7 +5617,7 @@ public Builder addAllWarnings( public Builder clearWarnings() { if (warningsBuilder_ == null) { warnings_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); } else { warningsBuilder_.clear(); @@ -5311,7 +5738,7 @@ public java.util.List getWarningsB com.google.cloud.compute.v1.Warnings, com.google.cloud.compute.v1.Warnings.Builder, com.google.cloud.compute.v1.WarningsOrBuilder>( - warnings_, ((bitField0_ & 0x00080000) != 0), getParentForChildren(), isClean()); + warnings_, ((bitField0_ & 0x00100000) != 0), getParentForChildren(), isClean()); warnings_ = null; } return warningsBuilder_; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouteOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouteOrBuilder.java index 05f5a19b2..ebd6328f2 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouteOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouteOrBuilder.java @@ -606,6 +606,46 @@ public interface RouteOrBuilder */ int getPriority(); + /** + * + * + *
+   * [Output only] The status of the route.
+   * Check the RouteStatus enum for the list of possible values.
+   * 
+ * + * optional string route_status = 418162344; + * + * @return Whether the routeStatus field is set. + */ + boolean hasRouteStatus(); + /** + * + * + *
+   * [Output only] The status of the route.
+   * Check the RouteStatus enum for the list of possible values.
+   * 
+ * + * optional string route_status = 418162344; + * + * @return The routeStatus. + */ + java.lang.String getRouteStatus(); + /** + * + * + *
+   * [Output only] The status of the route.
+   * Check the RouteStatus enum for the list of possible values.
+   * 
+ * + * optional string route_status = 418162344; + * + * @return The bytes for routeStatus. + */ + com.google.protobuf.ByteString getRouteStatusBytes(); + /** * * diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerBfd.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerBfd.java index 67c41b095..a24f17327 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerBfd.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerBfd.java @@ -133,7 +133,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.RouterBgpPeerBfd.SessionInitializationMode} @@ -369,7 +369,7 @@ public int getMultiplier() { * * *
-   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
    * Check the SessionInitializationMode enum for the list of possible values.
    * 
* @@ -385,7 +385,7 @@ public boolean hasSessionInitializationMode() { * * *
-   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
    * Check the SessionInitializationMode enum for the list of possible values.
    * 
* @@ -409,7 +409,7 @@ public java.lang.String getSessionInitializationMode() { * * *
-   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
    * Check the SessionInitializationMode enum for the list of possible values.
    * 
* @@ -1040,7 +1040,7 @@ public Builder clearMultiplier() { * * *
-     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
      * Check the SessionInitializationMode enum for the list of possible values.
      * 
* @@ -1055,7 +1055,7 @@ public boolean hasSessionInitializationMode() { * * *
-     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
      * Check the SessionInitializationMode enum for the list of possible values.
      * 
* @@ -1078,7 +1078,7 @@ public java.lang.String getSessionInitializationMode() { * * *
-     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
      * Check the SessionInitializationMode enum for the list of possible values.
      * 
* @@ -1101,7 +1101,7 @@ public com.google.protobuf.ByteString getSessionInitializationModeBytes() { * * *
-     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
      * Check the SessionInitializationMode enum for the list of possible values.
      * 
* @@ -1123,7 +1123,7 @@ public Builder setSessionInitializationMode(java.lang.String value) { * * *
-     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
      * Check the SessionInitializationMode enum for the list of possible values.
      * 
* @@ -1141,7 +1141,7 @@ public Builder clearSessionInitializationMode() { * * *
-     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+     * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
      * Check the SessionInitializationMode enum for the list of possible values.
      * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerBfdOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerBfdOrBuilder.java index 84372755b..89d786675 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerBfdOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterBgpPeerBfdOrBuilder.java @@ -102,7 +102,7 @@ public interface RouterBgpPeerBfdOrBuilder * * *
-   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
    * Check the SessionInitializationMode enum for the list of possible values.
    * 
* @@ -115,7 +115,7 @@ public interface RouterBgpPeerBfdOrBuilder * * *
-   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
    * Check the SessionInitializationMode enum for the list of possible values.
    * 
* @@ -128,7 +128,7 @@ public interface RouterBgpPeerBfdOrBuilder * * *
-   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE.
+   * The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
    * Check the SessionInitializationMode enum for the list of possible values.
    * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java index e35351f44..eb3108a4f 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatus.java @@ -803,7 +803,7 @@ public com.google.protobuf.ByteString getRouterApplianceInstanceBytes() { * * *
-   * BGP state as specified in RFC1771.
+   * The state of the BGP session. For a list of possible values for this field, see BGP session states.
    * 
* * optional string state = 109757585; @@ -818,7 +818,7 @@ public boolean hasState() { * * *
-   * BGP state as specified in RFC1771.
+   * The state of the BGP session. For a list of possible values for this field, see BGP session states.
    * 
* * optional string state = 109757585; @@ -841,7 +841,7 @@ public java.lang.String getState() { * * *
-   * BGP state as specified in RFC1771.
+   * The state of the BGP session. For a list of possible values for this field, see BGP session states.
    * 
* * optional string state = 109757585; @@ -2846,7 +2846,7 @@ public Builder setRouterApplianceInstanceBytes(com.google.protobuf.ByteString va * * *
-     * BGP state as specified in RFC1771.
+     * The state of the BGP session. For a list of possible values for this field, see BGP session states.
      * 
* * optional string state = 109757585; @@ -2860,7 +2860,7 @@ public boolean hasState() { * * *
-     * BGP state as specified in RFC1771.
+     * The state of the BGP session. For a list of possible values for this field, see BGP session states.
      * 
* * optional string state = 109757585; @@ -2882,7 +2882,7 @@ public java.lang.String getState() { * * *
-     * BGP state as specified in RFC1771.
+     * The state of the BGP session. For a list of possible values for this field, see BGP session states.
      * 
* * optional string state = 109757585; @@ -2904,7 +2904,7 @@ public com.google.protobuf.ByteString getStateBytes() { * * *
-     * BGP state as specified in RFC1771.
+     * The state of the BGP session. For a list of possible values for this field, see BGP session states.
      * 
* * optional string state = 109757585; @@ -2925,7 +2925,7 @@ public Builder setState(java.lang.String value) { * * *
-     * BGP state as specified in RFC1771.
+     * The state of the BGP session. For a list of possible values for this field, see BGP session states.
      * 
* * optional string state = 109757585; @@ -2942,7 +2942,7 @@ public Builder clearState() { * * *
-     * BGP state as specified in RFC1771.
+     * The state of the BGP session. For a list of possible values for this field, see BGP session states.
      * 
* * optional string state = 109757585; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatusOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatusOrBuilder.java index aa3f7b949..d12a2a029 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatusOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/RouterStatusBgpPeerStatusOrBuilder.java @@ -304,7 +304,7 @@ public interface RouterStatusBgpPeerStatusOrBuilder * * *
-   * BGP state as specified in RFC1771.
+   * The state of the BGP session. For a list of possible values for this field, see BGP session states.
    * 
* * optional string state = 109757585; @@ -316,7 +316,7 @@ public interface RouterStatusBgpPeerStatusOrBuilder * * *
-   * BGP state as specified in RFC1771.
+   * The state of the BGP session. For a list of possible values for this field, see BGP session states.
    * 
* * optional string state = 109757585; @@ -328,7 +328,7 @@ public interface RouterStatusBgpPeerStatusOrBuilder * * *
-   * BGP state as specified in RFC1771.
+   * The state of the BGP session. For a list of possible values for this field, see BGP session states.
    * 
* * optional string state = 109757585; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesAggregatedList.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesAggregatedList.java new file mode 100644 index 000000000..c23fdbb6b --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesAggregatedList.java @@ -0,0 +1,2426 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.SecurityPoliciesAggregatedList} + */ +public final class SecurityPoliciesAggregatedList extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.SecurityPoliciesAggregatedList) + SecurityPoliciesAggregatedListOrBuilder { + private static final long serialVersionUID = 0L; + // Use SecurityPoliciesAggregatedList.newBuilder() to construct. + private SecurityPoliciesAggregatedList( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SecurityPoliciesAggregatedList() { + etag_ = ""; + id_ = ""; + kind_ = ""; + nextPageToken_ = ""; + selfLink_ = ""; + unreachables_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SecurityPoliciesAggregatedList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SecurityPoliciesAggregatedList( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 26842: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + id_ = s; + break; + } + case 24987818: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + etag_ = s; + break; + } + case 26336418: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + kind_ = s; + break; + } + case 405634274: + { + com.google.cloud.compute.v1.Warning.Builder subBuilder = null; + if (((bitField0_ & 0x00000020) != 0)) { + subBuilder = warning_.toBuilder(); + } + warning_ = + input.readMessage( + com.google.cloud.compute.v1.Warning.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(warning_); + warning_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000020; + break; + } + case 638380202: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + nextPageToken_ = s; + break; + } + case 804208130: + { + if (!((mutable_bitField0_ & 0x00000004) != 0)) { + items_ = + com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000004; + } + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.SecurityPoliciesScopedList> + items__ = + input.readMessage( + ItemsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + items_.getMutableMap().put(items__.getKey(), items__.getValue()); + break; + } + case 1946976506: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000040) != 0)) { + unreachables_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000040; + } + unreachables_.add(s); + break; + } + case -645248918: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + selfLink_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000040) != 0)) { + unreachables_ = unreachables_.getUnmodifiableView(); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField(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_SecurityPoliciesAggregatedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SecurityPoliciesAggregatedList.class, + com.google.cloud.compute.v1.SecurityPoliciesAggregatedList.Builder.class); + } + + private int bitField0_; + public static final int ETAG_FIELD_NUMBER = 3123477; + 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; + 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.SecurityPoliciesScopedList> + defaultEntry = + com.google.protobuf.MapEntry + . + newDefaultInstance( + com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_ItemsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.cloud.compute.v1.SecurityPoliciesScopedList + .getDefaultInstance()); + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.SecurityPoliciesScopedList> + items_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.SecurityPoliciesScopedList> + internalGetItems() { + if (items_ == null) { + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + } + return items_; + } + + public int getItemsCount() { + return internalGetItems().getMap().size(); + } + /** + * + * + *
+   * A list of SecurityPoliciesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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 SecurityPoliciesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + @java.lang.Override + public java.util.Map + getItemsMap() { + return internalGetItems().getMap(); + } + /** + * + * + *
+   * A list of SecurityPoliciesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesScopedList getItemsOrDefault( + java.lang.String key, com.google.cloud.compute.v1.SecurityPoliciesScopedList defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+   * A list of SecurityPoliciesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesScopedList getItemsOrThrow( + java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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; + private volatile java.lang.Object kind_; + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies.
+   * 
+ * + * 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#securityPolicyAggregatedList for lists of Security Policies.
+   * 
+ * + * 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#securityPolicyAggregatedList for lists of Security Policies.
+   * 
+ * + * 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; + 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; + 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; + private com.google.protobuf.LazyStringList unreachables_; + /** + * + * + *
+   * [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_); + } + unknownFields.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< + java.lang.String, com.google.cloud.compute.v1.SecurityPoliciesScopedList> + entry : internalGetItems().getMap().entrySet()) { + com.google.protobuf.MapEntry< + java.lang.String, com.google.cloud.compute.v1.SecurityPoliciesScopedList> + 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 += unknownFields.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.SecurityPoliciesAggregatedList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.SecurityPoliciesAggregatedList other = + (com.google.cloud.compute.v1.SecurityPoliciesAggregatedList) 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 (!unknownFields.equals(other.unknownFields)) 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) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.SecurityPoliciesAggregatedList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesAggregatedList 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.SecurityPoliciesAggregatedList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesAggregatedList 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.SecurityPoliciesAggregatedList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesAggregatedList 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.SecurityPoliciesAggregatedList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesAggregatedList 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.SecurityPoliciesAggregatedList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesAggregatedList 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.SecurityPoliciesAggregatedList 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.SecurityPoliciesAggregatedList 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.SecurityPoliciesAggregatedList 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.SecurityPoliciesAggregatedList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.SecurityPoliciesAggregatedList) + com.google.cloud.compute.v1.SecurityPoliciesAggregatedListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPoliciesAggregatedList_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField(int number) { + switch (number) { + case 100526016: + return internalGetItems(); + default: + throw new RuntimeException("Invalid map field number: " + number); + } + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField(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_SecurityPoliciesAggregatedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SecurityPoliciesAggregatedList.class, + com.google.cloud.compute.v1.SecurityPoliciesAggregatedList.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.SecurityPoliciesAggregatedList.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(); + etag_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + id_ = ""; + bitField0_ = (bitField0_ & ~0x00000002); + internalGetMutableItems().clear(); + kind_ = ""; + bitField0_ = (bitField0_ & ~0x00000008); + nextPageToken_ = ""; + bitField0_ = (bitField0_ & ~0x00000010); + selfLink_ = ""; + bitField0_ = (bitField0_ & ~0x00000020); + unreachables_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000040); + if (warningBuilder_ == null) { + warning_ = null; + } else { + warningBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + 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_SecurityPoliciesAggregatedList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesAggregatedList getDefaultInstanceForType() { + return com.google.cloud.compute.v1.SecurityPoliciesAggregatedList.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesAggregatedList build() { + com.google.cloud.compute.v1.SecurityPoliciesAggregatedList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesAggregatedList buildPartial() { + com.google.cloud.compute.v1.SecurityPoliciesAggregatedList result = + new com.google.cloud.compute.v1.SecurityPoliciesAggregatedList(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.etag_ = etag_; + if (((from_bitField0_ & 0x00000002) != 0)) { + to_bitField0_ |= 0x00000002; + } + result.id_ = id_; + result.items_ = internalGetItems(); + result.items_.makeImmutable(); + if (((from_bitField0_ & 0x00000008) != 0)) { + to_bitField0_ |= 0x00000004; + } + result.kind_ = kind_; + if (((from_bitField0_ & 0x00000010) != 0)) { + to_bitField0_ |= 0x00000008; + } + result.nextPageToken_ = nextPageToken_; + if (((from_bitField0_ & 0x00000020) != 0)) { + to_bitField0_ |= 0x00000010; + } + result.selfLink_ = selfLink_; + if (((bitField0_ & 0x00000040) != 0)) { + unreachables_ = unreachables_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.unreachables_ = unreachables_; + if (((from_bitField0_ & 0x00000080) != 0)) { + if (warningBuilder_ == null) { + result.warning_ = warning_; + } else { + result.warning_ = warningBuilder_.build(); + } + to_bitField0_ |= 0x00000020; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.SecurityPoliciesAggregatedList) { + return mergeFrom((com.google.cloud.compute.v1.SecurityPoliciesAggregatedList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.SecurityPoliciesAggregatedList other) { + if (other == com.google.cloud.compute.v1.SecurityPoliciesAggregatedList.getDefaultInstance()) + return this; + if (other.hasEtag()) { + bitField0_ |= 0x00000001; + etag_ = other.etag_; + onChanged(); + } + if (other.hasId()) { + bitField0_ |= 0x00000002; + id_ = other.id_; + onChanged(); + } + internalGetMutableItems().mergeFrom(other.internalGetItems()); + if (other.hasKind()) { + bitField0_ |= 0x00000008; + kind_ = other.kind_; + onChanged(); + } + if (other.hasNextPageToken()) { + bitField0_ |= 0x00000010; + nextPageToken_ = other.nextPageToken_; + onChanged(); + } + if (other.hasSelfLink()) { + bitField0_ |= 0x00000020; + selfLink_ = other.selfLink_; + onChanged(); + } + if (!other.unreachables_.isEmpty()) { + if (unreachables_.isEmpty()) { + unreachables_ = other.unreachables_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureUnreachablesIsMutable(); + unreachables_.addAll(other.unreachables_); + } + onChanged(); + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.SecurityPoliciesAggregatedList parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.SecurityPoliciesAggregatedList) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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(); + } + bitField0_ |= 0x00000001; + etag_ = value; + onChanged(); + return this; + } + /** + * optional string etag = 3123477; + * + * @return This builder for chaining. + */ + public Builder clearEtag() { + bitField0_ = (bitField0_ & ~0x00000001); + etag_ = getDefaultInstance().getEtag(); + 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); + bitField0_ |= 0x00000001; + etag_ = value; + 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(); + } + bitField0_ |= 0x00000002; + id_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000002); + id_ = getDefaultInstance().getId(); + 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); + bitField0_ |= 0x00000002; + id_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.SecurityPoliciesScopedList> + items_; + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.SecurityPoliciesScopedList> + internalGetItems() { + if (items_ == null) { + return com.google.protobuf.MapField.emptyMapField(ItemsDefaultEntryHolder.defaultEntry); + } + return items_; + } + + private com.google.protobuf.MapField< + java.lang.String, com.google.cloud.compute.v1.SecurityPoliciesScopedList> + internalGetMutableItems() { + onChanged(); + ; + if (items_ == null) { + items_ = com.google.protobuf.MapField.newMapField(ItemsDefaultEntryHolder.defaultEntry); + } + if (!items_.isMutable()) { + items_ = items_.copy(); + } + return items_; + } + + public int getItemsCount() { + return internalGetItems().getMap().size(); + } + /** + * + * + *
+     * A list of SecurityPoliciesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + @java.lang.Override + public boolean containsItems(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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 SecurityPoliciesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + @java.lang.Override + public java.util.Map + getItemsMap() { + return internalGetItems().getMap(); + } + /** + * + * + *
+     * A list of SecurityPoliciesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesScopedList getItemsOrDefault( + java.lang.String key, com.google.cloud.compute.v1.SecurityPoliciesScopedList defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetItems().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + * + * + *
+     * A list of SecurityPoliciesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesScopedList getItemsOrThrow( + java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = + internalGetItems().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public Builder clearItems() { + internalGetMutableItems().getMutableMap().clear(); + return this; + } + /** + * + * + *
+     * A list of SecurityPoliciesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + public Builder removeItems(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableItems().getMutableMap().remove(key); + return this; + } + /** Use alternate mutation accessors instead. */ + @java.lang.Deprecated + public java.util.Map + getMutableItems() { + return internalGetMutableItems().getMutableMap(); + } + /** + * + * + *
+     * A list of SecurityPoliciesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + public Builder putItems( + java.lang.String key, com.google.cloud.compute.v1.SecurityPoliciesScopedList value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + internalGetMutableItems().getMutableMap().put(key, value); + return this; + } + /** + * + * + *
+     * A list of SecurityPoliciesScopedList resources.
+     * 
+ * + * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + public Builder putAllItems( + java.util.Map + values) { + internalGetMutableItems().getMutableMap().putAll(values); + return this; + } + + private java.lang.Object kind_ = ""; + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies.
+     * 
+ * + * 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#securityPolicyAggregatedList for lists of Security Policies.
+     * 
+ * + * 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#securityPolicyAggregatedList for lists of Security Policies.
+     * 
+ * + * 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#securityPolicyAggregatedList for lists of Security Policies.
+     * 
+ * + * 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(); + } + bitField0_ |= 0x00000008; + kind_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies.
+     * 
+ * + * optional string kind = 3292052; + * + * @return This builder for chaining. + */ + public Builder clearKind() { + bitField0_ = (bitField0_ & ~0x00000008); + kind_ = getDefaultInstance().getKind(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies.
+     * 
+ * + * 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); + bitField0_ |= 0x00000008; + kind_ = value; + 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(); + } + bitField0_ |= 0x00000010; + nextPageToken_ = value; + 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() { + bitField0_ = (bitField0_ & ~0x00000010); + nextPageToken_ = getDefaultInstance().getNextPageToken(); + 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); + bitField0_ |= 0x00000010; + nextPageToken_ = value; + 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(); + } + bitField0_ |= 0x00000020; + selfLink_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Server-defined URL for this resource.
+     * 
+ * + * optional string self_link = 456214797; + * + * @return This builder for chaining. + */ + public Builder clearSelfLink() { + bitField0_ = (bitField0_ & ~0x00000020); + selfLink_ = getDefaultInstance().getSelfLink(); + 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); + bitField0_ |= 0x00000020; + selfLink_ = value; + onChanged(); + return this; + } + + private com.google.protobuf.LazyStringList unreachables_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureUnreachablesIsMutable() { + if (!((bitField0_ & 0x00000040) != 0)) { + 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() { + return unreachables_.getUnmodifiableView(); + } + /** + * + * + *
+     * [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); + 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); + 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_); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] Unreachable resources.
+     * 
+ * + * repeated string unreachables = 243372063; + * + * @return This builder for chaining. + */ + public Builder clearUnreachables() { + unreachables_ = com.google.protobuf.LazyStringArrayList.EMPTY; + 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); + 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; + onChanged(); + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + 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(); + onChanged(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + 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()) { + warning_ = + com.google.cloud.compute.v1.Warning.newBuilder(warning_) + .mergeFrom(value) + .buildPartial(); + } else { + warning_ = value; + } + onChanged(); + } else { + warningBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + return this; + } + /** + * + * + *
+     * [Output Only] Informational warning message.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + if (warningBuilder_ == null) { + warning_ = null; + onChanged(); + } else { + warningBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000080); + 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.SecurityPoliciesAggregatedList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.SecurityPoliciesAggregatedList) + private static final com.google.cloud.compute.v1.SecurityPoliciesAggregatedList DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.SecurityPoliciesAggregatedList(); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesAggregatedList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityPoliciesAggregatedList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SecurityPoliciesAggregatedList(input, extensionRegistry); + } + }; + + 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.SecurityPoliciesAggregatedList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesAggregatedListOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesAggregatedListOrBuilder.java new file mode 100644 index 000000000..a2761da53 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesAggregatedListOrBuilder.java @@ -0,0 +1,340 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface SecurityPoliciesAggregatedListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SecurityPoliciesAggregatedList) + 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 SecurityPoliciesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + int getItemsCount(); + /** + * + * + *
+   * A list of SecurityPoliciesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + boolean containsItems(java.lang.String key); + /** Use {@link #getItemsMap()} instead. */ + @java.lang.Deprecated + java.util.Map + getItems(); + /** + * + * + *
+   * A list of SecurityPoliciesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + java.util.Map + getItemsMap(); + /** + * + * + *
+   * A list of SecurityPoliciesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + com.google.cloud.compute.v1.SecurityPoliciesScopedList getItemsOrDefault( + java.lang.String key, com.google.cloud.compute.v1.SecurityPoliciesScopedList defaultValue); + /** + * + * + *
+   * A list of SecurityPoliciesScopedList resources.
+   * 
+ * + * map<string, .google.cloud.compute.v1.SecurityPoliciesScopedList> items = 100526016; + * + */ + com.google.cloud.compute.v1.SecurityPoliciesScopedList getItemsOrThrow(java.lang.String key); + + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies.
+   * 
+ * + * optional string kind = 3292052; + * + * @return Whether the kind field is set. + */ + boolean hasKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies.
+   * 
+ * + * optional string kind = 3292052; + * + * @return The kind. + */ + java.lang.String getKind(); + /** + * + * + *
+   * [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies.
+   * 
+ * + * 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/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesScopedList.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesScopedList.java new file mode 100644 index 000000000..b6682fca5 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesScopedList.java @@ -0,0 +1,1245 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.SecurityPoliciesScopedList} + */ +public final class SecurityPoliciesScopedList extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.SecurityPoliciesScopedList) + SecurityPoliciesScopedListOrBuilder { + private static final long serialVersionUID = 0L; + // Use SecurityPoliciesScopedList.newBuilder() to construct. + private SecurityPoliciesScopedList(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SecurityPoliciesScopedList() { + securityPolicies_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SecurityPoliciesScopedList(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SecurityPoliciesScopedList( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 405634274: + { + com.google.cloud.compute.v1.Warning.Builder subBuilder = null; + if (((bitField0_ & 0x00000001) != 0)) { + subBuilder = warning_.toBuilder(); + } + warning_ = + input.readMessage( + com.google.cloud.compute.v1.Warning.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(warning_); + warning_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000001; + break; + } + case 1022270330: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + securityPolicies_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + securityPolicies_.add( + input.readMessage( + com.google.cloud.compute.v1.SecurityPolicy.parser(), extensionRegistry)); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + securityPolicies_ = java.util.Collections.unmodifiableList(securityPolicies_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SecurityPoliciesScopedList.class, + com.google.cloud.compute.v1.SecurityPoliciesScopedList.Builder.class); + } + + private int bitField0_; + public static final int SECURITY_POLICIES_FIELD_NUMBER = 127783791; + private java.util.List securityPolicies_; + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + @java.lang.Override + public java.util.List getSecurityPoliciesList() { + return securityPolicies_; + } + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + @java.lang.Override + public java.util.List + getSecurityPoliciesOrBuilderList() { + return securityPolicies_; + } + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + @java.lang.Override + public int getSecurityPoliciesCount() { + return securityPolicies_.size(); + } + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicy getSecurityPolicies(int index) { + return securityPolicies_.get(index); + } + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicyOrBuilder getSecurityPoliciesOrBuilder( + int index) { + return securityPolicies_.get(index); + } + + public static final int WARNING_FIELD_NUMBER = 50704284; + private com.google.cloud.compute.v1.Warning warning_; + /** + * + * + *
+   * Informational warning which replaces the list of security policies 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); + } + /** + * + * + *
+   * Informational warning which replaces the list of security policies 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_; + } + /** + * + * + *
+   * Informational warning which replaces the list of security policies 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 < securityPolicies_.size(); i++) { + output.writeMessage(127783791, securityPolicies_.get(i)); + } + unknownFields.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 < securityPolicies_.size(); i++) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 127783791, securityPolicies_.get(i)); + } + size += unknownFields.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.SecurityPoliciesScopedList)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.SecurityPoliciesScopedList other = + (com.google.cloud.compute.v1.SecurityPoliciesScopedList) obj; + + if (!getSecurityPoliciesList().equals(other.getSecurityPoliciesList())) return false; + if (hasWarning() != other.hasWarning()) return false; + if (hasWarning()) { + if (!getWarning().equals(other.getWarning())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getSecurityPoliciesCount() > 0) { + hash = (37 * hash) + SECURITY_POLICIES_FIELD_NUMBER; + hash = (53 * hash) + getSecurityPoliciesList().hashCode(); + } + if (hasWarning()) { + hash = (37 * hash) + WARNING_FIELD_NUMBER; + hash = (53 * hash) + getWarning().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.SecurityPoliciesScopedList parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesScopedList 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.SecurityPoliciesScopedList parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesScopedList 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.SecurityPoliciesScopedList parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesScopedList 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.SecurityPoliciesScopedList parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesScopedList 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.SecurityPoliciesScopedList parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesScopedList 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.SecurityPoliciesScopedList 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.SecurityPoliciesScopedList 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.SecurityPoliciesScopedList 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.SecurityPoliciesScopedList} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.SecurityPoliciesScopedList) + com.google.cloud.compute.v1.SecurityPoliciesScopedListOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPoliciesScopedList_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SecurityPoliciesScopedList.class, + com.google.cloud.compute.v1.SecurityPoliciesScopedList.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.SecurityPoliciesScopedList.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getSecurityPoliciesFieldBuilder(); + getWarningFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (securityPoliciesBuilder_ == null) { + securityPolicies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + securityPoliciesBuilder_.clear(); + } + if (warningBuilder_ == null) { + warning_ = null; + } else { + warningBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + 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_SecurityPoliciesScopedList_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesScopedList getDefaultInstanceForType() { + return com.google.cloud.compute.v1.SecurityPoliciesScopedList.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesScopedList build() { + com.google.cloud.compute.v1.SecurityPoliciesScopedList result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPoliciesScopedList buildPartial() { + com.google.cloud.compute.v1.SecurityPoliciesScopedList result = + new com.google.cloud.compute.v1.SecurityPoliciesScopedList(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (securityPoliciesBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + securityPolicies_ = java.util.Collections.unmodifiableList(securityPolicies_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.securityPolicies_ = securityPolicies_; + } else { + result.securityPolicies_ = securityPoliciesBuilder_.build(); + } + if (((from_bitField0_ & 0x00000002) != 0)) { + if (warningBuilder_ == null) { + result.warning_ = warning_; + } else { + result.warning_ = warningBuilder_.build(); + } + to_bitField0_ |= 0x00000001; + } + result.bitField0_ = to_bitField0_; + 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.compute.v1.SecurityPoliciesScopedList) { + return mergeFrom((com.google.cloud.compute.v1.SecurityPoliciesScopedList) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.SecurityPoliciesScopedList other) { + if (other == com.google.cloud.compute.v1.SecurityPoliciesScopedList.getDefaultInstance()) + return this; + if (securityPoliciesBuilder_ == null) { + if (!other.securityPolicies_.isEmpty()) { + if (securityPolicies_.isEmpty()) { + securityPolicies_ = other.securityPolicies_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureSecurityPoliciesIsMutable(); + securityPolicies_.addAll(other.securityPolicies_); + } + onChanged(); + } + } else { + if (!other.securityPolicies_.isEmpty()) { + if (securityPoliciesBuilder_.isEmpty()) { + securityPoliciesBuilder_.dispose(); + securityPoliciesBuilder_ = null; + securityPolicies_ = other.securityPolicies_; + bitField0_ = (bitField0_ & ~0x00000001); + securityPoliciesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getSecurityPoliciesFieldBuilder() + : null; + } else { + securityPoliciesBuilder_.addAllMessages(other.securityPolicies_); + } + } + } + if (other.hasWarning()) { + mergeWarning(other.getWarning()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.SecurityPoliciesScopedList parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.SecurityPoliciesScopedList) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.util.List securityPolicies_ = + java.util.Collections.emptyList(); + + private void ensureSecurityPoliciesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + securityPolicies_ = + new java.util.ArrayList(securityPolicies_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicy, + com.google.cloud.compute.v1.SecurityPolicy.Builder, + com.google.cloud.compute.v1.SecurityPolicyOrBuilder> + securityPoliciesBuilder_; + + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public java.util.List getSecurityPoliciesList() { + if (securityPoliciesBuilder_ == null) { + return java.util.Collections.unmodifiableList(securityPolicies_); + } else { + return securityPoliciesBuilder_.getMessageList(); + } + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public int getSecurityPoliciesCount() { + if (securityPoliciesBuilder_ == null) { + return securityPolicies_.size(); + } else { + return securityPoliciesBuilder_.getCount(); + } + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public com.google.cloud.compute.v1.SecurityPolicy getSecurityPolicies(int index) { + if (securityPoliciesBuilder_ == null) { + return securityPolicies_.get(index); + } else { + return securityPoliciesBuilder_.getMessage(index); + } + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public Builder setSecurityPolicies( + int index, com.google.cloud.compute.v1.SecurityPolicy value) { + if (securityPoliciesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSecurityPoliciesIsMutable(); + securityPolicies_.set(index, value); + onChanged(); + } else { + securityPoliciesBuilder_.setMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public Builder setSecurityPolicies( + int index, com.google.cloud.compute.v1.SecurityPolicy.Builder builderForValue) { + if (securityPoliciesBuilder_ == null) { + ensureSecurityPoliciesIsMutable(); + securityPolicies_.set(index, builderForValue.build()); + onChanged(); + } else { + securityPoliciesBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public Builder addSecurityPolicies(com.google.cloud.compute.v1.SecurityPolicy value) { + if (securityPoliciesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSecurityPoliciesIsMutable(); + securityPolicies_.add(value); + onChanged(); + } else { + securityPoliciesBuilder_.addMessage(value); + } + return this; + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public Builder addSecurityPolicies( + int index, com.google.cloud.compute.v1.SecurityPolicy value) { + if (securityPoliciesBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureSecurityPoliciesIsMutable(); + securityPolicies_.add(index, value); + onChanged(); + } else { + securityPoliciesBuilder_.addMessage(index, value); + } + return this; + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public Builder addSecurityPolicies( + com.google.cloud.compute.v1.SecurityPolicy.Builder builderForValue) { + if (securityPoliciesBuilder_ == null) { + ensureSecurityPoliciesIsMutable(); + securityPolicies_.add(builderForValue.build()); + onChanged(); + } else { + securityPoliciesBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public Builder addSecurityPolicies( + int index, com.google.cloud.compute.v1.SecurityPolicy.Builder builderForValue) { + if (securityPoliciesBuilder_ == null) { + ensureSecurityPoliciesIsMutable(); + securityPolicies_.add(index, builderForValue.build()); + onChanged(); + } else { + securityPoliciesBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public Builder addAllSecurityPolicies( + java.lang.Iterable values) { + if (securityPoliciesBuilder_ == null) { + ensureSecurityPoliciesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, securityPolicies_); + onChanged(); + } else { + securityPoliciesBuilder_.addAllMessages(values); + } + return this; + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public Builder clearSecurityPolicies() { + if (securityPoliciesBuilder_ == null) { + securityPolicies_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + securityPoliciesBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public Builder removeSecurityPolicies(int index) { + if (securityPoliciesBuilder_ == null) { + ensureSecurityPoliciesIsMutable(); + securityPolicies_.remove(index); + onChanged(); + } else { + securityPoliciesBuilder_.remove(index); + } + return this; + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public com.google.cloud.compute.v1.SecurityPolicy.Builder getSecurityPoliciesBuilder( + int index) { + return getSecurityPoliciesFieldBuilder().getBuilder(index); + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public com.google.cloud.compute.v1.SecurityPolicyOrBuilder getSecurityPoliciesOrBuilder( + int index) { + if (securityPoliciesBuilder_ == null) { + return securityPolicies_.get(index); + } else { + return securityPoliciesBuilder_.getMessageOrBuilder(index); + } + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public java.util.List + getSecurityPoliciesOrBuilderList() { + if (securityPoliciesBuilder_ != null) { + return securityPoliciesBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(securityPolicies_); + } + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public com.google.cloud.compute.v1.SecurityPolicy.Builder addSecurityPoliciesBuilder() { + return getSecurityPoliciesFieldBuilder() + .addBuilder(com.google.cloud.compute.v1.SecurityPolicy.getDefaultInstance()); + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public com.google.cloud.compute.v1.SecurityPolicy.Builder addSecurityPoliciesBuilder( + int index) { + return getSecurityPoliciesFieldBuilder() + .addBuilder(index, com.google.cloud.compute.v1.SecurityPolicy.getDefaultInstance()); + } + /** + * + * + *
+     * A list of SecurityPolicies contained in this scope.
+     * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + public java.util.List + getSecurityPoliciesBuilderList() { + return getSecurityPoliciesFieldBuilder().getBuilderList(); + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicy, + com.google.cloud.compute.v1.SecurityPolicy.Builder, + com.google.cloud.compute.v1.SecurityPolicyOrBuilder> + getSecurityPoliciesFieldBuilder() { + if (securityPoliciesBuilder_ == null) { + securityPoliciesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicy, + com.google.cloud.compute.v1.SecurityPolicy.Builder, + com.google.cloud.compute.v1.SecurityPolicyOrBuilder>( + securityPolicies_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + securityPolicies_ = null; + } + return securityPoliciesBuilder_; + } + + 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_; + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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); + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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(); + } + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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; + onChanged(); + } else { + warningBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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(); + onChanged(); + } else { + warningBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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()) { + warning_ = + com.google.cloud.compute.v1.Warning.newBuilder(warning_) + .mergeFrom(value) + .buildPartial(); + } else { + warning_ = value; + } + onChanged(); + } else { + warningBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + return this; + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies when the list is empty.
+     * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + public Builder clearWarning() { + if (warningBuilder_ == null) { + warning_ = null; + onChanged(); + } else { + warningBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000002); + return this; + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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(); + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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_; + } + } + /** + * + * + *
+     * Informational warning which replaces the list of security policies 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.SecurityPoliciesScopedList) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.SecurityPoliciesScopedList) + private static final com.google.cloud.compute.v1.SecurityPoliciesScopedList DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.SecurityPoliciesScopedList(); + } + + public static com.google.cloud.compute.v1.SecurityPoliciesScopedList getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityPoliciesScopedList parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SecurityPoliciesScopedList(input, extensionRegistry); + } + }; + + 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.SecurityPoliciesScopedList getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesScopedListOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesScopedListOrBuilder.java new file mode 100644 index 000000000..ea9afd813 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPoliciesScopedListOrBuilder.java @@ -0,0 +1,112 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface SecurityPoliciesScopedListOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SecurityPoliciesScopedList) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + java.util.List getSecurityPoliciesList(); + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + com.google.cloud.compute.v1.SecurityPolicy getSecurityPolicies(int index); + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + int getSecurityPoliciesCount(); + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + java.util.List + getSecurityPoliciesOrBuilderList(); + /** + * + * + *
+   * A list of SecurityPolicies contained in this scope.
+   * 
+ * + * repeated .google.cloud.compute.v1.SecurityPolicy security_policies = 127783791; + */ + com.google.cloud.compute.v1.SecurityPolicyOrBuilder getSecurityPoliciesOrBuilder(int index); + + /** + * + * + *
+   * Informational warning which replaces the list of security policies when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return Whether the warning field is set. + */ + boolean hasWarning(); + /** + * + * + *
+   * Informational warning which replaces the list of security policies when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + * + * @return The warning. + */ + com.google.cloud.compute.v1.Warning getWarning(); + /** + * + * + *
+   * Informational warning which replaces the list of security policies when the list is empty.
+   * 
+ * + * optional .google.cloud.compute.v1.Warning warning = 50704284; + */ + com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java index 3855c7193..ff4d71988 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicy.java @@ -43,6 +43,7 @@ private SecurityPolicy() { fingerprint_ = ""; kind_ = ""; name_ = ""; + region_ = ""; rules_ = java.util.Collections.emptyList(); selfLink_ = ""; type_ = ""; @@ -80,28 +81,28 @@ private SecurityPolicy( break; case 26840: { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; id_ = input.readUInt64(); break; } case 26336418: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; kind_ = s; break; } case 26989658: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; name_ = s; break; } case 28604882: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; type_ = s; break; } @@ -112,17 +113,42 @@ private SecurityPolicy( creationTimestamp_ = s; break; } + case 402526826: + { + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.Builder subBuilder = + null; + if (((bitField0_ & 0x00000008) != 0)) { + subBuilder = ddosProtectionConfig_.toBuilder(); + } + ddosProtectionConfig_ = + input.readMessage( + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(ddosProtectionConfig_); + ddosProtectionConfig_ = subBuilder.buildPartial(); + } + bitField0_ |= 0x00000008; + break; + } case 870991802: { - if (!((mutable_bitField0_ & 0x00000200) != 0)) { + if (!((mutable_bitField0_ & 0x00000800) != 0)) { rules_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000200; + mutable_bitField0_ |= 0x00000800; } rules_.add( input.readMessage( com.google.cloud.compute.v1.SecurityPolicyRule.parser(), extensionRegistry)); break; } + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + region_ = s; + break; + } case 1201925882: { com.google.cloud.compute.v1.SecurityPolicyAdaptiveProtectionConfig.Builder @@ -144,14 +170,14 @@ private SecurityPolicy( case 1877428002: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; fingerprint_ = s; break; } case -911466526: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; description_ = s; break; } @@ -176,7 +202,7 @@ private SecurityPolicy( case -645248918: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; selfLink_ = s; break; } @@ -184,7 +210,7 @@ private SecurityPolicy( { com.google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig.Builder subBuilder = null; - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { subBuilder = recaptchaOptionsConfig_.toBuilder(); } recaptchaOptionsConfig_ = @@ -195,7 +221,7 @@ private SecurityPolicy( subBuilder.mergeFrom(recaptchaOptionsConfig_); recaptchaOptionsConfig_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; break; } default: @@ -212,7 +238,7 @@ private SecurityPolicy( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000200) != 0)) { + if (((mutable_bitField0_ & 0x00000800) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); } this.unknownFields = unknownFields.build(); @@ -239,7 +265,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+   * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.SecurityPolicy.Type} @@ -259,6 +285,8 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { CLOUD_ARMOR(260640373), /** CLOUD_ARMOR_EDGE = 250728775; */ CLOUD_ARMOR_EDGE(250728775), + /** CLOUD_ARMOR_NETWORK = 488527428; */ + CLOUD_ARMOR_NETWORK(488527428), UNRECOGNIZED(-1), ; @@ -276,6 +304,8 @@ public enum Type implements com.google.protobuf.ProtocolMessageEnum { public static final int CLOUD_ARMOR_VALUE = 260640373; /** CLOUD_ARMOR_EDGE = 250728775; */ public static final int CLOUD_ARMOR_EDGE_VALUE = 250728775; + /** CLOUD_ARMOR_NETWORK = 488527428; */ + public static final int CLOUD_ARMOR_NETWORK_VALUE = 488527428; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -307,6 +337,8 @@ public static Type forNumber(int value) { return CLOUD_ARMOR; case 250728775: return CLOUD_ARMOR_EDGE; + case 488527428: + return CLOUD_ARMOR_NETWORK; default: return null; } @@ -506,6 +538,45 @@ public com.google.protobuf.ByteString getCreationTimestampBytes() { } } + public static final int DDOS_PROTECTION_CONFIG_FIELD_NUMBER = 50315853; + private com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddosProtectionConfig_; + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + * + * @return Whether the ddosProtectionConfig field is set. + */ + @java.lang.Override + public boolean hasDdosProtectionConfig() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + * + * @return The ddosProtectionConfig. + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig getDdosProtectionConfig() { + return ddosProtectionConfig_ == null + ? com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.getDefaultInstance() + : ddosProtectionConfig_; + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfigOrBuilder + getDdosProtectionConfigOrBuilder() { + return ddosProtectionConfig_ == null + ? com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.getDefaultInstance() + : ddosProtectionConfig_; + } + public static final int DESCRIPTION_FIELD_NUMBER = 422937596; private volatile java.lang.Object description_; /** @@ -521,7 +592,7 @@ public com.google.protobuf.ByteString getCreationTimestampBytes() { */ @java.lang.Override public boolean hasDescription() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -585,7 +656,7 @@ public com.google.protobuf.ByteString getDescriptionBytes() { */ @java.lang.Override public boolean hasFingerprint() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -649,7 +720,7 @@ public com.google.protobuf.ByteString getFingerprintBytes() { */ @java.lang.Override public boolean hasId() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -682,7 +753,7 @@ public long getId() { */ @java.lang.Override public boolean hasKind() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -746,7 +817,7 @@ public com.google.protobuf.ByteString getKindBytes() { */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -806,7 +877,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasRecaptchaOptionsConfig() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -835,6 +906,70 @@ public boolean hasRecaptchaOptionsConfig() { : recaptchaOptionsConfig_; } + public static final int REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+   * 
+ * + * optional string region = 138946292; + * + * @return Whether the region field is set. + */ + @java.lang.Override + public boolean hasRegion() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+   * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+   * 
+ * + * optional string region = 138946292; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+   * 
+ * + * optional string region = 138946292; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int RULES_FIELD_NUMBER = 108873975; private java.util.List rules_; /** @@ -919,7 +1054,7 @@ public com.google.cloud.compute.v1.SecurityPolicyRuleOrBuilder getRulesOrBuilder */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -974,7 +1109,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * * *
-   * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+   * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
    * Check the Type enum for the list of possible values.
    * 
* @@ -984,13 +1119,13 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { */ @java.lang.Override public boolean hasType() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * * *
-   * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+   * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
    * Check the Type enum for the list of possible values.
    * 
* @@ -1014,7 +1149,7 @@ public java.lang.String getType() { * * *
-   * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+   * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
    * Check the Type enum for the list of possible values.
    * 
* @@ -1049,40 +1184,46 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt64(3355, id_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3575610, type_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); } + if (((bitField0_ & 0x00000008) != 0)) { + output.writeMessage(50315853, getDdosProtectionConfig()); + } for (int i = 0; i < rules_.size(); i++) { output.writeMessage(108873975, rules_.get(i)); } + if (((bitField0_ & 0x00000400) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(150240735, getAdaptiveProtectionConfig()); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 234678500, fingerprint_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(449276352, getAdvancedOptionsConfig()); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { output.writeMessage(519006811, getRecaptchaOptionsConfig()); } unknownFields.writeTo(output); @@ -1094,34 +1235,42 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (((bitField0_ & 0x00000020) != 0)) { + if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_); } - if (((bitField0_ & 0x00000040) != 0)) { + if (((bitField0_ & 0x00000080) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3575610, type_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); } + if (((bitField0_ & 0x00000008) != 0)) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 50315853, getDdosProtectionConfig()); + } for (int i = 0; i < rules_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(108873975, rules_.get(i)); } + if (((bitField0_ & 0x00000400) != 0)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 150240735, getAdaptiveProtectionConfig()); } - if (((bitField0_ & 0x00000010) != 0)) { + if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(234678500, fingerprint_); } - if (((bitField0_ & 0x00000008) != 0)) { + if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } if (((bitField0_ & 0x00000002) != 0)) { @@ -1129,10 +1278,10 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 449276352, getAdvancedOptionsConfig()); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize( 519006811, getRecaptchaOptionsConfig()); @@ -1165,6 +1314,10 @@ public boolean equals(final java.lang.Object obj) { if (hasCreationTimestamp()) { if (!getCreationTimestamp().equals(other.getCreationTimestamp())) return false; } + if (hasDdosProtectionConfig() != other.hasDdosProtectionConfig()) return false; + if (hasDdosProtectionConfig()) { + if (!getDdosProtectionConfig().equals(other.getDdosProtectionConfig())) return false; + } if (hasDescription() != other.hasDescription()) return false; if (hasDescription()) { if (!getDescription().equals(other.getDescription())) return false; @@ -1189,6 +1342,10 @@ public boolean equals(final java.lang.Object obj) { if (hasRecaptchaOptionsConfig()) { if (!getRecaptchaOptionsConfig().equals(other.getRecaptchaOptionsConfig())) return false; } + if (hasRegion() != other.hasRegion()) return false; + if (hasRegion()) { + if (!getRegion().equals(other.getRegion())) return false; + } if (!getRulesList().equals(other.getRulesList())) return false; if (hasSelfLink() != other.hasSelfLink()) return false; if (hasSelfLink()) { @@ -1221,6 +1378,10 @@ public int hashCode() { hash = (37 * hash) + CREATION_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getCreationTimestamp().hashCode(); } + if (hasDdosProtectionConfig()) { + hash = (37 * hash) + DDOS_PROTECTION_CONFIG_FIELD_NUMBER; + hash = (53 * hash) + getDdosProtectionConfig().hashCode(); + } if (hasDescription()) { hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER; hash = (53 * hash) + getDescription().hashCode(); @@ -1245,6 +1406,10 @@ public int hashCode() { hash = (37 * hash) + RECAPTCHA_OPTIONS_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getRecaptchaOptionsConfig().hashCode(); } + if (hasRegion()) { + hash = (37 * hash) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + } if (getRulesCount() > 0) { hash = (37 * hash) + RULES_FIELD_NUMBER; hash = (53 * hash) + getRulesList().hashCode(); @@ -1399,6 +1564,7 @@ private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAdaptiveProtectionConfigFieldBuilder(); getAdvancedOptionsConfigFieldBuilder(); + getDdosProtectionConfigFieldBuilder(); getRecaptchaOptionsConfigFieldBuilder(); getRulesFieldBuilder(); } @@ -1421,32 +1587,40 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000002); creationTimestamp_ = ""; bitField0_ = (bitField0_ & ~0x00000004); - description_ = ""; + if (ddosProtectionConfigBuilder_ == null) { + ddosProtectionConfig_ = null; + } else { + ddosProtectionConfigBuilder_.clear(); + } bitField0_ = (bitField0_ & ~0x00000008); - fingerprint_ = ""; + description_ = ""; bitField0_ = (bitField0_ & ~0x00000010); - id_ = 0L; + fingerprint_ = ""; bitField0_ = (bitField0_ & ~0x00000020); - kind_ = ""; + id_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); - name_ = ""; + kind_ = ""; bitField0_ = (bitField0_ & ~0x00000080); + name_ = ""; + bitField0_ = (bitField0_ & ~0x00000100); if (recaptchaOptionsConfigBuilder_ == null) { recaptchaOptionsConfig_ = null; } else { recaptchaOptionsConfigBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); + region_ = ""; + bitField0_ = (bitField0_ & ~0x00000400); if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000800); } else { rulesBuilder_.clear(); } selfLink_ = ""; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); type_ = ""; - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00002000); return this; } @@ -1497,48 +1671,60 @@ public com.google.cloud.compute.v1.SecurityPolicy buildPartial() { } result.creationTimestamp_ = creationTimestamp_; if (((from_bitField0_ & 0x00000008) != 0)) { + if (ddosProtectionConfigBuilder_ == null) { + result.ddosProtectionConfig_ = ddosProtectionConfig_; + } else { + result.ddosProtectionConfig_ = ddosProtectionConfigBuilder_.build(); + } to_bitField0_ |= 0x00000008; } - result.description_ = description_; if (((from_bitField0_ & 0x00000010) != 0)) { to_bitField0_ |= 0x00000010; } - result.fingerprint_ = fingerprint_; + result.description_ = description_; if (((from_bitField0_ & 0x00000020) != 0)) { - result.id_ = id_; to_bitField0_ |= 0x00000020; } + result.fingerprint_ = fingerprint_; if (((from_bitField0_ & 0x00000040) != 0)) { + result.id_ = id_; to_bitField0_ |= 0x00000040; } - result.kind_ = kind_; if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } - result.name_ = name_; + result.kind_ = kind_; if (((from_bitField0_ & 0x00000100) != 0)) { + to_bitField0_ |= 0x00000100; + } + result.name_ = name_; + if (((from_bitField0_ & 0x00000200) != 0)) { if (recaptchaOptionsConfigBuilder_ == null) { result.recaptchaOptionsConfig_ = recaptchaOptionsConfig_; } else { result.recaptchaOptionsConfig_ = recaptchaOptionsConfigBuilder_.build(); } - to_bitField0_ |= 0x00000100; + to_bitField0_ |= 0x00000200; } + if (((from_bitField0_ & 0x00000400) != 0)) { + to_bitField0_ |= 0x00000400; + } + result.region_ = region_; if (rulesBuilder_ == null) { - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { rules_ = java.util.Collections.unmodifiableList(rules_); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000800); } result.rules_ = rules_; } else { result.rules_ = rulesBuilder_.build(); } - if (((from_bitField0_ & 0x00000400) != 0)) { - to_bitField0_ |= 0x00000200; + if (((from_bitField0_ & 0x00001000) != 0)) { + to_bitField0_ |= 0x00000800; } result.selfLink_ = selfLink_; - if (((from_bitField0_ & 0x00000800) != 0)) { - to_bitField0_ |= 0x00000400; + if (((from_bitField0_ & 0x00002000) != 0)) { + to_bitField0_ |= 0x00001000; } result.type_ = type_; result.bitField0_ = to_bitField0_; @@ -1602,13 +1788,16 @@ public Builder mergeFrom(com.google.cloud.compute.v1.SecurityPolicy other) { creationTimestamp_ = other.creationTimestamp_; onChanged(); } + if (other.hasDdosProtectionConfig()) { + mergeDdosProtectionConfig(other.getDdosProtectionConfig()); + } if (other.hasDescription()) { - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; description_ = other.description_; onChanged(); } if (other.hasFingerprint()) { - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; fingerprint_ = other.fingerprint_; onChanged(); } @@ -1616,23 +1805,28 @@ public Builder mergeFrom(com.google.cloud.compute.v1.SecurityPolicy other) { setId(other.getId()); } if (other.hasKind()) { - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; kind_ = other.kind_; onChanged(); } if (other.hasName()) { - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; name_ = other.name_; onChanged(); } if (other.hasRecaptchaOptionsConfig()) { mergeRecaptchaOptionsConfig(other.getRecaptchaOptionsConfig()); } + if (other.hasRegion()) { + bitField0_ |= 0x00000400; + region_ = other.region_; + onChanged(); + } if (rulesBuilder_ == null) { if (!other.rules_.isEmpty()) { if (rules_.isEmpty()) { rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000800); } else { ensureRulesIsMutable(); rules_.addAll(other.rules_); @@ -1645,7 +1839,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.SecurityPolicy other) { rulesBuilder_.dispose(); rulesBuilder_ = null; rules_ = other.rules_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000800); rulesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRulesFieldBuilder() @@ -1656,12 +1850,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.SecurityPolicy other) { } } if (other.hasSelfLink()) { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; selfLink_ = other.selfLink_; onChanged(); } if (other.hasType()) { - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; type_ = other.type_; onChanged(); } @@ -2138,6 +2332,165 @@ public Builder setCreationTimestampBytes(com.google.protobuf.ByteString value) { return this; } + private com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddosProtectionConfig_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig, + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.Builder, + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfigOrBuilder> + ddosProtectionConfigBuilder_; + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + * + * @return Whether the ddosProtectionConfig field is set. + */ + public boolean hasDdosProtectionConfig() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + * + * @return The ddosProtectionConfig. + */ + public com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig + getDdosProtectionConfig() { + if (ddosProtectionConfigBuilder_ == null) { + return ddosProtectionConfig_ == null + ? com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.getDefaultInstance() + : ddosProtectionConfig_; + } else { + return ddosProtectionConfigBuilder_.getMessage(); + } + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + */ + public Builder setDdosProtectionConfig( + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig value) { + if (ddosProtectionConfigBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ddosProtectionConfig_ = value; + onChanged(); + } else { + ddosProtectionConfigBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + */ + public Builder setDdosProtectionConfig( + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.Builder builderForValue) { + if (ddosProtectionConfigBuilder_ == null) { + ddosProtectionConfig_ = builderForValue.build(); + onChanged(); + } else { + ddosProtectionConfigBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + return this; + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + */ + public Builder mergeDdosProtectionConfig( + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig value) { + if (ddosProtectionConfigBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) + && ddosProtectionConfig_ != null + && ddosProtectionConfig_ + != com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig + .getDefaultInstance()) { + ddosProtectionConfig_ = + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.newBuilder( + ddosProtectionConfig_) + .mergeFrom(value) + .buildPartial(); + } else { + ddosProtectionConfig_ = value; + } + onChanged(); + } else { + ddosProtectionConfigBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + return this; + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + */ + public Builder clearDdosProtectionConfig() { + if (ddosProtectionConfigBuilder_ == null) { + ddosProtectionConfig_ = null; + onChanged(); + } else { + ddosProtectionConfigBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000008); + return this; + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + */ + public com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.Builder + getDdosProtectionConfigBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getDdosProtectionConfigFieldBuilder().getBuilder(); + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + */ + public com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfigOrBuilder + getDdosProtectionConfigOrBuilder() { + if (ddosProtectionConfigBuilder_ != null) { + return ddosProtectionConfigBuilder_.getMessageOrBuilder(); + } else { + return ddosProtectionConfig_ == null + ? com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.getDefaultInstance() + : ddosProtectionConfig_; + } + } + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig, + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.Builder, + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfigOrBuilder> + getDdosProtectionConfigFieldBuilder() { + if (ddosProtectionConfigBuilder_ == null) { + ddosProtectionConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig, + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.Builder, + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfigOrBuilder>( + getDdosProtectionConfig(), getParentForChildren(), isClean()); + ddosProtectionConfig_ = null; + } + return ddosProtectionConfigBuilder_; + } + private java.lang.Object description_ = ""; /** * @@ -2151,7 +2504,7 @@ public Builder setCreationTimestampBytes(com.google.protobuf.ByteString value) { * @return Whether the description field is set. */ public boolean hasDescription() { - return ((bitField0_ & 0x00000008) != 0); + return ((bitField0_ & 0x00000010) != 0); } /** * @@ -2213,7 +2566,7 @@ public Builder setDescription(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; description_ = value; onChanged(); return this; @@ -2230,7 +2583,7 @@ public Builder setDescription(java.lang.String value) { * @return This builder for chaining. */ public Builder clearDescription() { - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ = (bitField0_ & ~0x00000010); description_ = getDefaultInstance().getDescription(); onChanged(); return this; @@ -2252,7 +2605,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000008; + bitField0_ |= 0x00000010; description_ = value; onChanged(); return this; @@ -2271,7 +2624,7 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { * @return Whether the fingerprint field is set. */ public boolean hasFingerprint() { - return ((bitField0_ & 0x00000010) != 0); + return ((bitField0_ & 0x00000020) != 0); } /** * @@ -2333,7 +2686,7 @@ public Builder setFingerprint(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; fingerprint_ = value; onChanged(); return this; @@ -2350,7 +2703,7 @@ public Builder setFingerprint(java.lang.String value) { * @return This builder for chaining. */ public Builder clearFingerprint() { - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ = (bitField0_ & ~0x00000020); fingerprint_ = getDefaultInstance().getFingerprint(); onChanged(); return this; @@ -2372,7 +2725,7 @@ public Builder setFingerprintBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000010; + bitField0_ |= 0x00000020; fingerprint_ = value; onChanged(); return this; @@ -2392,7 +2745,7 @@ public Builder setFingerprintBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasId() { - return ((bitField0_ & 0x00000020) != 0); + return ((bitField0_ & 0x00000040) != 0); } /** * @@ -2422,7 +2775,7 @@ public long getId() { * @return This builder for chaining. */ public Builder setId(long value) { - bitField0_ |= 0x00000020; + bitField0_ |= 0x00000040; id_ = value; onChanged(); return this; @@ -2439,7 +2792,7 @@ public Builder setId(long value) { * @return This builder for chaining. */ public Builder clearId() { - bitField0_ = (bitField0_ & ~0x00000020); + bitField0_ = (bitField0_ & ~0x00000040); id_ = 0L; onChanged(); return this; @@ -2458,7 +2811,7 @@ public Builder clearId() { * @return Whether the kind field is set. */ public boolean hasKind() { - return ((bitField0_ & 0x00000040) != 0); + return ((bitField0_ & 0x00000080) != 0); } /** * @@ -2520,7 +2873,7 @@ public Builder setKind(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; kind_ = value; onChanged(); return this; @@ -2537,7 +2890,7 @@ public Builder setKind(java.lang.String value) { * @return This builder for chaining. */ public Builder clearKind() { - bitField0_ = (bitField0_ & ~0x00000040); + bitField0_ = (bitField0_ & ~0x00000080); kind_ = getDefaultInstance().getKind(); onChanged(); return this; @@ -2559,7 +2912,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000040; + bitField0_ |= 0x00000080; kind_ = value; onChanged(); return this; @@ -2578,7 +2931,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -2640,7 +2993,7 @@ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; name_ = value; onChanged(); return this; @@ -2657,7 +3010,7 @@ public Builder setName(java.lang.String value) { * @return This builder for chaining. */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); name_ = getDefaultInstance().getName(); onChanged(); return this; @@ -2679,7 +3032,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; name_ = value; onChanged(); return this; @@ -2700,7 +3053,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the recaptchaOptionsConfig field is set. */ public boolean hasRecaptchaOptionsConfig() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * @@ -2735,7 +3088,7 @@ public Builder setRecaptchaOptionsConfig( } else { recaptchaOptionsConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; return this; } /** @@ -2751,7 +3104,7 @@ public Builder setRecaptchaOptionsConfig( } else { recaptchaOptionsConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; return this; } /** @@ -2762,7 +3115,7 @@ public Builder setRecaptchaOptionsConfig( public Builder mergeRecaptchaOptionsConfig( com.google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig value) { if (recaptchaOptionsConfigBuilder_ == null) { - if (((bitField0_ & 0x00000100) != 0) + if (((bitField0_ & 0x00000200) != 0) && recaptchaOptionsConfig_ != null && recaptchaOptionsConfig_ != com.google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig @@ -2779,7 +3132,7 @@ public Builder mergeRecaptchaOptionsConfig( } else { recaptchaOptionsConfigBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; return this; } /** @@ -2794,7 +3147,7 @@ public Builder clearRecaptchaOptionsConfig() { } else { recaptchaOptionsConfigBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); return this; } /** @@ -2804,7 +3157,7 @@ public Builder clearRecaptchaOptionsConfig() { */ public com.google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfig.Builder getRecaptchaOptionsConfigBuilder() { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; onChanged(); return getRecaptchaOptionsConfigFieldBuilder().getBuilder(); } @@ -2845,13 +3198,133 @@ public Builder clearRecaptchaOptionsConfig() { return recaptchaOptionsConfigBuilder_; } + private java.lang.Object region_ = ""; + /** + * + * + *
+     * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+     * 
+ * + * optional string region = 138946292; + * + * @return Whether the region field is set. + */ + public boolean hasRegion() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+     * 
+ * + * optional string region = 138946292; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+     * 
+ * + * optional string region = 138946292; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+     * 
+ * + * optional string region = 138946292; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000400; + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+     * 
+ * + * optional string region = 138946292; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + bitField0_ = (bitField0_ & ~0x00000400); + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+     * 
+ * + * optional string region = 138946292; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000400; + region_ = value; + onChanged(); + return this; + } + private java.util.List rules_ = java.util.Collections.emptyList(); private void ensureRulesIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { + if (!((bitField0_ & 0x00000800) != 0)) { rules_ = new java.util.ArrayList(rules_); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000800; } } @@ -3067,7 +3540,7 @@ public Builder addAllRules( public Builder clearRules() { if (rulesBuilder_ == null) { rules_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000800); onChanged(); } else { rulesBuilder_.clear(); @@ -3189,7 +3662,7 @@ public com.google.cloud.compute.v1.SecurityPolicyRule.Builder addRulesBuilder(in com.google.cloud.compute.v1.SecurityPolicyRule, com.google.cloud.compute.v1.SecurityPolicyRule.Builder, com.google.cloud.compute.v1.SecurityPolicyRuleOrBuilder>( - rules_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean()); + rules_, ((bitField0_ & 0x00000800) != 0), getParentForChildren(), isClean()); rules_ = null; } return rulesBuilder_; @@ -3208,7 +3681,7 @@ public com.google.cloud.compute.v1.SecurityPolicyRule.Builder addRulesBuilder(in * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -3270,7 +3743,7 @@ public Builder setSelfLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; selfLink_ = value; onChanged(); return this; @@ -3287,7 +3760,7 @@ public Builder setSelfLink(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSelfLink() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00001000); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; @@ -3309,7 +3782,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00001000; selfLink_ = value; onChanged(); return this; @@ -3320,7 +3793,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * * *
-     * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+     * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
      * Check the Type enum for the list of possible values.
      * 
* @@ -3329,13 +3802,13 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the type field is set. */ public boolean hasType() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * * *
-     * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+     * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
      * Check the Type enum for the list of possible values.
      * 
* @@ -3358,7 +3831,7 @@ public java.lang.String getType() { * * *
-     * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+     * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
      * Check the Type enum for the list of possible values.
      * 
* @@ -3381,7 +3854,7 @@ public com.google.protobuf.ByteString getTypeBytes() { * * *
-     * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+     * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
      * Check the Type enum for the list of possible values.
      * 
* @@ -3394,7 +3867,7 @@ public Builder setType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; type_ = value; onChanged(); return this; @@ -3403,7 +3876,7 @@ public Builder setType(java.lang.String value) { * * *
-     * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+     * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
      * Check the Type enum for the list of possible values.
      * 
* @@ -3412,7 +3885,7 @@ public Builder setType(java.lang.String value) { * @return This builder for chaining. */ public Builder clearType() { - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00002000); type_ = getDefaultInstance().getType(); onChanged(); return this; @@ -3421,7 +3894,7 @@ public Builder clearType() { * * *
-     * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+     * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
      * Check the Type enum for the list of possible values.
      * 
* @@ -3435,7 +3908,7 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000800; + bitField0_ |= 0x00002000; type_ = value; onChanged(); return this; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyDdosProtectionConfig.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyDdosProtectionConfig.java new file mode 100644 index 000000000..086904a60 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyDdosProtectionConfig.java @@ -0,0 +1,822 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig} + */ +public final class SecurityPolicyDdosProtectionConfig extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig) + SecurityPolicyDdosProtectionConfigOrBuilder { + private static final long serialVersionUID = 0L; + // Use SecurityPolicyDdosProtectionConfig.newBuilder() to construct. + private SecurityPolicyDdosProtectionConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SecurityPolicyDdosProtectionConfig() { + ddosProtection_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SecurityPolicyDdosProtectionConfig(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SecurityPolicyDdosProtectionConfig( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case -2093581150: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + ddosProtection_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.class, + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.Builder.class); + } + + /** + * + * + *
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.DdosProtection} + */ + public enum DdosProtection implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_DDOS_PROTECTION = 0; + */ + UNDEFINED_DDOS_PROTECTION(0), + /** ADVANCED = 63789090; */ + ADVANCED(63789090), + /** STANDARD = 484642493; */ + STANDARD(484642493), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_DDOS_PROTECTION = 0; + */ + public static final int UNDEFINED_DDOS_PROTECTION_VALUE = 0; + /** ADVANCED = 63789090; */ + public static final int ADVANCED_VALUE = 63789090; + /** STANDARD = 484642493; */ + public static final int STANDARD_VALUE = 484642493; + + 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 DdosProtection 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 DdosProtection forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_DDOS_PROTECTION; + case 63789090: + return ADVANCED; + case 484642493: + return STANDARD; + 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 DdosProtection findValueByNumber(int number) { + return DdosProtection.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.SecurityPolicyDdosProtectionConfig.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final DdosProtection[] VALUES = values(); + + public static DdosProtection 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 DdosProtection(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.DdosProtection) + } + + private int bitField0_; + public static final int DDOS_PROTECTION_FIELD_NUMBER = 275173268; + private volatile java.lang.Object ddosProtection_; + /** + * + * + *
+   *
+   * Check the DdosProtection enum for the list of possible values.
+   * 
+ * + * optional string ddos_protection = 275173268; + * + * @return Whether the ddosProtection field is set. + */ + @java.lang.Override + public boolean hasDdosProtection() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+   *
+   * Check the DdosProtection enum for the list of possible values.
+   * 
+ * + * optional string ddos_protection = 275173268; + * + * @return The ddosProtection. + */ + @java.lang.Override + public java.lang.String getDdosProtection() { + java.lang.Object ref = ddosProtection_; + 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(); + ddosProtection_ = s; + return s; + } + } + /** + * + * + *
+   *
+   * Check the DdosProtection enum for the list of possible values.
+   * 
+ * + * optional string ddos_protection = 275173268; + * + * @return The bytes for ddosProtection. + */ + @java.lang.Override + public com.google.protobuf.ByteString getDdosProtectionBytes() { + java.lang.Object ref = ddosProtection_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ddosProtection_ = 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, 275173268, ddosProtection_); + } + unknownFields.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(275173268, ddosProtection_); + } + size += unknownFields.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.SecurityPolicyDdosProtectionConfig)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig other = + (com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig) obj; + + if (hasDdosProtection() != other.hasDdosProtection()) return false; + if (hasDdosProtection()) { + if (!getDdosProtection().equals(other.getDdosProtection())) return false; + } + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDdosProtection()) { + hash = (37 * hash) + DDOS_PROTECTION_FIELD_NUMBER; + hash = (53 * hash) + getDdosProtection().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig 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.SecurityPolicyDdosProtectionConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig 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.SecurityPolicyDdosProtectionConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig 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.SecurityPolicyDdosProtectionConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig 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.SecurityPolicyDdosProtectionConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig 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.SecurityPolicyDdosProtectionConfig 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.SecurityPolicyDdosProtectionConfig 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.SecurityPolicyDdosProtectionConfig 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.SecurityPolicyDdosProtectionConfig} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig) + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SecurityPolicyDdosProtectionConfig_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.class, + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.Builder.class); + } + + // Construct using com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + ddosProtection_ = ""; + bitField0_ = (bitField0_ & ~0x00000001); + 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_SecurityPolicyDdosProtectionConfig_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig build() { + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig buildPartial() { + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig result = + new com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + to_bitField0_ |= 0x00000001; + } + result.ddosProtection_ = ddosProtection_; + result.bitField0_ = to_bitField0_; + 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.compute.v1.SecurityPolicyDdosProtectionConfig) { + return mergeFrom((com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig other) { + if (other + == com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig.getDefaultInstance()) + return this; + if (other.hasDdosProtection()) { + bitField0_ |= 0x00000001; + ddosProtection_ = other.ddosProtection_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int bitField0_; + + private java.lang.Object ddosProtection_ = ""; + /** + * + * + *
+     *
+     * Check the DdosProtection enum for the list of possible values.
+     * 
+ * + * optional string ddos_protection = 275173268; + * + * @return Whether the ddosProtection field is set. + */ + public boolean hasDdosProtection() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     *
+     * Check the DdosProtection enum for the list of possible values.
+     * 
+ * + * optional string ddos_protection = 275173268; + * + * @return The ddosProtection. + */ + public java.lang.String getDdosProtection() { + java.lang.Object ref = ddosProtection_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + ddosProtection_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     *
+     * Check the DdosProtection enum for the list of possible values.
+     * 
+ * + * optional string ddos_protection = 275173268; + * + * @return The bytes for ddosProtection. + */ + public com.google.protobuf.ByteString getDdosProtectionBytes() { + java.lang.Object ref = ddosProtection_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + ddosProtection_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     *
+     * Check the DdosProtection enum for the list of possible values.
+     * 
+ * + * optional string ddos_protection = 275173268; + * + * @param value The ddosProtection to set. + * @return This builder for chaining. + */ + public Builder setDdosProtection(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + ddosProtection_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     *
+     * Check the DdosProtection enum for the list of possible values.
+     * 
+ * + * optional string ddos_protection = 275173268; + * + * @return This builder for chaining. + */ + public Builder clearDdosProtection() { + bitField0_ = (bitField0_ & ~0x00000001); + ddosProtection_ = getDefaultInstance().getDdosProtection(); + onChanged(); + return this; + } + /** + * + * + *
+     *
+     * Check the DdosProtection enum for the list of possible values.
+     * 
+ * + * optional string ddos_protection = 275173268; + * + * @param value The bytes for ddosProtection to set. + * @return This builder for chaining. + */ + public Builder setDdosProtectionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000001; + ddosProtection_ = value; + 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.SecurityPolicyDdosProtectionConfig) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig) + private static final com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig(); + } + + public static com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SecurityPolicyDdosProtectionConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SecurityPolicyDdosProtectionConfig(input, extensionRegistry); + } + }; + + 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.SecurityPolicyDdosProtectionConfig + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyDdosProtectionConfigOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyDdosProtectionConfigOrBuilder.java new file mode 100644 index 000000000..345681c8e --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyDdosProtectionConfigOrBuilder.java @@ -0,0 +1,65 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface SecurityPolicyDdosProtectionConfigOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   *
+   * Check the DdosProtection enum for the list of possible values.
+   * 
+ * + * optional string ddos_protection = 275173268; + * + * @return Whether the ddosProtection field is set. + */ + boolean hasDdosProtection(); + /** + * + * + *
+   *
+   * Check the DdosProtection enum for the list of possible values.
+   * 
+ * + * optional string ddos_protection = 275173268; + * + * @return The ddosProtection. + */ + java.lang.String getDdosProtection(); + /** + * + * + *
+   *
+   * Check the DdosProtection enum for the list of possible values.
+   * 
+ * + * optional string ddos_protection = 275173268; + * + * @return The bytes for ddosProtection. + */ + com.google.protobuf.ByteString getDdosProtectionBytes(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyOrBuilder.java index 230edb10b..0be58275a 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyOrBuilder.java @@ -108,6 +108,30 @@ public interface SecurityPolicyOrBuilder */ com.google.protobuf.ByteString getCreationTimestampBytes(); + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + * + * @return Whether the ddosProtectionConfig field is set. + */ + boolean hasDdosProtectionConfig(); + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + * + * @return The ddosProtectionConfig. + */ + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig getDdosProtectionConfig(); + /** + * + * optional .google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + * + */ + com.google.cloud.compute.v1.SecurityPolicyDdosProtectionConfigOrBuilder + getDdosProtectionConfigOrBuilder(); + /** * * @@ -305,6 +329,43 @@ public interface SecurityPolicyOrBuilder com.google.cloud.compute.v1.SecurityPolicyRecaptchaOptionsConfigOrBuilder getRecaptchaOptionsConfigOrBuilder(); + /** + * + * + *
+   * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+   * 
+ * + * optional string region = 138946292; + * + * @return Whether the region field is set. + */ + boolean hasRegion(); + /** + * + * + *
+   * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+   * 
+ * + * optional string region = 138946292; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies.
+   * 
+ * + * optional string region = 138946292; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + /** * * @@ -398,7 +459,7 @@ public interface SecurityPolicyOrBuilder * * *
-   * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+   * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
    * Check the Type enum for the list of possible values.
    * 
* @@ -411,7 +472,7 @@ public interface SecurityPolicyOrBuilder * * *
-   * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+   * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
    * Check the Type enum for the list of possible values.
    * 
* @@ -424,7 +485,7 @@ public interface SecurityPolicyOrBuilder * * *
-   * The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache.
+   * The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time.
    * Check the Type enum for the list of possible values.
    * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleRateLimitOptions.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleRateLimitOptions.java index a23f5161e..60fbc8678 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleRateLimitOptions.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleRateLimitOptions.java @@ -202,7 +202,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptions.EnforceOnKey} @@ -506,7 +506,7 @@ public com.google.protobuf.ByteString getConformActionBytes() { * * *
-   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
    * Check the EnforceOnKey enum for the list of possible values.
    * 
* @@ -522,7 +522,7 @@ public boolean hasEnforceOnKey() { * * *
-   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
    * Check the EnforceOnKey enum for the list of possible values.
    * 
* @@ -546,7 +546,7 @@ public java.lang.String getEnforceOnKey() { * * *
-   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
    * Check the EnforceOnKey enum for the list of possible values.
    * 
* @@ -637,7 +637,7 @@ public com.google.protobuf.ByteString getEnforceOnKeyNameBytes() { * * *
-   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
    * 
* * optional string exceed_action = 167159073; @@ -652,7 +652,7 @@ public boolean hasExceedAction() { * * *
-   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
    * 
* * optional string exceed_action = 167159073; @@ -675,7 +675,7 @@ public java.lang.String getExceedAction() { * * *
-   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
    * 
* * optional string exceed_action = 167159073; @@ -1757,7 +1757,7 @@ public Builder setConformActionBytes(com.google.protobuf.ByteString value) { * * *
-     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
      * Check the EnforceOnKey enum for the list of possible values.
      * 
* @@ -1772,7 +1772,7 @@ public boolean hasEnforceOnKey() { * * *
-     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
      * Check the EnforceOnKey enum for the list of possible values.
      * 
* @@ -1795,7 +1795,7 @@ public java.lang.String getEnforceOnKey() { * * *
-     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
      * Check the EnforceOnKey enum for the list of possible values.
      * 
* @@ -1818,7 +1818,7 @@ public com.google.protobuf.ByteString getEnforceOnKeyBytes() { * * *
-     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
      * Check the EnforceOnKey enum for the list of possible values.
      * 
* @@ -1840,7 +1840,7 @@ public Builder setEnforceOnKey(java.lang.String value) { * * *
-     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
      * Check the EnforceOnKey enum for the list of possible values.
      * 
* @@ -1858,7 +1858,7 @@ public Builder clearEnforceOnKey() { * * *
-     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+     * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
      * Check the EnforceOnKey enum for the list of possible values.
      * 
* @@ -2003,7 +2003,7 @@ public Builder setEnforceOnKeyNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
      * 
* * optional string exceed_action = 167159073; @@ -2017,7 +2017,7 @@ public boolean hasExceedAction() { * * *
-     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
      * 
* * optional string exceed_action = 167159073; @@ -2039,7 +2039,7 @@ public java.lang.String getExceedAction() { * * *
-     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
      * 
* * optional string exceed_action = 167159073; @@ -2061,7 +2061,7 @@ public com.google.protobuf.ByteString getExceedActionBytes() { * * *
-     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
      * 
* * optional string exceed_action = 167159073; @@ -2082,7 +2082,7 @@ public Builder setExceedAction(java.lang.String value) { * * *
-     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
      * 
* * optional string exceed_action = 167159073; @@ -2099,7 +2099,7 @@ public Builder clearExceedAction() { * * *
-     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+     * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
      * 
* * optional string exceed_action = 167159073; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleRateLimitOptionsOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleRateLimitOptionsOrBuilder.java index ae1e50f2f..b771e2652 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleRateLimitOptionsOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SecurityPolicyRuleRateLimitOptionsOrBuilder.java @@ -131,7 +131,7 @@ public interface SecurityPolicyRuleRateLimitOptionsOrBuilder * * *
-   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
    * Check the EnforceOnKey enum for the list of possible values.
    * 
* @@ -144,7 +144,7 @@ public interface SecurityPolicyRuleRateLimitOptionsOrBuilder * * *
-   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
    * Check the EnforceOnKey enum for the list of possible values.
    * 
* @@ -157,7 +157,7 @@ public interface SecurityPolicyRuleRateLimitOptionsOrBuilder * * *
-   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
+   * Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL.
    * Check the EnforceOnKey enum for the list of possible values.
    * 
* @@ -208,7 +208,7 @@ public interface SecurityPolicyRuleRateLimitOptionsOrBuilder * * *
-   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
    * 
* * optional string exceed_action = 167159073; @@ -220,7 +220,7 @@ public interface SecurityPolicyRuleRateLimitOptionsOrBuilder * * *
-   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
    * 
* * optional string exceed_action = 167159073; @@ -232,7 +232,7 @@ public interface SecurityPolicyRuleRateLimitOptionsOrBuilder * * *
-   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below.
+   * Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below.
    * 
* * optional string exceed_action = 167159073; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..a87140646 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNetworkFirewallPolicyRequest.java @@ -0,0 +1,1143 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.SetIamPolicy. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest} + */ +public final class SetIamPolicyNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest) + SetIamPolicyNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetIamPolicyNetworkFirewallPolicyRequest.newBuilder() to construct. + private SetIamPolicyNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SetIamPolicyNetworkFirewallPolicyRequest() { + project_ = ""; + resource_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SetIamPolicyNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SetIamPolicyNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1566449778: + { + java.lang.String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -1598579310: + { + com.google.cloud.compute.v1.GlobalSetPolicyRequest.Builder subBuilder = null; + if (globalSetPolicyRequestResource_ != null) { + subBuilder = globalSetPolicyRequestResource_.toBuilder(); + } + globalSetPolicyRequestResource_ = + input.readMessage( + com.google.cloud.compute.v1.GlobalSetPolicyRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(globalSetPolicyRequestResource_); + globalSetPolicyRequestResource_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest.Builder.class); + } + + public static final int GLOBAL_SET_POLICY_REQUEST_RESOURCE_FIELD_NUMBER = 337048498; + private com.google.cloud.compute.v1.GlobalSetPolicyRequest globalSetPolicyRequestResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the globalSetPolicyRequestResource field is set. + */ + @java.lang.Override + public boolean hasGlobalSetPolicyRequestResource() { + return globalSetPolicyRequestResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The globalSetPolicyRequestResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { + return globalSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.GlobalSetPolicyRequest.getDefaultInstance() + : globalSetPolicyRequestResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.GlobalSetPolicyRequestOrBuilder + getGlobalSetPolicyRequestResourceOrBuilder() { + return getGlobalSetPolicyRequestResource(); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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; + } + } + + 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(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 (globalSetPolicyRequestResource_ != null) { + output.writeMessage(337048498, getGlobalSetPolicyRequestResource()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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 (globalSetPolicyRequestResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 337048498, getGlobalSetPolicyRequestResource()); + } + size += unknownFields.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.SetIamPolicyNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest) obj; + + if (hasGlobalSetPolicyRequestResource() != other.hasGlobalSetPolicyRequestResource()) + return false; + if (hasGlobalSetPolicyRequestResource()) { + if (!getGlobalSetPolicyRequestResource().equals(other.getGlobalSetPolicyRequestResource())) + return false; + } + if (!getProject().equals(other.getProject())) return false; + if (!getResource().equals(other.getResource())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasGlobalSetPolicyRequestResource()) { + hash = (37 * hash) + GLOBAL_SET_POLICY_REQUEST_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getGlobalSetPolicyRequestResource().hashCode(); + } + hash = (37 * hash) + PROJECT_FIELD_NUMBER; + hash = (53 * hash) + getProject().hashCode(); + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest 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.SetIamPolicyNetworkFirewallPolicyRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest 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.SetIamPolicyNetworkFirewallPolicyRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest 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.SetIamPolicyNetworkFirewallPolicyRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest 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.SetIamPolicyNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest + 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.SetIamPolicyNetworkFirewallPolicyRequest 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.SetIamPolicyNetworkFirewallPolicyRequest 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.SetIamPolicyNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.SetIamPolicy. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest.Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + if (globalSetPolicyRequestResourceBuilder_ == null) { + globalSetPolicyRequestResource_ = null; + } else { + globalSetPolicyRequestResource_ = null; + globalSetPolicyRequestResourceBuilder_ = null; + } + project_ = ""; + + resource_ = ""; + + 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_SetIamPolicyNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest buildPartial() { + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest(this); + if (globalSetPolicyRequestResourceBuilder_ == null) { + result.globalSetPolicyRequestResource_ = globalSetPolicyRequestResource_; + } else { + result.globalSetPolicyRequestResource_ = globalSetPolicyRequestResourceBuilder_.build(); + } + result.project_ = project_; + result.resource_ = resource_; + 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.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (other.hasGlobalSetPolicyRequestResource()) { + mergeGlobalSetPolicyRequestResource(other.getGlobalSetPolicyRequestResource()); + } + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.cloud.compute.v1.GlobalSetPolicyRequest globalSetPolicyRequestResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.GlobalSetPolicyRequest, + com.google.cloud.compute.v1.GlobalSetPolicyRequest.Builder, + com.google.cloud.compute.v1.GlobalSetPolicyRequestOrBuilder> + globalSetPolicyRequestResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the globalSetPolicyRequestResource field is set. + */ + public boolean hasGlobalSetPolicyRequestResource() { + return globalSetPolicyRequestResourceBuilder_ != null + || globalSetPolicyRequestResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The globalSetPolicyRequestResource. + */ + public com.google.cloud.compute.v1.GlobalSetPolicyRequest getGlobalSetPolicyRequestResource() { + if (globalSetPolicyRequestResourceBuilder_ == null) { + return globalSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.GlobalSetPolicyRequest.getDefaultInstance() + : globalSetPolicyRequestResource_; + } else { + return globalSetPolicyRequestResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setGlobalSetPolicyRequestResource( + com.google.cloud.compute.v1.GlobalSetPolicyRequest value) { + if (globalSetPolicyRequestResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + globalSetPolicyRequestResource_ = value; + onChanged(); + } else { + globalSetPolicyRequestResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setGlobalSetPolicyRequestResource( + com.google.cloud.compute.v1.GlobalSetPolicyRequest.Builder builderForValue) { + if (globalSetPolicyRequestResourceBuilder_ == null) { + globalSetPolicyRequestResource_ = builderForValue.build(); + onChanged(); + } else { + globalSetPolicyRequestResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeGlobalSetPolicyRequestResource( + com.google.cloud.compute.v1.GlobalSetPolicyRequest value) { + if (globalSetPolicyRequestResourceBuilder_ == null) { + if (globalSetPolicyRequestResource_ != null) { + globalSetPolicyRequestResource_ = + com.google.cloud.compute.v1.GlobalSetPolicyRequest.newBuilder( + globalSetPolicyRequestResource_) + .mergeFrom(value) + .buildPartial(); + } else { + globalSetPolicyRequestResource_ = value; + } + onChanged(); + } else { + globalSetPolicyRequestResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearGlobalSetPolicyRequestResource() { + if (globalSetPolicyRequestResourceBuilder_ == null) { + globalSetPolicyRequestResource_ = null; + onChanged(); + } else { + globalSetPolicyRequestResource_ = null; + globalSetPolicyRequestResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.GlobalSetPolicyRequest.Builder + getGlobalSetPolicyRequestResourceBuilder() { + + onChanged(); + return getGlobalSetPolicyRequestResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.GlobalSetPolicyRequestOrBuilder + getGlobalSetPolicyRequestResourceOrBuilder() { + if (globalSetPolicyRequestResourceBuilder_ != null) { + return globalSetPolicyRequestResourceBuilder_.getMessageOrBuilder(); + } else { + return globalSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.GlobalSetPolicyRequest.getDefaultInstance() + : globalSetPolicyRequestResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.GlobalSetPolicyRequest, + com.google.cloud.compute.v1.GlobalSetPolicyRequest.Builder, + com.google.cloud.compute.v1.GlobalSetPolicyRequestOrBuilder> + getGlobalSetPolicyRequestResourceFieldBuilder() { + if (globalSetPolicyRequestResourceBuilder_ == null) { + globalSetPolicyRequestResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.GlobalSetPolicyRequest, + com.google.cloud.compute.v1.GlobalSetPolicyRequest.Builder, + com.google.cloud.compute.v1.GlobalSetPolicyRequestOrBuilder>( + getGlobalSetPolicyRequestResource(), getParentForChildren(), isClean()); + globalSetPolicyRequestResource_ = null; + } + return globalSetPolicyRequestResourceBuilder_; + } + + 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; + 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(); + 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; + 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; + 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(); + 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; + 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.SetIamPolicyNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetIamPolicyNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SetIamPolicyNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.SetIamPolicyNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..8c6d71a16 --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface SetIamPolicyNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SetIamPolicyNetworkFirewallPolicyRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the globalSetPolicyRequestResource field is set. + */ + boolean hasGlobalSetPolicyRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The globalSetPolicyRequestResource. + */ + com.google.cloud.compute.v1.GlobalSetPolicyRequest getGlobalSetPolicyRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.GlobalSetPolicyRequestOrBuilder + getGlobalSetPolicyRequestResourceOrBuilder(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..ea392f25c --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1338 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.SetIamPolicy. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest} + */ +public final class SetIamPolicyRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest) + SetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use SetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private SetIamPolicyRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private SetIamPolicyRegionNetworkFirewallPolicyRequest() { + project_ = ""; + region_ = ""; + resource_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new SetIamPolicyRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private SetIamPolicyRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1566449778: + { + java.lang.String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -2083054566: + { + com.google.cloud.compute.v1.RegionSetPolicyRequest.Builder subBuilder = null; + if (regionSetPolicyRequestResource_ != null) { + subBuilder = regionSetPolicyRequestResource_.toBuilder(); + } + regionSetPolicyRequestResource_ = + input.readMessage( + com.google.cloud.compute.v1.RegionSetPolicyRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(regionSetPolicyRequestResource_); + regionSetPolicyRequestResource_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int REGION_SET_POLICY_REQUEST_RESOURCE_FIELD_NUMBER = 276489091; + private com.google.cloud.compute.v1.RegionSetPolicyRequest regionSetPolicyRequestResource_; + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the regionSetPolicyRequestResource field is set. + */ + @java.lang.Override + public boolean hasRegionSetPolicyRequestResource() { + return regionSetPolicyRequestResource_ != null; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The regionSetPolicyRequestResource. + */ + @java.lang.Override + public com.google.cloud.compute.v1.RegionSetPolicyRequest getRegionSetPolicyRequestResource() { + return regionSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.RegionSetPolicyRequest.getDefaultInstance() + : regionSetPolicyRequestResource_; + } + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + */ + @java.lang.Override + public com.google.cloud.compute.v1.RegionSetPolicyRequestOrBuilder + getRegionSetPolicyRequestResourceOrBuilder() { + return getRegionSetPolicyRequestResource(); + } + + public static final int RESOURCE_FIELD_NUMBER = 195806222; + 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; + } + } + + 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(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + 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 (regionSetPolicyRequestResource_ != null) { + output.writeMessage(276489091, getRegionSetPolicyRequestResource()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + 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 (regionSetPolicyRequestResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 276489091, getRegionSetPolicyRequestResource()); + } + size += unknownFields.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.SetIamPolicyRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) return false; + if (hasRegionSetPolicyRequestResource() != other.hasRegionSetPolicyRequestResource()) + return false; + if (hasRegionSetPolicyRequestResource()) { + if (!getRegionSetPolicyRequestResource().equals(other.getRegionSetPolicyRequestResource())) + return false; + } + if (!getResource().equals(other.getResource())) return false; + if (!unknownFields.equals(other.unknownFields)) 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) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().hashCode(); + if (hasRegionSetPolicyRequestResource()) { + hash = (37 * hash) + REGION_SET_POLICY_REQUEST_RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getRegionSetPolicyRequestResource().hashCode(); + } + hash = (37 * hash) + RESOURCE_FIELD_NUMBER; + hash = (53 * hash) + getResource().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + 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.SetIamPolicyRegionNetworkFirewallPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + 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.SetIamPolicyRegionNetworkFirewallPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + 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.SetIamPolicyRegionNetworkFirewallPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + 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.SetIamPolicyRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + 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.SetIamPolicyRegionNetworkFirewallPolicyRequest + 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.SetIamPolicyRegionNetworkFirewallPolicyRequest + 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.SetIamPolicyRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.SetIamPolicy. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_SetIamPolicyRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + region_ = ""; + + if (regionSetPolicyRequestResourceBuilder_ == null) { + regionSetPolicyRequestResource_ = null; + } else { + regionSetPolicyRequestResource_ = null; + regionSetPolicyRequestResourceBuilder_ = null; + } + resource_ = ""; + + 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_SetIamPolicyRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + buildPartial() { + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest(this); + result.project_ = project_; + result.region_ = region_; + if (regionSetPolicyRequestResourceBuilder_ == null) { + result.regionSetPolicyRequestResource_ = regionSetPolicyRequestResource_; + } else { + result.regionSetPolicyRequestResource_ = regionSetPolicyRequestResourceBuilder_.build(); + } + result.resource_ = resource_; + 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.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (other.hasRegionSetPolicyRequestResource()) { + mergeRegionSetPolicyRequestResource(other.getRegionSetPolicyRequestResource()); + } + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + onChanged(); + return this; + } + + private com.google.cloud.compute.v1.RegionSetPolicyRequest regionSetPolicyRequestResource_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.RegionSetPolicyRequest, + com.google.cloud.compute.v1.RegionSetPolicyRequest.Builder, + com.google.cloud.compute.v1.RegionSetPolicyRequestOrBuilder> + regionSetPolicyRequestResourceBuilder_; + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the regionSetPolicyRequestResource field is set. + */ + public boolean hasRegionSetPolicyRequestResource() { + return regionSetPolicyRequestResourceBuilder_ != null + || regionSetPolicyRequestResource_ != null; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The regionSetPolicyRequestResource. + */ + public com.google.cloud.compute.v1.RegionSetPolicyRequest getRegionSetPolicyRequestResource() { + if (regionSetPolicyRequestResourceBuilder_ == null) { + return regionSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.RegionSetPolicyRequest.getDefaultInstance() + : regionSetPolicyRequestResource_; + } else { + return regionSetPolicyRequestResourceBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setRegionSetPolicyRequestResource( + com.google.cloud.compute.v1.RegionSetPolicyRequest value) { + if (regionSetPolicyRequestResourceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + regionSetPolicyRequestResource_ = value; + onChanged(); + } else { + regionSetPolicyRequestResourceBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder setRegionSetPolicyRequestResource( + com.google.cloud.compute.v1.RegionSetPolicyRequest.Builder builderForValue) { + if (regionSetPolicyRequestResourceBuilder_ == null) { + regionSetPolicyRequestResource_ = builderForValue.build(); + onChanged(); + } else { + regionSetPolicyRequestResourceBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder mergeRegionSetPolicyRequestResource( + com.google.cloud.compute.v1.RegionSetPolicyRequest value) { + if (regionSetPolicyRequestResourceBuilder_ == null) { + if (regionSetPolicyRequestResource_ != null) { + regionSetPolicyRequestResource_ = + com.google.cloud.compute.v1.RegionSetPolicyRequest.newBuilder( + regionSetPolicyRequestResource_) + .mergeFrom(value) + .buildPartial(); + } else { + regionSetPolicyRequestResource_ = value; + } + onChanged(); + } else { + regionSetPolicyRequestResourceBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public Builder clearRegionSetPolicyRequestResource() { + if (regionSetPolicyRequestResourceBuilder_ == null) { + regionSetPolicyRequestResource_ = null; + onChanged(); + } else { + regionSetPolicyRequestResource_ = null; + regionSetPolicyRequestResourceBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.RegionSetPolicyRequest.Builder + getRegionSetPolicyRequestResourceBuilder() { + + onChanged(); + return getRegionSetPolicyRequestResourceFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + */ + public com.google.cloud.compute.v1.RegionSetPolicyRequestOrBuilder + getRegionSetPolicyRequestResourceOrBuilder() { + if (regionSetPolicyRequestResourceBuilder_ != null) { + return regionSetPolicyRequestResourceBuilder_.getMessageOrBuilder(); + } else { + return regionSetPolicyRequestResource_ == null + ? com.google.cloud.compute.v1.RegionSetPolicyRequest.getDefaultInstance() + : regionSetPolicyRequestResource_; + } + } + /** + * + * + *
+     * The body resource for this request
+     * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.RegionSetPolicyRequest, + com.google.cloud.compute.v1.RegionSetPolicyRequest.Builder, + com.google.cloud.compute.v1.RegionSetPolicyRequestOrBuilder> + getRegionSetPolicyRequestResourceFieldBuilder() { + if (regionSetPolicyRequestResourceBuilder_ == null) { + regionSetPolicyRequestResourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.compute.v1.RegionSetPolicyRequest, + com.google.cloud.compute.v1.RegionSetPolicyRequest.Builder, + com.google.cloud.compute.v1.RegionSetPolicyRequestOrBuilder>( + getRegionSetPolicyRequestResource(), getParentForChildren(), isClean()); + regionSetPolicyRequestResource_ = null; + } + return regionSetPolicyRequestResourceBuilder_; + } + + 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; + 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(); + 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; + 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.SetIamPolicyRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SetIamPolicyRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new SetIamPolicyRegionNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.SetIamPolicyRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..88c3d97bc --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,142 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface SetIamPolicyRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SetIamPolicyRegionNetworkFirewallPolicyRequest) + 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(); + + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the regionSetPolicyRequestResource field is set. + */ + boolean hasRegionSetPolicyRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The regionSetPolicyRequestResource. + */ + com.google.cloud.compute.v1.RegionSetPolicyRequest getRegionSetPolicyRequestResource(); + /** + * + * + *
+   * The body resource for this request
+   * 
+ * + * + * .google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.compute.v1.RegionSetPolicyRequestOrBuilder + getRegionSetPolicyRequestResourceOrBuilder(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java index 9cf7e0029..bf77a7d7d 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/Subnetwork.java @@ -43,6 +43,7 @@ private Subnetwork() { externalIpv6Prefix_ = ""; fingerprint_ = ""; gatewayAddress_ = ""; + internalIpv6Prefix_ = ""; ipCidrRange_ = ""; ipv6AccessType_ = ""; ipv6CidrRange_ = ""; @@ -98,21 +99,21 @@ private Subnetwork( case 26336418: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; kind_ = s; break; } case 26989658: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; name_ = s; break; } case 28050354: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; role_ = s; break; } @@ -126,30 +127,30 @@ private Subnetwork( case 386216050: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; privateIpv6GoogleAccess_ = s; break; } case 784938578: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; ipCidrRange_ = s; break; } case 878060682: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; state_ = s; break; } case 1093271322: { - if (!((mutable_bitField0_ & 0x00080000) != 0)) { + if (!((mutable_bitField0_ & 0x00100000) != 0)) { secondaryIpRanges_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00080000; + mutable_bitField0_ |= 0x00100000; } secondaryIpRanges_.add( input.readMessage( @@ -160,7 +161,7 @@ private Subnetwork( case 1111570338: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; region_ = s; break; } @@ -180,7 +181,7 @@ private Subnetwork( case 1862979954: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; network_ = s; break; } @@ -194,21 +195,21 @@ private Subnetwork( case -2109837230: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; ipv6CidrRange_ = s; break; } case -1763710734: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; purpose_ = s; break; } case -1484569366: { com.google.cloud.compute.v1.SubnetworkLogConfig.Builder subBuilder = null; - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { subBuilder = logConfig_.toBuilder(); } logConfig_ = @@ -218,12 +219,12 @@ private Subnetwork( subBuilder.mergeFrom(logConfig_); logConfig_ = subBuilder.buildPartial(); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; break; } case -923032976: { - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; privateIpGoogleAccess_ = input.readBool(); break; } @@ -237,14 +238,14 @@ private Subnetwork( case -887696246: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; stackType_ = s; break; } case -645248918: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; selfLink_ = s; break; } @@ -258,10 +259,17 @@ private Subnetwork( case -257698070: { java.lang.String s = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; ipv6AccessType_ = s; break; } + case -244806846: + { + java.lang.String s = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + internalIpv6Prefix_ = s; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -276,7 +284,7 @@ private Subnetwork( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00080000) != 0)) { + if (((mutable_bitField0_ & 0x00100000) != 0)) { secondaryIpRanges_ = java.util.Collections.unmodifiableList(secondaryIpRanges_); } this.unknownFields = unknownFields.build(); @@ -303,7 +311,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+   * 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.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.Subnetwork.Ipv6AccessType} @@ -323,7 +331,7 @@ public enum Ipv6AccessType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * VMs on this subnet will be assigned IPv6 addresses that are accesible via the Internet, as well as the VPC network.
+     * VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
      * 
* * EXTERNAL = 35607499; @@ -333,11 +341,13 @@ public enum Ipv6AccessType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * IPv6 access type not set. Means this subnet hasn't been turned on IPv6 yet.
+     * VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
      * 
* - * UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; + * INTERNAL = 279295677; */ + INTERNAL(279295677), + /** UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; */ UNSPECIFIED_IPV6_ACCESS_TYPE(313080613), UNRECOGNIZED(-1), ; @@ -356,7 +366,7 @@ public enum Ipv6AccessType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * VMs on this subnet will be assigned IPv6 addresses that are accesible via the Internet, as well as the VPC network.
+     * VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network.
      * 
* * EXTERNAL = 35607499; @@ -366,11 +376,13 @@ public enum Ipv6AccessType implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * IPv6 access type not set. Means this subnet hasn't been turned on IPv6 yet.
+     * VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network.
      * 
* - * UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; + * INTERNAL = 279295677; */ + public static final int INTERNAL_VALUE = 279295677; + /** UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; */ public static final int UNSPECIFIED_IPV6_ACCESS_TYPE_VALUE = 313080613; public final int getNumber() { @@ -401,6 +413,8 @@ public static Ipv6AccessType forNumber(int value) { return UNDEFINED_IPV6_ACCESS_TYPE; case 35607499: return EXTERNAL; + case 279295677: + return INTERNAL; case 313080613: return UNSPECIFIED_IPV6_ACCESS_TYPE; default: @@ -460,7 +474,7 @@ private Ipv6AccessType(int value) { * * *
-   * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+   * This field is for internal use. This field can be both set at resource creation time and updated using patch.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.Subnetwork.PrivateIpv6GoogleAccess} @@ -1022,7 +1036,7 @@ private Role(int value) { * * *
-   * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+   * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
    * 
* * Protobuf enum {@code google.cloud.compute.v1.Subnetwork.StackType} @@ -1506,7 +1520,7 @@ public boolean getEnableFlowLogs() { * * *
-   * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+   * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
    * 
* * optional string external_ipv6_prefix = 139299190; @@ -1521,7 +1535,7 @@ public boolean hasExternalIpv6Prefix() { * * *
-   * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+   * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
    * 
* * optional string external_ipv6_prefix = 139299190; @@ -1544,7 +1558,7 @@ public java.lang.String getExternalIpv6Prefix() { * * *
-   * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+   * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
    * 
* * optional string external_ipv6_prefix = 139299190; @@ -1725,6 +1739,70 @@ public long getId() { return id_; } + public static final int INTERNAL_IPV6_PREFIX_FIELD_NUMBER = 506270056; + private volatile java.lang.Object internalIpv6Prefix_; + /** + * + * + *
+   * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+   * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return Whether the internalIpv6Prefix field is set. + */ + @java.lang.Override + public boolean hasInternalIpv6Prefix() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+   * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+   * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return The internalIpv6Prefix. + */ + @java.lang.Override + public java.lang.String getInternalIpv6Prefix() { + java.lang.Object ref = internalIpv6Prefix_; + 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(); + internalIpv6Prefix_ = s; + return s; + } + } + /** + * + * + *
+   * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+   * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return The bytes for internalIpv6Prefix. + */ + @java.lang.Override + public com.google.protobuf.ByteString getInternalIpv6PrefixBytes() { + java.lang.Object ref = internalIpv6Prefix_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + internalIpv6Prefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + public static final int IP_CIDR_RANGE_FIELD_NUMBER = 98117322; private volatile java.lang.Object ipCidrRange_; /** @@ -1740,7 +1818,7 @@ public long getId() { */ @java.lang.Override public boolean hasIpCidrRange() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -1795,7 +1873,7 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { * * *
-   * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+   * 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.
    * Check the Ipv6AccessType enum for the list of possible values.
    * 
* @@ -1805,13 +1883,13 @@ public com.google.protobuf.ByteString getIpCidrRangeBytes() { */ @java.lang.Override public boolean hasIpv6AccessType() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * * *
-   * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+   * 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.
    * Check the Ipv6AccessType enum for the list of possible values.
    * 
* @@ -1835,7 +1913,7 @@ public java.lang.String getIpv6AccessType() { * * *
-   * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+   * 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.
    * Check the Ipv6AccessType enum for the list of possible values.
    * 
* @@ -1862,7 +1940,7 @@ public com.google.protobuf.ByteString getIpv6AccessTypeBytes() { * * *
-   * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+   * [Output Only] This field is for internal use.
    * 
* * optional string ipv6_cidr_range = 273141258; @@ -1871,13 +1949,13 @@ public com.google.protobuf.ByteString getIpv6AccessTypeBytes() { */ @java.lang.Override public boolean hasIpv6CidrRange() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * * *
-   * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+   * [Output Only] This field is for internal use.
    * 
* * optional string ipv6_cidr_range = 273141258; @@ -1900,7 +1978,7 @@ public java.lang.String getIpv6CidrRange() { * * *
-   * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+   * [Output Only] This field is for internal use.
    * 
* * optional string ipv6_cidr_range = 273141258; @@ -1935,7 +2013,7 @@ public com.google.protobuf.ByteString getIpv6CidrRangeBytes() { */ @java.lang.Override public boolean hasKind() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -1999,7 +2077,7 @@ public com.google.protobuf.ByteString getKindBytes() { */ @java.lang.Override public boolean hasLogConfig() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -2049,7 +2127,7 @@ public com.google.cloud.compute.v1.SubnetworkLogConfigOrBuilder getLogConfigOrBu */ @java.lang.Override public boolean hasName() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -2113,7 +2191,7 @@ public com.google.protobuf.ByteString getNameBytes() { */ @java.lang.Override public boolean hasNetwork() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -2177,7 +2255,7 @@ public com.google.protobuf.ByteString getNetworkBytes() { */ @java.lang.Override public boolean hasPrivateIpGoogleAccess() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -2201,7 +2279,7 @@ public boolean getPrivateIpGoogleAccess() { * * *
-   * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+   * This field is for internal use. This field can be both set at resource creation time and updated using patch.
    * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
    * 
* @@ -2211,13 +2289,13 @@ public boolean getPrivateIpGoogleAccess() { */ @java.lang.Override public boolean hasPrivateIpv6GoogleAccess() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** * * *
-   * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+   * This field is for internal use. This field can be both set at resource creation time and updated using patch.
    * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
    * 
* @@ -2241,7 +2319,7 @@ public java.lang.String getPrivateIpv6GoogleAccess() { * * *
-   * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+   * This field is for internal use. This field can be both set at resource creation time and updated using patch.
    * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
    * 
* @@ -2278,7 +2356,7 @@ public com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes() { */ @java.lang.Override public boolean hasPurpose() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -2344,7 +2422,7 @@ public com.google.protobuf.ByteString getPurposeBytes() { */ @java.lang.Override public boolean hasRegion() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** * @@ -2409,7 +2487,7 @@ public com.google.protobuf.ByteString getRegionBytes() { */ @java.lang.Override public boolean hasRole() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** * @@ -2556,7 +2634,7 @@ public com.google.cloud.compute.v1.SubnetworkSecondaryRange getSecondaryIpRanges */ @java.lang.Override public boolean hasSelfLink() { - return ((bitField0_ & 0x00080000) != 0); + return ((bitField0_ & 0x00100000) != 0); } /** * @@ -2611,7 +2689,7 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { * * *
-   * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+   * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
    * Check the StackType enum for the list of possible values.
    * 
* @@ -2621,13 +2699,13 @@ public com.google.protobuf.ByteString getSelfLinkBytes() { */ @java.lang.Override public boolean hasStackType() { - return ((bitField0_ & 0x00100000) != 0); + return ((bitField0_ & 0x00200000) != 0); } /** * * *
-   * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+   * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
    * Check the StackType enum for the list of possible values.
    * 
* @@ -2651,7 +2729,7 @@ public java.lang.String getStackType() { * * *
-   * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+   * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
    * Check the StackType enum for the list of possible values.
    * 
* @@ -2688,7 +2766,7 @@ public com.google.protobuf.ByteString getStackTypeBytes() { */ @java.lang.Override public boolean hasState() { - return ((bitField0_ & 0x00200000) != 0); + return ((bitField0_ & 0x00400000) != 0); } /** * @@ -2756,32 +2834,32 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000040) != 0)) { output.writeUInt64(3355, id_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3292052, kind_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3373707, name_); } - if (((bitField0_ & 0x00040000) != 0)) { + if (((bitField0_ & 0x00080000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3506294, role_); } if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 30525366, creationTimestamp_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString( output, 48277006, privateIpv6GoogleAccess_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 98117322, ipCidrRange_); } - if (((bitField0_ & 0x00200000) != 0)) { + if (((bitField0_ & 0x00400000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 109757585, state_); } for (int i = 0; i < secondaryIpRanges_.size(); i++) { output.writeMessage(136658915, secondaryIpRanges_.get(i)); } - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); } if (((bitField0_ & 0x00000008) != 0)) { @@ -2790,39 +2868,42 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000004) != 0)) { output.writeBool(151544420, enableFlowLogs_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 232872494, network_); } if (((bitField0_ & 0x00000010) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 234678500, fingerprint_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 273141258, ipv6CidrRange_); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 316407070, purpose_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { output.writeMessage(351299741, getLogConfig()); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { output.writeBool(421491790, privateIpGoogleAccess_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 422937596, description_); } - if (((bitField0_ & 0x00100000) != 0)) { + if (((bitField0_ & 0x00200000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 425908881, stackType_); } - if (((bitField0_ & 0x00080000) != 0)) { + if (((bitField0_ & 0x00100000) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 456214797, selfLink_); } if (((bitField0_ & 0x00000020) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 459867385, gatewayAddress_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 504658653, ipv6AccessType_); } + if (((bitField0_ & 0x00000080) != 0)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 506270056, internalIpv6Prefix_); + } unknownFields.writeTo(output); } @@ -2835,28 +2916,28 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000040) != 0)) { size += com.google.protobuf.CodedOutputStream.computeUInt64Size(3355, id_); } - if (((bitField0_ & 0x00000400) != 0)) { + if (((bitField0_ & 0x00000800) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3292052, kind_); } - if (((bitField0_ & 0x00001000) != 0)) { + if (((bitField0_ & 0x00002000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3373707, name_); } - if (((bitField0_ & 0x00040000) != 0)) { + if (((bitField0_ & 0x00080000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3506294, role_); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30525366, creationTimestamp_); } - if (((bitField0_ & 0x00008000) != 0)) { + if (((bitField0_ & 0x00010000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize( 48277006, privateIpv6GoogleAccess_); } - if (((bitField0_ & 0x00000080) != 0)) { + if (((bitField0_ & 0x00000100) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(98117322, ipCidrRange_); } - if (((bitField0_ & 0x00200000) != 0)) { + if (((bitField0_ & 0x00400000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(109757585, state_); } for (int i = 0; i < secondaryIpRanges_.size(); i++) { @@ -2864,7 +2945,7 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 136658915, secondaryIpRanges_.get(i)); } - if (((bitField0_ & 0x00020000) != 0)) { + if (((bitField0_ & 0x00040000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); } if (((bitField0_ & 0x00000008) != 0)) { @@ -2874,40 +2955,44 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(151544420, enableFlowLogs_); } - if (((bitField0_ & 0x00002000) != 0)) { + if (((bitField0_ & 0x00004000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(232872494, network_); } if (((bitField0_ & 0x00000010) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(234678500, fingerprint_); } - if (((bitField0_ & 0x00000200) != 0)) { + if (((bitField0_ & 0x00000400) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(273141258, ipv6CidrRange_); } - if (((bitField0_ & 0x00010000) != 0)) { + if (((bitField0_ & 0x00020000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(316407070, purpose_); } - if (((bitField0_ & 0x00000800) != 0)) { + if (((bitField0_ & 0x00001000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(351299741, getLogConfig()); } - if (((bitField0_ & 0x00004000) != 0)) { + if (((bitField0_ & 0x00008000) != 0)) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(421491790, privateIpGoogleAccess_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(422937596, description_); } - if (((bitField0_ & 0x00100000) != 0)) { + if (((bitField0_ & 0x00200000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(425908881, stackType_); } - if (((bitField0_ & 0x00080000) != 0)) { + if (((bitField0_ & 0x00100000) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(456214797, selfLink_); } if (((bitField0_ & 0x00000020) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(459867385, gatewayAddress_); } - if (((bitField0_ & 0x00000100) != 0)) { + if (((bitField0_ & 0x00000200) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(504658653, ipv6AccessType_); } + if (((bitField0_ & 0x00000080) != 0)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(506270056, internalIpv6Prefix_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -2951,6 +3036,10 @@ public boolean equals(final java.lang.Object obj) { if (hasId()) { if (getId() != other.getId()) return false; } + if (hasInternalIpv6Prefix() != other.hasInternalIpv6Prefix()) return false; + if (hasInternalIpv6Prefix()) { + if (!getInternalIpv6Prefix().equals(other.getInternalIpv6Prefix())) return false; + } if (hasIpCidrRange() != other.hasIpCidrRange()) return false; if (hasIpCidrRange()) { if (!getIpCidrRange().equals(other.getIpCidrRange())) return false; @@ -3051,6 +3140,10 @@ public int hashCode() { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); } + if (hasInternalIpv6Prefix()) { + hash = (37 * hash) + INTERNAL_IPV6_PREFIX_FIELD_NUMBER; + hash = (53 * hash) + getInternalIpv6Prefix().hashCode(); + } if (hasIpCidrRange()) { hash = (37 * hash) + IP_CIDR_RANGE_FIELD_NUMBER; hash = (53 * hash) + getIpCidrRange().hashCode(); @@ -3277,46 +3370,48 @@ public Builder clear() { bitField0_ = (bitField0_ & ~0x00000020); id_ = 0L; bitField0_ = (bitField0_ & ~0x00000040); - ipCidrRange_ = ""; + internalIpv6Prefix_ = ""; bitField0_ = (bitField0_ & ~0x00000080); - ipv6AccessType_ = ""; + ipCidrRange_ = ""; bitField0_ = (bitField0_ & ~0x00000100); - ipv6CidrRange_ = ""; + ipv6AccessType_ = ""; bitField0_ = (bitField0_ & ~0x00000200); - kind_ = ""; + ipv6CidrRange_ = ""; bitField0_ = (bitField0_ & ~0x00000400); + kind_ = ""; + bitField0_ = (bitField0_ & ~0x00000800); if (logConfigBuilder_ == null) { logConfig_ = null; } else { logConfigBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000800); - name_ = ""; bitField0_ = (bitField0_ & ~0x00001000); - network_ = ""; + name_ = ""; bitField0_ = (bitField0_ & ~0x00002000); - privateIpGoogleAccess_ = false; + network_ = ""; bitField0_ = (bitField0_ & ~0x00004000); - privateIpv6GoogleAccess_ = ""; + privateIpGoogleAccess_ = false; bitField0_ = (bitField0_ & ~0x00008000); - purpose_ = ""; + privateIpv6GoogleAccess_ = ""; bitField0_ = (bitField0_ & ~0x00010000); - region_ = ""; + purpose_ = ""; bitField0_ = (bitField0_ & ~0x00020000); - role_ = ""; + region_ = ""; bitField0_ = (bitField0_ & ~0x00040000); + role_ = ""; + bitField0_ = (bitField0_ & ~0x00080000); if (secondaryIpRangesBuilder_ == null) { secondaryIpRanges_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); } else { secondaryIpRangesBuilder_.clear(); } selfLink_ = ""; - bitField0_ = (bitField0_ & ~0x00100000); - stackType_ = ""; bitField0_ = (bitField0_ & ~0x00200000); - state_ = ""; + stackType_ = ""; bitField0_ = (bitField0_ & ~0x00400000); + state_ = ""; + bitField0_ = (bitField0_ & ~0x00800000); return this; } @@ -3377,75 +3472,79 @@ public com.google.cloud.compute.v1.Subnetwork buildPartial() { if (((from_bitField0_ & 0x00000080) != 0)) { to_bitField0_ |= 0x00000080; } - result.ipCidrRange_ = ipCidrRange_; + result.internalIpv6Prefix_ = internalIpv6Prefix_; if (((from_bitField0_ & 0x00000100) != 0)) { to_bitField0_ |= 0x00000100; } - result.ipv6AccessType_ = ipv6AccessType_; + result.ipCidrRange_ = ipCidrRange_; if (((from_bitField0_ & 0x00000200) != 0)) { to_bitField0_ |= 0x00000200; } - result.ipv6CidrRange_ = ipv6CidrRange_; + result.ipv6AccessType_ = ipv6AccessType_; if (((from_bitField0_ & 0x00000400) != 0)) { to_bitField0_ |= 0x00000400; } - result.kind_ = kind_; + result.ipv6CidrRange_ = ipv6CidrRange_; if (((from_bitField0_ & 0x00000800) != 0)) { + to_bitField0_ |= 0x00000800; + } + result.kind_ = kind_; + if (((from_bitField0_ & 0x00001000) != 0)) { if (logConfigBuilder_ == null) { result.logConfig_ = logConfig_; } else { result.logConfig_ = logConfigBuilder_.build(); } - to_bitField0_ |= 0x00000800; - } - if (((from_bitField0_ & 0x00001000) != 0)) { to_bitField0_ |= 0x00001000; } - result.name_ = name_; if (((from_bitField0_ & 0x00002000) != 0)) { to_bitField0_ |= 0x00002000; } - result.network_ = network_; + result.name_ = name_; if (((from_bitField0_ & 0x00004000) != 0)) { - result.privateIpGoogleAccess_ = privateIpGoogleAccess_; to_bitField0_ |= 0x00004000; } + result.network_ = network_; if (((from_bitField0_ & 0x00008000) != 0)) { + result.privateIpGoogleAccess_ = privateIpGoogleAccess_; to_bitField0_ |= 0x00008000; } - result.privateIpv6GoogleAccess_ = privateIpv6GoogleAccess_; if (((from_bitField0_ & 0x00010000) != 0)) { to_bitField0_ |= 0x00010000; } - result.purpose_ = purpose_; + result.privateIpv6GoogleAccess_ = privateIpv6GoogleAccess_; if (((from_bitField0_ & 0x00020000) != 0)) { to_bitField0_ |= 0x00020000; } - result.region_ = region_; + result.purpose_ = purpose_; if (((from_bitField0_ & 0x00040000) != 0)) { to_bitField0_ |= 0x00040000; } + result.region_ = region_; + if (((from_bitField0_ & 0x00080000) != 0)) { + to_bitField0_ |= 0x00080000; + } result.role_ = role_; if (secondaryIpRangesBuilder_ == null) { - if (((bitField0_ & 0x00080000) != 0)) { + if (((bitField0_ & 0x00100000) != 0)) { secondaryIpRanges_ = java.util.Collections.unmodifiableList(secondaryIpRanges_); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); } result.secondaryIpRanges_ = secondaryIpRanges_; } else { result.secondaryIpRanges_ = secondaryIpRangesBuilder_.build(); } - if (((from_bitField0_ & 0x00100000) != 0)) { - to_bitField0_ |= 0x00080000; - } - result.selfLink_ = selfLink_; if (((from_bitField0_ & 0x00200000) != 0)) { to_bitField0_ |= 0x00100000; } - result.stackType_ = stackType_; + result.selfLink_ = selfLink_; if (((from_bitField0_ & 0x00400000) != 0)) { to_bitField0_ |= 0x00200000; } + result.stackType_ = stackType_; + if (((from_bitField0_ & 0x00800000) != 0)) { + to_bitField0_ |= 0x00400000; + } result.state_ = state_; result.bitField0_ = to_bitField0_; onBuilt(); @@ -3528,23 +3627,28 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Subnetwork other) { if (other.hasId()) { setId(other.getId()); } - if (other.hasIpCidrRange()) { + if (other.hasInternalIpv6Prefix()) { bitField0_ |= 0x00000080; + internalIpv6Prefix_ = other.internalIpv6Prefix_; + onChanged(); + } + if (other.hasIpCidrRange()) { + bitField0_ |= 0x00000100; ipCidrRange_ = other.ipCidrRange_; onChanged(); } if (other.hasIpv6AccessType()) { - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; ipv6AccessType_ = other.ipv6AccessType_; onChanged(); } if (other.hasIpv6CidrRange()) { - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; ipv6CidrRange_ = other.ipv6CidrRange_; onChanged(); } if (other.hasKind()) { - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; kind_ = other.kind_; onChanged(); } @@ -3552,12 +3656,12 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Subnetwork other) { mergeLogConfig(other.getLogConfig()); } if (other.hasName()) { - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; name_ = other.name_; onChanged(); } if (other.hasNetwork()) { - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; network_ = other.network_; onChanged(); } @@ -3565,22 +3669,22 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Subnetwork other) { setPrivateIpGoogleAccess(other.getPrivateIpGoogleAccess()); } if (other.hasPrivateIpv6GoogleAccess()) { - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; privateIpv6GoogleAccess_ = other.privateIpv6GoogleAccess_; onChanged(); } if (other.hasPurpose()) { - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; purpose_ = other.purpose_; onChanged(); } if (other.hasRegion()) { - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; region_ = other.region_; onChanged(); } if (other.hasRole()) { - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; role_ = other.role_; onChanged(); } @@ -3588,7 +3692,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Subnetwork other) { if (!other.secondaryIpRanges_.isEmpty()) { if (secondaryIpRanges_.isEmpty()) { secondaryIpRanges_ = other.secondaryIpRanges_; - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); } else { ensureSecondaryIpRangesIsMutable(); secondaryIpRanges_.addAll(other.secondaryIpRanges_); @@ -3601,7 +3705,7 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Subnetwork other) { secondaryIpRangesBuilder_.dispose(); secondaryIpRangesBuilder_ = null; secondaryIpRanges_ = other.secondaryIpRanges_; - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); secondaryIpRangesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getSecondaryIpRangesFieldBuilder() @@ -3612,17 +3716,17 @@ public Builder mergeFrom(com.google.cloud.compute.v1.Subnetwork other) { } } if (other.hasSelfLink()) { - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; selfLink_ = other.selfLink_; onChanged(); } if (other.hasStackType()) { - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; stackType_ = other.stackType_; onChanged(); } if (other.hasState()) { - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; state_ = other.state_; onChanged(); } @@ -3969,7 +4073,7 @@ public Builder clearEnableFlowLogs() { * * *
-     * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+     * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
      * 
* * optional string external_ipv6_prefix = 139299190; @@ -3983,7 +4087,7 @@ public boolean hasExternalIpv6Prefix() { * * *
-     * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+     * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
      * 
* * optional string external_ipv6_prefix = 139299190; @@ -4005,7 +4109,7 @@ public java.lang.String getExternalIpv6Prefix() { * * *
-     * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+     * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
      * 
* * optional string external_ipv6_prefix = 139299190; @@ -4027,7 +4131,7 @@ public com.google.protobuf.ByteString getExternalIpv6PrefixBytes() { * * *
-     * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+     * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
      * 
* * optional string external_ipv6_prefix = 139299190; @@ -4048,7 +4152,7 @@ public Builder setExternalIpv6Prefix(java.lang.String value) { * * *
-     * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+     * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
      * 
* * optional string external_ipv6_prefix = 139299190; @@ -4065,7 +4169,7 @@ public Builder clearExternalIpv6Prefix() { * * *
-     * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+     * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
      * 
* * optional string external_ipv6_prefix = 139299190; @@ -4391,6 +4495,126 @@ public Builder clearId() { return this; } + private java.lang.Object internalIpv6Prefix_ = ""; + /** + * + * + *
+     * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+     * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return Whether the internalIpv6Prefix field is set. + */ + public boolean hasInternalIpv6Prefix() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + * + * + *
+     * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+     * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return The internalIpv6Prefix. + */ + public java.lang.String getInternalIpv6Prefix() { + java.lang.Object ref = internalIpv6Prefix_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + internalIpv6Prefix_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+     * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return The bytes for internalIpv6Prefix. + */ + public com.google.protobuf.ByteString getInternalIpv6PrefixBytes() { + java.lang.Object ref = internalIpv6Prefix_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + internalIpv6Prefix_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+     * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @param value The internalIpv6Prefix to set. + * @return This builder for chaining. + */ + public Builder setInternalIpv6Prefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + internalIpv6Prefix_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+     * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return This builder for chaining. + */ + public Builder clearInternalIpv6Prefix() { + bitField0_ = (bitField0_ & ~0x00000080); + internalIpv6Prefix_ = getDefaultInstance().getInternalIpv6Prefix(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+     * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @param value The bytes for internalIpv6Prefix to set. + * @return This builder for chaining. + */ + public Builder setInternalIpv6PrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + bitField0_ |= 0x00000080; + internalIpv6Prefix_ = value; + onChanged(); + return this; + } + private java.lang.Object ipCidrRange_ = ""; /** * @@ -4404,7 +4628,7 @@ public Builder clearId() { * @return Whether the ipCidrRange field is set. */ public boolean hasIpCidrRange() { - return ((bitField0_ & 0x00000080) != 0); + return ((bitField0_ & 0x00000100) != 0); } /** * @@ -4466,7 +4690,7 @@ public Builder setIpCidrRange(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; ipCidrRange_ = value; onChanged(); return this; @@ -4483,7 +4707,7 @@ public Builder setIpCidrRange(java.lang.String value) { * @return This builder for chaining. */ public Builder clearIpCidrRange() { - bitField0_ = (bitField0_ & ~0x00000080); + bitField0_ = (bitField0_ & ~0x00000100); ipCidrRange_ = getDefaultInstance().getIpCidrRange(); onChanged(); return this; @@ -4505,7 +4729,7 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000080; + bitField0_ |= 0x00000100; ipCidrRange_ = value; onChanged(); return this; @@ -4516,7 +4740,7 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { * * *
-     * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+     * 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.
      * Check the Ipv6AccessType enum for the list of possible values.
      * 
* @@ -4525,13 +4749,13 @@ public Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value) { * @return Whether the ipv6AccessType field is set. */ public boolean hasIpv6AccessType() { - return ((bitField0_ & 0x00000100) != 0); + return ((bitField0_ & 0x00000200) != 0); } /** * * *
-     * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+     * 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.
      * Check the Ipv6AccessType enum for the list of possible values.
      * 
* @@ -4554,7 +4778,7 @@ public java.lang.String getIpv6AccessType() { * * *
-     * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+     * 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.
      * Check the Ipv6AccessType enum for the list of possible values.
      * 
* @@ -4577,7 +4801,7 @@ public com.google.protobuf.ByteString getIpv6AccessTypeBytes() { * * *
-     * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+     * 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.
      * Check the Ipv6AccessType enum for the list of possible values.
      * 
* @@ -4590,7 +4814,7 @@ public Builder setIpv6AccessType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; ipv6AccessType_ = value; onChanged(); return this; @@ -4599,7 +4823,7 @@ public Builder setIpv6AccessType(java.lang.String value) { * * *
-     * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+     * 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.
      * Check the Ipv6AccessType enum for the list of possible values.
      * 
* @@ -4608,7 +4832,7 @@ public Builder setIpv6AccessType(java.lang.String value) { * @return This builder for chaining. */ public Builder clearIpv6AccessType() { - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00000200); ipv6AccessType_ = getDefaultInstance().getIpv6AccessType(); onChanged(); return this; @@ -4617,7 +4841,7 @@ public Builder clearIpv6AccessType() { * * *
-     * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+     * 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.
      * Check the Ipv6AccessType enum for the list of possible values.
      * 
* @@ -4631,7 +4855,7 @@ public Builder setIpv6AccessTypeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000100; + bitField0_ |= 0x00000200; ipv6AccessType_ = value; onChanged(); return this; @@ -4642,7 +4866,7 @@ public Builder setIpv6AccessTypeBytes(com.google.protobuf.ByteString value) { * * *
-     * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+     * [Output Only] This field is for internal use.
      * 
* * optional string ipv6_cidr_range = 273141258; @@ -4650,13 +4874,13 @@ public Builder setIpv6AccessTypeBytes(com.google.protobuf.ByteString value) { * @return Whether the ipv6CidrRange field is set. */ public boolean hasIpv6CidrRange() { - return ((bitField0_ & 0x00000200) != 0); + return ((bitField0_ & 0x00000400) != 0); } /** * * *
-     * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+     * [Output Only] This field is for internal use.
      * 
* * optional string ipv6_cidr_range = 273141258; @@ -4678,7 +4902,7 @@ public java.lang.String getIpv6CidrRange() { * * *
-     * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+     * [Output Only] This field is for internal use.
      * 
* * optional string ipv6_cidr_range = 273141258; @@ -4700,7 +4924,7 @@ public com.google.protobuf.ByteString getIpv6CidrRangeBytes() { * * *
-     * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+     * [Output Only] This field is for internal use.
      * 
* * optional string ipv6_cidr_range = 273141258; @@ -4712,7 +4936,7 @@ public Builder setIpv6CidrRange(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; ipv6CidrRange_ = value; onChanged(); return this; @@ -4721,7 +4945,7 @@ public Builder setIpv6CidrRange(java.lang.String value) { * * *
-     * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+     * [Output Only] This field is for internal use.
      * 
* * optional string ipv6_cidr_range = 273141258; @@ -4729,7 +4953,7 @@ public Builder setIpv6CidrRange(java.lang.String value) { * @return This builder for chaining. */ public Builder clearIpv6CidrRange() { - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00000400); ipv6CidrRange_ = getDefaultInstance().getIpv6CidrRange(); onChanged(); return this; @@ -4738,7 +4962,7 @@ public Builder clearIpv6CidrRange() { * * *
-     * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+     * [Output Only] This field is for internal use.
      * 
* * optional string ipv6_cidr_range = 273141258; @@ -4751,7 +4975,7 @@ public Builder setIpv6CidrRangeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000200; + bitField0_ |= 0x00000400; ipv6CidrRange_ = value; onChanged(); return this; @@ -4770,7 +4994,7 @@ public Builder setIpv6CidrRangeBytes(com.google.protobuf.ByteString value) { * @return Whether the kind field is set. */ public boolean hasKind() { - return ((bitField0_ & 0x00000400) != 0); + return ((bitField0_ & 0x00000800) != 0); } /** * @@ -4832,7 +5056,7 @@ public Builder setKind(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; kind_ = value; onChanged(); return this; @@ -4849,7 +5073,7 @@ public Builder setKind(java.lang.String value) { * @return This builder for chaining. */ public Builder clearKind() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00000800); kind_ = getDefaultInstance().getKind(); onChanged(); return this; @@ -4871,7 +5095,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00000400; + bitField0_ |= 0x00000800; kind_ = value; onChanged(); return this; @@ -4895,7 +5119,7 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { * @return Whether the logConfig field is set. */ public boolean hasLogConfig() { - return ((bitField0_ & 0x00000800) != 0); + return ((bitField0_ & 0x00001000) != 0); } /** * @@ -4936,7 +5160,7 @@ public Builder setLogConfig(com.google.cloud.compute.v1.SubnetworkLogConfig valu } else { logConfigBuilder_.setMessage(value); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; return this; } /** @@ -4956,7 +5180,7 @@ public Builder setLogConfig( } else { logConfigBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; return this; } /** @@ -4970,7 +5194,7 @@ public Builder setLogConfig( */ public Builder mergeLogConfig(com.google.cloud.compute.v1.SubnetworkLogConfig value) { if (logConfigBuilder_ == null) { - if (((bitField0_ & 0x00000800) != 0) + if (((bitField0_ & 0x00001000) != 0) && logConfig_ != null && logConfig_ != com.google.cloud.compute.v1.SubnetworkLogConfig.getDefaultInstance()) { logConfig_ = @@ -4984,7 +5208,7 @@ public Builder mergeLogConfig(com.google.cloud.compute.v1.SubnetworkLogConfig va } else { logConfigBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; return this; } /** @@ -5003,7 +5227,7 @@ public Builder clearLogConfig() { } else { logConfigBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00001000); return this; } /** @@ -5016,7 +5240,7 @@ public Builder clearLogConfig() { * optional .google.cloud.compute.v1.SubnetworkLogConfig log_config = 351299741; */ public com.google.cloud.compute.v1.SubnetworkLogConfig.Builder getLogConfigBuilder() { - bitField0_ |= 0x00000800; + bitField0_ |= 0x00001000; onChanged(); return getLogConfigFieldBuilder().getBuilder(); } @@ -5077,7 +5301,7 @@ public com.google.cloud.compute.v1.SubnetworkLogConfigOrBuilder getLogConfigOrBu * @return Whether the name field is set. */ public boolean hasName() { - return ((bitField0_ & 0x00001000) != 0); + return ((bitField0_ & 0x00002000) != 0); } /** * @@ -5139,7 +5363,7 @@ public Builder setName(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; name_ = value; onChanged(); return this; @@ -5156,7 +5380,7 @@ public Builder setName(java.lang.String value) { * @return This builder for chaining. */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00002000); name_ = getDefaultInstance().getName(); onChanged(); return this; @@ -5178,7 +5402,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00001000; + bitField0_ |= 0x00002000; name_ = value; onChanged(); return this; @@ -5197,7 +5421,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * @return Whether the network field is set. */ public boolean hasNetwork() { - return ((bitField0_ & 0x00002000) != 0); + return ((bitField0_ & 0x00004000) != 0); } /** * @@ -5259,7 +5483,7 @@ public Builder setNetwork(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; network_ = value; onChanged(); return this; @@ -5276,7 +5500,7 @@ public Builder setNetwork(java.lang.String value) { * @return This builder for chaining. */ public Builder clearNetwork() { - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00004000); network_ = getDefaultInstance().getNetwork(); onChanged(); return this; @@ -5298,7 +5522,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00002000; + bitField0_ |= 0x00004000; network_ = value; onChanged(); return this; @@ -5318,7 +5542,7 @@ public Builder setNetworkBytes(com.google.protobuf.ByteString value) { */ @java.lang.Override public boolean hasPrivateIpGoogleAccess() { - return ((bitField0_ & 0x00004000) != 0); + return ((bitField0_ & 0x00008000) != 0); } /** * @@ -5348,7 +5572,7 @@ public boolean getPrivateIpGoogleAccess() { * @return This builder for chaining. */ public Builder setPrivateIpGoogleAccess(boolean value) { - bitField0_ |= 0x00004000; + bitField0_ |= 0x00008000; privateIpGoogleAccess_ = value; onChanged(); return this; @@ -5365,7 +5589,7 @@ public Builder setPrivateIpGoogleAccess(boolean value) { * @return This builder for chaining. */ public Builder clearPrivateIpGoogleAccess() { - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00008000); privateIpGoogleAccess_ = false; onChanged(); return this; @@ -5376,7 +5600,7 @@ public Builder clearPrivateIpGoogleAccess() { * * *
-     * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+     * This field is for internal use. This field can be both set at resource creation time and updated using patch.
      * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
      * 
* @@ -5385,13 +5609,13 @@ public Builder clearPrivateIpGoogleAccess() { * @return Whether the privateIpv6GoogleAccess field is set. */ public boolean hasPrivateIpv6GoogleAccess() { - return ((bitField0_ & 0x00008000) != 0); + return ((bitField0_ & 0x00010000) != 0); } /** * * *
-     * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+     * This field is for internal use. This field can be both set at resource creation time and updated using patch.
      * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
      * 
* @@ -5414,7 +5638,7 @@ public java.lang.String getPrivateIpv6GoogleAccess() { * * *
-     * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+     * This field is for internal use. This field can be both set at resource creation time and updated using patch.
      * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
      * 
* @@ -5437,7 +5661,7 @@ public com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes() { * * *
-     * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+     * This field is for internal use. This field can be both set at resource creation time and updated using patch.
      * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
      * 
* @@ -5450,7 +5674,7 @@ public Builder setPrivateIpv6GoogleAccess(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; privateIpv6GoogleAccess_ = value; onChanged(); return this; @@ -5459,7 +5683,7 @@ public Builder setPrivateIpv6GoogleAccess(java.lang.String value) { * * *
-     * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+     * This field is for internal use. This field can be both set at resource creation time and updated using patch.
      * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
      * 
* @@ -5468,7 +5692,7 @@ public Builder setPrivateIpv6GoogleAccess(java.lang.String value) { * @return This builder for chaining. */ public Builder clearPrivateIpv6GoogleAccess() { - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x00010000); privateIpv6GoogleAccess_ = getDefaultInstance().getPrivateIpv6GoogleAccess(); onChanged(); return this; @@ -5477,7 +5701,7 @@ public Builder clearPrivateIpv6GoogleAccess() { * * *
-     * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+     * This field is for internal use. This field can be both set at resource creation time and updated using patch.
      * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
      * 
* @@ -5491,7 +5715,7 @@ public Builder setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString va throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00008000; + bitField0_ |= 0x00010000; privateIpv6GoogleAccess_ = value; onChanged(); return this; @@ -5511,7 +5735,7 @@ public Builder setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString va * @return Whether the purpose field is set. */ public boolean hasPurpose() { - return ((bitField0_ & 0x00010000) != 0); + return ((bitField0_ & 0x00020000) != 0); } /** * @@ -5576,7 +5800,7 @@ public Builder setPurpose(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; purpose_ = value; onChanged(); return this; @@ -5594,7 +5818,7 @@ public Builder setPurpose(java.lang.String value) { * @return This builder for chaining. */ public Builder clearPurpose() { - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x00020000); purpose_ = getDefaultInstance().getPurpose(); onChanged(); return this; @@ -5617,7 +5841,7 @@ public Builder setPurposeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00010000; + bitField0_ |= 0x00020000; purpose_ = value; onChanged(); return this; @@ -5636,7 +5860,7 @@ public Builder setPurposeBytes(com.google.protobuf.ByteString value) { * @return Whether the region field is set. */ public boolean hasRegion() { - return ((bitField0_ & 0x00020000) != 0); + return ((bitField0_ & 0x00040000) != 0); } /** * @@ -5698,7 +5922,7 @@ public Builder setRegion(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; region_ = value; onChanged(); return this; @@ -5715,7 +5939,7 @@ public Builder setRegion(java.lang.String value) { * @return This builder for chaining. */ public Builder clearRegion() { - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x00040000); region_ = getDefaultInstance().getRegion(); onChanged(); return this; @@ -5737,7 +5961,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00020000; + bitField0_ |= 0x00040000; region_ = value; onChanged(); return this; @@ -5757,7 +5981,7 @@ public Builder setRegionBytes(com.google.protobuf.ByteString value) { * @return Whether the role field is set. */ public boolean hasRole() { - return ((bitField0_ & 0x00040000) != 0); + return ((bitField0_ & 0x00080000) != 0); } /** * @@ -5822,7 +6046,7 @@ public Builder setRole(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; role_ = value; onChanged(); return this; @@ -5840,7 +6064,7 @@ public Builder setRole(java.lang.String value) { * @return This builder for chaining. */ public Builder clearRole() { - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x00080000); role_ = getDefaultInstance().getRole(); onChanged(); return this; @@ -5863,7 +6087,7 @@ public Builder setRoleBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00040000; + bitField0_ |= 0x00080000; role_ = value; onChanged(); return this; @@ -5873,11 +6097,11 @@ public Builder setRoleBytes(com.google.protobuf.ByteString value) { secondaryIpRanges_ = java.util.Collections.emptyList(); private void ensureSecondaryIpRangesIsMutable() { - if (!((bitField0_ & 0x00080000) != 0)) { + if (!((bitField0_ & 0x00100000) != 0)) { secondaryIpRanges_ = new java.util.ArrayList( secondaryIpRanges_); - bitField0_ |= 0x00080000; + bitField0_ |= 0x00100000; } } @@ -6119,7 +6343,7 @@ public Builder addAllSecondaryIpRanges( public Builder clearSecondaryIpRanges() { if (secondaryIpRangesBuilder_ == null) { secondaryIpRanges_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); } else { secondaryIpRangesBuilder_.clear(); @@ -6261,7 +6485,7 @@ public com.google.cloud.compute.v1.SubnetworkSecondaryRange.Builder addSecondary com.google.cloud.compute.v1.SubnetworkSecondaryRange.Builder, com.google.cloud.compute.v1.SubnetworkSecondaryRangeOrBuilder>( secondaryIpRanges_, - ((bitField0_ & 0x00080000) != 0), + ((bitField0_ & 0x00100000) != 0), getParentForChildren(), isClean()); secondaryIpRanges_ = null; @@ -6282,7 +6506,7 @@ public com.google.cloud.compute.v1.SubnetworkSecondaryRange.Builder addSecondary * @return Whether the selfLink field is set. */ public boolean hasSelfLink() { - return ((bitField0_ & 0x00100000) != 0); + return ((bitField0_ & 0x00200000) != 0); } /** * @@ -6344,7 +6568,7 @@ public Builder setSelfLink(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; selfLink_ = value; onChanged(); return this; @@ -6361,7 +6585,7 @@ public Builder setSelfLink(java.lang.String value) { * @return This builder for chaining. */ public Builder clearSelfLink() { - bitField0_ = (bitField0_ & ~0x00100000); + bitField0_ = (bitField0_ & ~0x00200000); selfLink_ = getDefaultInstance().getSelfLink(); onChanged(); return this; @@ -6383,7 +6607,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00100000; + bitField0_ |= 0x00200000; selfLink_ = value; onChanged(); return this; @@ -6394,7 +6618,7 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * * *
-     * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+     * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
      * Check the StackType enum for the list of possible values.
      * 
* @@ -6403,13 +6627,13 @@ public Builder setSelfLinkBytes(com.google.protobuf.ByteString value) { * @return Whether the stackType field is set. */ public boolean hasStackType() { - return ((bitField0_ & 0x00200000) != 0); + return ((bitField0_ & 0x00400000) != 0); } /** * * *
-     * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+     * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
      * Check the StackType enum for the list of possible values.
      * 
* @@ -6432,7 +6656,7 @@ public java.lang.String getStackType() { * * *
-     * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+     * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
      * Check the StackType enum for the list of possible values.
      * 
* @@ -6455,7 +6679,7 @@ public com.google.protobuf.ByteString getStackTypeBytes() { * * *
-     * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+     * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
      * Check the StackType enum for the list of possible values.
      * 
* @@ -6468,7 +6692,7 @@ public Builder setStackType(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; stackType_ = value; onChanged(); return this; @@ -6477,7 +6701,7 @@ public Builder setStackType(java.lang.String value) { * * *
-     * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+     * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
      * Check the StackType enum for the list of possible values.
      * 
* @@ -6486,7 +6710,7 @@ public Builder setStackType(java.lang.String value) { * @return This builder for chaining. */ public Builder clearStackType() { - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x00400000); stackType_ = getDefaultInstance().getStackType(); onChanged(); return this; @@ -6495,7 +6719,7 @@ public Builder clearStackType() { * * *
-     * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+     * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
      * Check the StackType enum for the list of possible values.
      * 
* @@ -6509,7 +6733,7 @@ public Builder setStackTypeBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00200000; + bitField0_ |= 0x00400000; stackType_ = value; onChanged(); return this; @@ -6529,7 +6753,7 @@ public Builder setStackTypeBytes(com.google.protobuf.ByteString value) { * @return Whether the state field is set. */ public boolean hasState() { - return ((bitField0_ & 0x00400000) != 0); + return ((bitField0_ & 0x00800000) != 0); } /** * @@ -6594,7 +6818,7 @@ public Builder setState(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; state_ = value; onChanged(); return this; @@ -6612,7 +6836,7 @@ public Builder setState(java.lang.String value) { * @return This builder for chaining. */ public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00400000); + bitField0_ = (bitField0_ & ~0x00800000); state_ = getDefaultInstance().getState(); onChanged(); return this; @@ -6635,7 +6859,7 @@ public Builder setStateBytes(com.google.protobuf.ByteString value) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - bitField0_ |= 0x00400000; + bitField0_ |= 0x00800000; state_ = value; onChanged(); return this; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkLogConfig.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkLogConfig.java index 82418fde3..5ba1bc464 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkLogConfig.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkLogConfig.java @@ -544,7 +544,7 @@ public boolean getEnable() { * * *
-   * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+   * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
    * 
* * optional string filter_expr = 183374428; @@ -559,7 +559,7 @@ public boolean hasFilterExpr() { * * *
-   * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+   * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
    * 
* * optional string filter_expr = 183374428; @@ -582,7 +582,7 @@ public java.lang.String getFilterExpr() { * * *
-   * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+   * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
    * 
* * optional string filter_expr = 183374428; @@ -1424,7 +1424,7 @@ public Builder clearEnable() { * * *
-     * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+     * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
      * 
* * optional string filter_expr = 183374428; @@ -1438,7 +1438,7 @@ public boolean hasFilterExpr() { * * *
-     * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+     * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
      * 
* * optional string filter_expr = 183374428; @@ -1460,7 +1460,7 @@ public java.lang.String getFilterExpr() { * * *
-     * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+     * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
      * 
* * optional string filter_expr = 183374428; @@ -1482,7 +1482,7 @@ public com.google.protobuf.ByteString getFilterExprBytes() { * * *
-     * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+     * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
      * 
* * optional string filter_expr = 183374428; @@ -1503,7 +1503,7 @@ public Builder setFilterExpr(java.lang.String value) { * * *
-     * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+     * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
      * 
* * optional string filter_expr = 183374428; @@ -1520,7 +1520,7 @@ public Builder clearFilterExpr() { * * *
-     * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+     * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
      * 
* * optional string filter_expr = 183374428; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkLogConfigOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkLogConfigOrBuilder.java index d19d2d850..859eb5195 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkLogConfigOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkLogConfigOrBuilder.java @@ -92,7 +92,7 @@ public interface SubnetworkLogConfigOrBuilder * * *
-   * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+   * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
    * 
* * optional string filter_expr = 183374428; @@ -104,7 +104,7 @@ public interface SubnetworkLogConfigOrBuilder * * *
-   * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+   * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
    * 
* * optional string filter_expr = 183374428; @@ -116,7 +116,7 @@ public interface SubnetworkLogConfigOrBuilder * * *
-   * Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged.
+   * Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging.
    * 
* * optional string filter_expr = 183374428; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkOrBuilder.java index 437927ba7..99a5343a5 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/SubnetworkOrBuilder.java @@ -126,7 +126,7 @@ public interface SubnetworkOrBuilder * * *
-   * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+   * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
    * 
* * optional string external_ipv6_prefix = 139299190; @@ -138,7 +138,7 @@ public interface SubnetworkOrBuilder * * *
-   * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+   * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
    * 
* * optional string external_ipv6_prefix = 139299190; @@ -150,7 +150,7 @@ public interface SubnetworkOrBuilder * * *
-   * [Output Only] The range of external IPv6 addresses that are owned by this subnetwork.
+   * [Output Only] The external IPv6 address range that is assigned to this subnetwork.
    * 
* * optional string external_ipv6_prefix = 139299190; @@ -258,6 +258,43 @@ public interface SubnetworkOrBuilder */ long getId(); + /** + * + * + *
+   * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+   * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return Whether the internalIpv6Prefix field is set. + */ + boolean hasInternalIpv6Prefix(); + /** + * + * + *
+   * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+   * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return The internalIpv6Prefix. + */ + java.lang.String getInternalIpv6Prefix(); + /** + * + * + *
+   * [Output Only] The internal IPv6 address range that is assigned to this subnetwork.
+   * 
+ * + * optional string internal_ipv6_prefix = 506270056; + * + * @return The bytes for internalIpv6Prefix. + */ + com.google.protobuf.ByteString getInternalIpv6PrefixBytes(); + /** * * @@ -299,7 +336,7 @@ public interface SubnetworkOrBuilder * * *
-   * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+   * 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.
    * Check the Ipv6AccessType enum for the list of possible values.
    * 
* @@ -312,7 +349,7 @@ public interface SubnetworkOrBuilder * * *
-   * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+   * 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.
    * Check the Ipv6AccessType enum for the list of possible values.
    * 
* @@ -325,7 +362,7 @@ public interface SubnetworkOrBuilder * * *
-   * 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path.
+   * 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.
    * Check the Ipv6AccessType enum for the list of possible values.
    * 
* @@ -339,7 +376,7 @@ public interface SubnetworkOrBuilder * * *
-   * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+   * [Output Only] This field is for internal use.
    * 
* * optional string ipv6_cidr_range = 273141258; @@ -351,7 +388,7 @@ public interface SubnetworkOrBuilder * * *
-   * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+   * [Output Only] This field is for internal use.
    * 
* * optional string ipv6_cidr_range = 273141258; @@ -363,7 +400,7 @@ public interface SubnetworkOrBuilder * * *
-   * [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually.
+   * [Output Only] This field is for internal use.
    * 
* * optional string ipv6_cidr_range = 273141258; @@ -547,7 +584,7 @@ public interface SubnetworkOrBuilder * * *
-   * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+   * This field is for internal use. This field can be both set at resource creation time and updated using patch.
    * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
    * 
* @@ -560,7 +597,7 @@ public interface SubnetworkOrBuilder * * *
-   * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+   * This field is for internal use. This field can be both set at resource creation time and updated using patch.
    * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
    * 
* @@ -573,7 +610,7 @@ public interface SubnetworkOrBuilder * * *
-   * The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch.
+   * This field is for internal use. This field can be both set at resource creation time and updated using patch.
    * Check the PrivateIpv6GoogleAccess enum for the list of possible values.
    * 
* @@ -804,7 +841,7 @@ com.google.cloud.compute.v1.SubnetworkSecondaryRangeOrBuilder getSecondaryIpRang * * *
-   * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+   * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
    * Check the StackType enum for the list of possible values.
    * 
* @@ -817,7 +854,7 @@ com.google.cloud.compute.v1.SubnetworkSecondaryRangeOrBuilder getSecondaryIpRang * * *
-   * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+   * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
    * Check the StackType enum for the list of possible values.
    * 
* @@ -830,7 +867,7 @@ com.google.cloud.compute.v1.SubnetworkSecondaryRangeOrBuilder getSecondaryIpRang * * *
-   * The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch.
+   * The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch.
    * Check the StackType enum for the list of possible values.
    * 
* diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..eca0f3e3e --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNetworkFirewallPolicyRequest.java @@ -0,0 +1,1159 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for NetworkFirewallPolicies.TestIamPermissions. See the method description for details.
+ * 
+ * + * Protobuf type {@code google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest} + */ +public final class TestIamPermissionsNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest) + TestIamPermissionsNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use TestIamPermissionsNetworkFirewallPolicyRequest.newBuilder() to construct. + private TestIamPermissionsNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TestIamPermissionsNetworkFirewallPolicyRequest() { + project_ = ""; + resource_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TestIamPermissionsNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private TestIamPermissionsNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1566449778: + { + java.lang.String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -781249230: + { + com.google.cloud.compute.v1.TestPermissionsRequest.Builder subBuilder = null; + if (testPermissionsRequestResource_ != null) { + subBuilder = testPermissionsRequestResource_.toBuilder(); + } + testPermissionsRequestResource_ = + input.readMessage( + com.google.cloud.compute.v1.TestPermissionsRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(testPermissionsRequestResource_); + testPermissionsRequestResource_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest.Builder + .class); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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; + 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 testPermissionsRequestResource_ != null; + } + /** + * + * + *
+   * 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 getTestPermissionsRequestResource(); + } + + 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(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 (testPermissionsRequestResource_ != null) { + output.writeMessage(439214758, getTestPermissionsRequestResource()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + 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 (testPermissionsRequestResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 439214758, getTestPermissionsRequestResource()); + } + size += unknownFields.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.TestIamPermissionsNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest) 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 (!unknownFields.equals(other.unknownFields)) 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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + 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.TestIamPermissionsNetworkFirewallPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + 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.TestIamPermissionsNetworkFirewallPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + 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.TestIamPermissionsNetworkFirewallPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + 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.TestIamPermissionsNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + 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.TestIamPermissionsNetworkFirewallPolicyRequest + 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.TestIamPermissionsNetworkFirewallPolicyRequest + 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.TestIamPermissionsNetworkFirewallPolicyRequest 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 NetworkFirewallPolicies.TestIamPermissions. See the method description for details.
+   * 
+ * + * Protobuf type {@code google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest.Builder + .class); + } + + // Construct using + // com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + resource_ = ""; + + if (testPermissionsRequestResourceBuilder_ == null) { + testPermissionsRequestResource_ = null; + } else { + testPermissionsRequestResource_ = null; + testPermissionsRequestResourceBuilder_ = 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_TestIamPermissionsNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest build() { + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + buildPartial() { + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest(this); + result.project_ = project_; + result.resource_ = resource_; + if (testPermissionsRequestResourceBuilder_ == null) { + result.testPermissionsRequestResource_ = testPermissionsRequestResource_; + } else { + result.testPermissionsRequestResource_ = testPermissionsRequestResourceBuilder_.build(); + } + 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.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + onChanged(); + } + if (other.hasTestPermissionsRequestResource()) { + mergeTestPermissionsRequestResource(other.getTestPermissionsRequestResource()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest parsedMessage = + null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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; + 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(); + 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; + 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; + 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(); + 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; + 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 testPermissionsRequestResourceBuilder_ != null + || testPermissionsRequestResource_ != null; + } + /** + * + * + *
+     * 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; + onChanged(); + } else { + testPermissionsRequestResourceBuilder_.setMessage(value); + } + + 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(); + onChanged(); + } else { + testPermissionsRequestResourceBuilder_.setMessage(builderForValue.build()); + } + + 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 (testPermissionsRequestResource_ != null) { + testPermissionsRequestResource_ = + com.google.cloud.compute.v1.TestPermissionsRequest.newBuilder( + testPermissionsRequestResource_) + .mergeFrom(value) + .buildPartial(); + } else { + testPermissionsRequestResource_ = value; + } + onChanged(); + } else { + testPermissionsRequestResourceBuilder_.mergeFrom(value); + } + + 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() { + if (testPermissionsRequestResourceBuilder_ == null) { + testPermissionsRequestResource_ = null; + onChanged(); + } else { + testPermissionsRequestResource_ = null; + testPermissionsRequestResourceBuilder_ = null; + } + + 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() { + + 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_; + } + + @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.TestIamPermissionsNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public TestIamPermissionsNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TestIamPermissionsNetworkFirewallPolicyRequest(input, extensionRegistry); + } + }; + + 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.TestIamPermissionsNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..59783ad5d --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,117 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface TestIamPermissionsNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TestIamPermissionsNetworkFirewallPolicyRequest) + 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionNetworkFirewallPolicyRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionNetworkFirewallPolicyRequest.java new file mode 100644 index 000000000..04301422b --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionNetworkFirewallPolicyRequest.java @@ -0,0 +1,1350 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +/** + * + * + *
+ * A request message for RegionNetworkFirewallPolicies.TestIamPermissions. See the method description for details.
+ * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest} + */ +public final class TestIamPermissionsRegionNetworkFirewallPolicyRequest + extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest) + TestIamPermissionsRegionNetworkFirewallPolicyRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use TestIamPermissionsRegionNetworkFirewallPolicyRequest.newBuilder() to construct. + private TestIamPermissionsRegionNetworkFirewallPolicyRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private TestIamPermissionsRegionNetworkFirewallPolicyRequest() { + project_ = ""; + region_ = ""; + resource_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new TestIamPermissionsRegionNetworkFirewallPolicyRequest(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private TestIamPermissionsRegionNetworkFirewallPolicyRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 1111570338: + { + java.lang.String s = input.readStringRequireUtf8(); + + region_ = s; + break; + } + case 1566449778: + { + java.lang.String s = input.readStringRequireUtf8(); + + resource_ = s; + break; + } + case 1820481738: + { + java.lang.String s = input.readStringRequireUtf8(); + + project_ = s; + break; + } + case -781249230: + { + com.google.cloud.compute.v1.TestPermissionsRequest.Builder subBuilder = null; + if (testPermissionsRequestResource_ != null) { + subBuilder = testPermissionsRequestResource_.toBuilder(); + } + testPermissionsRequestResource_ = + input.readMessage( + com.google.cloud.compute.v1.TestPermissionsRequest.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(testPermissionsRequestResource_); + testPermissionsRequestResource_ = subBuilder.buildPartial(); + } + + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest.class, + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest.Builder + .class); + } + + public static final int PROJECT_FIELD_NUMBER = 227560217; + 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 REGION_FIELD_NUMBER = 138946292; + private volatile java.lang.Object region_; + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + @java.lang.Override + public java.lang.String getRegion() { + java.lang.Object ref = region_; + 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(); + region_ = s; + return s; + } + } + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + @java.lang.Override + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESOURCE_FIELD_NUMBER = 195806222; + 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 testPermissionsRequestResource_ != null; + } + /** + * + * + *
+   * 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 getTestPermissionsRequestResource(); + } + + 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(region_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 138946292, region_); + } + 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 (testPermissionsRequestResource_ != null) { + output.writeMessage(439214758, getTestPermissionsRequestResource()); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(138946292, region_); + } + 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 (testPermissionsRequestResource_ != null) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 439214758, getTestPermissionsRequestResource()); + } + size += unknownFields.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.TestIamPermissionsRegionNetworkFirewallPolicyRequest)) { + return super.equals(obj); + } + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest other = + (com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest) obj; + + if (!getProject().equals(other.getProject())) return false; + if (!getRegion().equals(other.getRegion())) 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 (!unknownFields.equals(other.unknownFields)) 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) + REGION_FIELD_NUMBER; + hash = (53 * hash) + getRegion().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 = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + 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.TestIamPermissionsRegionNetworkFirewallPolicyRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + 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.TestIamPermissionsRegionNetworkFirewallPolicyRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + 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.TestIamPermissionsRegionNetworkFirewallPolicyRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + 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.TestIamPermissionsRegionNetworkFirewallPolicyRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + 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.TestIamPermissionsRegionNetworkFirewallPolicyRequest + 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.TestIamPermissionsRegionNetworkFirewallPolicyRequest + 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.TestIamPermissionsRegionNetworkFirewallPolicyRequest 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 RegionNetworkFirewallPolicies.TestIamPermissions. See the method description for details.
+   * 
+ * + * Protobuf type {@code + * google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest) + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.compute.v1.Compute + .internal_static_google_cloud_compute_v1_TestIamPermissionsRegionNetworkFirewallPolicyRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + .class, + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + .Builder.class); + } + + // Construct using + // com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + project_ = ""; + + region_ = ""; + + resource_ = ""; + + if (testPermissionsRequestResourceBuilder_ == null) { + testPermissionsRequestResource_ = null; + } else { + testPermissionsRequestResource_ = null; + testPermissionsRequestResourceBuilder_ = 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_TestIamPermissionsRegionNetworkFirewallPolicyRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + .getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + build() { + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest result = + buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + buildPartial() { + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest result = + new com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest( + this); + result.project_ = project_; + result.region_ = region_; + result.resource_ = resource_; + if (testPermissionsRequestResourceBuilder_ == null) { + result.testPermissionsRequestResource_ = testPermissionsRequestResource_; + } else { + result.testPermissionsRequestResource_ = testPermissionsRequestResourceBuilder_.build(); + } + 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.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest) { + return mergeFrom( + (com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest) + other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom( + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest other) { + if (other + == com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + .getDefaultInstance()) return this; + if (!other.getProject().isEmpty()) { + project_ = other.project_; + onChanged(); + } + if (!other.getRegion().isEmpty()) { + region_ = other.region_; + onChanged(); + } + if (!other.getResource().isEmpty()) { + resource_ = other.resource_; + onChanged(); + } + if (other.hasTestPermissionsRequestResource()) { + mergeTestPermissionsRequestResource(other.getTestPermissionsRequestResource()); + } + this.mergeUnknownFields(other.unknownFields); + 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 { + com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + 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; + 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(); + 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; + onChanged(); + return this; + } + + private java.lang.Object region_ = ""; + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + public java.lang.String getRegion() { + java.lang.Object ref = region_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + region_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + public com.google.protobuf.ByteString getRegionBytes() { + java.lang.Object ref = region_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + region_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The region to set. + * @return This builder for chaining. + */ + public Builder setRegion(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + region_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return This builder for chaining. + */ + public Builder clearRegion() { + + region_ = getDefaultInstance().getRegion(); + onChanged(); + return this; + } + /** + * + * + *
+     * The name of the region for this request.
+     * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @param value The bytes for region to set. + * @return This builder for chaining. + */ + public Builder setRegionBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + region_ = value; + 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; + 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(); + 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; + 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 testPermissionsRequestResourceBuilder_ != null + || testPermissionsRequestResource_ != null; + } + /** + * + * + *
+     * 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; + onChanged(); + } else { + testPermissionsRequestResourceBuilder_.setMessage(value); + } + + 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(); + onChanged(); + } else { + testPermissionsRequestResourceBuilder_.setMessage(builderForValue.build()); + } + + 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 (testPermissionsRequestResource_ != null) { + testPermissionsRequestResource_ = + com.google.cloud.compute.v1.TestPermissionsRequest.newBuilder( + testPermissionsRequestResource_) + .mergeFrom(value) + .buildPartial(); + } else { + testPermissionsRequestResource_ = value; + } + onChanged(); + } else { + testPermissionsRequestResourceBuilder_.mergeFrom(value); + } + + 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() { + if (testPermissionsRequestResourceBuilder_ == null) { + testPermissionsRequestResource_ = null; + onChanged(); + } else { + testPermissionsRequestResource_ = null; + testPermissionsRequestResourceBuilder_ = null; + } + + 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() { + + 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_; + } + + @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.TestIamPermissionsRegionNetworkFirewallPolicyRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest) + private static final com.google.cloud.compute.v1 + .TestIamPermissionsRegionNetworkFirewallPolicyRequest + DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = + new com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest(); + } + + public static com.google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest + getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser< + TestIamPermissionsRegionNetworkFirewallPolicyRequest> + PARSER = + new com.google.protobuf.AbstractParser< + TestIamPermissionsRegionNetworkFirewallPolicyRequest>() { + @java.lang.Override + public TestIamPermissionsRegionNetworkFirewallPolicyRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new TestIamPermissionsRegionNetworkFirewallPolicyRequest( + input, extensionRegistry); + } + }; + + 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.TestIamPermissionsRegionNetworkFirewallPolicyRequest + getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionNetworkFirewallPolicyRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionNetworkFirewallPolicyRequestOrBuilder.java new file mode 100644 index 000000000..6fdf1cebe --- /dev/null +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/TestIamPermissionsRegionNetworkFirewallPolicyRequestOrBuilder.java @@ -0,0 +1,142 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/compute/v1/compute.proto + +package com.google.cloud.compute.v1; + +public interface TestIamPermissionsRegionNetworkFirewallPolicyRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.TestIamPermissionsRegionNetworkFirewallPolicyRequest) + 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(); + + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The region. + */ + java.lang.String getRegion(); + /** + * + * + *
+   * The name of the region for this request.
+   * 
+ * + * string region = 138946292 [(.google.api.field_behavior) = REQUIRED]; + * + * @return The bytes for region. + */ + com.google.protobuf.ByteString getRegionBytes(); + + /** + * + * + *
+   * 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(); +} diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateInstanceRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateInstanceRequest.java index fe3407c01..0e7e5578a 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateInstanceRequest.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateInstanceRequest.java @@ -168,6 +168,249 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.UpdateInstanceRequest.Builder.class); } + /** + * + * + *
+   * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * INVALID
+   * NO_EFFECT
+   * REFRESH
+   * RESTART
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.UpdateInstanceRequest.MinimalAction} + */ + public enum MinimalAction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MINIMAL_ACTION = 0; + */ + UNDEFINED_MINIMAL_ACTION(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MINIMAL_ACTION = 0; + */ + public static final int UNDEFINED_MINIMAL_ACTION_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 MinimalAction 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 MinimalAction forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MINIMAL_ACTION; + 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 MinimalAction findValueByNumber(int number) { + return MinimalAction.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.UpdateInstanceRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final MinimalAction[] VALUES = values(); + + public static MinimalAction 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 MinimalAction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.UpdateInstanceRequest.MinimalAction) + } + + /** + * + * + *
+   * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+   * Additional supported values which may be not listed in the enum directly due to technical reasons:
+   * INVALID
+   * NO_EFFECT
+   * REFRESH
+   * RESTART
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.UpdateInstanceRequest.MostDisruptiveAllowedAction} + */ + public enum MostDisruptiveAllowedAction implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + */ + UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION(0), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + */ + public static final int UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION_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 MostDisruptiveAllowedAction 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 MostDisruptiveAllowedAction forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION; + 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 MostDisruptiveAllowedAction findValueByNumber(int number) { + return MostDisruptiveAllowedAction.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.UpdateInstanceRequest.getDescriptor() + .getEnumTypes() + .get(1); + } + + private static final MostDisruptiveAllowedAction[] VALUES = values(); + + public static MostDisruptiveAllowedAction 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 MostDisruptiveAllowedAction(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.UpdateInstanceRequest.MostDisruptiveAllowedAction) + } + private int bitField0_; public static final int INSTANCE_FIELD_NUMBER = 18257045; private volatile java.lang.Object instance_; @@ -279,6 +522,7 @@ public com.google.cloud.compute.v1.InstanceOrBuilder getInstanceResourceOrBuilde * *
    * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -294,6 +538,7 @@ public boolean hasMinimalAction() { * *
    * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -317,6 +562,7 @@ public java.lang.String getMinimalAction() { * *
    * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -343,6 +589,7 @@ public com.google.protobuf.ByteString getMinimalActionBytes() { * *
    * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -358,6 +605,7 @@ public boolean hasMostDisruptiveAllowedAction() { * *
    * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -381,6 +629,7 @@ public java.lang.String getMostDisruptiveAllowedAction() { * *
    * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1350,6 +1599,7 @@ public com.google.cloud.compute.v1.InstanceOrBuilder getInstanceResourceOrBuilde * *
      * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1364,6 +1614,7 @@ public boolean hasMinimalAction() { * *
      * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1386,6 +1637,7 @@ public java.lang.String getMinimalAction() { * *
      * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1408,6 +1660,7 @@ public com.google.protobuf.ByteString getMinimalActionBytes() { * *
      * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1429,6 +1682,7 @@ public Builder setMinimalAction(java.lang.String value) { * *
      * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1446,6 +1700,7 @@ public Builder clearMinimalAction() { * *
      * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+     * Check the MinimalAction enum for the list of possible values.
      * 
* * optional string minimal_action = 270567060; @@ -1470,6 +1725,7 @@ public Builder setMinimalActionBytes(com.google.protobuf.ByteString value) { * *
      * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1484,6 +1740,7 @@ public boolean hasMostDisruptiveAllowedAction() { * *
      * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1506,6 +1763,7 @@ public java.lang.String getMostDisruptiveAllowedAction() { * *
      * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1528,6 +1786,7 @@ public com.google.protobuf.ByteString getMostDisruptiveAllowedActionBytes() { * *
      * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1549,6 +1808,7 @@ public Builder setMostDisruptiveAllowedAction(java.lang.String value) { * *
      * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -1566,6 +1826,7 @@ public Builder clearMostDisruptiveAllowedAction() { * *
      * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+     * Check the MostDisruptiveAllowedAction enum for the list of possible values.
      * 
* * optional string most_disruptive_allowed_action = 66103053; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateInstanceRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateInstanceRequestOrBuilder.java index be5f60bd2..7f479ff0c 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateInstanceRequestOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UpdateInstanceRequestOrBuilder.java @@ -94,6 +94,7 @@ public interface UpdateInstanceRequestOrBuilder * *
    * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -106,6 +107,7 @@ public interface UpdateInstanceRequestOrBuilder * *
    * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -118,6 +120,7 @@ public interface UpdateInstanceRequestOrBuilder * *
    * Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require.
+   * Check the MinimalAction enum for the list of possible values.
    * 
* * optional string minimal_action = 270567060; @@ -131,6 +134,7 @@ public interface UpdateInstanceRequestOrBuilder * *
    * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -143,6 +147,7 @@ public interface UpdateInstanceRequestOrBuilder * *
    * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; @@ -155,6 +160,7 @@ public interface UpdateInstanceRequestOrBuilder * *
    * Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART.
+   * Check the MostDisruptiveAllowedAction enum for the list of possible values.
    * 
* * optional string most_disruptive_allowed_action = 66103053; diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java index 1f13a6cb9..a18a4544c 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequest.java @@ -36,7 +36,9 @@ private UrlMapsValidateRequest(com.google.protobuf.GeneratedMessageV3.Builder super(builder); } - private UrlMapsValidateRequest() {} + private UrlMapsValidateRequest() { + loadBalancingSchemes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + } @java.lang.Override @SuppressWarnings({"unused"}) @@ -68,6 +70,16 @@ private UrlMapsValidateRequest( case 0: done = true; break; + case 50468218: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + loadBalancingSchemes_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + loadBalancingSchemes_.add(s); + break; + } case 1566449778: { com.google.cloud.compute.v1.UrlMap.Builder subBuilder = null; @@ -97,6 +109,9 @@ private UrlMapsValidateRequest( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) != 0)) { + loadBalancingSchemes_ = loadBalancingSchemes_.getUnmodifiableView(); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -117,7 +132,255 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.compute.v1.UrlMapsValidateRequest.Builder.class); } + /** + * + * + *
+   * 
+ * + * Protobuf enum {@code google.cloud.compute.v1.UrlMapsValidateRequest.LoadBalancingSchemes} + */ + public enum LoadBalancingSchemes implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_LOAD_BALANCING_SCHEMES = 0; + */ + UNDEFINED_LOAD_BALANCING_SCHEMES(0), + /** + * + * + *
+     * Signifies that this will be used for Classic L7 External Load Balancing.
+     * 
+ * + * EXTERNAL = 35607499; + */ + EXTERNAL(35607499), + /** + * + * + *
+     * Signifies that this will be used for Envoy-based L7 External Load Balancing.
+     * 
+ * + * EXTERNAL_MANAGED = 512006923; + */ + EXTERNAL_MANAGED(512006923), + /** + * + * + *
+     * If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inferrence is not possible, EXTERNAL will be used as the default type.
+     * 
+ * + * LOAD_BALANCING_SCHEME_UNSPECIFIED = 526507452; + */ + LOAD_BALANCING_SCHEME_UNSPECIFIED(526507452), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * A value indicating that the enum field is not set.
+     * 
+ * + * UNDEFINED_LOAD_BALANCING_SCHEMES = 0; + */ + public static final int UNDEFINED_LOAD_BALANCING_SCHEMES_VALUE = 0; + /** + * + * + *
+     * Signifies that this will be used for Classic L7 External Load Balancing.
+     * 
+ * + * EXTERNAL = 35607499; + */ + public static final int EXTERNAL_VALUE = 35607499; + /** + * + * + *
+     * Signifies that this will be used for Envoy-based L7 External Load Balancing.
+     * 
+ * + * EXTERNAL_MANAGED = 512006923; + */ + public static final int EXTERNAL_MANAGED_VALUE = 512006923; + /** + * + * + *
+     * If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inferrence is not possible, EXTERNAL will be used as the default type.
+     * 
+ * + * LOAD_BALANCING_SCHEME_UNSPECIFIED = 526507452; + */ + public static final int LOAD_BALANCING_SCHEME_UNSPECIFIED_VALUE = 526507452; + + 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 LoadBalancingSchemes 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 LoadBalancingSchemes forNumber(int value) { + switch (value) { + case 0: + return UNDEFINED_LOAD_BALANCING_SCHEMES; + case 35607499: + return EXTERNAL; + case 512006923: + return EXTERNAL_MANAGED; + case 526507452: + return LOAD_BALANCING_SCHEME_UNSPECIFIED; + 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 LoadBalancingSchemes findValueByNumber(int number) { + return LoadBalancingSchemes.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.UrlMapsValidateRequest.getDescriptor() + .getEnumTypes() + .get(0); + } + + private static final LoadBalancingSchemes[] VALUES = values(); + + public static LoadBalancingSchemes 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 LoadBalancingSchemes(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.compute.v1.UrlMapsValidateRequest.LoadBalancingSchemes) + } + private int bitField0_; + public static final int LOAD_BALANCING_SCHEMES_FIELD_NUMBER = 6308527; + private com.google.protobuf.LazyStringList loadBalancingSchemes_; + /** + * + * + *
+   * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+   * Check the LoadBalancingSchemes enum for the list of possible values.
+   * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @return A list containing the loadBalancingSchemes. + */ + public com.google.protobuf.ProtocolStringList getLoadBalancingSchemesList() { + return loadBalancingSchemes_; + } + /** + * + * + *
+   * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+   * Check the LoadBalancingSchemes enum for the list of possible values.
+   * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @return The count of loadBalancingSchemes. + */ + public int getLoadBalancingSchemesCount() { + return loadBalancingSchemes_.size(); + } + /** + * + * + *
+   * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+   * Check the LoadBalancingSchemes enum for the list of possible values.
+   * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param index The index of the element to return. + * @return The loadBalancingSchemes at the given index. + */ + public java.lang.String getLoadBalancingSchemes(int index) { + return loadBalancingSchemes_.get(index); + } + /** + * + * + *
+   * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+   * Check the LoadBalancingSchemes enum for the list of possible values.
+   * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param index The index of the value to return. + * @return The bytes of the loadBalancingSchemes at the given index. + */ + public com.google.protobuf.ByteString getLoadBalancingSchemesBytes(int index) { + return loadBalancingSchemes_.getByteString(index); + } + public static final int RESOURCE_FIELD_NUMBER = 195806222; private com.google.cloud.compute.v1.UrlMap resource_; /** @@ -178,6 +441,10 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + for (int i = 0; i < loadBalancingSchemes_.size(); i++) { + com.google.protobuf.GeneratedMessageV3.writeString( + output, 6308527, loadBalancingSchemes_.getRaw(i)); + } if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(195806222, getResource()); } @@ -190,6 +457,14 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; + { + int dataSize = 0; + for (int i = 0; i < loadBalancingSchemes_.size(); i++) { + dataSize += computeStringSizeNoTag(loadBalancingSchemes_.getRaw(i)); + } + size += dataSize; + size += 4 * getLoadBalancingSchemesList().size(); + } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(195806222, getResource()); } @@ -209,6 +484,7 @@ public boolean equals(final java.lang.Object obj) { com.google.cloud.compute.v1.UrlMapsValidateRequest other = (com.google.cloud.compute.v1.UrlMapsValidateRequest) obj; + if (!getLoadBalancingSchemesList().equals(other.getLoadBalancingSchemesList())) return false; if (hasResource() != other.hasResource()) return false; if (hasResource()) { if (!getResource().equals(other.getResource())) return false; @@ -224,6 +500,10 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); + if (getLoadBalancingSchemesCount() > 0) { + hash = (37 * hash) + LOAD_BALANCING_SCHEMES_FIELD_NUMBER; + hash = (53 * hash) + getLoadBalancingSchemesList().hashCode(); + } if (hasResource()) { hash = (37 * hash) + RESOURCE_FIELD_NUMBER; hash = (53 * hash) + getResource().hashCode(); @@ -374,12 +654,14 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + loadBalancingSchemes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); if (resourceBuilder_ == null) { resource_ = null; } else { resourceBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -409,7 +691,12 @@ public com.google.cloud.compute.v1.UrlMapsValidateRequest buildPartial() { new com.google.cloud.compute.v1.UrlMapsValidateRequest(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { + if (((bitField0_ & 0x00000001) != 0)) { + loadBalancingSchemes_ = loadBalancingSchemes_.getUnmodifiableView(); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.loadBalancingSchemes_ = loadBalancingSchemes_; + if (((from_bitField0_ & 0x00000002) != 0)) { if (resourceBuilder_ == null) { result.resource_ = resource_; } else { @@ -468,6 +755,16 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.cloud.compute.v1.UrlMapsValidateRequest other) { if (other == com.google.cloud.compute.v1.UrlMapsValidateRequest.getDefaultInstance()) return this; + if (!other.loadBalancingSchemes_.isEmpty()) { + if (loadBalancingSchemes_.isEmpty()) { + loadBalancingSchemes_ = other.loadBalancingSchemes_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureLoadBalancingSchemesIsMutable(); + loadBalancingSchemes_.addAll(other.loadBalancingSchemes_); + } + onChanged(); + } if (other.hasResource()) { mergeResource(other.getResource()); } @@ -503,6 +800,183 @@ public Builder mergeFrom( private int bitField0_; + private com.google.protobuf.LazyStringList loadBalancingSchemes_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + + private void ensureLoadBalancingSchemesIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + loadBalancingSchemes_ = new com.google.protobuf.LazyStringArrayList(loadBalancingSchemes_); + bitField0_ |= 0x00000001; + } + } + /** + * + * + *
+     * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+     * Check the LoadBalancingSchemes enum for the list of possible values.
+     * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @return A list containing the loadBalancingSchemes. + */ + public com.google.protobuf.ProtocolStringList getLoadBalancingSchemesList() { + return loadBalancingSchemes_.getUnmodifiableView(); + } + /** + * + * + *
+     * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+     * Check the LoadBalancingSchemes enum for the list of possible values.
+     * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @return The count of loadBalancingSchemes. + */ + public int getLoadBalancingSchemesCount() { + return loadBalancingSchemes_.size(); + } + /** + * + * + *
+     * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+     * Check the LoadBalancingSchemes enum for the list of possible values.
+     * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param index The index of the element to return. + * @return The loadBalancingSchemes at the given index. + */ + public java.lang.String getLoadBalancingSchemes(int index) { + return loadBalancingSchemes_.get(index); + } + /** + * + * + *
+     * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+     * Check the LoadBalancingSchemes enum for the list of possible values.
+     * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param index The index of the value to return. + * @return The bytes of the loadBalancingSchemes at the given index. + */ + public com.google.protobuf.ByteString getLoadBalancingSchemesBytes(int index) { + return loadBalancingSchemes_.getByteString(index); + } + /** + * + * + *
+     * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+     * Check the LoadBalancingSchemes enum for the list of possible values.
+     * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param index The index to set the value at. + * @param value The loadBalancingSchemes to set. + * @return This builder for chaining. + */ + public Builder setLoadBalancingSchemes(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureLoadBalancingSchemesIsMutable(); + loadBalancingSchemes_.set(index, value); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+     * Check the LoadBalancingSchemes enum for the list of possible values.
+     * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param value The loadBalancingSchemes to add. + * @return This builder for chaining. + */ + public Builder addLoadBalancingSchemes(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureLoadBalancingSchemesIsMutable(); + loadBalancingSchemes_.add(value); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+     * Check the LoadBalancingSchemes enum for the list of possible values.
+     * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param values The loadBalancingSchemes to add. + * @return This builder for chaining. + */ + public Builder addAllLoadBalancingSchemes(java.lang.Iterable values) { + ensureLoadBalancingSchemesIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, loadBalancingSchemes_); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+     * Check the LoadBalancingSchemes enum for the list of possible values.
+     * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @return This builder for chaining. + */ + public Builder clearLoadBalancingSchemes() { + loadBalancingSchemes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+     * Check the LoadBalancingSchemes enum for the list of possible values.
+     * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param value The bytes of the loadBalancingSchemes to add. + * @return This builder for chaining. + */ + public Builder addLoadBalancingSchemesBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ensureLoadBalancingSchemesIsMutable(); + loadBalancingSchemes_.add(value); + onChanged(); + return this; + } + private com.google.cloud.compute.v1.UrlMap resource_; private com.google.protobuf.SingleFieldBuilderV3< com.google.cloud.compute.v1.UrlMap, @@ -521,7 +995,7 @@ public Builder mergeFrom( * @return Whether the resource field is set. */ public boolean hasResource() { - return ((bitField0_ & 0x00000001) != 0); + return ((bitField0_ & 0x00000002) != 0); } /** * @@ -562,7 +1036,7 @@ public Builder setResource(com.google.cloud.compute.v1.UrlMap value) { } else { resourceBuilder_.setMessage(value); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; return this; } /** @@ -581,7 +1055,7 @@ public Builder setResource(com.google.cloud.compute.v1.UrlMap.Builder builderFor } else { resourceBuilder_.setMessage(builderForValue.build()); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; return this; } /** @@ -595,7 +1069,7 @@ public Builder setResource(com.google.cloud.compute.v1.UrlMap.Builder builderFor */ public Builder mergeResource(com.google.cloud.compute.v1.UrlMap value) { if (resourceBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) + if (((bitField0_ & 0x00000002) != 0) && resource_ != null && resource_ != com.google.cloud.compute.v1.UrlMap.getDefaultInstance()) { resource_ = @@ -609,7 +1083,7 @@ public Builder mergeResource(com.google.cloud.compute.v1.UrlMap value) { } else { resourceBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; return this; } /** @@ -628,7 +1102,7 @@ public Builder clearResource() { } else { resourceBuilder_.clear(); } - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = (bitField0_ & ~0x00000002); return this; } /** @@ -641,7 +1115,7 @@ public Builder clearResource() { * optional .google.cloud.compute.v1.UrlMap resource = 195806222; */ public com.google.cloud.compute.v1.UrlMap.Builder getResourceBuilder() { - bitField0_ |= 0x00000001; + bitField0_ |= 0x00000002; onChanged(); return getResourceFieldBuilder().getBuilder(); } diff --git a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequestOrBuilder.java b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequestOrBuilder.java index 764ca9ce6..0710f6835 100644 --- a/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequestOrBuilder.java +++ b/proto-google-cloud-compute-v1/src/main/java/com/google/cloud/compute/v1/UrlMapsValidateRequestOrBuilder.java @@ -23,6 +23,61 @@ public interface UrlMapsValidateRequestOrBuilder // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.UrlMapsValidateRequest) com.google.protobuf.MessageOrBuilder { + /** + * + * + *
+   * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+   * Check the LoadBalancingSchemes enum for the list of possible values.
+   * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @return A list containing the loadBalancingSchemes. + */ + java.util.List getLoadBalancingSchemesList(); + /** + * + * + *
+   * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+   * Check the LoadBalancingSchemes enum for the list of possible values.
+   * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @return The count of loadBalancingSchemes. + */ + int getLoadBalancingSchemesCount(); + /** + * + * + *
+   * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+   * Check the LoadBalancingSchemes enum for the list of possible values.
+   * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param index The index of the element to return. + * @return The loadBalancingSchemes at the given index. + */ + java.lang.String getLoadBalancingSchemes(int index); + /** + * + * + *
+   * Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references.
+   * Check the LoadBalancingSchemes enum for the list of possible values.
+   * 
+ * + * repeated string load_balancing_schemes = 6308527; + * + * @param index The index of the value to return. + * @return The bytes of the loadBalancingSchemes at the given index. + */ + com.google.protobuf.ByteString getLoadBalancingSchemesBytes(int index); + /** * * diff --git a/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto b/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto index 7f11b2ee8..dde588254 100644 --- a/proto-google-cloud-compute-v1/src/main/proto/google/cloud/compute/v1/compute.proto +++ b/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: 20220112 +// Source file revision: 20220322 // API name: compute // API version: v1 @@ -306,6 +306,56 @@ message AddAssociationFirewallPolicyRequest { } +// A request message for NetworkFirewallPolicies.AddAssociation. See the method description for details. +message AddAssociationNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists. + optional bool replace_existing_association = 209541240; + + // 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; + +} + +// A request message for RegionNetworkFirewallPolicies.AddAssociation. See the method description for details. +message AddAssociationRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + FirewallPolicyAssociation firewall_policy_association_resource = 259546170 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists. + optional bool replace_existing_association = 209541240; + + // 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; + +} + // A request message for TargetPools.AddHealthCheck. See the method description for details. message AddHealthCheckTargetPoolRequest { // Project ID for this request. @@ -513,6 +563,62 @@ message AddRuleFirewallPolicyRequest { } +// A request message for NetworkFirewallPolicies.AddRule. See the method description for details. +message AddRuleNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(google.api.field_behavior) = REQUIRED]; + + // When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. + optional int32 max_priority = 329635359; + + // When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. + optional int32 min_priority = 267190513; + + // 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; + +} + +// A request message for RegionNetworkFirewallPolicies.AddRule. See the method description for details. +message AddRuleRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(google.api.field_behavior) = REQUIRED]; + + // When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. + optional int32 max_priority = 329635359; + + // When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. + optional int32 min_priority = 267190513; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + +} + // A request message for SecurityPolicies.AddRule. See the method description for details. message AddRuleSecurityPolicyRequest { // Project ID for this request. @@ -1138,6 +1244,31 @@ message AggregatedListMachineTypesRequest { } +// A request message for NetworkEdgeSecurityServices.AggregatedList. See the method description for details. +message AggregatedListNetworkEdgeSecurityServicesRequest { + // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` + 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; + + // Name of the project scoping 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. + optional bool return_partial_success = 517198390; + +} + // A request message for NetworkEndpointGroups.AggregatedList. See the method description for details. message AggregatedListNetworkEndpointGroupsRequest { // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` @@ -1388,6 +1519,31 @@ message AggregatedListRoutersRequest { } +// A request message for SecurityPolicies.AggregatedList. See the method description for details. +message AggregatedListSecurityPoliciesRequest { + // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` + 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; + + // Name of the project scoping 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. + optional bool return_partial_success = 517198390; + +} + // A request message for ServiceAttachments.AggregatedList. See the method description for details. message AggregatedListServiceAttachmentsRequest { // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` @@ -1716,6 +1872,9 @@ message AllocationSpecificSKUAllocationReservedInstanceProperties { // This reservation type allows to pre allocate specific instance configuration. Next ID: 5 message AllocationSpecificSKUReservation { + // [Output Only] Indicates how many instances are actually usable currently. + optional int64 assured_count = 281197645; + // Specifies the number of resources that are allocated. optional int64 count = 94851343; @@ -2799,6 +2958,9 @@ message BackendService { // Check the LoadBalancingScheme enum for the list of possible values. optional string load_balancing_scheme = 363890244; + // A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true. + repeated BackendServiceLocalityLoadBalancingPolicyConfig locality_lb_policies = 140982557; + // The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are 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. // Check the LocalityLbPolicy enum for the list of possible values. optional string locality_lb_policy = 131431487; @@ -2846,7 +3008,7 @@ message BackendService { optional Subsetting subsetting = 450283536; - // 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. Instead, use maxStreamDuration. + // The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. 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. Instead, use maxStreamDuration. optional int32 timeout_sec = 79994995; } @@ -2984,6 +3146,9 @@ message BackendServiceConnectionTrackingPolicy { // Check the ConnectionPersistenceOnUnhealthyBackends enum for the list of possible values. optional string connection_persistence_on_unhealthy_backends = 152439033; + // Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly. + optional bool enable_strong_affinity = 24539924; + // Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in seconds). For Internal TCP/UDP Load Balancing: - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For Network Load Balancer the default is 60 seconds. This option is not available publicly. optional int32 idle_timeout_sec = 24977544; @@ -3057,6 +3222,59 @@ message BackendServiceList { } +// Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user. +message BackendServiceLocalityLoadBalancingPolicyConfig { + optional BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy custom_policy = 4818368; + + optional BackendServiceLocalityLoadBalancingPolicyConfigPolicy policy = 91071794; + +} + +// The configuration for a custom policy implemented by the user and deployed with the client. +message BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { + // An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. + optional string data = 3076010; + + // Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected. + optional string name = 3373707; + +} + +// The configuration for a built-in load balancing policy. +message BackendServiceLocalityLoadBalancingPolicyConfigPolicy { + // The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. + enum Name { + // A value indicating that the enum field is not set. + UNDEFINED_NAME = 0; + + INVALID_LB_POLICY = 323318707; + + // An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. + LEAST_REQUEST = 46604921; + + // This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see https://ai.google/research/pubs/pub44824 + MAGLEV = 119180266; + + // Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. + ORIGINAL_DESTINATION = 166297216; + + // The load balancer selects a random healthy host. + RANDOM = 262527171; + + // The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. + RING_HASH = 432795069; + + // This is a simple policy in which each healthy backend is selected in round robin order. This is the default. + ROUND_ROBIN = 153895801; + + } + + // The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. + // Check the Name enum for the list of possible values. + optional string name = 3373707; + +} + // The available logging options for the load balancer traffic served by this backend service. message BackendServiceLogConfig { // This field denotes whether to enable logging for the load balancer traffic served by this backend service. @@ -3419,19 +3637,19 @@ message CacheKeyPolicy { // Settings controlling the volume of requests, connections and retries to this backend service. message CircuitBreakers { - // 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. + // 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. optional int32 max_connections = 110652154; - // 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. + // The maximum number of pending requests allowed 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. optional int32 max_pending_requests = 375558887; // The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit. optional int32 max_requests = 28097599; - // 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. + // Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. 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. optional int32 max_requests_per_connection = 361630528; - // 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. + // The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. 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. optional int32 max_retries = 55546219; } @@ -3449,6 +3667,50 @@ message CloneRulesFirewallPolicyRequest { } +// A request message for NetworkFirewallPolicies.CloneRules. See the method description for details. +message CloneRulesNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(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 firewall policy from which to copy rules. + optional string source_firewall_policy = 25013549; + +} + +// A request message for RegionNetworkFirewallPolicies.CloneRules. See the method description for details. +message CloneRulesRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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 firewall policy from which to copy rules. + optional string source_firewall_policy = 25013549; + +} + // Represents a regional Commitment resource. Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts. message Commitment { // The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. @@ -3639,15 +3901,94 @@ message CommitmentsScopedList { // This is deprecated and has no effect. Do not use. message Condition { // This is deprecated and has no effect. Do not use. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // NO_ATTR + enum Iam { + // A value indicating that the enum field is not set. + UNDEFINED_IAM = 0; + + // This is deprecated and has no effect. Do not use. + APPROVER = 357258949; + + // This is deprecated and has no effect. Do not use. + ATTRIBUTION = 232465503; + + // This is deprecated and has no effect. Do not use. + AUTHORITY = 504108835; + + // This is deprecated and has no effect. Do not use. + CREDENTIALS_TYPE = 348222141; + + // This is deprecated and has no effect. Do not use. + CREDS_ASSERTION = 332343272; + + // This is deprecated and has no effect. Do not use. + JUSTIFICATION_TYPE = 206147719; + + // This is deprecated and has no effect. Do not use. + SECURITY_REALM = 526269616; + + } + + // This is deprecated and has no effect. Do not use. + enum Op { + // A value indicating that the enum field is not set. + UNDEFINED_OP = 0; + + // This is deprecated and has no effect. Do not use. + DISCHARGED = 266338274; + + // This is deprecated and has no effect. Do not use. + EQUALS = 442201023; + + // This is deprecated and has no effect. Do not use. + IN = 2341; + + // This is deprecated and has no effect. Do not use. + NOT_EQUALS = 19718859; + + // This is deprecated and has no effect. Do not use. + NOT_IN = 161144369; + + // This is deprecated and has no effect. Do not use. + NO_OP = 74481951; + + } + + // This is deprecated and has no effect. Do not use. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // NO_ATTR + enum Sys { + // A value indicating that the enum field is not set. + UNDEFINED_SYS = 0; + + // This is deprecated and has no effect. Do not use. + IP = 2343; + + // This is deprecated and has no effect. Do not use. + NAME = 2388619; + + // This is deprecated and has no effect. Do not use. + REGION = 266017524; + + // This is deprecated and has no effect. Do not use. + SERVICE = 17781397; + + } + + // This is deprecated and has no effect. Do not use. + // Check the Iam enum for the list of possible values. optional string iam = 104021; // This is deprecated and has no effect. Do not use. + // Check the Op enum for the list of possible values. optional string op = 3553; // This is deprecated and has no effect. Do not use. optional string svc = 114272; // This is deprecated and has no effect. Do not use. + // Check the Sys enum for the list of possible values. optional string sys = 114381; // This is deprecated and has no effect. Do not use. @@ -3778,7 +4119,7 @@ message CreateSnapshotDiskRequest { // Name of the persistent disk to snapshot. string disk = 3083677 [(google.api.field_behavior) = REQUIRED]; - // [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS). + // [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. optional bool guest_flush = 385550813; // Project ID for this request. @@ -4381,6 +4722,28 @@ message DeleteMachineImageRequest { } +// A request message for NetworkEdgeSecurityServices.Delete. See the method description for details. +message DeleteNetworkEdgeSecurityServiceRequest { + // Name of the network edge security service to delete. + string network_edge_security_service = 157011879 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + +} + // A request message for NetworkEndpointGroups.Delete. See the method description for details. message DeleteNetworkEndpointGroupRequest { // The name of the network endpoint group to delete. It should comply with RFC1035. @@ -4403,6 +4766,22 @@ message DeleteNetworkEndpointGroupRequest { } +// A request message for NetworkFirewallPolicies.Delete. See the method description for details. +message DeleteNetworkFirewallPolicyRequest { + // Name of the firewall policy to delete. + string firewall_policy = 498173265 [(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; + +} + // A request message for Networks.Delete. See the method description for details. message DeleteNetworkRequest { // Name of the network to delete. @@ -4746,6 +5125,28 @@ message DeleteRegionNetworkEndpointGroupRequest { } +// A request message for RegionNetworkFirewallPolicies.Delete. See the method description for details. +message DeleteRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to delete. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + +} + // A request message for RegionNotificationEndpoints.Delete. See the method description for details. message DeleteRegionNotificationEndpointRequest { // Name of the NotificationEndpoint resource to delete. @@ -4785,6 +5186,28 @@ message DeleteRegionOperationRequest { message DeleteRegionOperationResponse { } +// A request message for RegionSecurityPolicies.Delete. See the method description for details. +message DeleteRegionSecurityPolicyRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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 security policy to delete. + string security_policy = 171082513 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for RegionSslCertificates.Delete. See the method description for details. message DeleteRegionSslCertificateRequest { // Project ID for this request. @@ -6314,6 +6737,9 @@ message FirewallPolicy { // [Output Only] The parent of the firewall policy. optional string parent = 78317738; + // [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. 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 region = 138946292; + // [Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples. optional int32 rule_tuple_count = 388342037; @@ -6407,12 +6833,18 @@ message FirewallPolicyRule { // An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority. optional int32 priority = 445151652; + // An optional name for the rule. This field is not a unique identifier and can be updated. + optional string rule_name = 55286254; + // [Output Only] Calculation of the complexity of a single firewall policy rule. optional int32 rule_tuple_count = 388342037; // A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. repeated string target_resources = 528230647; + // A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256. + repeated FirewallPolicyRuleSecureTag target_secure_tags = 468132403; + // A list of service accounts indicating the sets of instances that are applied with this rule. repeated string target_service_accounts = 457639710; @@ -6429,6 +6861,9 @@ message FirewallPolicyRuleMatcher { // CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. repeated string src_ip_ranges = 432128083; + // List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. + repeated FirewallPolicyRuleSecureTag src_secure_tags = 508791302; + } // @@ -6441,6 +6876,28 @@ message FirewallPolicyRuleMatcherLayer4Config { } +// +message FirewallPolicyRuleSecureTag { + // [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted. + enum State { + // A value indicating that the enum field is not set. + UNDEFINED_STATE = 0; + + EFFECTIVE = 244201863; + + INEFFECTIVE = 304458242; + + } + + // Name of the secure tag, created with TagManager's TagValue API. + optional string name = 3373707; + + // [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted. + // Check the State enum for the list of possible values. + optional string state = 109757585; + +} + // Encapsulates numeric value that can be either absolute or relative. message FixedOrPercent { // [Output Only] Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded. @@ -6790,6 +7247,35 @@ message GetAssociationFirewallPolicyRequest { } +// A request message for NetworkFirewallPolicies.GetAssociation. See the method description for details. +message GetAssociationNetworkFirewallPolicyRequest { + // Name of the firewall policy to which the queried association belongs. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The name of the association to get from the firewall policy. + optional string name = 3373707; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + +} + +// A request message for RegionNetworkFirewallPolicies.GetAssociation. See the method description for details. +message GetAssociationRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to which the queried association belongs. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The name of the association to get from the firewall policy. + optional string name = 3373707; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the region scoping this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Autoscalers.Get. See the method description for details. message GetAutoscalerRequest { // Name of the autoscaler to return. @@ -6885,6 +7371,19 @@ message GetEffectiveFirewallsNetworkRequest { } +// A request message for RegionNetworkFirewallPolicies.GetEffectiveFirewalls. See the method description for details. +message GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest { + // Network reference + string network = 232872494 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the region scoping this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for ExternalVpnGateways.Get. See the method description for details. message GetExternalVpnGatewayRequest { // Name of the externalVpnGateway to return. @@ -7167,6 +7666,19 @@ message GetIamPolicyMachineImageRequest { } +// A request message for NetworkFirewallPolicies.GetIamPolicy. See the method description for details. +message GetIamPolicyNetworkFirewallPolicyRequest { + // 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]; + +} + // A request message for NodeGroups.GetIamPolicy. See the method description for details. message GetIamPolicyNodeGroupRequest { // Requested IAM Policy version. @@ -7215,6 +7727,22 @@ message GetIamPolicyRegionDiskRequest { } +// A request message for RegionNetworkFirewallPolicies.GetIamPolicy. See the method description for details. +message GetIamPolicyRegionNetworkFirewallPolicyRequest { + // Requested IAM Policy version. + optional int32 options_requested_policy_version = 499220029; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // The name of the region for this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Reservations.GetIamPolicy. See the method description for details. message GetIamPolicyReservationRequest { // Requested IAM Policy version. @@ -7468,6 +7996,19 @@ message GetNatMappingInfoRoutersRequest { } +// A request message for NetworkEdgeSecurityServices.Get. See the method description for details. +message GetNetworkEdgeSecurityServiceRequest { + // Name of the network edge security service to get. + string network_edge_security_service = 157011879 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the region scoping this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for NetworkEndpointGroups.Get. See the method description for details. message GetNetworkEndpointGroupRequest { // The name of the network endpoint group. It should comply with RFC1035. @@ -7481,6 +8022,16 @@ message GetNetworkEndpointGroupRequest { } +// A request message for NetworkFirewallPolicies.Get. See the method description for details. +message GetNetworkFirewallPolicyRequest { + // Name of the firewall policy to get. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Networks.Get. See the method description for details. message GetNetworkRequest { // Name of the network to return. @@ -7703,6 +8254,19 @@ message GetRegionNetworkEndpointGroupRequest { } +// A request message for RegionNetworkFirewallPolicies.Get. See the method description for details. +message GetRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to get. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the region scoping this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for RegionNotificationEndpoints.Get. See the method description for details. message GetRegionNotificationEndpointRequest { // Name of the NotificationEndpoint resource to return. @@ -7742,6 +8306,19 @@ message GetRegionRequest { } +// A request message for RegionSecurityPolicies.Get. See the method description for details. +message GetRegionSecurityPolicyRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the region scoping this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Name of the security policy to get. + string security_policy = 171082513 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for RegionSslCertificates.Get. See the method description for details. message GetRegionSslCertificateRequest { // Project ID for this request. @@ -7866,6 +8443,35 @@ message GetRuleFirewallPolicyRequest { } +// A request message for NetworkFirewallPolicies.GetRule. See the method description for details. +message GetRuleNetworkFirewallPolicyRequest { + // Name of the firewall policy to which the queried rule belongs. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The priority of the rule to get from the firewall policy. + optional int32 priority = 445151652; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + +} + +// A request message for RegionNetworkFirewallPolicies.GetRule. See the method description for details. +message GetRuleRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to which the queried rule belongs. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The priority of the rule to get from the firewall policy. + optional int32 priority = 445151652; + + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // Name of the region scoping this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for SecurityPolicies.GetRule. See the method description for details. message GetRuleSecurityPolicyRequest { // The priority of the rule to get from the security policy. @@ -8215,7 +8821,7 @@ message GlobalSetLabelsRequest { // The fingerprint of the previous set of labels for this resource, used to detect conflicts. 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 when updating or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint. optional string label_fingerprint = 178124825; - // A list of labels to apply for this resource. Each label key & value must 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. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). + // A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). map labels = 500195327; } @@ -8276,7 +8882,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features. enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; @@ -8299,7 +8905,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 - SECURE_BOOT - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE 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_SNP_CAPABLE For more information, see Enabling guest operating system features. // Check the Type enum for the list of possible values. optional string type = 3575610; @@ -8972,7 +9578,7 @@ message HttpRouteAction { // The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. optional CorsPolicy cors_policy = 398943748; - // The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. For the requests impacted by fault injection, timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy. + // The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. optional HttpFaultInjection fault_injection_policy = 412781079; // Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as *end-of-stream*), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED. @@ -9648,6 +10254,31 @@ message InsertMachineImageRequest { } +// A request message for NetworkEdgeSecurityServices.Insert. See the method description for details. +message InsertNetworkEdgeSecurityServiceRequest { + // The body resource for this request + NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + + // If true, the request will not be committed. + optional bool validate_only = 242744629; + +} + // A request message for NetworkEndpointGroups.Insert. See the method description for details. message InsertNetworkEndpointGroupRequest { // The body resource for this request @@ -9670,6 +10301,22 @@ message InsertNetworkEndpointGroupRequest { } +// A request message for NetworkFirewallPolicies.Insert. See the method description for details. +message InsertNetworkFirewallPolicyRequest { + // The body resource for this request + FirewallPolicy firewall_policy_resource = 495049532 [(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; + +} + // A request message for Networks.Insert. See the method description for details. message InsertNetworkRequest { // The body resource for this request @@ -9972,6 +10619,28 @@ message InsertRegionNetworkEndpointGroupRequest { } +// A request message for RegionNetworkFirewallPolicies.Insert. See the method description for details. +message InsertRegionNetworkFirewallPolicyRequest { + // The body resource for this request + FirewallPolicy firewall_policy_resource = 495049532 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + +} + // A request message for RegionNotificationEndpoints.Insert. See the method description for details. message InsertRegionNotificationEndpointRequest { // The body resource for this request @@ -9994,6 +10663,31 @@ message InsertRegionNotificationEndpointRequest { } +// A request message for RegionSecurityPolicies.Insert. See the method description for details. +message InsertRegionSecurityPolicyRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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 + SecurityPolicy security_policy_resource = 216159612 [(google.api.field_behavior) = REQUIRED]; + + // If true, the request will not be committed. + optional bool validate_only = 242744629; + +} + // A request message for RegionSslCertificates.Insert. See the method description for details. message InsertRegionSslCertificateRequest { // Project ID for this request. @@ -10606,6 +11300,9 @@ message Instance { optional NetworkPerformanceConfig network_performance_config = 398330850; + // Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. + optional InstanceParams params = 78313862; + // The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. // Check the PrivateIpv6GoogleAccess enum for the list of possible values. optional string private_ipv6_google_access = 48277006; @@ -10701,7 +11398,7 @@ message InstanceGroup { // The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. optional string name = 3373707; - // Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "http", port: 80},{name: "http", port: 8080}] Named ports apply to all instances in this instance group. + // Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group. repeated NamedPort named_ports = 427598732; // [Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0). @@ -10983,7 +11680,67 @@ message InstanceGroupManagerStatusVersionTarget { // message InstanceGroupManagerUpdatePolicy { - // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // NONE + // PROACTIVE + enum InstanceRedistributionType { + // A value indicating that the enum field is not set. + UNDEFINED_INSTANCE_REDISTRIBUTION_TYPE = 0; + + } + + // Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // NONE + // REFRESH + // REPLACE + // RESTART + enum MinimalAction { + // A value indicating that the enum field is not set. + UNDEFINED_MINIMAL_ACTION = 0; + + } + + // Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // NONE + // REFRESH + // REPLACE + // RESTART + enum MostDisruptiveAllowedAction { + // A value indicating that the enum field is not set. + UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + + } + + // What action should be used to replace instances. See minimal_action.REPLACE + enum ReplacementMethod { + // A value indicating that the enum field is not set. + UNDEFINED_REPLACEMENT_METHOD = 0; + + // Instances will be recreated (with the same name) + RECREATE = 522644719; + + // Default option: instances will be deleted and created (with a new name) + SUBSTITUTE = 280924314; + + } + + // The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // PROACTIVE + enum Type { + // A value indicating that the enum field is not set. + UNDEFINED_TYPE = 0; + + // No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field). + OPPORTUNISTIC = 429530089; + + } + + // The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. + // Check the InstanceRedistributionType enum for the list of possible values. optional string instance_redistribution_type = 292630424; // The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge. @@ -10993,15 +11750,19 @@ message InstanceGroupManagerUpdatePolicy { optional FixedOrPercent max_unavailable = 404940277; // Minimal action to be taken on an instance. You can specify either RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a RESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action. + // Check the MinimalAction enum for the list of possible values. optional string minimal_action = 270567060; // Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. + // Check the MostDisruptiveAllowedAction enum for the list of possible values. optional string most_disruptive_allowed_action = 66103053; // What action should be used to replace instances. See minimal_action.REPLACE + // Check the ReplacementMethod enum for the list of possible values. optional string replacement_method = 505931694; // The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). + // Check the Type enum for the list of possible values. optional string type = 3575610; } @@ -11028,6 +11789,30 @@ message InstanceGroupManagersAbandonInstancesRequest { // InstanceGroupManagers.applyUpdatesToInstances message InstanceGroupManagersApplyUpdatesRequest { + // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // NONE + // REFRESH + // REPLACE + // RESTART + enum MinimalAction { + // A value indicating that the enum field is not set. + UNDEFINED_MINIMAL_ACTION = 0; + + } + + // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // NONE + // REFRESH + // REPLACE + // RESTART + enum MostDisruptiveAllowedAction { + // A value indicating that the enum field is not set. + UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + + } + // Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request. optional bool all_instances = 403676512; @@ -11035,9 +11820,11 @@ message InstanceGroupManagersApplyUpdatesRequest { repeated string instances = 29097598; // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + // Check the MinimalAction enum for the list of possible values. optional string minimal_action = 270567060; // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + // Check the MostDisruptiveAllowedAction enum for the list of possible values. optional string most_disruptive_allowed_action = 66103053; } @@ -11361,6 +12148,13 @@ message InstanceMoveRequest { } +// Additional instance params. +message InstanceParams { + // Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. + map resource_manager_tags = 377671164; + +} + // message InstanceProperties { // The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. @@ -11572,13 +12366,17 @@ message InstancesGetEffectiveFirewallsResponse { // message InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy { - // [Output Only] The type of the firewall policy. + // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; HIERARCHY = 69902869; + NETWORK = 413984270; + + NETWORK_REGIONAL = 190804272; + UNSPECIFIED = 526786327; } @@ -11595,7 +12393,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. + // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. // Check the Type enum for the list of possible values. optional string type = 3575610; @@ -11954,7 +12752,7 @@ message InterconnectAttachment { // Check the Bandwidth enum for the list of possible values. optional string bandwidth = 181715121; - // Up to 16 candidate prefixes that control the allocation of cloudRouterIpv6Address and customerRouterIpv6Address for this attachment. Each prefix must be in the Global Unique Address (GUA) space. It is highly recommended that it be in a range owned by the requestor. A GUA in a range owned by Google will cause the request to fail. Google will select an available prefix from the supplied candidates or fail the request. If not supplied, a /125 from a Google-owned GUA block will be selected. + // This field is not available. repeated string candidate_ipv6_subnets = 70682522; // Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space. @@ -11966,7 +12764,7 @@ message InterconnectAttachment { // [Output Only] IPv6 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment. optional string cloud_router_ipv6_address = 451922376; - // If supplied, the interface id (index within the subnet) to be used for the cloud router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet. + // This field is not available. optional string cloud_router_ipv6_interface_id = 521282701; // [Output Only] Creation timestamp in RFC3339 text format. @@ -11978,10 +12776,10 @@ message InterconnectAttachment { // [Output Only] IPv6 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. optional string customer_router_ipv6_address = 290127089; - // If supplied, the interface id (index within the subnet) to be used for the customer router address. The id must be in the range of 1 to 6. If a subnet mask is supplied, it must be /125, and the subnet should either be 0 or match the selected subnet. + // This field is not available. optional string customer_router_ipv6_interface_id = 380994308; - // [Output only for types PARTNER and DEDICATED. Not present for PARTNER_PROVIDER.] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1. + // [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1. optional int32 dataplane_version = 34920075; // An optional description of this resource. @@ -13639,6 +14437,28 @@ message ListNetworkEndpointsNetworkEndpointGroupsRequest { } +// A request message for NetworkFirewallPolicies.List. See the method description for details. +message ListNetworkFirewallPoliciesRequest { + // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` + 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. + optional bool return_partial_success = 517198390; + +} + // A request message for Networks.List. See the method description for details. message ListNetworksRequest { // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` @@ -14240,6 +15060,31 @@ message ListRegionNetworkEndpointGroupsRequest { } +// A request message for RegionNetworkFirewallPolicies.List. See the method description for details. +message ListRegionNetworkFirewallPoliciesRequest { + // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` + 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]; + + // Name of the region scoping this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + optional bool return_partial_success = 517198390; + +} + // A request message for RegionNotificationEndpoints.List. See the method description for details. message ListRegionNotificationEndpointsRequest { // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` @@ -14290,6 +15135,31 @@ message ListRegionOperationsRequest { } +// A request message for RegionSecurityPolicies.List. See the method description for details. +message ListRegionSecurityPoliciesRequest { + // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` + 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]; + + // Name of the region scoping this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + optional bool return_partial_success = 517198390; + +} + // A request message for RegionSslCertificates.List. See the method description for details. message ListRegionSslCertificatesRequest { // A filter expression that filters resources listed in the response. The 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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) ``` @@ -15151,7 +16021,7 @@ message MachineImage { // An optional description of this resource. Provide this property when you create the resource. optional string description = 422937596; - // [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS). + // [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. optional bool guest_flush = 385550813; // [Output Only] A unique identifier for this machine image. The server defines this identifier. @@ -15332,7 +16202,10 @@ message MachineTypesScopedList { // A Managed Instance resource. message ManagedInstance { - // [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. + // [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // STOPPING + // SUSPENDING enum CurrentAction { // A value indicating that the enum field is not set. UNDEFINED_CURRENT_ACTION = 0; @@ -15361,12 +16234,21 @@ message ManagedInstance { // The managed instance group is restarting this instance. RESTARTING = 320534387; + // The managed instance group is resuming this instance. + RESUMING = 446856618; + + // The managed instance group is starting this instance. + STARTING = 488820800; + // The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions). VERIFYING = 16982185; } // [Output Only] The status of the instance. This field is empty when the instance does not exist. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // STOPPING + // SUSPENDING enum InstanceStatus { // A value indicating that the enum field is not set. UNDEFINED_INSTANCE_STATUS = 0; @@ -15389,13 +16271,11 @@ message ManagedInstance { // The instance has stopped successfully. STOPPED = 444276141; - // The instance is currently stopping (either being deleted or killed). STOPPING = 350791796; // The instance has suspended. SUSPENDED = 51223995; - // The instance is suspending. SUSPENDING = 514206246; // The instance has stopped (either by explicit action or underlying failure). @@ -15417,6 +16297,7 @@ message ManagedInstance { repeated ManagedInstanceInstanceHealth instance_health = 382667078; // [Output Only] The status of the instance. This field is empty when the instance does not exist. + // Check the InstanceStatus enum for the list of possible values. optional string instance_status = 174577372; // [Output Only] Information about the last attempt to create or delete the instance. @@ -15590,6 +16471,17 @@ message NamedPort { // Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network. message Network { + // The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. + enum NetworkFirewallPolicyEnforcementOrder { + // A value indicating that the enum field is not set. + UNDEFINED_NETWORK_FIREWALL_POLICY_ENFORCEMENT_ORDER = 0; + + AFTER_CLASSIC_FIREWALL = 154582608; + + BEFORE_CLASSIC_FIREWALL = 338458349; + + } + // Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created. optional string I_pv4_range = 59234358; @@ -15602,12 +16494,18 @@ message Network { // An optional description of this resource. Provide this field when you create the resource. optional string description = 422937596; + // Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. . + optional bool enable_ula_internal_ipv6 = 423757720; + // [Output Only] The gateway address for default routing out of the network, selected by GCP. optional string gateway_i_pv4 = 178678877; // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; + // When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. . + optional string internal_ipv6_range = 277456807; + // [Output Only] Type of the resource. Always compute#network for networks. optional string kind = 3292052; @@ -15617,6 +16515,10 @@ message Network { // 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])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. optional string name = 3373707; + // The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. + // Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values. + optional string network_firewall_policy_enforcement_order = 6504784; + // [Output Only] A list of network peerings for the resource. repeated NetworkPeering peerings = 69883187; @@ -15626,11 +16528,85 @@ message Network { // [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] Server-defined fully-qualified URLs for all subnetworks in this VPC network. repeated string subnetworks = 415853125; } +// Represents a Google Cloud Armor network edge security service resource. +message NetworkEdgeSecurityService { + // [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; + + // Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService. + optional string fingerprint = 234678500; + + // [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#networkEdgeSecurityService for NetworkEdgeSecurityServices + optional string kind = 3292052; + + // 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; + + // [Output Only] URL of the region 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 region = 138946292; + + // The resource URL for the network edge security service associated with this network edge security service. + optional string security_policy = 171082513; + + // [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; + +} + +// +message NetworkEdgeSecurityServiceAggregatedList { + optional string etag = 3123477; + + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of NetworkEdgeSecurityServicesScopedList resources. + map items = 100526016; + + // [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services. + 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 NetworkEdgeSecurityServicesScopedList { + // A list of NetworkEdgeSecurityServices contained in this scope. + repeated NetworkEdgeSecurityService network_edge_security_services = 35530156; + + // Informational warning which replaces the list of security policies when the list is empty. + optional Warning warning = 50704284; + +} + // The network endpoint. message NetworkEndpoint { // Metadata defined as annotations on the network endpoint. @@ -15652,7 +16628,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, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs. message NetworkEndpointGroup { - // Type of network endpoints in this network endpoint group. Can be one of 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. enum NetworkEndpointType { // A value indicating that the enum field is not set. UNDEFINED_NETWORK_ENDPOINT_TYPE = 0; @@ -15713,7 +16689,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_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. // Check the NetworkEndpointType enum for the list of possible values. optional string network_endpoint_type = 118301523; @@ -15793,7 +16769,7 @@ message NetworkEndpointGroupCloudRun { // Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010". optional string tag = 114586; - // A template to parse service and tag fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively. + // A template to parse and fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively. optional string url_mask = 103352252; } @@ -15904,7 +16880,9 @@ message NetworkInterface { // This network interface can have external IPv6. EXTERNAL = 35607499; - // IPv6 access type not set. Means this network interface hasn't been turned on IPv6 yet. + // This network interface can have internal IPv6. + INTERNAL = 279295677; + UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; } @@ -15949,6 +16927,9 @@ message NetworkInterface { // Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date. optional string fingerprint = 234678500; + // The prefix length of the primary internal IPv6 range. + optional int32 internal_ipv6_prefix_length = 203833757; + // An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. repeated AccessConfig ipv6_access_configs = 483472110; @@ -15962,7 +16943,7 @@ message NetworkInterface { // [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. optional string kind = 3292052; - // [Output Only] The name of the network interface, which is generated by the server. For network devices, these are eth0, eth1, etc. + // [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0. optional string name = 3373707; // URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/global/networks/ network - projects/project/global/networks/network - global/networks/default @@ -17478,6 +18459,55 @@ message PatchInterconnectRequest { } +// A request message for NetworkEdgeSecurityServices.Patch. See the method description for details. +message PatchNetworkEdgeSecurityServiceRequest { + // Name of the network edge security service to update. + string network_edge_security_service = 157011879 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + NetworkEdgeSecurityService network_edge_security_service_resource = 477548966 [(google.api.field_behavior) = REQUIRED]; + + optional string paths = 106438894; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + + // Indicates fields to be updated as part of this request. + optional string update_mask = 500079778; + +} + +// A request message for NetworkFirewallPolicies.Patch. See the method description for details. +message PatchNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + FirewallPolicy firewall_policy_resource = 495049532 [(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; + +} + // A request message for Networks.Patch. See the method description for details. message PatchNetworkRequest { // Name of the network to update. @@ -17766,6 +18796,81 @@ message PatchRegionInstanceGroupManagerRequest { } +// A request message for RegionNetworkFirewallPolicies.Patch. See the method description for details. +message PatchRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + FirewallPolicy firewall_policy_resource = 495049532 [(google.api.field_behavior) = REQUIRED]; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + +} + +// A request message for RegionSecurityPolicies.Patch. See the method description for details. +message PatchRegionSecurityPolicyRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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 security policy to update. + string security_policy = 171082513 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + SecurityPolicy security_policy_resource = 216159612 [(google.api.field_behavior) = REQUIRED]; + +} + +// A request message for RegionTargetHttpsProxies.Patch. See the method description for details. +message PatchRegionTargetHttpsProxyRequest { + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region for this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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 TargetHttpsProxy resource to patch. + string target_https_proxy = 52336748 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + TargetHttpsProxy target_https_proxy_resource = 433657473 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for RegionUrlMaps.Patch. See the method description for details. message PatchRegionUrlMapRequest { // Project ID for this request. @@ -17832,6 +18937,56 @@ message PatchRuleFirewallPolicyRequest { } +// A request message for NetworkFirewallPolicies.PatchRule. See the method description for details. +message PatchRuleNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(google.api.field_behavior) = REQUIRED]; + + // The priority of the rule to patch. + optional int32 priority = 445151652; + + // 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; + +} + +// A request message for RegionNetworkFirewallPolicies.PatchRule. See the method description for details. +message PatchRuleRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + FirewallPolicyRule firewall_policy_rule_resource = 250523523 [(google.api.field_behavior) = REQUIRED]; + + // The priority of the rule to patch. + optional int32 priority = 445151652; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + +} + // A request message for SecurityPolicies.PatchRule. See the method description for details. message PatchRuleSecurityPolicyRequest { // The priority of the rule to patch. @@ -18115,7 +19270,6 @@ message Policy { // `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. optional string etag = 3123477; - // This is deprecated and has no effect. Do not use. optional bool iam_owned = 450566203; // This is deprecated and has no effect. Do not use. @@ -18677,6 +19831,8 @@ message Quota { E2_CPUS = 481995837; + EXTERNAL_MANAGED_FORWARDING_RULES = 150790089; + EXTERNAL_NETWORK_LB_FORWARDING_RULES = 374298265; EXTERNAL_PROTOCOL_FORWARDING_RULES = 63478888; @@ -19160,6 +20316,30 @@ message RegionInstanceGroupManagersAbandonInstancesRequest { // RegionInstanceGroupManagers.applyUpdatesToInstances message RegionInstanceGroupManagersApplyUpdatesRequest { + // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // NONE + // REFRESH + // REPLACE + // RESTART + enum MinimalAction { + // A value indicating that the enum field is not set. + UNDEFINED_MINIMAL_ACTION = 0; + + } + + // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // NONE + // REFRESH + // REPLACE + // RESTART + enum MostDisruptiveAllowedAction { + // A value indicating that the enum field is not set. + UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + + } + // Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request. optional bool all_instances = 403676512; @@ -19167,9 +20347,11 @@ message RegionInstanceGroupManagersApplyUpdatesRequest { repeated string instances = 29097598; // The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + // Check the MinimalAction enum for the list of possible values. optional string minimal_action = 270567060; // The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + // Check the MostDisruptiveAllowedAction enum for the list of possible values. optional string most_disruptive_allowed_action = 66103053; } @@ -19326,6 +20508,48 @@ message RegionList { } +// +message RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse { + // Effective firewalls from firewall policy. + repeated RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy firewall_policys = 410985794; + + // Effective firewalls on the network. + repeated Firewall firewalls = 272245619; + +} + +// +message RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy { + // [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. + enum Type { + // A value indicating that the enum field is not set. + UNDEFINED_TYPE = 0; + + HIERARCHY = 69902869; + + NETWORK = 413984270; + + NETWORK_REGIONAL = 190804272; + + UNSPECIFIED = 526786327; + + } + + // [Output Only] The display name of the firewall policy. + optional string display_name = 4473832; + + // [Output Only] The name of the firewall policy. + optional string name = 3373707; + + // 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. + // Check the Type enum for the list of possible values. + optional string type = 3575610; + +} + // message RegionSetLabelsRequest { // The fingerprint of the previous set of labels for this resource, used to detect conflicts. 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. Make a get() request to the resource to get the latest fingerprint. @@ -19376,6 +20600,50 @@ message RemoveAssociationFirewallPolicyRequest { } +// A request message for NetworkFirewallPolicies.RemoveAssociation. See the method description for details. +message RemoveAssociationNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // Name for the attachment that will be removed. + optional string name = 3373707; + + // 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; + +} + +// A request message for RegionNetworkFirewallPolicies.RemoveAssociation. See the method description for details. +message RemoveAssociationRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // Name for the association that will be removed. + optional string name = 3373707; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + +} + // A request message for TargetPools.RemoveHealthCheck. See the method description for details. message RemoveHealthCheckTargetPoolRequest { // Project ID for this request. @@ -19558,6 +20826,50 @@ message RemoveRuleFirewallPolicyRequest { } +// A request message for NetworkFirewallPolicies.RemoveRule. See the method description for details. +message RemoveRuleNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The priority of the rule to remove from the firewall policy. + optional int32 priority = 445151652; + + // 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; + +} + +// A request message for RegionNetworkFirewallPolicies.RemoveRule. See the method description for details. +message RemoveRuleRegionNetworkFirewallPolicyRequest { + // Name of the firewall policy to update. + string firewall_policy = 498173265 [(google.api.field_behavior) = REQUIRED]; + + // The priority of the rule to remove from the firewall policy. + optional int32 priority = 445151652; + + // Project ID for this request. + string project = 227560217 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "project" + ]; + + // Name of the region scoping this request. + string region = 138946292 [ + (google.api.field_behavior) = REQUIRED, + (google.cloud.operation_request_field) = "region" + ]; + + // 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; + +} + // A request message for SecurityPolicies.RemoveRule. See the method description for details. message RemoveRuleSecurityPolicyRequest { // The priority of the rule to remove from the security policy. @@ -20026,7 +21338,7 @@ message ResourcePolicyAggregatedList { // Time window specified for daily operations. message ResourcePolicyDailyCycle { - // Defines a schedule with units measured in months. The value determines how many months pass between the start of each cycle. + // Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. optional int32 days_in_cycle = 369790004; // [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. @@ -20273,6 +21585,25 @@ message ResumeInstanceRequest { // Represents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview. message Route { + // [Output only] The status of the route. + enum RouteStatus { + // A value indicating that the enum field is not set. + UNDEFINED_ROUTE_STATUS = 0; + + // This route is processed and active. + ACTIVE = 314733318; + + // The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example + DROPPED = 496235424; + + // This route is processed but inactive due to failure from the backend. The backend may have rejected the route + INACTIVE = 270421099; + + // This route is being processed internally. The status will change once processed. + PENDING = 35394935; + + } + // [Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route enum RouteType { // A value indicating that the enum field is not set. @@ -20336,6 +21667,10 @@ message Route { // The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is `1000`. The priority value must be from `0` to `65535`, inclusive. optional uint32 priority = 445151652; + // [Output only] The status of the route. + // Check the RouteStatus enum for the list of possible values. + optional string route_status = 418162344; + // [Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route // Check the RouteType enum for the list of possible values. optional string route_type = 375888752; @@ -20622,7 +21957,7 @@ message RouterBgpPeer { // message RouterBgpPeerBfd { - // The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE. + // The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED. enum SessionInitializationMode { // A value indicating that the enum field is not set. UNDEFINED_SESSION_INITIALIZATION_MODE = 0; @@ -20644,7 +21979,7 @@ message RouterBgpPeerBfd { // The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5. optional uint32 multiplier = 191331777; - // The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is PASSIVE. + // The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED. // Check the SessionInitializationMode enum for the list of possible values. optional string session_initialization_mode = 105957049; @@ -20937,7 +22272,7 @@ message RouterStatusBgpPeerStatus { // [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session. optional string router_appliance_instance = 468312989; - // BGP state as specified in RFC1771. + // The state of the BGP session. For a list of possible values for this field, see BGP session states. optional string state = 109757585; // Status of the BGP peer: {UP, DOWN} @@ -21412,12 +22747,49 @@ message Screenshot { } +// +message SecurityPoliciesAggregatedList { + optional string etag = 3123477; + + // [Output Only] Unique identifier for the resource; defined by the server. + optional string id = 3355; + + // A list of SecurityPoliciesScopedList resources. + map items = 100526016; + + // [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies. + 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 SecurityPoliciesListPreconfiguredExpressionSetsResponse { optional SecurityPoliciesWafConfig preconfigured_expression_sets = 536200826; } +// +message SecurityPoliciesScopedList { + // A list of SecurityPolicies contained in this scope. + repeated SecurityPolicy security_policies = 127783791; + + // Informational warning which replaces the list of security policies when the list is empty. + optional Warning warning = 50704284; + +} + // message SecurityPoliciesWafConfig { optional PreconfiguredWafSet waf_rules = 74899924; @@ -21426,7 +22798,7 @@ message SecurityPoliciesWafConfig { // Represents a Google Cloud Armor security policy resource. Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview. message SecurityPolicy { - // The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. enum Type { // A value indicating that the enum field is not set. UNDEFINED_TYPE = 0; @@ -21435,6 +22807,8 @@ message SecurityPolicy { CLOUD_ARMOR_EDGE = 250728775; + CLOUD_ARMOR_NETWORK = 488527428; + } optional SecurityPolicyAdaptiveProtectionConfig adaptive_protection_config = 150240735; @@ -21444,6 +22818,8 @@ message SecurityPolicy { // [Output Only] Creation timestamp in RFC3339 text format. optional string creation_timestamp = 30525366; + optional SecurityPolicyDdosProtectionConfig ddos_protection_config = 50315853; + // An optional description of this resource. Provide this property when you create the resource. optional string description = 422937596; @@ -21461,13 +22837,16 @@ message SecurityPolicy { optional SecurityPolicyRecaptchaOptionsConfig recaptcha_options_config = 519006811; + // [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies. + optional string region = 138946292; + // A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added. repeated SecurityPolicyRule rules = 108873975; // [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; - // The type indicates the intended use of the security policy. CLOUD_ARMOR - Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. CLOUD_ARMOR_EDGE - Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. + // The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. // Check the Type enum for the list of possible values. optional string type = 3575610; @@ -21536,6 +22915,25 @@ message SecurityPolicyAdvancedOptionsConfig { } +// +message SecurityPolicyDdosProtectionConfig { + // + enum DdosProtection { + // A value indicating that the enum field is not set. + UNDEFINED_DDOS_PROTECTION = 0; + + ADVANCED = 63789090; + + STANDARD = 484642493; + + } + + // + // Check the DdosProtection enum for the list of possible values. + optional string ddos_protection = 275173268; + +} + // message SecurityPolicyList { // [Output Only] Unique identifier for the resource; defined by the server. @@ -21649,7 +23047,7 @@ message SecurityPolicyRuleMatcherConfig { // message SecurityPolicyRuleRateLimitOptions { - // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. enum EnforceOnKey { // A value indicating that the enum field is not set. UNDEFINED_ENFORCE_ON_KEY = 0; @@ -21675,14 +23073,14 @@ message SecurityPolicyRuleRateLimitOptions { // Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only. optional string conform_action = 517612367; - // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key type defaults to ALL. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. + // Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. // Check the EnforceOnKey enum for the list of possible values. optional string enforce_on_key = 416648956; // Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. optional string enforce_on_key_name = 132555246; - // Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny()" where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceed_redirect_options below. + // Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below. optional string exceed_action = 167159073; // Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. @@ -22261,6 +23659,19 @@ message SetIamPolicyMachineImageRequest { } +// A request message for NetworkFirewallPolicies.SetIamPolicy. See the method description for details. +message SetIamPolicyNetworkFirewallPolicyRequest { + // The body resource for this request + GlobalSetPolicyRequest global_set_policy_request_resource = 337048498 [(google.api.field_behavior) = REQUIRED]; + + // 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]; + +} + // A request message for NodeGroups.SetIamPolicy. See the method description for details. message SetIamPolicyNodeGroupRequest { // Project ID for this request. @@ -22309,6 +23720,22 @@ message SetIamPolicyRegionDiskRequest { } +// A request message for RegionNetworkFirewallPolicies.SetIamPolicy. See the method description for details. +message SetIamPolicyRegionNetworkFirewallPolicyRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // The name of the region for this request. + string region = 138946292 [(google.api.field_behavior) = REQUIRED]; + + // The body resource for this request + RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(google.api.field_behavior) = REQUIRED]; + + // Name or id of the resource for this request. + string resource = 195806222 [(google.api.field_behavior) = REQUIRED]; + +} + // A request message for Reservations.SetIamPolicy. See the method description for details. message SetIamPolicyReservationRequest { // Project ID for this request. @@ -23981,20 +25408,22 @@ message StopInstanceRequest { // 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path. + // 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. enum Ipv6AccessType { // A value indicating that the enum field is not set. UNDEFINED_IPV6_ACCESS_TYPE = 0; - // VMs on this subnet will be assigned IPv6 addresses that are accesible via the Internet, as well as the VPC network. + // VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network. EXTERNAL = 35607499; - // IPv6 access type not set. Means this subnet hasn't been turned on IPv6 yet. + // VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network. + INTERNAL = 279295677; + UNSPECIFIED_IPV6_ACCESS_TYPE = 313080613; } - // The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch. + // This field is for internal use. This field can be both set at resource creation time and updated using patch. enum PrivateIpv6GoogleAccess { // A value indicating that the enum field is not set. UNDEFINED_PRIVATE_IPV6_GOOGLE_ACCESS = 0; @@ -24045,7 +25474,7 @@ message Subnetwork { } - // The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch. + // The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. enum StackType { // A value indicating that the enum field is not set. UNDEFINED_STACK_TYPE = 0; @@ -24082,7 +25511,7 @@ message Subnetwork { // Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. optional bool enable_flow_logs = 151544420; - // [Output Only] The range of external IPv6 addresses that are owned by this subnetwork. + // [Output Only] The external IPv6 address range that is assigned to this subnetwork. optional string external_ipv6_prefix = 139299190; // Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork. @@ -24094,14 +25523,17 @@ message Subnetwork { // [Output Only] The unique identifier for the resource. This identifier is defined by the server. optional uint64 id = 3355; + // [Output Only] The internal IPv6 address range that is assigned to this subnetwork. + optional string internal_ipv6_prefix = 506270056; + // The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange. optional string ip_cidr_range = 98117322; - // 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. If the ipv6_type is EXTERNAL then this subnet cannot enable direct path. + // 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. // Check the Ipv6AccessType enum for the list of possible values. optional string ipv6_access_type = 504658653; - // [Output Only] The range of internal IPv6 addresses that are owned by this subnetwork. Note this will be for private google access only eventually. + // [Output Only] This field is for internal use. optional string ipv6_cidr_range = 273141258; // [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. @@ -24119,7 +25551,7 @@ message Subnetwork { // Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess. optional bool private_ip_google_access = 421491790; - // The private IPv6 google access type for the VMs in this subnet. This is an expanded field of enablePrivateV6Access. If both fields are set, privateIpv6GoogleAccess will take priority. This field can be both set at resource creation time and updated using patch. + // This field is for internal use. This field can be both set at resource creation time and updated using patch. // Check the PrivateIpv6GoogleAccess enum for the list of possible values. optional string private_ipv6_google_access = 48277006; @@ -24140,7 +25572,7 @@ message Subnetwork { // [Output Only] Server-defined URL for the resource. optional string self_link = 456214797; - // The stack type for this subnet to identify whether the IPv6 feature is enabled or not. If not specified IPV4_ONLY will be used. This field can be both set at resource creation time and updated using patch. + // The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. // Check the StackType enum for the list of possible values. optional string stack_type = 425908881; @@ -24238,7 +25670,7 @@ message SubnetworkLogConfig { // Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. optional bool enable = 311764355; - // Can only be specified if VPC flow logs for this subnetwork is enabled. Export filter used to define which VPC flow logs should be logged. + // Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging. optional string filter_expr = 183374428; // Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported. @@ -25447,6 +26879,19 @@ message TestIamPermissionsNetworkEndpointGroupRequest { } +// A request message for NetworkFirewallPolicies.TestIamPermissions. See the method description for details. +message TestIamPermissionsNetworkFirewallPolicyRequest { + // 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]; + +} + // A request message for NodeGroups.TestIamPermissions. See the method description for details. message TestIamPermissionsNodeGroupRequest { // Project ID for this request. @@ -25511,6 +26956,22 @@ message TestIamPermissionsRegionDiskRequest { } +// A request message for RegionNetworkFirewallPolicies.TestIamPermissions. See the method description for details. +message TestIamPermissionsRegionNetworkFirewallPolicyRequest { + // Project ID for this request. + string project = 227560217 [(google.api.field_behavior) = REQUIRED]; + + // The name of the region for this request. + string region = 138946292 [(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]; + +} + // A request message for Reservations.TestIamPermissions. See the method description for details. message TestIamPermissionsReservationRequest { // Project ID for this request. @@ -25782,6 +27243,30 @@ message UpdateHealthCheckRequest { // A request message for Instances.Update. See the method description for details. message UpdateInstanceRequest { + // Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // INVALID + // NO_EFFECT + // REFRESH + // RESTART + enum MinimalAction { + // A value indicating that the enum field is not set. + UNDEFINED_MINIMAL_ACTION = 0; + + } + + // Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART. + // Additional supported values which may be not listed in the enum directly due to technical reasons: + // INVALID + // NO_EFFECT + // REFRESH + // RESTART + enum MostDisruptiveAllowedAction { + // A value indicating that the enum field is not set. + UNDEFINED_MOST_DISRUPTIVE_ALLOWED_ACTION = 0; + + } + // Name of the instance resource to update. string instance = 18257045 [(google.api.field_behavior) = REQUIRED]; @@ -25789,9 +27274,11 @@ message UpdateInstanceRequest { Instance instance_resource = 215988344 [(google.api.field_behavior) = REQUIRED]; // Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require. + // Check the MinimalAction enum for the list of possible values. optional string minimal_action = 270567060; // Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART. + // Check the MostDisruptiveAllowedAction enum for the list of possible values. optional string most_disruptive_allowed_action = 66103053; // Project ID for this request. @@ -26300,6 +27787,26 @@ message UrlMapsScopedList { // message UrlMapsValidateRequest { + // + enum LoadBalancingSchemes { + // A value indicating that the enum field is not set. + UNDEFINED_LOAD_BALANCING_SCHEMES = 0; + + // Signifies that this will be used for Classic L7 External Load Balancing. + EXTERNAL = 35607499; + + // Signifies that this will be used for Envoy-based L7 External Load Balancing. + EXTERNAL_MANAGED = 512006923; + + // If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inferrence is not possible, EXTERNAL will be used as the default type. + LOAD_BALANCING_SCHEME_UNSPECIFIED = 526507452; + + } + + // Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. + // Check the LoadBalancingSchemes enum for the list of possible values. + repeated string load_balancing_schemes = 6308527; + // Content of the UrlMap to be validated. optional UrlMap resource = 195806222; @@ -29253,7 +30760,7 @@ service Instances { option (google.cloud.operation_service) = "ZoneOperations"; } - // Performs a reset on the instance. This is a hard reset the VM does not do a graceful shutdown. For more information, see Resetting an instance. + // Performs a reset on the instance. This is a hard reset. The VM does not do a graceful shutdown. For more information, see Resetting an instance. rpc Reset(ResetInstanceRequest) returns (Operation) { option (google.api.http) = { post: "/compute/v1/projects/{project}/zones/{zone}/instances/{instance}/reset" @@ -29868,6 +31375,62 @@ service MachineTypes { } +// The NetworkEdgeSecurityServices API. +service NetworkEdgeSecurityServices { + 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 the list of all NetworkEdgeSecurityService resources available to the specified project. + rpc AggregatedList(AggregatedListNetworkEdgeSecurityServicesRequest) returns (NetworkEdgeSecurityServiceAggregatedList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/aggregated/networkEdgeSecurityServices" + }; + option (google.api.method_signature) = "project"; + } + + // Deletes the specified service. + rpc Delete(DeleteNetworkEdgeSecurityServiceRequest) returns (Operation) { + option (google.api.http) = { + delete: "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices/{network_edge_security_service}" + }; + option (google.api.method_signature) = "project,region,network_edge_security_service"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Gets a specified NetworkEdgeSecurityService. + rpc Get(GetNetworkEdgeSecurityServiceRequest) returns (NetworkEdgeSecurityService) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices/{network_edge_security_service}" + }; + option (google.api.method_signature) = "project,region,network_edge_security_service"; + } + + // Creates a new service in the specified project using the data included in the request. + rpc Insert(InsertNetworkEdgeSecurityServiceRequest) returns (Operation) { + option (google.api.http) = { + body: "network_edge_security_service_resource" + post: "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices" + }; + option (google.api.method_signature) = "project,region,network_edge_security_service_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Patches the specified policy with the data included in the request. + rpc Patch(PatchNetworkEdgeSecurityServiceRequest) returns (Operation) { + option (google.api.http) = { + body: "network_edge_security_service_resource" + patch: "/compute/v1/projects/{project}/regions/{region}/networkEdgeSecurityServices/{network_edge_security_service}" + }; + option (google.api.method_signature) = "project,region,network_edge_security_service,network_edge_security_service_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + +} + // The NetworkEndpointGroups API. service NetworkEndpointGroups { option (google.api.default_host) = @@ -29960,6 +31523,161 @@ service NetworkEndpointGroups { } +// The NetworkFirewallPolicies API. +service NetworkFirewallPolicies { + 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"; + + // Inserts an association for the specified firewall policy. + rpc AddAssociation(AddAssociationNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_association_resource" + post: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}/addAssociation" + }; + option (google.api.method_signature) = "project,firewall_policy,firewall_policy_association_resource"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + + // Inserts a rule into a firewall policy. + rpc AddRule(AddRuleNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_rule_resource" + post: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}/addRule" + }; + option (google.api.method_signature) = "project,firewall_policy,firewall_policy_rule_resource"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + + // Copies rules to the specified firewall policy. + rpc CloneRules(CloneRulesNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}/cloneRules" + }; + option (google.api.method_signature) = "project,firewall_policy"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + + // Deletes the specified policy. + rpc Delete(DeleteNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + delete: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}" + }; + option (google.api.method_signature) = "project,firewall_policy"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + + // Returns the specified network firewall policy. + rpc Get(GetNetworkFirewallPolicyRequest) returns (FirewallPolicy) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}" + }; + option (google.api.method_signature) = "project,firewall_policy"; + } + + // Gets an association with the specified name. + rpc GetAssociation(GetAssociationNetworkFirewallPolicyRequest) returns (FirewallPolicyAssociation) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}/getAssociation" + }; + option (google.api.method_signature) = "project,firewall_policy"; + } + + // Gets the access control policy for a resource. May be empty if no such policy or resource exists. + rpc GetIamPolicy(GetIamPolicyNetworkFirewallPolicyRequest) returns (Policy) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/firewallPolicies/{resource}/getIamPolicy" + }; + option (google.api.method_signature) = "project,resource"; + } + + // Gets a rule of the specified priority. + rpc GetRule(GetRuleNetworkFirewallPolicyRequest) returns (FirewallPolicyRule) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}/getRule" + }; + option (google.api.method_signature) = "project,firewall_policy"; + } + + // Creates a new policy in the specified project using the data included in the request. + rpc Insert(InsertNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_resource" + post: "/compute/v1/projects/{project}/global/firewallPolicies" + }; + option (google.api.method_signature) = "project,firewall_policy_resource"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + + // Lists all the policies that have been configured for the specified project. + rpc List(ListNetworkFirewallPoliciesRequest) returns (FirewallPolicyList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/global/firewallPolicies" + }; + option (google.api.method_signature) = "project"; + } + + // Patches the specified policy with the data included in the request. + rpc Patch(PatchNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_resource" + patch: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}" + }; + option (google.api.method_signature) = "project,firewall_policy,firewall_policy_resource"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + + // Patches a rule of the specified priority. + rpc PatchRule(PatchRuleNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_rule_resource" + post: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}/patchRule" + }; + option (google.api.method_signature) = "project,firewall_policy,firewall_policy_rule_resource"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + + // Removes an association for the specified firewall policy. + rpc RemoveAssociation(RemoveAssociationNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}/removeAssociation" + }; + option (google.api.method_signature) = "project,firewall_policy"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + + // Deletes a rule of the specified priority. + rpc RemoveRule(RemoveRuleNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/global/firewallPolicies/{firewall_policy}/removeRule" + }; + option (google.api.method_signature) = "project,firewall_policy"; + option (google.cloud.operation_service) = "GlobalOperations"; + } + + // Sets the access control policy on the specified resource. Replaces any existing policy. + rpc SetIamPolicy(SetIamPolicyNetworkFirewallPolicyRequest) returns (Policy) { + option (google.api.http) = { + body: "global_set_policy_request_resource" + post: "/compute/v1/projects/{project}/global/firewallPolicies/{resource}/setIamPolicy" + }; + option (google.api.method_signature) = "project,resource,global_set_policy_request_resource"; + } + + // Returns permissions that a caller has on the specified resource. + rpc TestIamPermissions(TestIamPermissionsNetworkFirewallPolicyRequest) returns (TestPermissionsResponse) { + option (google.api.http) = { + body: "test_permissions_request_resource" + post: "/compute/v1/projects/{project}/global/firewallPolicies/{resource}/testIamPermissions" + }; + option (google.api.method_signature) = "project,resource,test_permissions_request_resource"; + } + +} + // The Networks API. service Networks { option (google.api.default_host) = @@ -31410,6 +33128,169 @@ service RegionNetworkEndpointGroups { } +// The RegionNetworkFirewallPolicies API. +service RegionNetworkFirewallPolicies { + 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"; + + // Inserts an association for the specified network firewall policy. + rpc AddAssociation(AddAssociationRegionNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_association_resource" + post: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}/addAssociation" + }; + option (google.api.method_signature) = "project,region,firewall_policy,firewall_policy_association_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Inserts a rule into a network firewall policy. + rpc AddRule(AddRuleRegionNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_rule_resource" + post: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}/addRule" + }; + option (google.api.method_signature) = "project,region,firewall_policy,firewall_policy_rule_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Copies rules to the specified network firewall policy. + rpc CloneRules(CloneRulesRegionNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}/cloneRules" + }; + option (google.api.method_signature) = "project,region,firewall_policy"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Deletes the specified network firewall policy. + rpc Delete(DeleteRegionNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + delete: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}" + }; + option (google.api.method_signature) = "project,region,firewall_policy"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Returns the specified network firewall policy. + rpc Get(GetRegionNetworkFirewallPolicyRequest) returns (FirewallPolicy) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}" + }; + option (google.api.method_signature) = "project,region,firewall_policy"; + } + + // Gets an association with the specified name. + rpc GetAssociation(GetAssociationRegionNetworkFirewallPolicyRequest) returns (FirewallPolicyAssociation) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}/getAssociation" + }; + option (google.api.method_signature) = "project,region,firewall_policy"; + } + + // Returns the effective firewalls on a given network. + rpc GetEffectiveFirewalls(GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest) returns (RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/getEffectiveFirewalls" + }; + option (google.api.method_signature) = "project,region,network"; + } + + // Gets the access control policy for a resource. May be empty if no such policy or resource exists. + rpc GetIamPolicy(GetIamPolicyRegionNetworkFirewallPolicyRequest) returns (Policy) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{resource}/getIamPolicy" + }; + option (google.api.method_signature) = "project,region,resource"; + } + + // Gets a rule of the specified priority. + rpc GetRule(GetRuleRegionNetworkFirewallPolicyRequest) returns (FirewallPolicyRule) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}/getRule" + }; + option (google.api.method_signature) = "project,region,firewall_policy"; + } + + // Creates a new network firewall policy in the specified project and region. + rpc Insert(InsertRegionNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_resource" + post: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies" + }; + option (google.api.method_signature) = "project,region,firewall_policy_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Lists all the network firewall policies that have been configured for the specified project in the given region. + rpc List(ListRegionNetworkFirewallPoliciesRequest) returns (FirewallPolicyList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies" + }; + option (google.api.method_signature) = "project,region"; + } + + // Patches the specified network firewall policy. + rpc Patch(PatchRegionNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_resource" + patch: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}" + }; + option (google.api.method_signature) = "project,region,firewall_policy,firewall_policy_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Patches a rule of the specified priority. + rpc PatchRule(PatchRuleRegionNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "firewall_policy_rule_resource" + post: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}/patchRule" + }; + option (google.api.method_signature) = "project,region,firewall_policy,firewall_policy_rule_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Removes an association for the specified network firewall policy. + rpc RemoveAssociation(RemoveAssociationRegionNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}/removeAssociation" + }; + option (google.api.method_signature) = "project,region,firewall_policy"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Deletes a rule of the specified priority. + rpc RemoveRule(RemoveRuleRegionNetworkFirewallPolicyRequest) returns (Operation) { + option (google.api.http) = { + post: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{firewall_policy}/removeRule" + }; + option (google.api.method_signature) = "project,region,firewall_policy"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // Sets the access control policy on the specified resource. Replaces any existing policy. + rpc SetIamPolicy(SetIamPolicyRegionNetworkFirewallPolicyRequest) returns (Policy) { + option (google.api.http) = { + body: "region_set_policy_request_resource" + post: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{resource}/setIamPolicy" + }; + option (google.api.method_signature) = "project,region,resource,region_set_policy_request_resource"; + } + + // Returns permissions that a caller has on the specified resource. + rpc TestIamPermissions(TestIamPermissionsRegionNetworkFirewallPolicyRequest) returns (TestPermissionsResponse) { + option (google.api.http) = { + body: "test_permissions_request_resource" + post: "/compute/v1/projects/{project}/regions/{region}/firewallPolicies/{resource}/testIamPermissions" + }; + option (google.api.method_signature) = "project,region,resource,test_permissions_request_resource"; + } + +} + // The RegionNotificationEndpoints API. service RegionNotificationEndpoints { option (google.api.default_host) = @@ -31500,6 +33381,62 @@ service RegionOperations { } +// The RegionSecurityPolicies API. +service RegionSecurityPolicies { + 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"; + + // Deletes the specified policy. + rpc Delete(DeleteRegionSecurityPolicyRequest) returns (Operation) { + option (google.api.http) = { + delete: "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}" + }; + option (google.api.method_signature) = "project,region,security_policy"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // List all of the ordered rules present in a single specified policy. + rpc Get(GetRegionSecurityPolicyRequest) returns (SecurityPolicy) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}" + }; + option (google.api.method_signature) = "project,region,security_policy"; + } + + // Creates a new policy in the specified project using the data included in the request. + rpc Insert(InsertRegionSecurityPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "security_policy_resource" + post: "/compute/v1/projects/{project}/regions/{region}/securityPolicies" + }; + option (google.api.method_signature) = "project,region,security_policy_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + + // List all the policies that have been configured for the specified project and region. + rpc List(ListRegionSecurityPoliciesRequest) returns (SecurityPolicyList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/regions/{region}/securityPolicies" + }; + option (google.api.method_signature) = "project,region"; + } + + // Patches the specified policy with the data included in the request. + rpc Patch(PatchRegionSecurityPolicyRequest) returns (Operation) { + option (google.api.http) = { + body: "security_policy_resource" + patch: "/compute/v1/projects/{project}/regions/{region}/securityPolicies/{security_policy}" + }; + option (google.api.method_signature) = "project,region,security_policy,security_policy_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + +} + // The RegionSslCertificates API. service RegionSslCertificates { option (google.api.default_host) = @@ -31646,6 +33583,16 @@ service RegionTargetHttpsProxies { option (google.api.method_signature) = "project,region"; } + // Patches the specified regional TargetHttpsProxy resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules. + rpc Patch(PatchRegionTargetHttpsProxyRequest) returns (Operation) { + option (google.api.http) = { + body: "target_https_proxy_resource" + patch: "/compute/v1/projects/{project}/regions/{region}/targetHttpsProxies/{target_https_proxy}" + }; + option (google.api.method_signature) = "project,region,target_https_proxy,target_https_proxy_resource"; + option (google.cloud.operation_service) = "RegionOperations"; + } + // Replaces SslCertificates for TargetHttpsProxy. rpc SetSslCertificates(SetSslCertificatesRegionTargetHttpsProxyRequest) returns (Operation) { option (google.api.http) = { @@ -32115,6 +34062,14 @@ service SecurityPolicies { option (google.cloud.operation_service) = "GlobalOperations"; } + // Retrieves the list of all SecurityPolicy resources, regional and global, available to the specified project. + rpc AggregatedList(AggregatedListSecurityPoliciesRequest) returns (SecurityPoliciesAggregatedList) { + option (google.api.http) = { + get: "/compute/v1/projects/{project}/aggregated/securityPolicies" + }; + option (google.api.method_signature) = "project"; + } + // Deletes the specified policy. rpc Delete(DeleteSecurityPolicyRequest) returns (Operation) { option (google.api.http) = { diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index c806cb780..7ed6c50c4 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-compute - 1.8.0 + 1.8.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index c77b61180..2b25f1923 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-compute - 1.8.0 + 1.8.1 diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 41adcc1f0..10e662ec5 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-compute - 1.8.0 + 1.8.1 diff --git a/versions.txt b/versions.txt index 1d5845506..66496ef2c 100644 --- a/versions.txt +++ b/versions.txt @@ -1,5 +1,5 @@ # Format: # module:released-version:current-version -google-cloud-compute:1.8.1:1.8.1 -proto-google-cloud-compute-v1:1.8.1:1.8.1 +google-cloud-compute:1.9.0:1.9.0 +proto-google-cloud-compute-v1:1.9.0:1.9.0